[XeTeX] compatibility of XeTeX with movie15.sty

Bruno Voisin bvoisin at mac.com
Thu Oct 20 12:11:35 CEST 2005


Le 20 oct. 05 à 11:34, Alexandros D. Gotsis a écrit :

> I was trying to use movie15.sty with XeTeX to include quicktime  
> movies in the slides for my lectures (in greek) and I could not get  
> it work. It seems that movie15 needs hyperref (and graphicx) in  
> this case, but, even then, it does not add the movie to the pdf  
> file. Movie15 works well with LaTeX  (with or without hyperref) in  
> my system. Is anything known on this?

If you look inside movie15.sty you'll find the code:

%find out which LaTeX is being used
\newboolean{@MXV at pdf}%
\ifthenelse{\isundefined{\pdfoutput}}{%
   %latex with dvips
   \setboolean{@MXV at pdf}{false}%
}{%
   \ifthenelse{\number\pdfoutput<1}{%
     %pdflatex in DVI mode
     \setboolean{@MXV at pdf}{false}%
   }{%
     %pdflatex in PDF mode
     \ifthenelse{\pdftexversion<120}{%
       \PackageError{movie15}{%
         pdfTeX/pdfLaTeX version >= 1.20 required for direct PDF output
       }{%
         Try to install a more recent version!
       }%
     }{%
       \setboolean{@MXV at pdf}{true}%
     }%
   }%
}

and later in the file a significant amount of PDF or PS programming  
constructs depending on the switch @MXV at pdf.

This tells essentially that movie15.sty is one of those packages that  
assumes you're using either TeX + dvips + GhostScript, or pdfTeX, and  
no other driver than these two. Moreover, as some of those packages  
do, the support code for the two drivers (dvips or pdfTeX) is not  
delegated to separate driver files (like the .def files for the  
graphics and hyperref packages, say), but included in the package  
movie15.sty itself.

All in all this tells movie15.sty can't work with XeTeX: you would  
need to add XeTeX support to movie15.sty yourself, which, looking at  
movie15.sty in more detail, would probably mean writing a significant  
amount of LaTeX/PDF code.

Bruno Voisin



More information about the XeTeX mailing list