Re: [NTG-context] marking in two pass data

2016-08-08 Thread Thomas A. Schmitz
On 08/08/2016 01:56 PM, Hans Hagen wrote: I bet you can figure out why this works: context.bTD() context.marking( { "Test" }, k[2]) context(k[1]) context.eTD() Uugh, I thought I was clever in leaving it out of the cell, but of course, now I see my error! (In my defense, I

Re: [NTG-context] marking in two pass data

2016-08-08 Thread Hans Hagen
On 8/7/2016 11:15 AM, Thomas A. Schmitz wrote: \starttext \setupTABLE [split=repeat] \definemarking [Test] \setupheadertexts [{\getmarking[Test][top]--\getmarking[Test][bottom]}] \startluacode samples = { { "A", "aesop-de.tex" }, { "B", "bryson.tex" }, { "C", "carey.tex" }, { "D",

[NTG-context] marking in two pass data

2016-08-07 Thread Thomas A. Schmitz
Hi all, the example is kind of silly but shows my problem: I use Lua to manipulate data from xml files, and I want to typeset it as natural tables. Is it possible to set a marking within such tables so that it works in page headers? I hit a similar problem some time ago, but I'm not sure I