On 6/5/24 20:23, Christoph Edenhauser wrote:
Dear Pablo,
Thank you very much for your very clear, detailed and elaborate explanations. - Over the next few days I will meditate on the ConTeXt way to handle XML and on my workflow and take a look at lpath (never heard of it). And somehow I have the impression that the next few days will last a few weeks.
Dear Christoph, just in case it might help to your meditation. First of all, lpaths are XPath implemented with Lua in ConTeXt. XPath seems to have as it primary purpose to address the nodes of XML trees. About your sources, the real issue here is to define whether you want TEI or TeX to be the format containing them. I mean, if you add explaining footnotes to your TeX file(s), XML won’t be source anymore. If you don’t want this to happen, you have to encode them in the TEI XML sources. One last suggestion about proofreading. This is something I learnt from personal experience. The first reading is much better to catch errors in the text than the subsequent ones. Having the text properly formatted and printed on paper helps a lot to spot errors. Reading source code is cheaper (no doubt), but the results will be poorer too. Just in case it might help, Pablo