[NTG-context] Unexpected in XML output

2018-07-14 Thread Rik Kabel
List, elements are inserted before elements in XML and xhtml output, and empty divs of class break in html output. If this is intended, is there a way to prevent it? If not intended, can it be fixed? Example code: \setupbackend [export=yes] \starttext \startparagraph

[NTG-context] Storing Lua values between Ctx "*first* and next runs

2018-07-14 Thread Procházka Lukáš Ing .
Hello, is there a Lua variable/namespace which is stored automatically between Ctx "*first" and following runs? I thought 'userdata' is intended for this, but it seems it's not; I'd like to achieve something like: \startluacode if tex.modes["*first"] then userdata.LPr =