On 2005-05-31 15:43:00 +0700, The Thanh Han wrote:
On Mon, May 30, 2005 at 11:35:54PM +0530, noreply@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