[luatex] Using classic TeX 8-bit fonts in LuaTeX
Petr Olsak
petr at olsak.net
Thu Dec 6 18:30:51 CET 2012
On Thu, 6 Dec 2012, Taco Hoekwater wrote:
> On 12/06/2012 05:17 PM, Petr Olsak wrote:
>> luatex -fmt plain '\chardef\x=`č \show\x'
>> > \x=\char"10D.
>> <*> \chardef\x=`č \show\x
>>
>> (the letter after =` is ccaron, the one of letters from Czech alhpbet).
>> We can see, that Unicode font is needed, because the character slot is
>> "10D and this is greater than 255 and impossible to prit it by 8bit font.
>
> You asked about fonts, not about input encoding :)
This was not my question at begin of this thread.
> Using active characters could 'fix' your problem by reverting
> everything back to horrible 7bit mode, I assume.
>
> Best wishes,
> Taco
I know the solution with active characters, of course. But this implies
many problems (\uppercase, \lccodes, letters in csnames etc.) thus we
never used active characters for Czech/Slovak in our csplain format.
Luatex strictly requires UTF8 encoding on the input thus I mean that
there exist some posibilities to control the conversion from this input to
the TeX internal encoding.
Petr Olsak
More information about the luatex
mailing list