[pstricks] movie15

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Thu Sep 15 14:25:53 CEST 2011


Dear Alexander,

Thanks for this explanation.

If I clearly understand, ps2pdf is used to convert the ps file to the pdf file. After dvips, I get a ps file that I can correctly convert to pdf with ps2pdf from Texlive2010 (but that one seems to use gs8.71).

What I can still no do, is to open the ps file with Ghostview 4.9 when it is based on gs9.02. I changed the Ghostscript Options field to  -dNOSAFER -dNOPLATFONTS -sFONTPATH="c:\psfonts"  in the Advanced Configure but when I try to open the ps file I get this error message (so even prior to any conversion to pdf by pdwrite):

GPL Ghostscript 9.02 (2011-03-30)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file D:/test/test.ps
Displaying page 1
Error: /invalidfileaccess in --file--
Operand stack:
   --nostringval--   --nostringval--   (preforme.swf)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1164/1684(ro)(G)--   --dict:0/20(G)--   --dict:83/200(L)--   --dict:106/300(L)--   --dict:36/200(L)--
Current allocation mode is local
Last OS error: No such file or directory


So as I am not expert in ps and pdf, I don't see how to solve that trouble.
If you have any advice to give me (even a link to dedicated website) I am very interested.

Best regards,

Patrice   


-----Message d'origine-----
De : pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] De la part de Alexander Grahn
Envoyé : mercredi 14 septembre 2011 11:40
À : Graphics with PSTricks
Objet : Re: [pstricks] movie15

Bonjour!

On Wed, Sep 14, 2011 at 08:59:26AM +0000, Patrice MÉGRET wrote:
>Dear Alexander,
>Dear list members
>
>I use movie15 and animate with powerdot presentations and it works very well.
>
>I use latex -> dvips -> ghostview to convert ps file to pdf file. Now, 
>my gs version is 9.02 In general, I don't embed the movies (inline=false) and everything works well in slide and handout modes.
>
>To have only one complete file, I was trying to embed the movies by inline=true and I always get an error with gs9.02 when it try to open the file generated by dvips. I was only able to embed  the movies by going back to gs8.70.
>
>Do you have similar behavior?

Indeed, with gs-9.04 I get:

  Error: /invalidfileaccess in --file--
  Operand stack:
     --nostringval--   --nostringval--   (random.mpg)   (r)

I seems that the PS operator `file' has been marked `unsafe' even for file reading operations, `(r)', as it was before only for writing operations, `(w)'.

>Does anybody has a way to overcome this problem
Yes, to overcome this, run ps2pdf with option `-dNOSAFER'.

Kind regards,
Alexander

_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/



More information about the PSTricks mailing list