[NTG-context] Title from setupinteraction used in header

Jan U. Hasecke juh+ntg-context at mailbox.org
Sun Feb 3 14:23:17 CET 2019


Hi all,

it is quite easy to have chapters in headers and footers as shows this
example.

\setuppagenumbering[location=]

\setupheadertexts
[text]
[chapter]
[]
[]
[chapter]

\setupinteraction
    [title={foo},
    subtitle={bar},
    author={Peter},
    keyword={context}]

\starttext
	\startchapter[title={chapter title},]
	\input lorem
	\stopchapter

	\startchapter[title={another chapter title},]
	\input lorem
	\stopchapter
\stoptext


How can I insert title, subtitle and author from setupinteraction into
headertexts?


Background: authors shall define title, subtitle etc in the product file
with setupinteraction (or a better method if available).

In the environment file I want to insert theses informations into
headers and footers.


TIA
juh


More information about the ntg-context mailing list