Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-13 Thread Andreas Schneider
Am 12.02.2015 15:44, schrieb Hans Hagen: so then you have to wikify it (or add it to the t-vim module docu) You are right ofcourse :-) Done: http://wiki.contextgarden.net/Verbatim_XML ___ If your question is of

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-12 Thread Aditya Mahajan
On Thu, 12 Feb 2015, Hans Hagen wrote: On 2/11/2015 12:15 PM, Andreas Schneider wrote: Am 10.02.2015 22:45, schrieb Hans Hagen: \startluacode function xml.functions.processJSON(t) buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t)) .. \n\\stopJSON) context.getbuffer

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-12 Thread Hans Hagen
On 2/11/2015 12:15 PM, Andreas Schneider wrote: Am 10.02.2015 22:45, schrieb Hans Hagen: \startluacode function xml.functions.processJSON(t) buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t)) .. \n\\stopJSON) context.getbuffer { foo } end \stopluacode

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-11 Thread Andreas Schneider
Am 10.02.2015 22:45, schrieb Hans Hagen: \startluacode function xml.functions.processJSON(t) buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t)) .. \n\\stopJSON) context.getbuffer { foo } end \stopluacode \startxmlsetups xml:json \pushcatcodetable

[NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-10 Thread Andreas Schneider
Hello, as a few other topics on this Mailing List already discussed, it's not (easily?) possible to use \starttyping\stoptyping within XML setups. If it was simple verbatim, there would be a few workarounds. However, I want to provide formatted verbatim (i.e. \startJSON \stopJSON, after

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-10 Thread Hans Hagen
On 2/10/2015 5:59 PM, Andreas Schneider wrote: Hello, as a few other topics on this Mailing List already discussed, it's not (easily?) possible to use \starttyping\stoptyping within XML setups. If it was simple verbatim, there would be a few workarounds. However, I want to provide formatted