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
Dear Wolfgang,
Many thanks for your answer. Should the thumb index be in the body text? Or be a margin text?
Uschi
________________________________
Von: Wolfgang Schuster
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.
It's a thumb index. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________
Am 24.07.25 um 17:09 schrieb Ursula Hermann:
Many thanks for your answer. Should the thumb index be in the body text? Or be a margin text?
While I don’t really understand your question: – A thumb index usually depends on the part or chapter (here it’s the part, obviously) and stays the same within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of \setuppaper for the sheet size. – It makes sense to use a layer for placement and a \framed for the box, i.e. \setlayerframed. – It makes sense to use the "edge" area for the placement of a thumb index, but if you use a layer, you can also place the box freely on a full-page layer. Hraban
Dear Hraban,
Many thanks for your answer. My problem was, that I was a little bit unsure where in the Page Layout the thumb index should stand! In the Bodytext with Pagenumber and Chaptertext or in a margin Text! But your description makes me sure, where to put the thumb index.
Uschi
________________________________
Von: Henning Hraban Ramm
Many thanks for your answer. Should the thumb index be in the body text? Or be a margin text?
While I don’t really understand your question: – A thumb index usually depends on the part or chapter (here it’s the part, obviously) and stays the same within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of \setuppaper for the sheet size. – It makes sense to use a layer for placement and a \framed for the box, i.e. \setlayerframed. – It makes sense to use the "edge" area for the placement of a thumb index, but if you use a layer, you can also place the box freely on a full-page layer. Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________
Dear List,
How can I put the sidebar after the pagenumber on the right place?
Many thanks
Uschi
-----Ursprüngliche Nachricht-----
Von: Henning Hraban Ramm
Many thanks for your answer. Should the thumb index be in the body text? Or be a margin text?
While I don’t really understand your question: – A thumb index usually depends on the part or chapter (here it’s the part, obviously) and stays the same within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of \setuppaper for the sheet size. – It makes sense to use a layer for placement and a \framed for the box, i.e. \setlayerframed. – It makes sense to use the "edge" area for the placement of a thumb index, but if you use a layer, you can also place the box freely on a full-page layer. Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________
Am 24.07.2025 um 17:09 schrieb Ursula Hermann:
Dear Wolfgang, Many thanks for your answer. Should the thumb index be in the body text? Or be a margin text?
To have full control over the placement you position the index as page background, the wiki has an example [1] for a thumb index. [1] https://wiki.contextgarden.net/Graphics_and_media/Boxes_and_stacking_mechani... Wolfgang
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
It was this pdf.
Uschi
Von: Ursula Hermann
Gesendet: Dienstag, 29. Juli 2025 10:55
An: 'mailing list for ConTeXt users'
participants (3)
-
Henning Hraban Ramm -
Ursula Hermann -
Wolfgang Schuster