mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 09:47:06 +00:00
ConTeXt template: add a saner default for page numbers.
Previously they appeared centered at the top of the page; now we put them centered at the bottom, unless the `pagenumbering` variable is set (this gives users full control over page number format and position, https://wiki.contextgarden.net/Command/setuppagenumbering)
This commit is contained in:
@@ -36,6 +36,8 @@ $if(layout)$
|
||||
$endif$
|
||||
$if(pagenumbering)$
|
||||
\setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,$endfor$]
|
||||
$else$
|
||||
\setuppagenumbering[location={footer,middle}]
|
||||
$endif$
|
||||
$if(pdfa)$
|
||||
% attempt to generate PDF/A
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
|
||||
\setupinteractionscreen[option=bookmark]
|
||||
|
||||
\setuppagenumbering[location={footer,middle}]
|
||||
\setupbackend[export=yes]
|
||||
\setupstructure[state=start,method=auto]
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
|
||||
\setupinteractionscreen[option=bookmark]
|
||||
|
||||
\setuppagenumbering[location={footer,middle}]
|
||||
\setupbackend[export=yes]
|
||||
\setupstructure[state=start,method=auto]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user