[DVIPDFMx] dvipdfmx: "ps: plotfile" handling

Alexander Boström abo at root.snowtree.se
Fri Nov 27 23:52:12 KST 2009


Hello,

I'm investigating an upgrade from TeTeX 3 to TexLive 2009 and found a
DVI file that will not process properly through dvipdfmx (but it does
work in dvipdfm).

The DVI file contains a special "ps: plotfile foo.ps". When processing,
I got an error like this:

** WARNING ** Unknown token "plotfile"
** WARNING ** Interpreting PS code failed!!! Output might be broken!!!
** WARNING ** Interpreting special command ps: (ps:) failed.
** WARNING ** >> at page="1" position="(-46.7716, 56.6929)" (in PDF)
** WARNING ** >> xxx "ps: plotfile foo.ps "
** WARNING ** >> Reading special command stopped around >>foo.ps <<

Reading the dvipdfmx source code, it looks to me like
spc_dvips_setup_handler() will never use the "ps: plotfile" handler,
only the "ps:" handler, because of how the key comparison is done.

I've attached a completely untested patch that might help with this.

Thanks!
/abo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: texlive-dvipdfmx-ps-specials.patch
Type: text/x-patch
Size: 919 bytes
Desc: not available
URL: <http://project.ktug.or.kr/pipermail/dvipdfmx/attachments/20091127/c62b1eba/attachment.bin>


More information about the dvipdfmx mailing list