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

Martin Schröder martin at oneiros.de
Thu Jun 16 15:04:39 CEST 2005


On 2005-05-31 15:43:00 +0700, The Thanh Han wrote:
> On Mon, May 30, 2005 at 11:35:54PM +0530, noreply at sarovar.org wrote:
> > Suppose the semantics of \pdfinfo were something like:
> >   \pdfinfo{ ... }
> >   Stores information that is written to the PDF file,
> >   if pdftex generates a PDF file.  Otherwise ignored.
> > 
> > Then the error that prompted this thread would not have
> > occurred.
> 
> sounds like a good solution. It will fixed in next
> release.

It isn't now. Can all \pdf primitives be ignored in dvi-mode?

Currently we have
    check_pdfoutput("\pdfannot");
    check_pdfoutput("\pdfcatalog");
    check_pdfoutput("\pdfdest");
    check_pdfoutput("\pdfendlink");
    check_pdfoutput("\pdfendthread");
    check_pdfoutput("\pdffontattr");
    check_pdfoutput("\pdfincludechars");
    check_pdfoutput("\pdfliteral");
    check_pdfoutput("\pdfmapfile");
    check_pdfoutput("\pdfmapline");
    check_pdfoutput("\pdfnames");
    check_pdfoutput("\pdfobj");
    check_pdfoutput("\pdfoutline");
    check_pdfoutput("\pdfrefobj");
    check_pdfoutput("\pdfrefxform");
    check_pdfoutput("\pdfrefximage");
    check_pdfoutput("\pdfsavepos");
    check_pdfoutput("\pdfstartlink");
    check_pdfoutput("\pdfstartthread");
    check_pdfoutput("\pdfthread");
    check_pdfoutput("\pdftrailer");
    check_pdfoutput("\pdfxform");
    check_pdfoutput("\pdfximage");

\pdfinfo and  \pdfcatalog are the simple cases. :-)

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


More information about the ntg-pdftex mailing list