[pdftex] SGML output fails with pdflatex
Danai SAE-HAN ( 韓達耐 )
danai.sae-han at edpnet.be
Tue Nov 14 23:26:55 CET 2006
Hi!
From: Werner LEMBERG <wl at gnu.org>
> > Problem now is that latex and dvipdfmx work, but pdflatex doesn't.
> > And the PDF documents in all other languages are made with pdflatex.
> > Strange thing as well is that it worked before with CJK v4.5.2.
>
> Apparently, you've found a fatal bug in pdftex. I was able to reduce
> it to the attached document. Using the TeXLive SVN from today (which
> contains pdfeTeX 3.141592-1.30.4-2.2), the first run of
>
> pdflatex zzzz.tex
>
> works fine, but a second run crashes with
>
> ! pdfTeX error (arithmetic): divided by zero.
>
> This is on a GNU/Linux box, BTW.
Hmm, your example file works on my computer though.
But the error you get is exactly the same that I get with
reference.zh-tw.tex.
I tried running latex first, and then pdflatex, and it only produces
the following warning:
% start
(/usr/share/texmf-tetex/tex/latex/wasysym/uwasy.fd) [1{/home/danai/.texmf-var/f
onts/map/pdftex/updmap/pdftex.map}] [2] (./zzzz.toc)
! pdfTeX warning (ext4): destination with the same identifier (name{page.1}) ha
s been already used, duplicate ignored
<to be read again>
\penalty
l.62 \chapter
{^^?�^^?199^^?^^?�^^?165^^?} [1]
! pdfTeX warning (ext4): destination with the same identifier (name{page.2}) ha
s been already used, duplicate ignored
<to be read again>
\penalty
l.62 \chapter
{^^?�^^?199^^?^^?�^^?165^^?} [2]
Chapter 1.
! pdfTeX warning (ext4): destination with the same identifier (name{page.1}) ha
s been already used, duplicate ignored
<to be read again>
\penalty
l.76 \chapter
{Debian ^^?�^^?242^^?^^?�^^?166^^?} [1]
! pdfTeX warning (ext4): destination with the same identifier (name{page.2}) ha
s been already used, duplicate ignored
<to be read again>
\penalty
l.76 \chapter
{Debian ^^?�^^?242^^?^^?�^^?166^^?}
LaTeX Font Warning: Font shape `C00/bsmi/m/sl' undefined
(Font) using `C00/bsmi/m/n' instead on input line 76.
% end
Nothing serious. Using pdflatex on your zzzz.tex file doesn't fail on
my distribution, and the resulting PDF works.
Running pdflatex twice (after having deleted all the files except
*.tex) works as well.
My system: teTeX3 from Debian/unstable GNU/Linux.
$ latex --version
pdfeTeX using libpoppler 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Is it because I'm using an older version of poppler (0.4.5)?
I'll contact the Debian TeX maintainers to see whether Debian TeXlive
is unaffected as well when pdflatex'ing your zzzz.tex file.
Best regards
Danai SAE-HAN
韓達耐
--
題目:《元日》
作者:王安石(1021-1086)
爆竹聲中一歲除,春風送暖入屠蘇。
千門萬戶[日童][日童]日,總把新桃換舊符。
More information about the pdftex
mailing list