[luatex] inserting elements after line break

Khaled Hosny khaledhosny at eglug.org
Sun Jan 2 22:50:34 CET 2011


On Sun, Jan 02, 2011 at 10:15:11PM +0100, Arno Trautmann wrote:
> Hi all,
> 
> I thought this would be a quite easy task with luaTeX, but I didn't
> manage to do it:
> I want to insert something (say, a rule) after a paragraph has been
> broken. So my first attempt was to register a function to
> post_linebreak_filter, but if I try to tex.print() something in that
> function it just doesn't do anything.

By that stage tex has already processed its input and converted it to
node list, so you have to insert nodes here not tex input.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer



More information about the luatex mailing list