Andrea Valle wrote:
The html is w3c compliant and being automatically generated seems to be consistent.
I'm able to do easily stuff like this, which is a promising start:
\startenvironment scEnv \enableregime[utf] \defineXMLenvironment [body] \starttext \stoptext %\defineXMLenvironment [style] \starthiding \stophiding \defineXMLcommand [p] \par \defineXMLgrouped [b] \bf \stopenvironment
But: 1. how do I simply skip undesired tags? The \start-\stophiding trick (which in any case does not work: why?) was a hack in order to not typeset the stile tags
these are in fact buffers and buffers work on the unexpanded input stream \defineXMLignore[style]
2. how can i map class attributes in order to specify for each of them e.g fontname, points, color, indenting?
\mapXMLvalue cum suis ... see x-* files for examples (in mkiv one can use a mixed tree/streem based model) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------