[cstex] csplain a WinEdt 7.0

Jaromír Kuben jaromir.kuben at unob.cz
Thu Oct 4 15:37:17 CEST 2012


Dobrý den.

On  4.10.2012 13:47, Zdenek Wagner wrote:
> 2012/10/4 Řehoř J. Žáček<rehor.zacek at gmail.com>:
>> Zdravím po poledni...
>>
>> Tak jsem se pokusil aplikovat postup navrhovaný panem Kubenem a vytvořil v
>> adresáři c:\texlive\texmf-local\web2c svůj soubor fmtutil-local.cnf v tomto
>> tvaru:
>> # csplain in UTF-8
>> #!csplain
>> #!pdfcsplain
>> csplain         pdftex  -       -etex -enc csplain-utf8.ini
>> pdfcsplain      pdftex  -       -etex -enc csplain-utf8.ini
>>
> Pravděpodobně proto, že z hlediska fmtutil-sys se formát jmenuje
> csplain, ale pro TeX se jmenuje csplain-utf8. Někde nejspíš v
> texmf-var/web2c/pdftex by měly být vygenerované soubory s příponou
> .fmt a odpovídající .log, kde je zapsáno, jak probíhalo generování
> formátu. Pokud je moje idea správná, najdete tam csplain-utf8.fmt a
> csplain-utf8.log. Pak stačí přesvědčit WinEdt, aby se použil formát
> csplain-utf8. Pokud je moje idea špatná, je nutno najít log a podívat
> se, co se dělo při generování formátů.
O jménu rozhoduje první parametr na řádku. Jinak by nemohly vznikout 
různé formáty pro csplain a pdfcsplain, když je zbytek řádku stejný.

Zdraví
                Jaromír Kuben
>
> Ještě mě napadá jedna možnost. Po vytvoření fmtutil-local.cnf je nutno
> obnovit souborovou databázi programem mktexlsr (bez parametrů), aby se
> ten soubor našel.
>
>> Příkaz fmtutil-sys -- all jsem spustil v adresáři
>> c:\texlive\texmf-local\web2c
>>
>> A výsledek je tristní: opět na čtvrtém řádku logu je zřejmé, že se při
>> formátování utf-8 kódování nepoužilo. Proč?
>> Odpoledne už se k tomu nedostanu, nejdříve asi v devět večer...
>> Řehoř J. Žáček.
>>
>>
>> Přikládám log csplain.log:
>> --------------------------------------------------------
>>
>>
>> This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011) (INITEX)  4 OCT
>> 2012 12:56
>> entering extended mode
>>   restricted \write18 enabled.
>>   %&-line parsing enabled.
>>   (c:/texlive/2011/texmf/web2c/cp227.tcx)
>> **csplain.ini
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/csplain.ini
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/csfonts.tex)
>> (c:/texlive/2011/texmf-dist/tex/plain/base/plain.tex
>> Preloading the plain format: codes, registers,
>> \maxdimen=\dimen10
>> \hideskip=\skip10
>> \centering=\skip11
>> \p@=\dimen11
>> \z@=\dimen12
>> \z at skip=\skip12
>> \voidb at x=\box10
>>   parameters,
>> \smallskipamount=\skip13
>> \medskipamount=\skip14
>> \bigskipamount=\skip15
>> \normalbaselineskip=\skip16
>> \normallineskip=\skip17
>> \normallineskiplimit=\dimen13
>> \jot=\dimen14
>> \interdisplaylinepenalty=\count23
>> \interfootnotelinepenalty=\count24
>>   fonts, more fonts,
>> \itfam=\fam4
>> \slfam=\fam5
>> \bffam=\fam6
>> \ttfam=\fam7
>>
>> macros,
>> \strutbox=\box11
>> \mscount=\count25
>> \tabs=\box12
>> \tabsyet=\box13
>> \tabsdone=\box14
>>   math definitions,
>> \rootbox=\box15
>> \p at renwd=\dimen15
>>   output routines,
>> \headline=\toks10
>> \footline=\toks11
>> \footins=\insert254
>> \topins=\insert253
>>   hyphenation
>> (c:/texlive/2011/texmf/tex/generic/hyphen/hyphen.tex))
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/il2code.tex
>> Font encoding set to ISO-8859-2.)
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/hyphen.lan
>> \USenglish=\count26
>>
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/hyphen.ex
>> Enhyphex.tex English exception words.)
>> \german=\count27
>> \austrian=\count28
>> \french=\count29
>> \english=\count30
>> \czech=\count31
>>
>> The \^, \`, \', \v, \" and \r expands to characters by ISO-8859-2.
>> Loading Czech patterns in ISO-8859-2 encoding, \language=5.
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/czhyphen.tex)
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/czhyphen.ex)
>> \slovak=\count32
>>
>> The \^, \`, \', \v, \" and \r expands to characters by ISO-8859-2.
>> Loading Slovak patterns in ISO-8859-2 encoding, \language=6.
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/skhyphen.tex)
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/skhyphen.ex)
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/t1code.tex
>> Font encoding set to Cork.)
>> The \^, \`, \', \v, \" and \r expands to characters by Cork.
>> Loading Czech patterns in Cork encoding, \language=15.
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/czhyphen.tex)
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/czhyphen.ex)
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/t1code.tex
>> Font encoding set to Cork.)
>> The \^, \`, \', \v, \" and \r expands to characters by Cork.
>> Loading Slovak patterns in Cork encoding, \language=16.
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/skhyphen.tex)
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/skhyphen.ex)
>> Defaults: \language=0, \cmaccents, \nofrenchspacing, ISO-8859-2 font
>> encoding)
>> (c:/texlive/2011/texmf-dist/tex/csplain/base/plaina4.tex
>> \hsize=159.2 mm \vsize=239.2 mm)
>> jobname=csplain with pdftex, DVI output initialised. )
>> Beginning to dump on file csplain.fmt
>>   (format=csplain 2012.10.4)
>> 2815 strings of total length 42822
>> 7070 memory locations dumped; current usage is 116&6104
>> 1181 multiletter control sequences
>> \font\nullfont=nullfont
>> \font\tenrm=csr10
>> \font\sevenrm=csr7
>> \font\fiverm=csr5
>> \font\teni=cmmi10
>> \font\seveni=cmmi7
>> \font\fivei=cmmi5
>> \font\tensy=cmsy10
>> \font\sevensy=cmsy7
>> \font\fivesy=cmsy5
>> \font\tenex=cmex10
>> \font\tenbf=csbx10
>> \font\sevenbf=csbx7
>> \font\fivebf=csbx5
>> \font\tentt=cstt10
>> \font\tensl=cssl10
>> \font\tenit=csti10
>> 7011 words of font info for 16 preloaded fonts
>> 37 hyphenation exceptions
>> Hyphenation trie of length 18573 has 803 ops out of 35111
>>    248 for language 16
>>    63 for language 15
>>    248 for language 6
>>    63 for language 5
>>    181 for language 0
>> 0 words of pdfTeX memory
>> 0 indirect objects
>> No pages of output.
>>
>>
>> _______________________________________________
>> csTeX mailing list
>> csTeX at cs.felk.cvut.cz
>> http://lists.felk.cvut.cz/mailman/listinfo/cstex
>
>




More information about the csTeX mailing list