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). I've 
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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to