pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47936: thumbpdf does not work
The following reply was made to PR pkg/47936; it has been noted by GNATS.
From: Stefan Schaeckeler <schaecsn%gmx.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/47936: thumbpdf does not work
Date: Tue, 18 Jun 2013 16:37:28 -0700 (PDT)
Debian uses texlive that comes with a recent thumbpdf version. Like NetBSD,
FreeBSD is still using teTeX with the same old thumbpdf version. That's a good
point of comparision.
The error results from a "wrong" intermediate file "thumbpdf.pdf". The second
line is expected to be the "obj" line.
FreeBSD thumbpdf.pdf:
%PDF-1.4
4 0 obj <<
/Length 54
Pkgsrc thumbpdf.pdf:
%PDF-1.5
%DOAO
10 0 obj <<
The second line is a comment and not expected by thumbpdf. I tried to
reproduce it with a minimal .tex file:
$ cat hello.tex
hello world
\bye
$ pdftex hello.tex
Same here. FreeBSD generates the obj line on line 2 and Pkgsrc on line 3.
Not sure how to fix that. Either convince pdftex to generate pdf-1.4 files or
make thumbpdf read over the second line (grep for "#get obj" in thumbpdf.pl).
Stefan
Home |
Main Index |
Thread Index |
Old Index