[XeTeX] xdvipdfmx broken on Windows Vista?

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Mon Apr 23 14:43:03 CEST 2007


> On 23 Apr 2007, at 9:06 am, Akira Kakuto wrote:
> 
> > Hi Toralf,
> >
> >> So-if anybody could reproduce the error,...
> >
> > I can reproduce the error. It must be my mistake.
> > I'll investigete the problem.
> 
> We need to check if the same problem exists with latest xdvipdfmx  
> from svn on other platforms; it may be a general issue, not only  
> Windows. Note that Toralf is running an older version on Mac OS X  
> where his file works OK.

By the following patch, xdvipdfmx became to be able to
include pdf pictures.
I think this bug is not special to Windows.

Please test if the following is successful or not on Unix:

ebb pic.pdf
xelatex --no-pdf foo
xdvipdfmx -vv foo

%
% test file for rev. 86 xdvipdfmx
% foo.tex
% pic.pdf is in the pdftex distribution
%
\documentclass{article}
\usepackage[dvipdfm]{graphicx}
\begin{document}
\includegraphics[width=0.9\textwidth]{pic.pdf}
\end{document}

Thanks,
Akira


--- spc_dvips.c.orig	Thu Feb 15 00:18:08 2007
+++ spc_dvips.c	Mon Apr 23 21:17:50 2007
@@ -871,9 +871,6 @@
   if (args->curptr < args->endptr &&
       args->curptr[0] == ':') {
     args->curptr++;
-  } else if (args->curptr < args->endptr &&
-      args->curptr[0] == '=') {
-    args->curptr++;
   } else if (args->curptr+1 < args->endptr &&
              args->curptr[0] == '"' && args->curptr[1] == ' ') {
     args->curptr += 2;


More information about the XeTeX mailing list