John MacFarlane
3861df510c
Updated README with margin and papersize variables.
2015-12-22 13:43:35 -08:00
John MacFarlane
297345098d
ConTeXt writer: set default layout based on margin-left, etc.
...
This sets up `\setuplayout` based on the variables `margin-left`,
`margin-right`, `margin-bottom`, and `margin-top`, if no layout
is given.
2015-12-22 13:28:11 -08:00
John MacFarlane
f9202f5d39
LaTeX writer: create defaults for geometry using margin-left etc.
...
If `geometry` has no value, but `margin-left`, `margin-right`,
`margin-top`, and/or `-margin-bottom` are given, a default value
for `geometry` is created from these.
Note that these variables already affect PDF production via HTML5
with wkhtmltopdf.
2015-12-22 13:10:46 -08:00
John MacFarlane
35e0544977
LaTeX reader: allow blank space between braced arguments of commands.
...
For example
\foo
{bar}
{baz}
Closes #2592 .
2015-12-22 11:06:06 -08:00
John MacFarlane
46e38d0a0a
Improved treatment of margins in wkhtmltopdf.
2015-12-21 23:47:03 -08:00
John MacFarlane
8b8bdca56a
Allow setting margins from metadata variables for wkhtmltopdf.
...
Variables margin-top, margin-bottom, margin-left, margin-right.
Setting them with css inside @page doesn't seem to work, at least
with the released wkhtmltopdf.
2015-12-21 22:59:01 -08:00
John MacFarlane
0596b65a74
pdf via wkhtmltopdf: take title and page-size from metadata.
...
Adjusted default `page-size` to `letter`, to match current LaTeX
template.
2015-12-21 22:13:44 -08:00
John MacFarlane
0a768f1cc5
Added preliminary support for PDF creation via wkhtmltopdf.
...
To use this:
pandoc -t html5 -o result.pdf
(and add `--mathjax` if you have math.)
2015-12-21 17:22:12 -08:00
Andrew Dunning
abd1da4263
Add TOC to slides where missing.
2015-12-20 11:00:24 -05:00
John MacFarlane
32d27896cd
Merge pull request #2598 from twsh/biblatexoptions
...
Removed hyphen
2015-12-19 20:48:27 -08:00
John MacFarlane
5c4e2476ba
Updated changelog
2015-12-19 20:47:13 -08:00
Thomas Hodgson
cab20a9e0c
Removed hyphen
2015-12-20 04:03:48 +00:00
John MacFarlane
6924937fbd
Beamer: Moved header-includes before setting of title etc.
...
This matches a change already made in the LaTeX template
(Thomas Hodgson). Closes jgm/pandoc-templates#168
2015-12-19 19:01:05 -08:00
John MacFarlane
133a7e0407
Merge pull request #169 from twsh/beamer-includes
...
Moved header-includes to before setting of title etc.
2015-12-19 18:56:36 -08:00
John MacFarlane
28b2d86b21
LaTeX/Beamer template changes (Thomas Hodgson):
...
* Added `thanks` variable
* Use `parskip.sty` when `indent` isn't set (fall
back to using `setlength` as before if `parskip.sty`
isn't available).
* Use `biblio-style` with biblatex.
* Added `biblatexoptions` variable.
* Added `section-titles` variable (defaults to true)
to enable/suppress section title pages in beamer
slide shows.
* Moved beamer themes after fonts, so that themes can
change fonts. (Previously the fonts set were being
clobbered by lmodern.sty.)
2015-12-19 18:50:45 -08:00
John MacFarlane
7e91df709a
Merge pull request #175 from twsh/thanks
...
Added option for thanks to default.latex
2015-12-19 18:28:09 -08:00
John MacFarlane
ddf17ce3df
Merge pull request #172 from twsh/parskip
...
Use parskip.sty when the 'indent' option isn't set
2015-12-19 18:25:50 -08:00
John MacFarlane
1ad9e62c63
Merge pull request #167 from twsh/themes
...
Moved themes after fonts
2015-12-19 18:24:19 -08:00
John MacFarlane
ce7287cfd9
Merge pull request #152 from twsh/biblatex-options
...
Biblatex options
2015-12-19 18:22:20 -08:00
John MacFarlane
b303fdbc7a
Merge pull request #174 from twsh/section-titles
...
Section titles
2015-12-19 18:10:08 -08:00
John MacFarlane
9333814254
Added needed import of FromJSON.
...
Fixes build failure.
2015-12-19 17:54:20 -08:00
John MacFarlane
770641f741
Fix language code for Czech (cs not cz)
...
Closes #2597 .
2015-12-19 17:54:02 -08:00
John MacFarlane
2998618e39
Merge branch 'AndreasLoow-master'
2015-12-19 00:08:34 -08:00
John MacFarlane
4c103f67f9
Merge branch 'master' of https://github.com/AndreasLoow/pandoc into AndreasLoow-master
2015-12-19 00:07:28 -08:00
John MacFarlane
ce21b2ca07
README: reflowed to avoid overly long lines.
2015-12-19 00:05:22 -08:00
John MacFarlane
e20f433f38
Markdown reader: fixed parsing bug with macros.
...
Previously macro definitions in indented code blocks
were being parsed as macro definitions, not code.
2015-12-19 00:00:04 -08:00
John MacFarlane
ad3ef55031
Explain how to get subtitle to work with latex article etc.
...
Thanks to Andrew Dunning.
2015-12-19 00:00:04 -08:00
John MacFarlane
efb34a125e
Merge pull request #2593 from mb21/icml-linebreaks
...
ICML writer: intersperse line breaks
2015-12-18 23:53:51 -08:00
John MacFarlane
e670435234
Merge pull request #2594 from adunning/patch-1
...
Document change to subtitle in LaTeX.
2015-12-18 23:44:54 -08:00
Andrew Dunning
eb8a758a77
Document change to subtitle in LaTeX.
...
One could also tell users to add this to header-includes if `subtitle` is desired for `article` and so forth, but I will leave it out for now for the sake of simplicity:
```tex
\providecommand{\subtitle}[1]{%
\usepackage{titling}
\posttitle{%
\par\large#1\end{center}}
}
```
2015-12-17 16:47:00 -05:00
mb21
1ead1f39ad
ICML writer: intersperse line breaks
...
instead of appending them to every ParagraphStyleRange
closes #2501
2015-12-17 10:26:59 +01:00
John MacFarlane
d925cd6573
Updated changelog.
2015-12-16 15:06:17 -08:00
John MacFarlane
62910d40ab
Fixed typos in changelog.
...
Thanks to Ophir Lifshitz.
2015-12-16 15:04:32 -08:00
John MacFarlane
2af6bf34f7
Merge pull request #2591 from mb21/ICML-figures
...
ICML writer: added figure handling, closes #2590
2015-12-16 10:19:07 -08:00
mb21
f3a9bdafef
ICML writer: added figure handling, closes #2590
2015-12-16 11:07:23 +01:00
Thomas Hodgson
01a0cadf98
Make loading parskip.sty conditional on its availability
2015-12-16 00:01:37 +00:00
Thomas Hodgson
f4742780dc
Use biblio-style when setting biblatex options
2015-12-15 14:18:51 +00:00
Thomas Hodgson
8d86ed2b52
Added biblatex options
2015-12-15 14:18:51 +00:00
Thomas Hodgson
c695876718
Added biblatex options
2015-12-15 14:18:51 +00:00
Thomas Hodgson
528cb518ef
Added option for thanks
2015-12-15 14:16:37 +00:00
Thomas Hodgson
355b58ff99
Add an option to set title pages for sections
2015-12-15 14:00:46 +00:00
John MacFarlane
7c22959c95
Reorganized changelog.
2015-12-14 21:26:38 -08:00
John MacFarlane
3e005aa413
Fixed benchmark for new API.
2015-12-14 20:34:53 -08:00
John MacFarlane
a6d810af15
Factored out convertWithOpts
2015-12-14 11:21:54 -08:00
John MacFarlane
c16efea983
Removed "compatibility mode" when called as hsmarkdown.
2015-12-14 11:21:54 -08:00
John MacFarlane
678e7da709
Removed deprecated --strict option entirely.
2015-12-14 11:21:54 -08:00
John MacFarlane
3573d99a31
Updated changelog.
2015-12-13 22:43:40 -08:00
John MacFarlane
9f43acb5d2
ICML writer: removed redundant import.
2015-12-13 22:18:23 -08:00
John MacFarlane
f3133a8e9e
Merge pull request #2570 from mb21/rst-reader-imgattrs
...
Image attributes
2015-12-13 20:29:13 -08:00
John MacFarlane
a924a3f43d
Fixed ICML image syntax for local files.
...
`file:filename` rather than `file://./filename`.
I think this is right; it matches what we had before
with people actually using the ICML writer, and seems
to match examples in the spec. I don't
have a copy of InDesign I can test on, though.
@DigitalPublishingToolkit and @mb21, can you have
a look?
2015-12-13 20:19:34 -08:00