diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-11-16 18:38:05 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-16 18:38:05 -0800 |
commit | 1b42e05bd9fcbf74e31547024be228a7bef99bf5 (patch) | |
tree | c9b37add45ebeef195ba4f48a7fda4749ab03204 /data | |
parent | 202d404d654b0d5222124f3db15a9c9b9380193d (diff) | |
download | pandoc-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')
-rw-r--r-- | data/templates/default.context | 2 |
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 |