Am 18.09.2020 um 19:02 schrieb Hans Hagen:
On 9/18/2020 3:36 PM, Denis Maier wrote:

I've tried using buffers, but this here doesn't work:
Why not just fetch it when needed. There is no gain in storing it and fetching from the xml tree is fast.

Most likely due to my limited understanding of how these things work. I thought storing the text and retrieving it later would be the easiest way to get rid of the constraints of linar processing of the XML file. The layout itself is determined by setups such as this one:

\startsetups abstract
    \startabstract
        \documentvariable{abstract}
    \stopabstract
\stopsetups

\setuphead [chapter][
    alternative=middle,
    page=yes,
    indentnext=no,
    style=\tfa\setupinterlinespace,
    after={\directsetup{placeauthors}\directsetup{abstract}},
    footer=chapterfooter,
    ]

How could I fetch the xml node from here so I don't need a variable, buffer or the like?

Denis

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to