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)
commit1b42e05bd9fcbf74e31547024be228a7bef99bf5
authorJohn MacFarlane <jgm@berkeley.edu>
dateSat 16 Nov 2019, 18:38 (7 years ago)
parent202d404
data/templates/default.context+2
@@ -36,6 +36,8 @@ $if(layout)$
3636$endif$
3737$if(pagenumbering)$
3838\setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,$endfor$]
39+$else$
40+\setuppagenumbering[location={footer,middle}]
3941$endif$
4042$if(pdfa)$
4143% attempt to generate PDF/A
test/writer.context+1
@@ -11,6 +11,7 @@
1111\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
1212\setupinteractionscreen[option=bookmark]
1313
14+\setuppagenumbering[location={footer,middle}]
1415\setupbackend[export=yes]
1516\setupstructure[state=start,method=auto]
1617
test/writers-lang-and-dir.context+1
@@ -9,6 +9,7 @@
99\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
1010\setupinteractionscreen[option=bookmark]
1111
12+\setuppagenumbering[location={footer,middle}]
1213\setupbackend[export=yes]
1314\setupstructure[state=start,method=auto]
1415