Am 05.06.24 um 12:00 schrieb Christoph Edenhauser:
My Question is, is it possible to generate a second context file2.tex
with the help of this first xml-mapping file1.tex, where all the
xml-nodes from the xml file are mapped to contex commands
Hi, I don’t find it hard to understand, but I don’t think it’s possible
within ConTeXt (while Hans keeps surprising me).
Maybe try XSLT or pandoc.
The latter can already read DocBook and write ConTeXt; it doesn’t read
TEI (yet). There are also XSL style sheets for TEI, e.g.
https://github.com/TEIC/Stylesheets
I don’t know if you would loose too much information going
TEI-(something else)-ConTeXt. Maybe it makes sense to adapt the LaTeX
stylesheets.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________