[NTG-context] xhtml export internal command \dostarttaging modify display and other XML/XHTML attributes

Christoph Hinterm├╝ller christoph at out-world.com
Sun Apr 5 15:56:39 CEST 2020


Hi
I'm helping to make t-vim module fully usable in xhtml and futher epub
export. Getting a distingct tag for the individual lines was quiet easy
to do using \dostarttagged and \dostoptagged internal macros.
What i'm not able to figure are the following things:
1) How can i set/modify the display attribute of the resulting
div.myclass section in the generated *_templates.css file.
Per default the display attribute is set to "inline" while i need
"block" or "flex" (not jet decided" which).
2) How can i predefine the white-space css attribute to pre-wrap 
3) Is there a way to tell context to include the resulting class inside
the *.default.css or *.styles.css or should that be done via the css
parameter of the \setupbackend macro only?

Best
Xristoph




More information about the ntg-context mailing list