[cstex] nezname kodovanie v subore *.log

Zdenek Wagner zdenek.wagner at gmail.com
Wed May 19 13:19:59 CEST 2010


2010/5/19 beerb <beerb at frcatel.fri.uniza.sk>:
> zdravim,
>
> pred niekolkymi mesiacmi som presiel na texlive2008,
>
Problem je v tom, ze pouzivate format cslatex, ale slovenstinu berete
z babelu. Oba formaty maji reseno prekodovani vstupu jinymi prostredky
a jinak zavedeny vzory deleni, takze to nemuze v teto kombinaci
spravne fungovat. Pokud pouzijete (pdf)cslatex, pak slovenstinu
aktivujete pomoci \usepackage{slovak} a prekodovani vstupu lze resit:

1. pouzitim defaultu, ktery je nastaven ve formatu
2. pomoci TCX tabulky
3. pomoci encTeXu (pokud byl pri generovani formatu zapnut)
4. pravdepodobne i balickem inputenc

Pokud pouzijete (pdf)latex, pak slovenstinu aktivujete pomoci
\usepackage[slovak]{babel} a na prekodovani vstupu lze pouzit:

1. TCX tabulku
2. encTeX (pokud byl pri generovani formatu aktivovan)
3. balickem inputenc

Pri poiziti balicku inputenc nezapomente na to, ze nektera pismena
maji \catcode=11 a nektera \catcode=13, takze jednoduche testy pismen
v principu nefunguji.

> pri prekladani suborov s diakritikou som si vsimol, ze v subore *.log je
> podivna diakritika
> a mam podozrenie, ze to ma niekedy vplyv aj na delenie slov
> pretoze zdrojak prelozeny mojim povodnym TeXom (bez babelu) nehlasil ziadne
> chyby pri deleni
> a po prelozeni s babelom uz niektore slova nerozdelil a hlasil chyby
> pretecenia riadku
>
> prikladam zdrojovy subor a aj subor *.log
>
> ja este stale pouzivam kodovanie pc-latin2, ale ked som to prekodoval do
> ISO-latin2
> bola situacia rovnaka - v oboch pripadoch boli subory *.log identicke
> (samozrejme az na nazvy suborov)
>
> zdrojak:
>
> \documentclass[a4paper]{article}
> \usepackage[slovak]{babel}
> \usepackage[T1]{fontenc}
> \usepackage[cp852]{inputenc}
>
> \begin{document}
>
> l(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíé
> l(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíél(šc(t(žýáíé
>
> \end{document}
>
> dakujem za odpoved rblasko
>
>
>
>
>
>
> __________ Informacia od ESET NOD32 Antivirus, verzia databazy 5127
> (20100519) __________
>
> Tuto spravu preveril ESET NOD32 Antivirus.
>
> http://www.eset.sk
>
>
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (format=cslatex
> 2009.10.1)  19 MAY 2010 12:32
> entering extended mode
>  %&-line parsing enabled.
> **il2.tex
> (./il2.tex
> LaTeX2e <2005/12/01>
> Loading CZ hyphenation patterns: Pavel Sevecek, v3, 1995
> Loading SK hyphenation patterns: Jana Chlebikova, 1992
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/size10.clo
> File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
> )
> \c at part=\count79
> \c at section=\count80
> \c at subsection=\count81
> \c at subsubsection=\count82
> \c at paragraph=\count83
> \c at subparagraph=\count84
> \c at figure=\count85
> \c at table=\count86
> \abovecaptionskip=\skip41
> \belowcaptionskip=\skip42
> \bibindent=\dimen102
> )
> (c:/Program Files/texlive/2008/texmf-dist/tex/generic/babel/babel.sty
> Package: babel 2008/07/06 v3.8l The Babel package
>
> (c:/Program Files/texlive/2008/texmf-dist/tex/generic/babel/babel.def
> File: babel.def 2008/07/06 v3.8l Babel common definitions
>
> (c:/Program Files/texlive/2008/texmf-dist/tex/generic/babel/switch.def
> File: switch.def 2008/07/06 v3.8l Babel language switching mechanism
> )
> \babel at savecnt=\count87
> \U at D=\dimen103
> )
> (c:/Program Files/texlive/2008/texmf-dist/tex/generic/babel/slovak.ldf
> Language: slovak 2008/07/06 v3.1a Slovak support from the babel system
>
>
> Package babel Warning: No hyphenation patterns were loaded for
> (babel)                the language `Slovak'
> (babel)                I will use the patterns loaded for \language=0
> instead.
>
> \l at slovak = a dialect from \language0
> Package babel Info: Making ^ an active character on input line 123.
> Package babel Info: Making " an active character on input line 126.
> Package babel Info: Making ' an active character on input line 129.
> \cs at wordlen=\count88
> Package babel Info: Making - an active character on input line 294.
> )) (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty
> Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
>
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/t1enc.def
> File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
> LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
> ))
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/inputenc.sty
> Package: inputenc 2006/05/05 v1.1b Input encoding file
> \inpenc at prehook=\toks16
> \inpenc at posthook=\toks17
>
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/latin2.def
> File: latin2.def 2006/05/05 v1.1b Input encoding file
> ))
> No file il2.aux.
> \openout1 = `il2.aux'.
>
> LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 7.
> LaTeX Font Info:    ... okay on input line 7.
> LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 7.
> LaTeX Font Info:    ... okay on input line 7.
> LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 7.
> LaTeX Font Info:    ... okay on input line 7.
> LaTeX Font Info:    Checking defaults for IL2/cmr/m/n on input line 7.
> LaTeX Font Info:    ... okay on input line 7.
> LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 7.
> LaTeX Font Info:    ... okay on input line 7.
> LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 7.
> LaTeX Font Info:    ... okay on input line 7.
> LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 7.
> LaTeX Font Info:    ... okay on input line 7.
>
> Overfull \hbox (87.59247pt too wide) in paragraph at lines 9--11
> []\T1/cmr/m/n/10 府ㄣ緇摿撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿
> 撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿� []
>
>
> Overfull \hbox (72.59247pt too wide) in paragraph at lines 9--11
> \T1/cmr/m/n/10 府ㄣ緇摿撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿撽
> 產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿�
>  []
>
> [1
>
> ] (./il2.aux) )
> Here is how much of TeX's memory you used:
>  929 strings out of 494946
>  10591 string characters out of 1180353
>  61151 words of memory out of 3000000
>  4295 multiletter control sequences out of 10000+50000
>  4403 words of font info for 15 fonts, out of 3000000 for 5000
>  24 hyphenation exceptions out of 8191
>  23i,4n,24p,185b,127s stack positions out of
> 5000i,500n,10000p,200000b,50000s
>
> Output written on il2.dvi (1 page, 652 bytes).
>
>
>
> __________ Informacia od ESET NOD32 Antivirus, verzia databazy 5127
> (20100519) __________
>
> Tuto spravu preveril ESET NOD32 Antivirus.
>
> http://www.eset.sk
>
>
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (format=cslatex
> 2009.10.1)  19 MAY 2010 12:32
> entering extended mode
>  %&-line parsing enabled.
> **pl2.tex
> (./pl2.tex
> LaTeX2e <2005/12/01>
> Loading CZ hyphenation patterns: Pavel Sevecek, v3, 1995
> Loading SK hyphenation patterns: Jana Chlebikova, 1992
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/size10.clo
> File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
> )
> \c at part=\count79
> \c at section=\count80
> \c at subsection=\count81
> \c at subsubsection=\count82
> \c at paragraph=\count83
> \c at subparagraph=\count84
> \c at figure=\count85
> \c at table=\count86
> \abovecaptionskip=\skip41
> \belowcaptionskip=\skip42
> \bibindent=\dimen102
> )
> (c:/Program Files/texlive/2008/texmf-dist/tex/generic/babel/babel.sty
> Package: babel 2008/07/06 v3.8l The Babel package
>
> (c:/Program Files/texlive/2008/texmf-dist/tex/generic/babel/babel.def
> File: babel.def 2008/07/06 v3.8l Babel common definitions
>
> (c:/Program Files/texlive/2008/texmf-dist/tex/generic/babel/switch.def
> File: switch.def 2008/07/06 v3.8l Babel language switching mechanism
> )
> \babel at savecnt=\count87
> \U at D=\dimen103
> )
> (c:/Program Files/texlive/2008/texmf-dist/tex/generic/babel/slovak.ldf
> Language: slovak 2008/07/06 v3.1a Slovak support from the babel system
>
>
> Package babel Warning: No hyphenation patterns were loaded for
> (babel)                the language `Slovak'
> (babel)                I will use the patterns loaded for \language=0
> instead.
>
> \l at slovak = a dialect from \language0
> Package babel Info: Making ^ an active character on input line 123.
> Package babel Info: Making " an active character on input line 126.
> Package babel Info: Making ' an active character on input line 129.
> \cs at wordlen=\count88
> Package babel Info: Making - an active character on input line 294.
> )) (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty
> Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
>
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/t1enc.def
> File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
> LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
> ))
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/inputenc.sty
> Package: inputenc 2006/05/05 v1.1b Input encoding file
> \inpenc at prehook=\toks16
> \inpenc at posthook=\toks17
>
> (c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/cp852.def
> File: cp852.def 2006/05/05 v1.1b Input encoding file
> ))
> No file pl2.aux.
> \openout1 = `pl2.aux'.
>
> LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for IL2/cmr/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
>
> Overfull \hbox (87.59247pt too wide) in paragraph at lines 8--10
> []\T1/cmr/m/n/10 府ㄣ緇摿撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿
> 撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿� []
>
>
> Overfull \hbox (72.59247pt too wide) in paragraph at lines 8--10
> \T1/cmr/m/n/10 府ㄣ緇摿撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿撽
> 產景臄府ㄣ緇摿撽產景臄府ㄣ緇摿�
>  []
>
> [1
>
> ] (./pl2.aux) )
> Here is how much of TeX's memory you used:
>  939 strings out of 494946
>  10736 string characters out of 1180353
>  61151 words of memory out of 3000000
>  4305 multiletter control sequences out of 10000+50000
>  4403 words of font info for 15 fonts, out of 3000000 for 5000
>  24 hyphenation exceptions out of 8191
>  23i,4n,24p,185b,127s stack positions out of
> 5000i,500n,10000p,200000b,50000s
>
> Output written on pl2.dvi (1 page, 652 bytes).
>
>
>
> __________ Informacia od ESET NOD32 Antivirus, verzia databazy 5127
> (20100519) __________
>
> Tuto spravu preveril ESET NOD32 Antivirus.
>
> http://www.eset.sk
>
>
> _______________________________________________
> csTeX mailing list
> csTeX at cs.felk.cvut.cz
> http://lists.felk.cvut.cz/mailman/listinfo/cstex
>
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the csTeX mailing list