[pdftex] conflict and strange behavior between invoice package, graphicx under pdflatex

Hin-Tak Leung htl10 at users.sourceforge.net
Fri Jul 6 00:32:48 CEST 2012

This is texlive 2012, I found that:


if processed by pdflatex, generates an extra first page with what looks like about 10 dates. 

[2007/09/09] [2010/03/01] [2010/12/02] [2010/09/13] [2007/11/11] [2007/09/09]       [2007/09/09]
[2010/03/01] [2010/03/01]      [2010/12/02] [2007/09/09] [2007/09/09][2010/03/01] [2010/01/28]
[2007/09/29]                               [2007/10/02] [2007/11/11]              [2009/07/12]

(if processed by latex, then dvips, then there is no extra first page).

and if I put \usepackage{graphicx} after \usepackage{invoice}, it chokes with a message:


In the log in the former case, one sign might indicate a problem would be:

Package etexcmds Info: Could not find \expanded.
(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
(etexcmds)             that some package has redefined \expanded.
(etexcmds)             In the latter case, load this package earlier.

I am willing to think it has less to do with graphics/graphicx than invoice and pdflatex. (since graphicx is more well-used), so I am thinking the author of the invoice package might have a look at this, as well as the pdftex people. I think wanting to use invoice together with graphics is a valid usage - e.g. putting in a company logo in an invoice, say, with pdflatex.

More information about the pdftex mailing list