[pstricks] auto-pst-pdf with beamer
Doris Behrendt
doris.behrendt at me.com
Thu Sep 4 12:37:01 CEST 2014
Hi Herbert and others,
thanx, your code worked, BUT …
in the meantime I have tried some other files (different package cominations, but always beamer with auto-pst-pdf) and tested some minimal examples.
In most cases, the pdf is produced, but the pstricks-pictures are not included; I get the following message, which I don’t understand:
</usr/local/texlive/2014/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy6.pfb>
[1] [2] [1] [2] [3] [3] [4] [4] [5] [6] [5]
Error: /typecheck in --div--
Operand stack:
1 0 0.0 0.0 a 65781.8
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop 1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- 4 --nostringval-- %repeat_continue --nostringval--
Dictionary stack:
--dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:174/200(L)-- --dict:203/300(L)--
Current allocation mode is local
Last OS error: Invalid argument
Current file position is 370634
GPL Ghostscript 9.10: Unrecoverable error, exit code 1
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
!!! Warning: Empty Bounding Box is returned by Ghostscript!
!!! Page 1: 0 0 0 0
!!! Either there is a problem with the page or with Ghostscript.
!!! Recovery is tried by embedding the page in its original size.
==> 1 page written on `links-rechts-vgl-pics.pdf'.
-------------------------------------------------
auto-pst-pdf: End auxiliary LaTeX compilation
————————————————————————
————————————————————————————————————end of console snippet
I also tried older versions of texlive (2012) and there everything seems to work fine (I’m just testing)
I tried 2014 on mac(maxtex) and pc(texlive, windows 8) and on both systems I get the same error message quoted above;
what can I do to get beamer and auto-pst-pdf ?
tia
doris
On 03 Sep 2014, at 19:02, Herbert Voss <Herbert.Voss at FU-Berlin.DE> wrote:
> Am 03.09.2014 18:27, schrieb Doris Behrendt:
>
>> please have a look at this; I guess it has to do with the rotating package? below after the minimal example I have pasted also the console output;
>>
>> \documentclass{beamer}
>> \usepackage{etex}
>> \usepackage{auto-pst-pdf}
>> \makeatletter
>> \let\Test at pr@shipout\pr at shipout%% save the original definition
>> \let\Test at shipout\shipout
>> \makeatother
>> \usepackage{tikz}
>> \makeatletter
>> \AtBeginDocument{%
>> \let\pr at shipout\Test at pr@shipout%% restore it
>> \let\shipout\Test at shipout
>> }
>> \makeatother
>> \usepackage{pstricks}
>> \usepackage{%
>> pst-3dplot,<————————comment this out and it works!
>> }
>> \usepackage{tikz}
>> \usepackage{rotating}
>
> use
>
> [...]
> \makeatother
> \ifpdf\else
> \usepackage{pstricks}
> \usepackage{pst-3dplot}
> \fi
> \usepackage{tikz}
> \usepackage{rotating}
> [...]
>
>
> Herbert
>
> _______________________________________________
> 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