[powerdot] Re: movie in presentation does not work with TeXLive 2011

  • From: Patrice MÉGRET <Patrice.MEGRET@xxxxxxxxxxx>
  • To: "powerdot@xxxxxxxxxxxxx" <powerdot@xxxxxxxxxxxxx>
  • Date: Wed, 22 Feb 2012 16:43:55 +0000

Dear Yogeshwarsing,

I made the test with TL2010 but with some packages updated (see file list 
below) and the compilation works (latex, dvips). Then I used Ghostview to see 
the ps file, I have an error on the last page when GS9.05 is in use (see error 
message below). To see the ps and transform it into pdf, I had to use GS8.71 
inside Ghostview and then it works correctly with Acrobat reader X but not with 
pdf-xchange-viewer.

If somebody has explanations for:
1. the GS version problem
2. why the movies seems not to work with pdf-xchange-viewer

I am interested. 

 

Best regards,

Patrice 


Error in with GS9.05

--- Begin offending input ---
espec1} <</F(test.avi)/Type/Filespec>> /PUT pdfmark
end
 5670 3553 a 5670
3553 a
SDict begin [ /_objdef {fstream1}/type/stream /OBJ pdfmark end
 5670 3553 a 5670 3553 a
SDict begin [ {fstream1}(test.avi) (r) file /PUT pdfmark end
 5670 3553 a 5670 3553
a
SDict begin [ {fstream1} <</Type/EmbeddedFile/Subtype(video/avi)>>
/PUT pdfmark end
 5670 3553 a 5670 3553 a
SDict begin [ {filespec1} <</EF << /F {fstream1} >>>> /PUT pdfmark
end
 5670 3553 a 5670 3553 a
SDict begin [ /_objdef {pageopenaction1}/type/dict /OBJ pdfmark end
 5670
3553 a 5670 3553 a
SDict begin [ {pageopenaction1} <</R {mediarendition1}/S/Rendition/OP
3/JS ( try{if(player1.isOpen){player1.page=this.pageNum; 
player1.visible=true;if(player1.settings.privateData.paused){player1.settings.privateData.paused=false;
player1.play(); if(!player1.isPlaying){if( player1.settings.startAt.time || 
player1.settings.startAt.frame || player1.settings.startAt.marker || player1.id 
== 'vnd.adobe.swname:AAPL_QuickTime' ){
player1.seek(player1.settings.startAt); }els
--- End offending input ---
file offset = 230015
gsapi_run_string_continue returns -101

  

*File List*
powerdot.cls    2011/09/15 v1.4h powerdot presentation class (HA,CE)
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
geometry.sty    2010/07/13 v5.5 Page Geometry
   ifpdf.sty    2010/01/28 v2.1 Provides the ifpdf switch (HO)
  ifvtex.sty    2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
hyperref.sty    2010/09/11 v6.81m Hypertext links for LaTeX
 ltxcmds.sty    2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
kvsetkeys.sty    2010/03/01 v1.9 Key value parser (HO)
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/message (HO)
etexcmds.sty    2010/01/28 v1.3 Prefix for e-TeX command names (HO)
pdfescape.sty    2010/03/01 v1.9 Provides hex, PDF name and string conversions 
(HO)
pdftexcmds.sty    2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
 hycolor.sty    2009/12/12 v1.6 Color options of hyperref/bookmark (HO)
xcolor-patch.sty    2009/12/12 xcolor patch
letltxmacro.sty    2008/06/24 v1.3 Let assignment for LaTeX macros (HO)
  pd1enc.def    2010/09/11 v6.81m Hyperref: PDFDocEncoding definition (HO)
 intcalc.sty    2007/09/27 v1.1 Expandable integer calculations (HO)
hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty    2010/02/22 v3.7 Keyval support for LaTeX options (HO)
     url.sty    2006/04/12  ver 3.3  Verb mode for urls, etc.
  bitset.sty    2007/09/28 v1.0 Data type bit set (HO)
bigintcalc.sty    2007/11/11 v1.1 Expandable big integer calculations (HO)
atbegshi.sty    2010/03/25 v1.12 At begin shipout hook (HO)
  hdvips.def    2010/09/11 v6.81m Hyperref driver for dvips
 pdfmark.def    2010/09/11 v6.81m Hyperref definitions for pdfmark specials
rerunfilecheck.sty    2010/03/16 v1.6 Rerun checks for auxiliary files (HO)
atveryend.sty    2010/03/24 v1.5 Hooks at very end of document (HO)
uniquecounter.sty    2009/12/18 v1.1 Provides unlimited unique counter (HO)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks.sty    2011/04/23 v0.50 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2011/04/23 v2.20 `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  pst-fp.tex    2011/04/23 v2.20 `PST-fp' (hv)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
enumitem.sty    2011/09/28 v3.5.2 Customized lists
verbatim.sty    2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
powerdot-default.sty    2005/12/10 v1.4 default style (HA)
  pifont.sty    2005/04/12 PSNFSS-v9.2a Pi font support (SPQR) 
    upzd.fd    2001/06/04 font definitions for U/pzd.
    upsy.fd    2001/06/04 font definitions for U/psy.
powerdot-default.ps    Graphic file (type eps)
 amssymb.sty    2009/06/22 v3.00
amsfonts.sty    2009/06/22 v3.00 Basic AMSFonts support
 amsmath.sty    2000/07/18 v2.13 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
 movie15.sty    2009/07/07
  ifthen.sty    2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
 ifdraft.sty    2008/08/11 v1.3 Switch for option draft (HO)
everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
 nameref.sty    2010/04/30 v2.40 Cross-referencing by name of section
refcount.sty    2008/08/11 v3.1 Data extraction from references (HO)
gettitlestring.sty    2009/12/18 v1.3 Cleanup title references (HO)
"Document-TeX 71".bm
"Document-TeX 71".bm
"Document-TeX 71".toc
    umsa.fd    2009/06/22 v3.00 AMS symbols A
    umsb.fd    2009/06/22 v3.00 AMS symbols B
    test.ps    Graphic file (type eps)
 ***********



-----Message d'origine-----
De : powerdot-bounce@xxxxxxxxxxxxx [mailto:powerdot-bounce@xxxxxxxxxxxxx] De la 
part de Yogeshwarsing Calleecharan
Envoyé : mercredi 22 février 2012 15:52
À : powerdot@xxxxxxxxxxxxx
Objet : [powerdot] movie in presentation does not work with TeXLive 2011

Hi,
      I have a problem to make movie with (latest) TexLive 2011 and with the 
latest Powerdot. Below is my code for the presentation. You can find the 
additional files needed here:

test.ps and test.avi

http://petitlien.fr/platex

The compilation works fine with TexLive 2008 but not with TexLive 2011. 
The DVIPS operation produces no complaints but the postscript file does not 
include the slide on which the movie is. And the compilation to pdf produces 
errors. Here is my workflow with TeXLive 2011:

latex "%1"
latex "%1"
latex "%1"
dvips -D7200 -Pcms -Ppdf -j0 -G0 "%1.dvi"
ps2pdf -dCompatibilityLevel#1.5 -sDEVICE=pdfwrite -r720
-dCompatibilityLevel=1.5 -dUseFlateCompression=true -dMaxSubsetPct=100 
-dSubsetFonts=true -dEmbedAllFonts=true -dEPSCrop "%1.ps" "%1.pdf"


All files should be in the same folder.


The presentation file defense.tex is:

\documentclass[size=10pt,mode=present,paper=screen,letterpaper,landscape,english,style=myaggie,display=slides]{powerdot}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{movie15}

\begin{document}
\begin{slide}[toc=,bm=]{Overview}
\tableofcontents[content=sections]
\end{slide}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Background}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{Motivation}
\begin{itemize}
    \pause
   \item These eccentricities and the phenomenon of \textcolor{red}{unbalanced 
magnetic pull} (UMP) mutually affect each other\\[3.7mm]
    \pause
   \item The present work has as aims to.
\end{itemize}
\end{slide}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}[toc=The UMP]{More about the unbalanced magnetic pull$\ldots$} 
\onslide*{1}{ \begin{itemize} \item The UMP has two components: A 
\textcolor{red}{radial} component and a \textcolor{red}{tangential} 
one\\[3.7mm] \end{itemize} }

\end{slide}



\begin{wideslide}[toc=Simulation results]{Does not work with TL2011} 
\onslide*{1}{ \vspace{-0.45em} \def\scalew{1.0} \def\scaleh{.57} 
\includemovie[toolbar,autoresume,repeat=7,text={\includegraphics[width=\scalew\textwidth,height=\scaleh\textwidth]{test.ps}}]{}{}{test.avi}
\vspace{-1.25em}
\begin{itemize}
\item This does not work.
\end{itemize}
}
\end{wideslide}

\end{document}


So basically with TeXLive 2011, the last page containing the movie never enter 
the presentation file. But everything works fine with TeXLive 2008.



Thank you.

Best Regards,
Y.Calleecharan



Other related posts: