|
|
Subject: Re: compatibility of XeTeX with movie15.sty - msg#00172
On 20 Oct 2005, at 10:34 am, Alexandros D. Gotsis wrote: Dear Jonathan et al. 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? Sorry, there's no chance of this working in this way at present. I haven't looked at movie15.sty, but it must be using either (1) pdfTeX extensions or (2) driver-specific \special commands for something like dvipdfmx in order to include the movies. And neither of these mechanisms will work with XeTeX: (1) the pdfTeX extensions are not present, as XeTeX is based on e-TeX and not on pdfTeX; (2) the xdv2pdf driver can't embed movies because the Quartz graphics APIs that it uses to generate PDF don't support this. I can think of a possible workaround, if you really want to combine XeTeX-generated text with movies: create PDF files with the movies embedded, using pdfTeX, and then place these into the XeTeX document. I have not tried this, but it's possible that embedding PDFs like this may preserve all the features of the embedded document, including its movie. If this doesn't work (I don't know if movies will survive the Quartz-based PDF-inclusion process), then you could also try inverting the process: generate the text for your slides in PDF form using XeTeX, and then use pdfTeX to assemble the final slides, combining the text from XeTeX (is this what the pdfpages package lets you do?) with the movies you want to add. Not a simple and automatic solution, I'm afraid, and perhaps more effort than you want to spend. In the longer term, the real answer is a new XeTeX-to-PDF driver based on a more full-featured PDF-generating engine. Jonathan_______________________________________________
XeTeX mailing list
postmaster-WUdSmCIlby8@xxxxxxxxxxxxxxxx
http://tug.org/mailman/listinfo/xetex
Thread at a glance:
Previous Message by Date:
compatibility of XeTeX with movie15.sty
Dear Jonathan et al.
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?
Thanks and keep up the nice work
Alexandros D. Gotsis
Technical University of Crete
Department of Sciences
GR-73100 Chania, Crete
Greece
tel. +30-2821037675
fax. +30-2821037843_______________________________________________
XeTeX mailing list
postmaster-WUdSmCIlby8@xxxxxxxxxxxxxxxx
http://tug.org/mailman/listinfo/xetex
Next Message by Date:
Re: compatibility of XeTeX with movie15.sty
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@pdf}%
\ifthenelse{\isundefined{\pdfoutput}}{%
%latex with dvips
\setboolean{@MXV@pdf}{false}%
}{%
\ifthenelse{\number\pdfoutput<1}{%
%pdflatex in DVI mode
\setboolean{@MXV@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@pdf}{true}%
}%
}%
}
and later in the file a significant amount of PDF or PS programming
constructs depending on the switch @MXV@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
Previous Message by Thread:
compatibility of XeTeX with movie15.sty
Dear Jonathan et al.
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?
Thanks and keep up the nice work
Alexandros D. Gotsis
Technical University of Crete
Department of Sciences
GR-73100 Chania, Crete
Greece
tel. +30-2821037675
fax. +30-2821037843_______________________________________________
XeTeX mailing list
postmaster-WUdSmCIlby8@xxxxxxxxxxxxxxxx
http://tug.org/mailman/listinfo/xetex
Next Message by Thread:
Re: compatibility of XeTeX with movie15.sty
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@pdf}%
\ifthenelse{\isundefined{\pdfoutput}}{%
%latex with dvips
\setboolean{@MXV@pdf}{false}%
}{%
\ifthenelse{\number\pdfoutput<1}{%
%pdflatex in DVI mode
\setboolean{@MXV@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@pdf}{true}%
}%
}%
}
and later in the file a significant amount of PDF or PS programming
constructs depending on the switch @MXV@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
|
|