[luatex] Cyrillic in \directlua0
Taco Hoekwater
taco at elvenkind.com
Sat Mar 27 17:37:21 CET 2010
Patrick Gundlach wrote:
> Hi,
>
>
>> The question is: Does LuaLaTeX support cyrillic symbols inside luacode?
>
> Yes, it should be completely transparent. This example works.
>
> \documentclass{article}
> \usepackage{luaotfload}
> \usepackage[EU2]{fontenc}
> \usepackage{libertine}
> \begin{document}
> Здравствуй, Мир
>
> \directlua{
> tex.print("Здравствуй, Мир")
> }
> \end{document}
Out of curiosity: this example looks like it is using a Unicode-encoded
font and 'normal' luatex input encoding (=UTF-8). Is someone able and
willing to explain what the original post was supposed to (and failed)
do?
Cheers,
Taco
More information about the luatex
mailing list