Re: [NTG-context] Is it possible to pass unmarked paragraphs into Lua for processing

2010-10-15 Thread Kevin D. Robbins
I confess, I hadn't considered anything quite so bold as reading the whole of the text into Lua and then processing it back out. I suppose I was expecting one of the true TeXperts to offer suggestions involving \appendtoks ... \to \everypar. I also realized that I forgot to mention that I want to

Re: [NTG-context] Is it possible to pass unmarked paragraphs into Lua for processing

2010-10-14 Thread Aditya Mahajan
On Thu, 14 Oct 2010, Kevin D. Robbins wrote: Hi all, I am wondering if and how it might be possible to catch all unmarked paragraphs in a TeX file and pass them into Lua. So, in the following example, each of the first three unmarked paragraphs would be passed to the Lua function