aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.context
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-16 18:38:05 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-16 18:38:05 -0800
commit1b42e05bd9fcbf74e31547024be228a7bef99bf5 (patch)
treec9b37add45ebeef195ba4f48a7fda4749ab03204 /data/templates/default.context
parent202d404d654b0d5222124f3db15a9c9b9380193d (diff)
downloadpandoc-1b42e05bd9fcbf74e31547024be228a7bef99bf5.tar.gz
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)
Diffstat (limited to 'data/templates/default.context')
-rw-r--r--data/templates/default.context2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/default.context b/data/templates/default.context
index 89944c372..1ad5779ab 100644
--- a/data/templates/default.context
+++ b/data/templates/default.context
@@ -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