aboutsummaryrefslogtreecommitdiff
path: root/test
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 /test
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 'test')
-rw-r--r--test/writer.context1
-rw-r--r--test/writers-lang-and-dir.context1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/writer.context b/test/writer.context
index 619124788..636a9bf8d 100644
--- a/test/writer.context
+++ b/test/writer.context
@@ -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]
diff --git a/test/writers-lang-and-dir.context b/test/writers-lang-and-dir.context
index b309d130b..318b538eb 100644
--- a/test/writers-lang-and-dir.context
+++ b/test/writers-lang-and-dir.context
@@ -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]