denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:24:
*Von:*Wolfgang Schuster <wolfgang.schuster.li...@gmail.com>
*Gesendet:* Dienstag, 12. September 2023 20:41
*An:* mailing list for ConTeXt users <ntg-context@ntg.nl>; Maier,
Denis Christian (UB) <denis.ma...@unibe.ch>
*Betreff:* Re: [NTG-context] Using structureuservariables before the
heading
denis.ma...@unibe.ch <mailto:denis.ma...@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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________