cstex v tetexu Fedora 4

Josef Feit jfeit at ics.muni.cz
Tue Jan 10 23:37:18 CET 2006


Instalace CSTeXu na tetex 3 (Fedora 4):

Dil 2.

Napred jsem se snazil upravit ty fmtutils.cnf.

Je tam

# - Czech / Slovak:
#!csplain       pdfetex - -translate-file=cp227.tcx *csplain.ini
#!cslatex       pdfetex - -translate-file=cp227.tcx *cslatex.ini
#!pdfcsplain    pdfetex - -translate-file=cp227.tcx *csplain.ini
#!pdfcslatex    pdfetex - -translate-file=cp227.tcx *cslatex.ini

Po odkomentovani (vyslovne sice pisi, ze komentar je znak #, z cehoz
muze vyplyvat, ze se tam ma ten vykricnik nechat, ale ja jsem ho dal
prece jen pryc :) preformatovani funguje. Vytvori (patrne) formaty pro
klasicke kodovani. Netestoval jsem to.

Slibovane radky uvadene vyvojarem tetexu v odpovedi p. Olsaka ve
fontutils nejsou, tak jsem je tam pridal:

csplain      pdfetex   -   -etex -enc csplain-utf8.ini
cslatex      pdfetex   -   -etex -enc cslatex-utf8.ini
pdfcsplain   pdfetex   -   -etex -enc csplain-utf8.ini
pdfcslatex   pdfetex   -   -etex -enc cslatex-utf8.ini

(a zakomentoval jsem ty predesle).

Ale nefunguje to:

texconfig: analyzing old configuration...
fmtutil: initial config file is `/root/.texmf-config/web2c/fmtutil.cnf'
fmtutil: configuration file updated: `/root/.texmf-config/web2c/fmtutil.cnf'
texconfig: analyzing new configuration...
texconfig: updating formats ...
fmtutil: format `cslatex' not available.
fmtutil: format `csplain' not available.
fmtutil: format `pdfcslatex' not available.
fmtutil: format `pdfcsplain' not available.

Temhle hlaskam nerozumim.
Proc cpe nove formaty a dalsi veci do skryteho adresare v HOME
uzivatelu?

Tak rucne:
byl problem s tim prejmenovanim csenc-k.tex  csenc-p.tex  csenc-u.tex
csenc-w.tex
a proto jsem premazal distribucni cstex tim novejsim z webu.
(csplain.ini chce csenc, ne enc atd).

A potom

pdfetex -ini -progname=csplain -jobname=csplain -enc \
    '\let\enc=u \input csplain.ini'

pdfetex -ini  -progname=pdfcsplain  -jobname=pdfcsplain   -enc \
    '\let\enc=u \input csplain.ini'

pdfetex -ini  -progname=cslatex     -jobname=cslatex      -enc \
    '\let\enc=u \input cslatex.ini'

pdfetex -ini  -progname=pdfcslatex  -jobname=pdfcslatex   -enc \
    '\let\enc=u \input cslatex.ini'

proslo bez stiznosti.

-----

Po texhash atd. jsem prevedl testlat.tex a parpozn.tex do utf8.

Do testlat-utf8 jsem vlozil radek
\usepackage[utf8]{inputenc}

Testlat-utf8 prosel, vzhled textu je patrne v poradku v dvi i v pdf.

parpoz-utf8.tex prosel, ale fonty jsou spatne - asi nevi ze je utf8 ?

DOTAZ: jak primet csplain k praci s utf8 - tedy jak zaridit neco jako
\usepackage[utf8]{inputenc} v csplain?

------

Takze to asi chce:
1. premaznout ten tetexovsky cstex novym
2. vygenerovat formaty rucne

Pokud je to novy system, pak asi nebude v /usr/.?./bin csplain, cslatex
atd. Myslim, ze ty fmtutils to vyrobi, ale pokud fmtutils  nespustite,
tak nebudou:

pdfetex -progname=csplain -default-translate-file=il2-cs ${1+"$@"}
--------------------------------------------------^^^^^^
Je to spravne? - nebo je to duvod, proc csplain nejede?

Ale mozna by bylo dobre vedet, jak upravit fmtutils.cnf aby to
fungovalo temi tetexovskymi prostredky.

JF



More information about the csTeX mailing list