[NTG-context] Title from setupinteraction used in header

Jan U. Hasecke juh+ntg-context at mailbox.org
Sun Feb 3 18:57:36 CET 2019


Am 03.02.19 um 17:34 schrieb Wolfgang Schuster:

> 
> Use \setupdocument to set the metadata for the PDF. You can access the
> values with the \documentvariable command.
> 
> \setuppagenumbering
>   [location=]
> 
> \setupheadertexts
>   [\documentvariable{metadata:title} – \documentvariable{metadata:author}]
> 
> \setupdocument
>   [metadata:title={foo},
>    metadata:subtitle={bar},
>    metadata:author={Peter},
>    metadata:keyword={context}]
> 
> \starttext
> \samplefile{lorem}
> \stoptext
> 

Thank you, Wolfgang.

juh



More information about the ntg-context mailing list