summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/s-pre-61.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/s-pre-61.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/s-pre-61.tex16
1 files changed, 9 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/context/base/s-pre-61.tex b/Master/texmf-dist/tex/context/base/s-pre-61.tex
index c2040a0d935..fa52d158a87 100644
--- a/Master/texmf-dist/tex/context/base/s-pre-61.tex
+++ b/Master/texmf-dist/tex/context/base/s-pre-61.tex
@@ -15,9 +15,13 @@
\usemodule[pre-60]
-\usetypescriptfile[type-ghz]
-
-\definetypeface[mainface][ss][sans][optima-nova][default][encoding=\defaultencoding]
+\doifmodeelse {mkiv} {
+ \usetypescriptfile[type-hgz]
+ \definetypeface[mainface][ss][sans][optima-nova][default]
+} {
+ \usetypescriptfile[type-ghz]
+ \definetypeface[mainface][ss][sans][optima-nova][default][encoding=\defaultencoding]
+}
\setupbodyfont[mainface,ss,18pt]
\setupinterlinespace[line=3.25ex]
@@ -168,9 +172,7 @@
style=\HeadFont]
\setupheadertexts
- [\doiftextelse{\placeheadtext[Topic]}
- {\placeheadtext[Topic]}
- {\placeheadtext[Nopic]}]
+ [\doiftextelse{\currentheadnumber}{\placeheadtext[Topic]}{\placeheadtext[Nopic]}]
[]
\setuppagenumbering
@@ -219,7 +221,7 @@
[bottom] [text]
[background=topics]
-\doifnotmode{demo}{\endinput}
+% \doifnotmode{demo}{\endinput}
\starttext