[pstricks] auto-pst-pdf with beamer
Doris Behrendt
doris.behrendt at me.com
Tue Sep 2 17:24:51 CEST 2014
hi list,
here is a minimal example:
%———————————————————————————————————————————————————————start minimal ex.
\documentclass{beamer}
\usepackage{auto-pst-pdf}
%here comes some code I don't understand, taken from herbert, from stackexchange
\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-node,
pst-plot,%<---------comment this out and it works
%pst-3dplot,
}
%\usepackage{pstricks-add}%<----this also leads to problem if not commented out
\usepackage{tikz}
%--------------------------------------------------------------------------
\begin{document}
\begin{frame}
test1
\begin{pspicture}(0,0)(5,5)
\psline(0,0)(5,5)
\end{pspicture}
\end{frame}
\begin{frame}
test2
\begin{pspicture}(0,0)(5,5)
\psline(5,0)(0,5)
\end{pspicture}
\end{frame}
\begin{frame}
test3
\begin{tikzpicture}(0,0)(5,5)
\draw (0,0)--(5,5);
\end{tikzpicture}
\end{frame}
\end{document}
%——————————————————————————————————————end minimal ex.
with pst-plot NOT commented out, I get the following error message on the console:
17:22:08 ~/TeX/mytemplates/pdflatex -shell-escape beamer-pst-3dplot-clash.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
\write18 enabled.
entering extended mode
(./beamer-pst-3dplot-clash.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 78 languages loaded.
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamer.cls
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasercs.sty)
Document Class: beamer 2013/12/02 3.33 A class for typesetting presentations (r
cs-revision 332bfd3ce558)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasemodes.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasedecode.sty))
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaseoptions.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/keyval.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2014/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/size11.clo)
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2014/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/usr/local/texlive/2014/texmf-dist/tex/latex/ms/everyshi.sty))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.d
ef
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
df.def)))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
code.tex)) (/usr/local/texlive/2014/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/color.cfg))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integ
erarithmetics.code.tex)))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
de.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
ruct.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
de.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
ate.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
ations.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
e.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
ode.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
ssing.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
de.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
e.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.cod
e.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.
code.tex))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.co
de.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretranspare
ncy.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.
code.tex)))
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/utilities/xxcolor.sty)
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/atbegshi.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/local/texlive/2014/texmf-dist/tex/latex/url/url.sty)
Package hyperref Message: Stopped early.
)
Package hyperref Message: Driver (autodetected): hpdftex.
(/usr/local/texlive/2014/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2014/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaserequires.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasecompatibility.st
y) (/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasefont.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/sansmathaccent/sansmathaccent.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/filehook/filehook.sty)))
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/translator/translator.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/translator/translator-lang
uage-mappings.tex)))
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasemisc.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasetitle.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasesection.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaseframe.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.
sty) (/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasecolor.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasenotes.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasetoc.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasetemplates.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty)))
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.s
ty (/usr/local/texlive/2014/texmf-dist/tex/latex/tools/enumerate.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/amscls/amsthm.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/beamerbasethemes.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/themes/theme/beamerthemede
fault.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/themes/font/beamerfontthem
edefault.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/themes/color/beamercolorth
emedefault.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/themes/inner/beamerinnerth
emedefault.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/themes/outer/beamerouterth
emedefault.sty)))
(/usr/local/texlive/2014/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkeyval.tex))
(/usr/local/texlive/2014/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/catchfile.sty)
(./beamer-pst-3dplot-clash.w18))
-------------------------------------------------
auto-pst-pdf: Auxiliary LaTeX compilation
-------------------------------------------------
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=latex)
entering extended mode
This is dvips(k) 5.994 Copyright 2014 Radical Eye Software (www.radicaleye.com)
' TeX output 2014.09.02:1722' -> beamer-pst-3dplot-clash-autopp.ps
</usr/local/texlive/2014/texmf-dist/dvips/base/tex.pro>
</usr/local/texlive/2014/texmf-dist/dvips/config/alt-rule.pro>
</usr/local/texlive/2014/texmf-dist/dvips/pstricks/pstricks.pro>
</usr/local/texlive/2014/texmf-dist/dvips/pstricks/pst-algparser.pro>
</usr/local/texlive/2014/texmf-dist/dvips/pst-tools/pst-tools.pro>
</usr/local/texlive/2014/texmf-dist/dvips/pstricks/pst-dots.pro>
</usr/local/texlive/2014/texmf-dist/dvips/pst-node/pst-node.pro>
</usr/local/texlive/2014/texmf-dist/dvips/base/special.pro>. [1] [2]
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
==> 2 pages written on `beamer-pst-3dplot-clash-pics.pdf'.
-------------------------------------------------
auto-pst-pdf: End auxiliary LaTeX compilation
-------------------------------------------------
(/usr/local/texlive/2014/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/pstricks/pstricks.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/pst-xkey.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
`PSTricks' v2.54a <2014/05/19> (tvz)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pstricks/pstricks.con))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pstricks/pst-fp.tex))
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/preview.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/dvips.def)
(/usr/local/texlive/2014/texmf-dist/tex/latex/environ/environ.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/trimspaces/trimspaces.sty))))
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.cod
e.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.
tex)
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-0-65.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-1-18.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)
) (/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.cod
e.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothan
dlers.code.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.cod
e.tex)
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarytopaths.code.tex)))
(/usr/local/texlive/2014/texmf-dist/tex/latex/pst-node/pst-node.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/pst-node/pst-node.tex
v1.33, 2014/03/25))
(/usr/local/texlive/2014/texmf-dist/tex/latex/pst-plot/pst-plot.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/xkeyval/pst-xkey.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/multido/multido.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/multido/multido.tex
v1.42, 2010/05/14 <tvz>))
(/usr/local/texlive/2014/texmf-dist/tex/generic/pst-plot/pst-plot.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/pst-tools/pst-tools.tex
`PST-tools' v0.05, 2014/05/12 (hv)) v1.62, 2014/05/12 (tvz,hv)
! No room for a new \dimen .
\ch at ck ...\else \errmessage {No room for a new #3}
\fi
l.1153 \newdimen\pst at xticksizeB
?
so … any help would be appreciated ;-)
doris
More information about the PSTricks
mailing list