enctex a unicode

Arnost Stedry arnost at cs.cas.cz
Mon Jun 13 10:05:31 CEST 2005


prave proto to pro kodovani T1, T2A a LGR  delam takto:

gentiumT1 <gentium.ttf <T1-WGL4.enc
gentiumT2A <gentium.ttf <T2A-WGL4.enc
gentiumLGR <gentium.ttf <LGR-WGL4.enc

a pak

\DeclareFontFamily{T1}{gentium}{}
\DeclareFontFamily{T2A}{gentium}{}
\DeclareFontFamily{LGR}{gentium}{}

\DeclareFontShape{T1}{gentium}{m}{n}{
   <-> gentium
}{}
\DeclareFontShape{T1}{gentium}{m}{it}{
   <-> gentiumi
}{}

\DeclareFontShape{T2A}{gentium}{m}{n}{
   <-> gentiumT2A
}{}
\DeclareFontShape{T2A}{gentium}{m}{it}{
   <-> gentiumiT2A
}{}
\DeclareFontShape{LGR}{gentium}{m}{n}{
   <-> gentiumLGR
}{}
\DeclareFontShape{LGR}{gentium}{m}{it}{
   <-> gentiumiLGR
}{}

takze kdyz zvolim rectinu pomoci babelu, tak to deli spravne

to predchozi reseni (ktere neni idealni, protoze krome deleni slov zrusi
napriklad i ligatury) se tyka jinych znaku, nez tech pokrytych T1, T2A a LGR

Arnost Stedry

>To asi neni uplne dobry napad. Kdyz si recke znaky namapujete enctexem
>tak, ze se prislusne sekvence budou expandovat na neco jako {\greekfont
>l}{\greekfont o}{\greekfont g}{\greekfont o}{\grrekfont\lunarsigma}, tak
>asi nebude fungovat deleni slov. Prepinac jazyka by mel prepnout i font
>(podle nejakeho osmibitoveho kodovani) a TeX uvidi unicodove znaky
>prevedene na TeXove, napr. {\greek logoc} (c je lunarni sigma a prvni o
>musi mit akcent). Kdyz ovsem napisete napr. {\russian logoc}, dostanete na
>vystupu smeti.
>
>
>Zdenek Wagner
>e-mail: wagner at cesnet.cz
>
>see also http://hroch486.icpf.cas.cz/wagner/
>         http://icebearsoft.euweb.cz
>
>
>




More information about the csTeX mailing list