Turns out this is not really related to structureuservariables
happens here
too:
\define[2]\sectionCMD
{#1 #2}
\setuphead [section]
[
command=\sectionCMD,
]
\starttext
\startsection
[title=asdfasdf jasklödf aöslkdfj aölskdjf öaslkdjf öalskdjf öalksdjf
öalskdjf ölaskdjf öalskdjf öalskdjf öasldkjföalsdjkföasdljf öasdlf öasdl
fjöasdf]
asdf
\stopsection
\stoptext
Von: denis.maier@unibe.ch
Gesendet: Mittwoch, 12. März 2025 14:24
An: ntg-context@ntg.nl
Betreff: [NTG-context] Structureuservariable and long lines
Hi,
I have section headings where I need to output some descriptions after the
label and before the heading title (which may be missing in some cases).
Ive thought the something like the example below should work, but the text
from the variable overflows.
What am I missing here?
Is there maybe an easier way to reach that goal?
Best,
Denis
\define[2]\sectionCMD
{#1\par
\structureuservariable{something}\par
#2
}
\setuphead [section]
[
command=\sectionCMD,
]
\starttext
\startsection
[title=Hello]
[something=ajskdflö asjdfkl asjdföla asdf asdf asdf asdf asdf ksdföalks
djföalskd föalskdföl asdjkfaöls djkfaölsdjf,]
asdf
\stopsection
\stoptext