Patrick Gundlach wrote:
1) Do you have a feeling if pdfcolorstacks makes sense with do-it-yourself nodelists? It should make no difference if you do it at the tex end of lua end, apart maybe from assumptions with respect to the whatsit ending up before end-of-par glue or after begin-of-par indentation and dir boxes
Good point, thanks.
more important:
2) Is there something like \pdfcolorstackinit in lua? I never used color stacks but I assume that tex.pdfcolorstackinit works ok then
Couldn't find that one. Not-yet-implemented-error?
IMO pdfcolorstack is weak and I think it makes sense to follow this way, at least not in luatex. In pdftex one can take an advantage of passing graphic state from page to page. But in luatex, when you're operating on lists already, it's not better then user whatsit, is it? -- Pawe/l Jackowski P.Jackowski@gust.org.pl