denis.maier@unibe.ch schrieb am 12.09.2023 um 21:24:

 

Von: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Gesendet: Dienstag, 12.
September 2023 20:41
An: mailing list for ConTeXt users <ntg-context@ntg.nl>; Maier, Denis Christian (UB) <denis.maier@unibe.ch>
Betreff: Re: [NTG-context] Using structureuservariables before the heading

 

denis.maier@unibe.ch schrieb am 12.09.2023 um 17:47:

Hi,

 

is it possible to access a structureuservariable before the heading’s title ?

Using the «before» key does not seem to work.


There are ways but not in a general way because you try to access the values
before they are known to ConTeXt. To provide a proper solution you have
to tell what you're trying to achieve.

 

I’m just trying to output the author’s name above a chapter heading. Do you need more information?


You can create a custom header for the chapter page and show the value of the author key
which works without problems because the header is added after to the finished page
after the value is available.

Another option when the name should appear in the same space as the chapter title
is a custom layout for the title.

Wolfgang