texi2pdf vs texi2dvi --pdf

View: New views
8 Messages — Rating Filter:   Alert me  

texi2pdf vs texi2dvi --pdf

by Norbert Preining :: Rate this Message:

| View Threaded | Show Only this Message

Hi Karl, hi Heiko,

(please keep all the Cc, thanks)

On the debian side we received a bug report that seems to be related to
texi2dvi/pf.

Take the simple file:
\input thumbpdf.sty
\input texinfo
Hello World
@bye

It works with texi2dvi, but NOT with texi2pdf.

With texi2dvi I get:
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
entering extended mode
(./foo.texi (/home/norbert/tl/2011/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty

Package thumbpdf Warning: Missing driver name.

) (/home/norbert/tl/2011/texmf-dist/tex/texinfo/texinfo.tex
Loading texinfo [version 2012-01-19.16]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/home/norbert/tl/2011/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.) [1] )
Output written on foo.dvi (1 page, 212 bytes).
Transcript written on foo.log.


(same with current devel version!)

BUt with texi2pdf I get:


This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
entering extended mode
(./foo.texi (/home/norbert/tl/2011/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty

Package thumbpdf Warning: Compressed PDF objects of PDF 1.5 are not supported.


Package thumbpdf Warning: Thumbnail data file `foo.tpt' not found.

) (/home/norbert/tl/2011/texmf-dist/tex/texinfo/texinfo.tex
Loading texinfo [version 2012-01-19.16]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/home/norbert/tl/2011/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.) [1{/home/norb
ert/tl/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )</home/norbert/tl/2
011/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on foo.pdf (1 page, 13370 bytes).
Transcript written on foo.log.
THUMBPDF 3.13, 2011/08/10 - Copyright (c) 1999-2011 by Heiko Oberdiek.
*** make png files / run Ghostscript ***
!!! Warning: MediaBox not found, using default resolution: 9 DPI
Processing pages 1 through 1.
[1]
*** make `thumbpdf.pdf' / run pdfTeX ***
*** parse `thumbpdf.pdf' ***
*** write `./foo.tpt' (pdfTeX thumbnail data) ***
*** clear temp files ***
*** ready. ***
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
entering extended mode
(./foo.texi (/home/norbert/tl/2011/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty

Package thumbpdf Warning: Compressed PDF objects of PDF 1.5 are not supported.

/home/norbert/tl/2011/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty:486: Undefin
ed control sequence.
l.486 \RequirePackage
                     {ifluatex}[2010/03/01]
?


According to the OP that *did* work with TL 2009 and the respective
thumbpdf.sty.

Is there anything *we* have to change/do on the Debian side?
Is this a known problem?

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
In those days spirits were brave, the stakes were high,
men were real men, women were real women, and small furry
creatures from Alpha Centauri were real small furry
creatures from Alpha Centauri.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy


Re: texi2pdf vs texi2dvi --pdf

by Karl Berry :: Rate this Message:

| View Threaded | Show Only this Message

    Package thumbpdf Warning: Missing driver name.

I didn't look, but I doubt texi2dvi actually "works" with thumbpdf,
given the name.  DVI ... PDF ... not the same thing :).

    Package thumbpdf Warning: Compressed PDF objects of PDF 1.5 are not
    supported.

Well, this seems clear enough.  thumbpdf.sty is not part of Texinfo,
as you know ...

I surmise it is related to us (that's TL "us", rather than Texinfo "us" :)
switching the default PDF output version to 1.5 in TL 2010, remember?
From pdftexconfig.tex:

% As of TeX Live 2010, we output PDF 1.5 by default, so we can enable
% more compression.  To change this for the installation, comment out or
% delete these lines and remake the formats.  To change it for a
% particular LaTeX document, \RequirePackage{pdf14} early.
%
\pdfminorversion=5
\pdfobjcompresslevel=2

I don't know what we can do.  I hope Heiko has an idea.

karl


Re: texi2pdf vs texi2dvi --pdf

by Norbert Preining :: Rate this Message:

| View Threaded | Show Only this Message

> I didn't look, but I doubt texi2dvi actually "works" with thumbpdf,
> given the name.  DVI ... PDF ... not the same thing :).

I think you missed one point ... thumbpdf didn't have real problems,
the problem was that it didn't realize that it is working in
tex mode and not in latex mode.

When running texi2dvi it does NOT call a
        \RequirePackage{ifluatex}
but if it is running as texi2pdf it calls it, and since we are running
in tex mode (not latex format) this does not work.

I also have the feeling that it comes from the fact that texi2pdf
is run two times, and the second time some cmd line options are
not properly passed, or something is not properly called ...
*WILD* guessing, though, and no time as I am leaving for Sendai ...

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
WRABNESS (n.)
The feeling after having tried to dry oneself with a damp towel.
                        --- Douglas Adams, The Meaning of Liff


Re: texi2pdf vs texi2dvi --pdf

by Karl Berry :: Rate this Message:

| View Threaded | Show Only this Message

Hi Norbert,

    I think you missed one point ... thumbpdf didn't have real problems,

I was simply reacting to the error messages you reported, since I didn't
have anything else to go on.

    I also have the feeling that it comes from the fact that texi2pdf
    is run two times, and the second time some cmd line options are
    not properly passed, or something is not properly called ...

Sorry to say that I'm still not clear on what bug you are reporting,
what you expect to happen, or how it's related to Texinfo.  So I have no
idea either.  Let me know if you figure out what to do :).

I can only suggest the obvious: trying running the TL'09 and TL'11
versions in parallel with -x to look for the relevant differences.  Or
maybe the relevant differences are in thumbpdf.sty, or pdftexconfig.tex,
or ... who knows ...

karl


Re: texi2pdf vs texi2dvi --pdf

by Heiko Oberdiek-2 :: Rate this Message:

| View Threaded | Show Only this Message

On Sun, Apr 01, 2012 at 10:06:27PM +0900, Norbert Preining wrote:

> /home/norbert/tl/2011/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty:486: Undefin
> ed control sequence.
> l.486 \RequirePackage
>                      {ifluatex}[2010/03/01]
> ?

Thanks for the bug report.
It is now fixed in version 2012/04/09 v3.14 that is on its way to CTAN.

Yours sincerely
  Heiko Oberdiek


Re: texi2pdf vs texi2dvi --pdf

by Norbert Preining :: Rate this Message:

| View Threaded | Show Only this Message

On Mo, 09 Apr 2012, Heiko Oberdiek wrote:
> It is now fixed in version 2012/04/09 v3.14 that is on its way to CTAN.

Great, thanks!

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
MILWAUKEE (n.)
The melodious whistling, chanting and humming tone of the milwaukee
can be heard whenever a public lavatory is entered. It is the way the
occupants of the cubicles have of telling you there's no lock on their
door and you can't come in.
                        --- Douglas Adams, The Meaning of Liff


Re: texi2pdf vs texi2dvi --pdf

by Andreas Metzler :: Rate this Message:

| View Threaded | Show Only this Message

On 2012-04-09 Heiko Oberdiek <heiko.oberdiek@...> wrote:
> On Sun, Apr 01, 2012 at 10:06:27PM +0900, Norbert Preining wrote:
>> /home/norbert/tl/2011/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty:486: Undefin
>> ed control sequence.
>> l.486 \RequirePackage
>>                      {ifluatex}[2010/03/01]
>> ?

> Thanks for the bug report.
> It is now fixed in version 2012/04/09 v3.14 that is on its way to CTAN.

Thank you very much. I just tried building the offending document
(enblend-enfuse documentation) with the updated thumbpdf and can
confirm that it fixes the issue.

cu andreas


Re: texi2pdf vs texi2dvi --pdf

by Norbert Preining :: Rate this Message:

| View Threaded | Show Only this Message

Hi Heiko, hi Andreas,

On Di, 10 Apr 2012, Andreas Metzler wrote:
> > It is now fixed in version 2012/04/09 v3.14 that is on its way to CTAN.
>
> Thank you very much. I just tried building the offending document
> (enblend-enfuse documentation) with the updated thumbpdf and can
> confirm that it fixes the issue.

I have uploaded texlive-base 2011.20120410-1 that includes this thumbpdf
and should fix this problem for the buidlers.

Thanks Heiko for fixing!
Thanks Andreas for checking!
Sorry Karl for the noise!

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
FRADDAM (n.)
The small awkward-shaped piece of cheese which remains after grating a
large regular-shaped piece of cheese and enables you to cut your
fingers.
                        --- Douglas Adams, The Meaning of Liff