pdfCSLaTeX a Babel (nedulezite; dlouha zprava)

Pavel Striz striz at fame.utb.cz
Wed Mar 29 00:31:58 CEST 2006


Dobry den,

na zaklade rady na http://orion2.kel.vslib.cz/kel/MiKTeX_install.html
jak se vyhnout Babelu pri CSLaTeXu, vyhodit duplicitni czech.sty a
slovak.sty z adresare ./babel/, jsem se motivoval k jednomu pokusu.

Zkousim to pod OS Win XP pri instalaci proTeXt 2004, distribuovane
clenum CSTUGu (k verzi 2005 jsem si sedl nedavno a jeste jsem
nasledujici nezkousel, chybi trochu volneho casu).

Nainstaloval jsem MikTeX a nadefinoval si pres nej format pdfCSLaTeX:
Format Name: pdfcslatex
Compiler, pdfe-TeX (Extended Mode)
Input File Name: cslatex.ini
Output File Name: pdfcslatex.efmt
Preloaded: prazdne
Description: pdfcslatex.
Asi hodne pouzivane.

Jenze misto abych promazaval ./babel/ nebo neinstaloval Babel vubec
jsem si presunul czech.sty (slovak.sty dale nezkoumam a nemam
vyzkouseno) do adresare, kde jej TeX nenajde. Tim je poukazano na
./cslatex/czech.sty.

Soubor ./babel/czech.ldf jsem promazal mezi radky:

\addto\noextrasczech{\bbl at nonfrenchspacing}
%Zde uz nic nemam.
\ldf at finish{czech}

Udelal jsem Refresh database a Update formatu.

Hlavicka meho TeXoveho dokumentu vypada:

------ ZACATEK HLAVICKY
\pdfoutput=1
\documentclass[10pt, a4paper]{article}
\usepackage{czech}
\usepackage[UKenglish,czech,german]{babel}
\usepackage[cp1250]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[activate={true,nocompatibility,all}, stretch=20, shrink=20,
step=2, auto=true, draft=false]{microtype}
------ KONEC HLAVICKY

a ukazku dokumentu mam napriklad takovou:

------ ZACATEK DOKUMENTU
\begin{document}
\selectlanguage{czech}
\lefthyphenmin=2\righthyphenmin=2
\showhyphens{experience language zlutoucky zlutasek krecek krizala}%s
diakritikou
Text mala_pismena_s_diakritikou VELKA_PISMENA_S_DIAKRITIKOU.%je nutne
si znaky s diakritikou pripsat
\selectlanguage{UKenglish}
\showhyphens{experience language}

\selectlanguage{german}
\showhyphens{Konflikt ergeben damit}
\end{document}
------ KONEC DOKUMENTU

Pri prubehu pdfCSLaTeXem vyskoci tato prijemna kombinace:

------
Loading CZ hyphenation patterns: Pavel Sevecek, v3, 1995
Babel <v3.8a> and hyphenation patterns for english, french, german,
ngerman, cz
ech, finnish, greek, italian, polish, russian, ukenglish, loaded.
------

a v .logu lze nalezt rozbor \showhyphens{}:

------ ZACATEK CASTI LOGu (i s diakritkou; to bude pres web asi zlobit)
Underfull \hbox (badness 10000) in paragraph at lines 17--17
[] \  e\  x-\  pe\  -ri-\  en\  -\  ce \  l\  an\  -\  gu\  -\  age ş\
 l\  u\
 -´\  ouŁ\  -\  k\  ý \  ş\  l\  u\  -´\  á\  -\  sek k\  °\  e\
 -\  Łek k\  °
í-\  şa\  -l\  a

\hbox(6.8872+1.94397)x16383.99998, glue set 1613.14673 []

Underfull \hbox (badness 10000) in paragraph at lines 22--22
[] \  e\  x-\  pe\  r-i-\  ence \  l\  an\  -\  guage

\hbox(6.8872+1.94397)x16383.99998, glue set 4884.34521 []

Underfull \hbox (badness 10000) in paragraph at lines 25--25
[] \  Kon\  -fli\  k\  t \  e\  r-\  ge\  -\  ben da\  -\  m\  it

\hbox(6.8872+1.94397)x16383.99998, glue set 3253.41089 []
------ KONEC CASTI LOGu

Znaky csfontu jsou k videni, deleni slov funguje, visici interpunkce
visi, expanze fontu funguje. Vystup .pdf (nebo do .dvi bez expanze
fontu).

Ted je otazka co vse mi vlastne nefunguje spravne, protoze balicek
czech a Babel je povazovano zatim za nespojitelne. A nemam duvod tento
pokus povazovat za vyjimku.

Tedy neco mam spatne ja, jenze nevim co. Hloubeji a dale do toho uz o
mnoho nevidim. Co mam spatne to nevim, protoze me typograficke srdce je
u csfontu, deleni slov, zavesene interpunkce a expanze fontu dosti
uspokojeno.

Kdo muze tak mi prosim poradte, protoze kdyz vidim vse v poradku, tak
se mi chyby spatne hledaji (spise uz nevim co mi vlastne nema
fungovat).

Pavel Striz s diky a pozdravem
P.S. Nize prikladam cely vypis .logu.


----- CELY LOG
This is pdfeTeX, Version 3.141592-1.20a-2.2 (MiKTeX 2.4) (preloaded
format=cslatex 2006.3.28)  28 MAR 2006 23:54
entering extended mode
**c:/paja/disertace/babel_test/test.tex
(c:/paja/disertace/babel_test/test.tex
LaTeX2e <2003/12/01>
Loading CZ hyphenation patterns: Pavel Sevecek, v3, 1995
Babel <v3.8a> and hyphenation patterns for english, french, german,
ngerman, cz
ech, finnish, greek, italian, polish, russian, ukenglish, loaded.
(C:\texmf\tex\latex\base\article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(C:\texmf\tex\latex\base\size10.clo
File: size10.clo 2004/02/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:\texmf\tex\latex\cslatex\czech.sty
(C:\texmf\tex\generic\babel\czech.ldf
Language: czech 2004/02/18 v1.3k Czech support from the babel system
 (C:\texmf\tex\generic\babel\babel.def
File: babel.def 2004/02/19 v3.8a Babel common definitions
\babel at savecnt=\count87
LaTeX Info: Redefining \flqq on input line 640.
LaTeX Info: Redefining \frqq on input line 642.
\U at D=\dimen103
)))
(C:\texmf\tex\generic\babel\babel.sty
Package: babel 2004/02/19 v3.8a The Babel package
 (C:\texmf\tex\generic\babel\english.ldf
Language: english 2004/02/19 v3.3m English support from the babel
system
\l at canadian = a dialect from \language\l at english
)
(C:\texmf\tex\generic\babel\czech.ldf
Language: czech 2004/02/18 v1.3k Czech support from the babel system
) (C:\texmf\tex\generic\babel\germanb.ldf
Language: germanb 2004/02/19 v2.6k German support from the babel system
\l at austrian = a dialect from \language\l at german
Package babel Info: Making " an active character on input line 91.
)) (C:\texmf\tex\latex\base\inputenc.sty
Package: inputenc 2004/02/05 v1.0d Input encoding file
 (C:\texmf\tex\latex\base\cp1250.def
File: cp1250.def 2004/02/05 v1.0d Input encoding file
))
(C:\texmf\tex\latex\base\fontenc.sty
Package: fontenc 2004/02/22 v1.99f Standard LaTeX package
 (C:\texmf\tex\latex\base\t1enc.def
File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
))
(C:\texmf\tex\latex\microtype\microtype.sty
Package: microtype 2004/10/27 v1.3 Micro-typography with pdfTeX (RS)

(C:\texmf\tex\latex\graphics\keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV at toks@=\toks14
)
\MT at cnta=\count88
\MT at cntb=\count89
\MT at cntc=\count90
\MT at cntd=\count91
\MT at cnte=\count92
Package microtype Info: Trying to load local config file
`microtype.cfg' ...
Package microtype Info: ... local config file loaded successfully.

(C:\texmf\tex\latex\microtype\microtype.cfg
File: microtype.cfg 2004/10/27 v1.3 microtype configuration file (RS)
)
Package microtype Info: Using protrusion set `all' on input line 1170.
Package microtype Info: Using expansion set `all' on input line 1170.
Package microtype Info: Character protrusion enabled (level 2).
Package microtype Info: Automatic font expansion enabled (level 2),
(microtype)             stretch: 20 / shrink: 20 / step: 2 .
Package microtype Info: Generating PDF output.
) (test.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line
10.
LaTeX Font Info:    ... okay on input line 10.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 10.
LaTeX Font Info:    ... okay on input line 10.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 10.
LaTeX Font Info:    ... okay on input line 10.
LaTeX Font Info:    Checking defaults for IL2/cmr/m/n on input line 10.
LaTeX Font Info:    ... okay on input line 10.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line
10.
LaTeX Font Info:    ... okay on input line 10.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line
10.
LaTeX Font Info:    ... okay on input line 10.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 10.
LaTeX Font Info:    ... okay on input line 10.

(C:\texmf\tex\latex\microtype\mt-cmr.cfg
File: mt-cmr.cfg 2004/10/27 v1.3 microtype config. file: Computer
Modern (RS)
)
Underfull \hbox (badness 10000) in paragraph at lines 14--14
[] \  e\  x-\  pe\  -ri-\  en\  -\  ce \  l\  an\  -\  gu\  -\  age ş\
 l\  u\
 -´\  ouŁ\  -\  k\  ý \  ş\  l\  u\  -´\  á\  -\  sek k\  °\  e\
 -\  Łek k\  °
í-\  şa\  -l\  a

\hbox(6.8872+1.94397)x16383.99998, glue set 1613.14673 []


Underfull \hbox (badness 10000) in paragraph at lines 19--19
[] \  e\  x-\  pe\  r-i-\  ence \  l\  an\  -\  guage

\hbox(6.8872+1.94397)x16383.99998, glue set 4884.34521 []


Underfull \hbox (badness 10000) in paragraph at lines 22--22
[] \  Kon\  -fli\  k\  t \  e\  r-\  ge\  -\  ben da\  -\  m\  it

\hbox(6.8872+1.94397)x16383.99998, glue set 3253.41089 []

[1

{psfonts.map}] (test.aux) )
Here is how much of TeX's memory you used:
 1690 strings out of 95111
 26548 string characters out of 1185219
 79880 words of memory out of 1080000
 4903 multiletter control sequences out of 35000
 4737 words of font info for 21 fonts, out of 500000 for 1000
 226 hyphenation exceptions out of 607
 26i,4n,35p,211b,1419s stack positions out of
1500i,500n,5000p,200000b,32768s
 7 PDF objects out of 300000
 0 named destinations out of 300000
 1537 words of extra memory for PDF output out of 65536
{cm-super-t1.enc}<C:\texmf\fonts\type1\public\cm-sup
er\sfrm1000.pfb>
Output written on test.pdf (1 page, 22075 bytes).
------ KONEC LOGu





More information about the csTeX mailing list