[OS X TeX] auto-pst-pdf
Peter Dyballa
Peter_Dyballa at Web.DE
Wed Aug 12 11:58:01 CEST 2009
Am 12.08.2009 um 10:36 schrieb Doris Wagner:
> anyway, when I run the example from my first mail (package pstricks
> added), the program runs 6 times and at the end complains about not
> finding stabel source files...
Doris,
you are trying to combine two automatics! This is doomed to fail. And
you are mixing things, obviously. Auto-pst-pdf uses *latex* and DVI
output, the pst-pdf package is kind of a work-around in pdfTeX with
PDF output format because PSTricks uses PostScript which PDF and
*pdflatex* do not handle, but is native for dvips (and dvipdfm,
dvipdfmx, xdvipdfmx can handle it as well via Ghostscript).
Can you try yourself to clean up your source? You could use something
like this complicated skeleton (which also allows *xetex* as PSTricks
compiler) that filters out paths any of the three TeX compilers must
not go
\usepackage{ifpdf,ifxetex}
\ifpdf
\usepackage{pdftricks}
\begin{psinputs}
\usepackage{pstricks}
\usepackage{pstricks-add}
\end{psinputs}
\else
\usepackage{pstricks-add}
\fi
\ifxetex
\usepackage{fontspec}
\fi
\listfiles
\begin{document}
\ifpdf
\begin{pdfdisplay}
\psgrid[subgriddiv=0,griddots=10]
\psbrace[nodesepB=10pt](0,0.5)(\linewidth,0.5){\fbox{Text1}}%
Text0}%
\psbrace[bracePos=0.25,nodesepB=10pt,rot=90](0,2)(\linewidth,2)
{\fbox{Text2}}
\psbrace[ref=lC,nodesepA=-3.5cm,nodesepB=15pt,rot=90](0,4)
(\linewidth,4){%
\fbox{some very, very long wonderful Text3}}
\end{pdfdisplay}
\else
\begin{pspicture}(\linewidth,5)
\psgrid[subgriddiv=0,griddots=10]
\psbrace[nodesepB=10pt](0,0.5)(\linewidth,0.5){\fbox{Text1}}%
Text0}%
\psbrace[bracePos=0.25,nodesepB=10pt,rot=90](0,2)(\linewidth,2)
{\fbox{Text2}}
\psbrace[ref=lC,nodesepA=-3.5cm,nodesepB=15pt,rot=90](0,4)
(\linewidth,4){%
\fbox{some very, very long wonderful Text3}}
\end{pspicture}
\fi
\end{document}
and add in the non-pdfTeX sections DVI related auto-pst-pdf code. And
better don't use latexmk first. This and auto-pst-pdf automatically
interfere.
HTH a bit...
--
Mit friedvollen Grüßen
Pete
The human animal differs from the lesser primates in his passion for
lists of "Ten Best."
– H. Allen Smith
More information about the macostex-archives
mailing list