[kadingira] Babel, LuaLaTeX and legacy documents with 8-bit font encodings

Javier Bezos jbezosl at gmail.com
Tue Mar 28 16:53:33 CEST 2017


> Sometimes I want to compile some legacy documents which use 8-bit font
> encodings (and might even be in 8-bit input encodings), and I'd like
> to do that using LusLaTeX. So the actual code which defines the
> encodings and language would become
...
> 1) Babel loads the Russian hyphenation patterns dynamically, but they
> are in UTF-8 encoding, hence they are unusable since the font encoding
> is T2A. If I understand correctly, Babel does load the hyphenation
> patterns via analyzing language.dat and sourcing loadhyph-ru.tex,
...
> 2) After that another issue appears: LuaLaTeX assigns \lccode's
> according to the UTF-8 encoding, so a few characters which are Russian
> letters in T2A become non-letters or have incorrect \lccode (they are
> "BC (\cyryo), "F7 (\cyrch), "9C (\CYRYO), "D7 (\CYRCH), "DF (\CYRYA)).

Does the following answer your question?:

http://tex.stackexchange.com/questions/300988/cyrillic-hyphenation-with-lualatex-using-luainputenc

Cheers
Javier


More information about the kadingira mailing list