Re: [NTG-context] Is it possible to make xml.load a bit more 'verbose' when it encounters errors?

2020-05-13 Thread Hans van der Meer
Gerben,Maybe this is of some use. The Lua code in the file checks the xml and returns info when something is wrong.I am using it for example in my takenotes module as:And this is a sketch of how it is embedded in that module: % Prerun an xml check. \doifinset{\xmlatt{#1}{checkxml}}{yes,on,true}% {

[NTG-context] page number with brief centered line above

2020-05-13 Thread jbf
Hi list, I am trying to achieve a layout where there is a brief line above the bottom-centered page number (of a double-sided document). I am able to achieve the centered bottom-located page number easily and obviously enough with: \setuppagenumbering   [alternative=doublesided,location={foo

[NTG-context] Is it possible to make xml.load a bit more 'verbose' when it encounters errors?

2020-05-13 Thread Gerben Wierda
I am loading an xml.file. I sometimes make mistakes editing that file and then xml.load creates a string that contains invalid xml file - parsed text At that point I check my file and sometimes (like now) I cannot find the error. Is there a way to make xml.load somewhat more verbose about where