Re: [NTG-context] callback.register

9 Apr
2010
9 Apr
'10
2:48 p.m.
My example looks now \starttext \startluacode function MyPreLB(head,gc) texio.write("\n") for n in node.traverse(head) do if node.type(n.id) == "glyph" then texio.write(string.char(n.char)) elseif node.type(n.id) == "glue" then texio.write(' ') end end texio.write("\n") return head end tasks.appendaction("processors","before","MyPreLB") \stopluacode Dies ist ein Test. \stoptext Is it correct to return 'head'? Wolfgang
5457
Age (days ago)
5458
Last active (days ago)
1 comments
2 participants
participants (2)
-
Li Yanrui (李延瑞)
-
Wolfgang Werners-Lucchini