Dear List,
In the pdf, I sended, there is also the pagenumber, and then a line. The line
is too long in the following example, I found, but I changed the footer to
header.
I have seen an example, I changed it to header:
\startsetups [header:leftpage]
\prefixedpagenumber
\space
\undepthed{\blackrule
[
width=\linewidth,
height=\strutht,
depth=\dimexpr\footerheight+\bottomspace\relax,
]}
\space
\labeltext{chapter} \getmarking[chapternumber]
\stopsetups
\startsetups [header:rightpage]
\getmarking[chapter]
\space
\undepthed{\blackrule
[
width=\linewidth,
height=\strutht,
depth=\dimexpr\footerheight+\bottomspace\relax,
]}
\space
\prefixedpagenumber
\stopsetups
\setuplabeltext
[en]
[chapter=Chapter]
\setuphead
[chapter]
[bodypartlabel=]
\setupheadertexts
[] [\directsetup{header:rightpage}]
[\directsetup{header:leftpage}] []
\setuppagenumbering
[alternative=doublesided]
\starttext
\startchapter [title=First chapter]
\dorecurse{10}{\input knuth}
\stopchapter
\startchapter [title=Second chapter]
\dorecurse{10}{\input knuth}
\stopchapter
\stoptext
Many thanks
Uschi
Von: Ursula Hermann
Gesendet: Donnerstag, 24. Juli 2025 14:47
An: mailing list for ConTeXt users <[email protected]>
Betreff: Margin text?
Dear List
What I would like to know is, if the graphic with: Teil II is a margin text, or
is ths in the body text too? i am not sure. 320 Is the page number.
Many thanks
Uschi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________