[luatex] Line breaks

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Feb 19 17:32:14 CET 2011


Am 19.02.2011 um 17:11 schrieb Dirk Laurie:

> I have tried a workaround using a "detokenize" function
> written in Lua, which is almost effective: there is a mysterious
> extra 3 in the PDF file.


The number disappears when i change your detokenize function to this:

function detokenize(text)
	text = text:gsub("\n\n","\\par ")
	text = text:gsub("\n"," ")
	return text
end

Maybe the experts here on the list can give you better tips when
you explain what do you want to achieve.

Wolfgang



More information about the luatex mailing list