cspdftex_0.2.0_all.deb - negeneruje vzdy pdfcslatex.fmt

Vaclav Ovsik Vaclav.Ovsik@i.cz
Fri, 19 Oct 2001 11:06:38 +0200


Zdravím,
když už jsem si dal práci a problém popsal ...
Pouze nevím na koho s tím mám jít.

----- Forwarded message from Petr Špatka <petr.spatka@centrum.cz> -----

From: Petr Špatka <petr.spatka@centrum.cz>
Date: Fri, 19 Oct 2001 10:45:45 +0100
To: "Vaclav Ovsik" <Vaclav.Ovsik@i.cz>
Subject: Re: cspdftex_0.2.0_all.deb - negeneruje vzdy pdfcslatex.fmt
Delivered-To: zito@ns.i.cz
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300

> stáhl jsem si balíček z ftp.debian.cz z projektu debian-czsk
> a při jeho instalaci narazil na problém.
> Podotýkám hned v úvodu, že nejsem expert přes Debian balíčky
> ani nejsem TeX expert (teprve se snažím :-).
Bohužel na tom už nedělám a dokonce se snažím nějak vyvázat z projektu
debian. Vše především z časových důvodů.

Omlouvám se, ale nemohu poradit nic jiného, než zkuste se podívat do archívu
debian konference nebo se v ní zeptat.

Mějte se pěkně.

Petr Špatka


----- End forwarded message -----
----- Forwarded message from Vaclav Ovsik <Vaclav.Ovsik@i.cz> -----

From: Vaclav Ovsik <Vaclav.Ovsik@i.cz>
Date: Fri, 19 Oct 2001 08:15:25 +0200
To: spatka@debian.cz
Subject: cspdftex_0.2.0_all.deb - negeneruje vzdy pdfcslatex.fmt
User-Agent: Mutt/1.2.5i

Zdravím,
stáhl jsem si balíček z ftp.debian.cz z projektu debian-czsk
a při jeho instalaci narazil na problém.
Podotýkám hned v úvodu, že nejsem expert přes Debian balíčky
ani nejsem TeX expert (teprve se snažím :-).

Hned v úvodu plesknu svojí doměnku co je špatně, dále potom
přikládám nějaké výstupy, kde snad můžete získat více informací.

Při instalaci se mě tex zeptal, jestli chci určitě vygenerovat formát
pro latex, protože definice jsou starší než jeden rok ...
Možná v důsledku toho vrátil na závěr nenulový exit status, čímž
v subshellu přeskočil (volba set -e) shell dva příkazy install,
které formát měli vrazit do /var/lib/texmf/web2c.

Používám disribuci Debian GNU/Linux Potato (2.2)

--------------------<screen>--------------------
zito@bobek zito $ dpkg-awk 'Package:tetex.*' 'Status:install ok' \
-- Package Version
Package: tetex-extra
Version: 1.0-10

Package: tetex-lib
Version: 1.0.6-7

Package: tetex-base
Version: 1.0-10

Package: tetex-bin
Version: 1.0.6-7

Package: tetex-doc
Version: 1.0-10
--------------------</screen>--------------------

Abych zjistil co se děje, během instalace jsem podstrčil
(když se to zastaví v preinst skriptu a je to všechno v /var/lib/dpkg/tmp.ci)
do skriptu postinst hned na začátek

set -x

a k příkazu 'pdfinitex cslatex.ini'
jsem přidal (změnil) na

pdfinitex cslatex.ini || echo "*** Nonzero exit status: $? ***" 1>&2

Popravdě nevím pořádně ani čím se mají instalovat balíčky, které nejsou
normálně z distribuce. Já prostě dělám 'dpkg -i ...', ale možná je to blbě.

Takže ...
--------------------<screen>--------------------
bobek:~# dpkg -D3 -i ~zito/c/cspdftex_0.2.0_all.deb 
Selecting previously deselected package cspdftex.
(Reading database ... 101502 files and directories currently installed.)
Unpacking cspdftex (from .../zito/c/cspdftex_0.2.0_all.deb) ...
D000001: process_archive oldversionstatus=not installed
D000002: fork/exec /var/lib/dpkg/tmp.ci/preinst ( preinst install )

*** WARNING ***

This package is NOT part of Debian/GNU Linux distribution.
Do NOT report its bugs to Debian bug system but only to `spatka@debian.cz'.

Press ENTER to continue.

D000001: process_archive updating info directory
D000002: process_archive tmp.ci script/file `.' contains dot
D000002: process_archive tmp.ci script/file `..' contains dot
D000002: process_archive tmp.ci script/file `/var/lib/dpkg/tmp.ci/postinst' installed as `/var/lib/dpkg/info/cspdftex.postinst'
D000002: process_archive tmp.ci script/file `/var/lib/dpkg/tmp.ci/preinst' installed as `/var/lib/dpkg/info/cspdftex.preinst'
D000002: process_archive tmp.ci script/file `/var/lib/dpkg/tmp.ci/postrm' installed as `/var/lib/dpkg/info/cspdftex.postrm'
D000002: process_archive tmp.ci script/file `/var/lib/dpkg/tmp.ci/md5sums' installed as `/var/lib/dpkg/info/cspdftex.md5sums'
D000002: process_archive tmp.ci script/file `/var/lib/dpkg/tmp.ci/control' is control
Setting up cspdftex (0.2.0) ...
D000001: deferred_configure updating conffiles
D000002: fork/exec /var/lib/dpkg/info/cspdftex.postinst ( postinst configure  )
+ set -e
+ '[' -e /etc/texmf/pdftex/pdftex.cfg ']'
+ cat /usr/share/texmf/pdftex/config/pdftex.cfg
+ grep csfont-e.map
+ '[' -x /usr/bin/texhash ']'
+ /usr/bin/texhash
texhash: Updating /var/lib/texmf/ls-R... 
texhash: Updating /var/spool/texmf/ls-R... 
texhash: Done.
+ TMPDIR=/tmp/cspdfplaindeb.5050
+ mkdir /tmp/cspdfplaindeb.5050
+ cd /tmp/cspdfplaindeb.5050
+ export TEXINPUTS=/usr/share/texmf/tex/csplain//:/usr/share/texmf/tex/plain//:/usr/share/texmf/tex/generic//
+ TEXINPUTS=/usr/share/texmf/tex/csplain//:/usr/share/texmf/tex/plain//:/usr/share/texmf/tex/generic//
+ pdfinitex csplain.ini
This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1) (INITEX)
(/usr/share/texmf/tex/csplain/csplain.ini
(/usr/share/texmf/tex/csplain/csfonts.tex)
(/usr/share/texmf/tex/plain/base/plain.tex Preloading the plain format: codes,
registers, parameters, fonts, more fonts, macros, math definitions,
output routines, hyphenation (/usr/share/texmf/tex/generic/hyphen/hyphen.tex))
(/usr/share/texmf/tex/csplain/il2code.tex Extra codes in ISO-8859-2, )
(/usr/share/texmf/tex/csplain/hyphen.lan Hyphen.lan, 
(/usr/share/texmf/tex/csplain/hyphen.ex Enhyphex.tex English exception words.)
The \^, \`, \', \v, \" and \r expands to characters by ISO-8859-2.
(/usr/share/texmf/tex/generic/hyphen/czhyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/czhyphen.ex)
(/usr/share/texmf/tex/generic/hyphen/skhyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/skhyphen.ex)
The \^, \`, \', \v, \" and \r have original plainTeX meaning.)
(/usr/share/texmf/tex/csplain/plaina4.tex \hsize=159.2 mm \vsize=239.2 mm) )
Beginning to dump on file csplain.fmt
 (format=csplain 2001.10.19)
2291 strings of total length 32372
6432 memory locations dumped; current usage is 110&6073
1003 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
27 hyphenation exceptions
Hyphenation trie of length 13470 has 492 ops out of 1501
  248 for language 6
  63 for language 5
  181 for language 0
No pages of output.
Transcript written on csplain.log.
+ install -m 644 csplain.fmt /var/lib/texmf/web2c/pdfcstex.fmt
+ install -m 644 csplain.log /var/lib/texmf/web2c/pdfcstex.log
+ rm -rf /tmp/cspdfplaindeb.5050
+ cd /usr/bin
+ ln -sf pdfvirtex pdfcstex
+ TMPDIR=/tmp/cspdflatexdeb.5050
+ mkdir /tmp/cspdflatexdeb.5050
+ cd /tmp/cspdflatexdeb.5050
+ pdfinitex cslatex.ini
This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1) (INITEX)
(/usr/share/texmf/tex/latex/cslatex/cslatex.ini
(/usr/share/texmf/tex/latex/base/latex.ltx
(/usr/share/texmf/tex/latex/config/texsys.cfg)
./texsys.aux found


\@currdir set to: ./.


Assuming \openin and \input 
have the same search path.


Defining UNIX/DOS style filename parser.

catcodes, registers, compatibility for TeX 2,  parameters,

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! You are attempting to make a LaTeX format from a source file
! That is more than one year old.
!
! If you enter <return> to scroll past this message then the format
! will be built, but please consider obtaining newer source files
! before continuing to build LaTeX.
!
! LaTeX is re-issued every 6 months, in June and December.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! LaTeX source files more than 1 year old!.
l.517 ...LaTeX source files more than 1 year old!}
                                                  
? 
LaTeX2e <1998/12/01>
hacks, control, par, spacing, files, font encodings, lengths,
====================================

Local config file fonttext.cfg used

====================================
(/usr/share/texmf/tex/generic/config/fonttext.cfg
(/usr/share/texmf/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===

(/usr/share/texmf/tex/latex/base/omlenc.def)
(/usr/share/texmf/tex/latex/base/t1enc.def)
(/usr/share/texmf/tex/latex/base/ot1enc.def)
(/usr/share/texmf/tex/latex/base/omsenc.def)
(/usr/share/texmf/tex/latex/base/t1cmr.fd)
(/usr/share/texmf/tex/latex/base/ot1cmr.fd)
(/usr/share/texmf/tex/latex/base/ot1cmss.fd)
(/usr/share/texmf/tex/latex/base/ot1cmtt.fd)))
====================================

Local config file fontmath.cfg used

====================================
(/usr/share/texmf/tex/generic/config/fontmath.cfg
(/usr/share/texmf/tex/latex/base/fontmath.ltx
=== Don't modify this file, use a .cfg file instead ===

(/usr/share/texmf/tex/latex/base/omlcmm.fd)
(/usr/share/texmf/tex/latex/base/omscmsy.fd)
(/usr/share/texmf/tex/latex/base/omxcmex.fd)
(/usr/share/texmf/tex/latex/base/ucmr.fd)))
(/usr/share/texmf/tex/latex/base/preload.ltx) page nos., x-ref, environments,
center, verbatim, math definitions, boxes, title, sectioning, contents,
floats, footnotes, index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================
(/usr/share/texmf/tex/generic/babel/hyphen.cfg
(/usr/share/texmf/tex/generic/hyphen/ushyph1.tex)
(/usr/share/texmf/tex/generic/hyphen/fr19998t.tex
fr19998t.tex - french hyphenation patterns (V2.5) <1999/03/08>)
(/usr/share/texmf/tex/generic/hyphen/dehypht.tex
German Traditional Hyphenation Patterns `dehypht' Version 3.2a <1999/03/03>
(Formerly known under the name `ghyph31' and `ghyphen'.))
(/usr/share/texmf/tex/generic/hyphen/dehyphn.tex
German New Hyphenation Patterns `dehyphn' Rev.28 <1999-03-08> (WaS)
(Formerly known under the name `gnhyph01'.))
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex))
=================================
Applying patch file ltpatch.ltx
=================================
(/usr/share/texmf/tex/latex/base/ltpatch.ltx)
LaTeX2e <1998/12/01> patch level 1
Babel <v3.6x> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.

 ) )
Beginning to dump on file cslatex.fmt
 (format=cslatex 2001.10.19)
4368 strings of total length 56415
43082 memory locations dumped; current usage is 144&41173
3055 multiletter control sequences
\font\nullfont=nullfont
\font\OMX/cmex/m/n/10=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m/it/5=cmmi5
\font\OML/cmm/m/it/7=cmmi7
\font\OML/cmm/m/it/10=cmmi10
\font\OMS/cmsy/m/n/5=cmsy5
\font\OMS/cmsy/m/n/7=cmsy7
\font\OMS/cmsy/m/n/10=cmsy10
3633 words of font info for 14 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 23164 has 709 ops out of 1501
  235 for language 3
  207 for language 2
  86 for language 1
  181 for language 0
No pages of output.
Transcript written on cslatex.log.
+ echo '*** Nonzero exit status: 1 ***'
*** Nonzero exit status: 1 ***
+ install -m 644 cslatex.fmt /var/lib/texmf/web2c/pdfcslatex.fmt
+ install -m 644 cslatex.log /var/lib/texmf/web2c/pdfcslatex.log
+ rm -rf /tmp/cspdflatexdeb.5050
+ cd /usr/bin
+ ln -sf pdfvirtex pdfcslatex
+ '[' -x /usr/bin/texhash ']'
+ /usr/bin/texhash
texhash: Updating /var/lib/texmf/ls-R... 
texhash: Updating /var/spool/texmf/ls-R... 
texhash: Done.
--------------------</screen>--------------------

V této podobě se mi již formát pochopitelně nainstaloval, protože
chybový exit kód v podmínce (||) nevadí.

Šlo by tam asi dát prostě sprostě podobně jako jsem to udělal já
nějaké echo s varováním, že exit kód není 0.

Tak nevím jestli jsem na něco nezapoměl, kdyžtak napište ...

s pozdravem a díky za pdfcslatex
-- 
	Vaclav Ovsik		email: Vaclav.Ovsik@i.cz
	ICZ a.s.		phone: +420 19 7488511
				fax:   +420 19 7488506


----- End forwarded message -----

-- 
	Vaclav Ovsik		email: Vaclav.Ovsik@i.cz
	ICZ a.s.		phone: +420 19 7488511
				fax:   +420 19 7488506