git.iko.soy/typeable/pandoc
on master help sign in
Added support for LaTeX pagestyle variable (#4135)

* Add pagestyle support * Add pagestyle option to MANUAL.txt * Moved mention of pagestyle to the section on variables

commit166561cc8da7b22ecd7845f66daa1e8bb8080512 authorThomas Hodgson <hello@twshodgson.net> dateTue 12 Dec 2017, 05:26 (9 years ago) parent51c0ae5
2 files changed+9−1
MANUAL.txt+6−1 data/templates/default.latex+3
MANUAL.txt+6−1
@@ -1,6 +1,6 @@
11% Pandoc User's Guide
22% John MacFarlane
3−% December 2, 2017
3+% December 8, 2017
44
55Synopsis
66========
@@ -1532,6 +1532,11 @@ LaTeX variables are used when [creating a PDF].
15321532`natbiboptions`
15331533: list of options for natbib.
15341534
1535+`pagestyle`
1536+: An option for LaTeX's `\pagestyle{}`. The default article class
1537+ supports 'plain' (default), 'empty', and 'headings'; headings puts
1538+ section titles in the header.
1539+
15351540[`article`]: https://ctan.org/pkg/article
15361541[`report`]: https://ctan.org/pkg/report
15371542[`book`]: https://ctan.org/pkg/book
data/templates/default.latex+3
@@ -245,6 +245,9 @@ $else$
245245\fi
246246$endif$
247247$endif$
248+$if(pagestyle)$
249+\pagestyle{$pagestyle$}
250+$endif$
248251
249252% set default figure placement to htbp
250253\makeatletter