[Dev-luatex] Very simple sample?

Javier Bezos lists at texytipografia.com
Wed Dec 6 18:14:10 CET 2006

Another question:

How can I read arbitrary TeX input? Or is this part
still unfinished? Currently, LuaTeX only accepts
UTF-8 input, right? But let's assume we have:

<latin 1 text> \arabic{<iso arabic text>} <latin 1 tex>

ie, two input encodings in the same line. I don't still
understand how encodings work.


PS. Here is a more complete example with LaTeX (or
more exactly TeX inside LaTeX...):



    tex.print("\\message{Show a message}");
    tex.print("Argument \\\#1 is #1")


\lua{tex.print("\\section{Hola $\\sin a_0^2$}");}

\sub{Sub section}


More information about the dev-luatex mailing list