[NTG-context] Custom tags, revisited

Rik rik at panix.com
Tue Jun 26 20:26:34 CEST 2018

In September 2015 thread "Custom XML Export," Hans instructed  us on how 
to create custom tags. The example he presented is:



              \this{that}  \input ward

When that example is run with the current (2018-06-25) beta or TL18, 
there is no html body:

             <div class="document" xmlns="http://www.pragma-ade.com/context/export">

    <div class="warning">Rendering can be suboptimal because there is no default/fallback css loaded.</div>

      <div class="metadata">


Further experimentation suggests that \startelement is gobbling the 
output. (Adding \setupstructure does not change the result.)

What is the proper way to add custom tags?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180626/e6c0d083/attachment.html>

More information about the ntg-context mailing list