[NTG-context] newlines in return Lua string

Hans van der Meer havdmeer at ziggo.nl
Sat Jun 15 16:37:39 CEST 2019


From 	\ctxlua{tex.print(hvdm.myluacall("\xmlatt{#1}{argument}"))}
Lua returns a string containing newline characters '\n'.

In ConTeXt this returned string is printed as one line, the embedded newlines are not honoured.
I thought to replace with \crlf in this manner: string1 .. "\\crlf" .. string2 but the returned \crlf are not executed as such.

How to force \crlf's in the executed return?

dr. Hans van der Meer


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190615/2416226d/attachment.html>


More information about the ntg-context mailing list