[NTG-pdftex] [ pdftex-Bugs-359 ] pdftex generates errors when it does not have to - eg \pdfinfo

Martin Schröder martin at oneiros.de
Fri Jul 15 20:02:44 CEST 2005


On 2005-07-15 19:39:54 +0200, Martin Schröder wrote:
> will have /Foo (Bar) in the info dict. But we don't say that we
> are _ignoring_ the data; and doing so would be more difficult.

Turns out it isn't so difficult.
----------------
\pdfoutput=0
\pdfinfo{/Test (Foo)}
\pdfoutput=1
\pdfinfo{/Test1 (Bar)}
Test
\bye
----------------
Now gives
----------------
> etex 359.tex 
This is pdfeTeX, Version 3.141592-1.30.0-rc4-2.2 (Web2C 7.5.5)
entering extended mode
(./359.tex
! pdfTeX warning (\pdfinfo): used while \pdfoutput is not set; ignoring it
[1{/home/ms/.texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )</opt/tex.test/sha
re/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on 359.pdf (1 page, 4829 bytes).
Transcript written on 359.log.
----------------
359.pdf has /Test1 (Bar) in the info dict.

I've done the same for \pdfcatalog and \pdftrailer.

Best
    Martin
-- 
                    http://www.tm.oneiros.de


More information about the ntg-pdftex mailing list