[luatex] Cyrillic in \directlua0

shiva shavrin.ivan at gmail.com
Sat Mar 27 17:19:01 CET 2010


Hi, all.

I am trying to use lualatex with cyrillic characters (lualatex version
is beta-0.50.0-2009122515)

Here is main.tex file
------------------------
\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{luainputenc}
\usepackage{luatextra}
\begin{document}
Здравствуй, Мир

\directlua0{
tex.print("Здравствуй, Мир")
}
\end{document}
------------------------

"lualatex main.tex" produced main.pdf, with this content:
--------------------------------------
Здравствуй, Мир

T2ACYRZ T2Acyrd T2Acyrr T2Acyra T2Acyrv T2Acyrs T2Acyrt T2Acyrv
T2Acyru T2Acyrishrt , T2ACYRM T2Acyri T2Acyrr
--------------------------------------

We see, that first line produced correctly, but the second line is not.

The question is: Does LuaLaTeX support cyrillic symbols inside luacode?

Best wishes,
Shavrin Ivan



More information about the luatex mailing list