[pstricks] prosper overlays problems

akhmedov at mpi-hd.mpg.de akhmedov at mpi-hd.mpg.de
Sat Jan 28 17:08:31 CET 2017


On Sat, 28 Jan 2017, akhmedov at mpi-hd.mpg.de wrote:

> On Sat, 28 Jan 2017, pstricks-request at tug.org wrote:
>
>> Send PSTricks mailing list submissions to
>> 	pstricks at tug.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://tug.org/mailman/listinfo/pstricks
>> or, via email, send a message with subject or body 'help' to
>> 	pstricks-request at tug.org
>> 
>> You can reach the person managing the list at
>> 	pstricks-owner at tug.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of PSTricks digest..."
>> 
>> 
>> Today's Topics:
>>
>>   1. Re: prosper overlay problems (akhmedov at mpi-hd.mpg.de)
>>   2. Re: prosper overlay problems (Herbert Voss)
>>   3. Re: prosper overlay problems (Herbert Voss)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Fri, 27 Jan 2017 13:38:05 +0100 (CET)
>> From: akhmedov at mpi-hd.mpg.de
>> To: pstricks at tug.org
>> Subject: Re: [pstricks] prosper overlay problems
>> Message-ID: <alpine.DEB.2.20.1701271333420.31330 at lin-1608d>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed
>> 
>> Thanks for the suggestion. Unfortunately, it does not help much. When I
>> remove the pdf option, it compiles without problems but does not produce
>> any overlays -- both frames are displayed simultaneously. The same can be
>> achieved if I simply remove all \overlays and \fromSlide{#}{..} commands,
>> but this is not what I need.
>> 
>>> ----------------------------------------------------------------------
>>> 
>>> Message: 1
>>> Date: Thu, 26 Jan 2017 14:17:32 +0100 (CET)
>>> From: akhmedov at mpi-hd.mpg.de
>>> To: pstricks at tug.org
>>> Subject: Re: [pstricks] prosper overlays problems
>>> Message-ID: <alpine.DEB.2.20.1701261406430.21906 at lin-1608d>
>>> Content-Type: text/plain; format=flowed; charset=US-ASCII
>>> 
>>> Hello Herbert,
>>>
>>>    here is the minimal example.
>>> 
>>> The prosper file test1.tex:
>>> 
>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper}
>>> \usepackage{pstricks,pst-node}
>>> %%%\usepackage{pst-ovl}
>>> \begin{document}
>>> 
>>> \overlays{2}{
>>> \begin{slide}[Box]{This is a test}
>>> \small
>>> This is the first frame
>>> \fromSlide{2}{
>>> 
>>> This is the second frame
>>> }
>>> \end{slide}
>>> }
>>> \end{document}
>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>> 
>>> Then
>>> 
>>> latex test1 -> dvips test1 -> ps2pdf test1.ps test1.pdf
>>> 
>>> At the last stage there is an error message:
>>> 
>>> Error: /undefined in BOL
>>> Operand stack:
>>>    (1)
>>> Execution stack:
>>>    %interp_exit   .runexec2   --nostringval--   --nostringval--
>>> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
>>> --nostringval--   false   1   %stopped_push   1977   1   3   %oparray_pop
>>> 1976   1   3   %oparray_pop   1960   1   3   %oparray_pop   1852   1   3
>>> %oparray_pop   --nostringval--   %errorexec_pop   .runexec2
>>> --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
>>> --nostringval--
>>> Dictionary stack:
>>>    --dict:1198/1684(ro)(G)--   --dict:0/20(G)--   --dict:122/200(L)--
>>> --dict:181/300(L)--   --dict:119/200(L)--
>>> Current allocation mode is local
>>> Last OS error: No such file or directory
>>> Current file position is 150749
>>> GPL Ghostscript 9.18: Unrecoverable error, exit code 1
>>> 
>>> The error actually occurs already at the dvips stage. If after dvips test1
>>> I open the test1.ps file with gv, I see the following error message:
>>> 
>>> Error: /undefined in BOL
>>> Operand stack:
>>>    (1)
>>> Execution stack:
>>>    %interp_exit   .runexec2   --nostringval--   --nostringval--
>>> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
>>> --nostringval--   false   1   %stopped_push   1977   1   3   %oparray_pop
>>> 1976   1   3   %oparray_pop   1960   1   3   %oparray_pop   1852   1   3
>>> %oparray_pop   --nostringval--   %errorexec_pop   .runexec2
>>> --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
>>> --nostringval--
>>> DictiGPL Ghostscript 9.18: Unrecoverable error, exit code 1
>>> onary stack:
>>>    --dict:1198/1684(ro)(G)--   --dict:0/20(G)--   --dict:123/200(L)--
>>> --dict:181/300(L)--   --dict:119/200(L)--
>>> Current allocation mode is local
>>> Last OS error: Resource temporarily unavailable
>>> 
>>> 
>>> 
>>> The problem seems to be known, but I was not able to find a clear
>>> solution. On the web page
>>> 
>>> http://tex.stackexchange.com/questions/132779/problem-with-overlays
>>> 
>>> it is mentioned that the problem may be related to incompatibility of
>>> prosper with recent versions of pstricks. However, the suggested solution
>>> (to add \usepackage{pst-ovl}) did not work in my case.
>>> 
>>> 
>>> 
>>> On Thu, 26 Jan 2017, pstricks-request at tug.org wrote:
>>> 
>>>> Send PSTricks mailing list submissions to
>>>> 	pstricks at tug.org
>>>> 
>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>> 	http://tug.org/mailman/listinfo/pstricks
>>>> or, via email, send a message with subject or body 'help' to
>>>> 	pstricks-request at tug.org
>>>> 
>>>> You can reach the person managing the list at
>>>> 	pstricks-owner at tug.org
>>>> 
>>>> When replying, please edit your Subject line so it is more specific
>>>> than "Re: Contents of PSTricks digest..."
>>>> 
>>>> 
>>>> Today's Topics:
>>>>
>>>>   1. prosper overlay problems (akhmedov at mpi-hd.mpg.de)
>>>>   2. Re: prosper overlay problems (Herbert Voss)
>>>> 
>>>> 
>>>> ----------------------------------------------------------------------
>>>> 
>>>> Message: 1
>>>> Date: Thu, 26 Jan 2017 10:32:14 +0100 (CET)
>>>> From: akhmedov at mpi-hd.mpg.de
>>>> To: pstricks at tug.org
>>>> Subject: [pstricks] prosper overlay problems
>>>> Message-ID: <alpine.DEB.2.20.1701261019310.19794 at lin-1608d>
>>>> Content-Type: text/plain; format=flowed; charset=US-ASCII
>>>> 
>>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and
>>>> found that all my legacy prosper files with \overlays in them stopped
>>>> working. Apparently the problem is that prosper is not compatible with
>>>> recent versions of pstricks. Is it possible to get an older version which
>>>> would still work with prosper? Thanks, Evgeny
>>>> 
>>>> 
>>>> 
>>>> ------------------------------
>>>> 
>>>> Message: 2
>>>> Date: Thu, 26 Jan 2017 11:20:08 +0100
>>>> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
>>>> To: pstricks at tug.org
>>>> Subject: Re: [pstricks] prosper overlay problems
>>>> Message-ID: <c0d2889b-bb9e-e78d-1932-bcb03211449e at FU-Berlin.DE>
>>>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>>> 
>>>> Am 26.01.2017 um 10:32 schrieb akhmedov at mpi-hd.mpg.de:
>>>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and
>>>>> found that all my legacy prosper files with \overlays in them stopped
>>>>> working. Apparently the problem is that prosper is not compatible with
>>>>> recent versions of pstricks. Is it possible to get an older version
>>>>> which would still work with prosper? Thanks, Evgeny
>>>> 
>>>> Please give a short and complete example with the error message.
>>>> 
>>>> Herbert
>>>> 
>>>> 
>>>> 
>>>> ------------------------------
>>>> 
>>>> Subject: Digest Footer
>>>> 
>>>> _______________________________________________
>>>> PSTricks mailing list
>>>> PSTricks at tug.org
>>>> http://tug.org/mailman/listinfo/pstricks
>>>> 
>>>> 
>>>> ------------------------------
>>>> 
>>>> End of PSTricks Digest, Vol 167, Issue 8
>>>> ****************************************
>>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 2
>>> Date: Thu, 26 Jan 2017 14:32:33 +0100
>>> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
>>> To: pstricks at tug.org
>>> Subject: Re: [pstricks] prosper overlays problems
>>> Message-ID: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78 at FU-Berlin.DE>
>>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>> 
>>> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de:
>>>
>>>>    here is the minimal example.
>>>> 
>>>> The prosper file test1.tex:
>>>> 
>>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper}
>>> 
>>> do _not_ use the option "pdf":
>>> 
>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper}
>>> 
>>> then it works for me. Up-to-date TeXLive 2016
>>> 
>>> the pdf option makes only sense for default documents with
>>> article or book class.
>>> 
>>> Herbert
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 3
>>> Date: Thu, 26 Jan 2017 14:33:36 +0100
>>> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
>>> To: Graphics with PSTricks <pstricks at tug.org>
>>> Subject: Re: [pstricks] prosper overlays problems
>>> Message-ID: <a2c7b034-fb1e-6a0d-6ab1-98ad43180696 at FU-Berlin.DE>
>>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>> 
>>> Am 26.01.2017 um 14:32 schrieb Herbert Voss:
>>>> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de:
>>>>
>>>>>    here is the minimal example.
>>>>> 
>>>>> The prosper file test1.tex:
>>>>> 
>>>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper}
>>>>> 
>>>> 
>>>> do _not_ use the option "pdf":
>>>> 
>>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper}
>>> 
>>> sigh, should be
>>> 
>>> \documentclass[serpaggi,slideColor,colorBG,accumulate,nototal]{prosper}
>>> 
>>> 
>>>> 
>>>> then it works for me. Up-to-date TeXLive 2016
>>>> 
>>>> the pdf option makes only sense for default documents with
>>>> article or book class.
>>>> 
>>>> Herbert
>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Subject: Digest Footer
>>> 
>>> _______________________________________________
>>> PSTricks mailing list
>>> PSTricks at tug.org
>>> http://tug.org/mailman/listinfo/pstricks
>>> 
>>> 
>>> ------------------------------
>>> 
>>> End of PSTricks Digest, Vol 167, Issue 9
>>> ****************************************
>>> 
>> 
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Fri, 27 Jan 2017 18:10:38 +0100
>> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
>> To: pstricks at tug.org
>> Subject: Re: [pstricks] prosper overlay problems
>> Message-ID: <68a004d2-cb1f-c9f2-1639-e8cfd078c242 at FU-Berlin.DE>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>> 
>> Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de:
>>> Thanks for the suggestion. Unfortunately, it does not help much. When I
>>> remove the pdf option, it compiles without problems but does not produce
>>> any overlays -- both frames are displayed simultaneously. The same can
>>> be achieved if I simply remove all \overlays and \fromSlide{#}{..}
>>> commands, but this is not what I need.
>> 
>> I'll see what I can do
>> 
>> Herbert
>> 
>> 
>> 
>> 
>> ------------------------------
>> 
>> Message: 3
>> Date: Fri, 27 Jan 2017 20:39:53 +0100
>> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
>> To: pstricks at tug.org
>> Subject: Re: [pstricks] prosper overlay problems
>> Message-ID: <32f71c6d-5447-3607-03fa-b4fcb77ee8ad at FU-Berlin.DE>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>> 
>> Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de:
>>> Thanks for the suggestion. Unfortunately, it does not help much. When I
>>> remove the pdf option, it compiles without problems but does not produce
>>> any overlays -- both frames are displayed simultaneously. The same can
>>> be achieved if I simply remove all \overlays and \fromSlide{#}{..}
>>> commands, but this is not what I need.
>> 
>> I tried all versions of TeXLive back to 2010 and all have the
>> same problem. I have no idea what the changes may be...
>> 
>> However, converting the slides to powerdot is not really difficult:
>> 
>> 
>> \documentclass[style=fyma]{powerdot}
>> \begin{document}
>> \begin{slide}{This is a test}
>> \onslide{1-2}{This is the first frame}
>> 
>> \onslide{2}{This is the second frame}
>> \end{slide}
>> 
>> \begin{slide}{Outline of the talk}
>> \begin{itemize}[type=0]
>>     \item<1-> Introduction
>>     \item<2-> Statement of the main theorem
>>     \item<3> Technical lemmata
>>     \item<4-> Proof of the main theorem
>>     \item<5> Conclusions
>> \end{itemize}
>> \end{slide}
>> 
>> \end{document}
>> 
>> 
>> Herbert
>
> Thanks once again. I could convert my files to powerdot (or beamer), but
> they would have to be modified -- not only the overlay commands, but frame, 
> minipage and figure offsets, etc.  I have many legacy prosper files, so this 
> would be a lot of work.
>
> Actually, it may be that the problem is related with ghostscript rather than 
> with pstricks. I have a computer account at ICTP (Trieste), there my files 
> can be processed without problems. If I latex -> dvips -> ps2pdf my test1.tex 
> file there, everything is fine (they do have an older version of pstricks, 
> v1.29 I think). If I download from there test1.ps file to my local computer 
> in Heidelberg and then ps2pdf it here, everything is fine. But if I download 
> from there test1.dvi and dvips and ps2pdf it here, the same problem occurs 
> already at the dvips stage. So it may well be that the problem is related to 
> ghostscript.
>
>   Evgeny

Update: the problem may still be related to a combination of pstricks and 
dvips. I tried to first latex my test1.tex file locally, then upload it to 
my account at ICTP and then dvips it there. This did not work -- the error
message was

dvips: ! Couldn't find header file pst-tools.pro.
Note that an absolute path or a relative path with .. are denied in -R2 
mode.

This may be related to the fact that they have an older version of 
pstricks.

    Evgeny



More information about the PSTricks mailing list