[cstex] Problém s makrem XeVlna

Řehoř J. Žáček rehor.zacek at gmail.com
Mon Jun 3 14:41:42 CEST 2013


Tak se mi to nevede s tím csplain.ini

Máte na mysli řádek:
\ifx\XeTeXuseglyphmetrics\undefined \else\XeTeXuseglyphmetrics=1 \fi % XeTeX specific

A před něj vložit kód:

\catcode`\@=11
\newcount\xe at alloc@intercharclass % allocates intercharclass
\xe at alloc@intercharclass=\thr@@ % from 4 (1,2 and 3 are used by CJK, AFAIK)
\def\xe at alloc@#1#2#3#4#5{\global\advance#1\@ne
 \xe at ch@ck#1#4#2% make sure there's still room
 \allocationnumber#1%
 \global#3#5\allocationnumber
 \wlog{\string#5=\string#2\the\allocationnumber}}
\def\xe at ch@ck#1#2#3{%
 \ifnum#1<#2\else
  \errmessage{No room for a new #3}%
 \fi}
\def\newXeTeXintercharclass{%
 \xe at alloc@\xe at alloc@intercharclass\XeTeXintercharclass\chardef\@cclv} %at most 254
\catcode`\@=12


A dát vygenerovat všechny formáty. Nebo se mýlím? Protože když to takto udělám, tak to nechodí...



More information about the csTeX mailing list