hueschel
16-12-2010, 17:47
Hallo liebe Latex-Gemeinde
EDIT: Oh eigentlich müsste es "auto-pst-pdf / ghostscript Probleme" heißen :/
Leider funktioniert etwas bei meinem pdfcrop nicht und ich glaube es hängt mit ghostscript zusammen. Mein eigentliches Dokument ist sehr groß und unübersichtlich, daher werde ich eine Musterdatei angeben die eigentlich funktionieren müsste aber bei der das gleiche Problem auftritt.
Hier der Code:
\listfiles
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{pstricks-add}
\usepackage{auto-pst-pdf}
\begin{document}
\begin{figure}[!ht]
\centering
$
\begin{psmatrix}
U \\
& X\times_Z Y & X \\
& Y & Z
\psset{arrows=->,nodesep=3pt}
\everypsbox{\scriptstyle}
\ncline{1,1}{2,2}_{y}
\ncline[doubleline=true,linestyle=dashed]{-}{1,1}{2,3}^{x}
\ncline{2,2}{3,2}<{q}
\ncline{2,2}{2,3}_{p}
\ncline{2,3}{3,3}>{f}
\ncline{3,2}{3,3}_{g}
\end{psmatrix}
$
\caption{\texttt{psmatrix} example from the \textsf{PSTricks} manual}\label{fig:psmatrix}
\end{figure}
\end{document}
Mit pdflatex (Option "--shell-escape" aktiv) bekomme ich mit texmaker dann folgende Fehlermeldung:
This is dvips(k) 5.99 Copyright 2010 Radical Eye Software (www.radicaleye.com) TeX output 2010.12.16:1734 -> test-autopp.ps C:/Program Files (x86)/MiKTeX 2.9/dvips/base/tex.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/misc/alt-rule.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pstricks/pstricks.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pstricks/pst-algparser.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pstricks/pst-dots.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pst-node/pst-node.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pst-3d/pst-3d.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pst-math/pst-math.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pstricks-add/pstricks-add.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/base/texps.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/base/special.pro. C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi8.pfb C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi12.pfb [1]
!!! Error: Ghostscript exited with error code 1!
Process exited normally
Der genaue Output lautet:
Package auto-pst-pdf Warning:
Creation of test-pics.pdf failed.
This warning occured on input line 124.
Package auto-pst-pdf Warning:
Could not create test-pics.pdf. Auxiliary files not deleted.
This warning occured on input line 124.
runsystem(echo "-------------------------------------------------")...executed.
runsystem(echo "auto-pst-pdf: End auxiliary LaTeX compilation")...executed.
runsystem(echo "-------------------------------------------------")...executed.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pst-pdf\pst-pdf.sty"
Package: pst-pdf 2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)
\c@pspicture=\count123
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 91.
)
\Gin@req@height=\dimen147
\Gin@req@width=\dimen148
)
Package pst-pdf Info: MODE: 1 (pdfTeX mode) on input line 214.
\ppf@output=\toks22
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\preview\preview.sty"
Package: preview 2010/02/14 11.86 (AUCTeX/preview-latex)
\pr@snippet=\count124
\pr@box=\box29
\pr@output=\toks23
)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\dvips.def"
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\environ\environ.sty"
Package: environ 2008/06/18 v0.2 A new way to define environments
\@emptytoks=\toks24
\@envbody=\toks25
)))
("B:\Studium\Chemie - AC\F_Praktikum\bericht\Neuer Ordner\test.aux")
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
("C:\Program Files (x86)\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count125
\scratchdimen=\dimen149
\scratchbox=\box30
\nofMPsegments=\count126
\nofMParguments=\count127
\everyMPshowfont=\toks26
\MPscratchCnt=\count128
\MPscratchDim=\dimen150
\MPnumerator=\count129
\everyMPtoPDFconversion=\toks27
)
Preview: Fontsize 12pt
Preview: PDFoutput 1
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 11.
Package pst-pdf Warning: pspicture No. 1 undefined.
LaTeX Font Info: Try loading font information for T1+cmtt on input line 26.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1cmtt.fd"
File: t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: Try loading font information for T1+cmss on input line 26.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1cmss.fd"
File: t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
Package pst-pdf Warning: File `test-pics.pdf' not found.
(pst-pdf) Use the following commands to create it:
(pst-pdf) ----------------------------------------------------
(pst-pdf) latex test.tex
(pst-pdf) dvips -o test-pics.ps test.dvi
(pst-pdf) ps2pdf test-pics.ps
(pst-pdf) ---------------------------------------------------- .
[1
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}]
("B:\Studium\Chemie - AC\F_Praktikum\bericht\Neuer Ordner\test.aux")
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
inputenc.sty 2008/03/30 v1.1d Input encoding file
utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv
)
pstricks.sty 2010/08/28 v0.46 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2010/09/16 v2.12 `PSTricks' (tvz,hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
pst-fp.tex 2010/09/16 v2.12 `PST-fp' (hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2010/09/14 v0.05b Graphics/color for pdfTeX
pstricks-add.tex 2010/08/28 v3.44 `PSTricks-add' (hv)
auto-pst-pdf.sty 2009/04/26 v0.6 Wrapper for pst-pdf
ifpdf.sty 2010/01/28 v2.1 Provides the ifpdf switch (HO)
ifplatform.sty 2009/09/10 v0.3a Testing for the operating system
pdftexcmds.sty 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ltxcmds.sty 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
catchfile.sty 2010/04/28 v1.5 Catches the contents of a file (HO)
etexcmds.sty 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
pst-pdf.sty 2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
preview.sty 2010/02/14 11.86 (AUCTeX/preview-latex)
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
environ.sty 2008/06/18 v0.2 A new way to define environments
supp-pdf.mkii
t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions
t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions
***********
)
Ich glaube dass das Problem nicht direkt von pdfcrop ausgeht, da Beispielsweise das Paket pstool ebenfalls scheitert
Per Google habe ich leider noch keine Lösung gefunden daher hoffe ich dass ihr mir weiterhelfen könnt :)
lg
hueschel
EDIT: Oh eigentlich müsste es "auto-pst-pdf / ghostscript Probleme" heißen :/
Leider funktioniert etwas bei meinem pdfcrop nicht und ich glaube es hängt mit ghostscript zusammen. Mein eigentliches Dokument ist sehr groß und unübersichtlich, daher werde ich eine Musterdatei angeben die eigentlich funktionieren müsste aber bei der das gleiche Problem auftritt.
Hier der Code:
\listfiles
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{pstricks-add}
\usepackage{auto-pst-pdf}
\begin{document}
\begin{figure}[!ht]
\centering
$
\begin{psmatrix}
U \\
& X\times_Z Y & X \\
& Y & Z
\psset{arrows=->,nodesep=3pt}
\everypsbox{\scriptstyle}
\ncline{1,1}{2,2}_{y}
\ncline[doubleline=true,linestyle=dashed]{-}{1,1}{2,3}^{x}
\ncline{2,2}{3,2}<{q}
\ncline{2,2}{2,3}_{p}
\ncline{2,3}{3,3}>{f}
\ncline{3,2}{3,3}_{g}
\end{psmatrix}
$
\caption{\texttt{psmatrix} example from the \textsf{PSTricks} manual}\label{fig:psmatrix}
\end{figure}
\end{document}
Mit pdflatex (Option "--shell-escape" aktiv) bekomme ich mit texmaker dann folgende Fehlermeldung:
This is dvips(k) 5.99 Copyright 2010 Radical Eye Software (www.radicaleye.com) TeX output 2010.12.16:1734 -> test-autopp.ps C:/Program Files (x86)/MiKTeX 2.9/dvips/base/tex.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/misc/alt-rule.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pstricks/pstricks.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pstricks/pst-algparser.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pstricks/pst-dots.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pst-node/pst-node.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pst-3d/pst-3d.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pst-math/pst-math.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/pstricks-add/pstricks-add.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/base/texps.pro C:/Program Files (x86)/MiKTeX 2.9/dvips/base/special.pro. C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi8.pfb C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi12.pfb [1]
!!! Error: Ghostscript exited with error code 1!
Process exited normally
Der genaue Output lautet:
Package auto-pst-pdf Warning:
Creation of test-pics.pdf failed.
This warning occured on input line 124.
Package auto-pst-pdf Warning:
Could not create test-pics.pdf. Auxiliary files not deleted.
This warning occured on input line 124.
runsystem(echo "-------------------------------------------------")...executed.
runsystem(echo "auto-pst-pdf: End auxiliary LaTeX compilation")...executed.
runsystem(echo "-------------------------------------------------")...executed.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pst-pdf\pst-pdf.sty"
Package: pst-pdf 2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)
\c@pspicture=\count123
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 91.
)
\Gin@req@height=\dimen147
\Gin@req@width=\dimen148
)
Package pst-pdf Info: MODE: 1 (pdfTeX mode) on input line 214.
\ppf@output=\toks22
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\preview\preview.sty"
Package: preview 2010/02/14 11.86 (AUCTeX/preview-latex)
\pr@snippet=\count124
\pr@box=\box29
\pr@output=\toks23
)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\dvips.def"
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\environ\environ.sty"
Package: environ 2008/06/18 v0.2 A new way to define environments
\@emptytoks=\toks24
\@envbody=\toks25
)))
("B:\Studium\Chemie - AC\F_Praktikum\bericht\Neuer Ordner\test.aux")
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
("C:\Program Files (x86)\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count125
\scratchdimen=\dimen149
\scratchbox=\box30
\nofMPsegments=\count126
\nofMParguments=\count127
\everyMPshowfont=\toks26
\MPscratchCnt=\count128
\MPscratchDim=\dimen150
\MPnumerator=\count129
\everyMPtoPDFconversion=\toks27
)
Preview: Fontsize 12pt
Preview: PDFoutput 1
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 11.
Package pst-pdf Warning: pspicture No. 1 undefined.
LaTeX Font Info: Try loading font information for T1+cmtt on input line 26.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1cmtt.fd"
File: t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: Try loading font information for T1+cmss on input line 26.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1cmss.fd"
File: t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
Package pst-pdf Warning: File `test-pics.pdf' not found.
(pst-pdf) Use the following commands to create it:
(pst-pdf) ----------------------------------------------------
(pst-pdf) latex test.tex
(pst-pdf) dvips -o test-pics.ps test.dvi
(pst-pdf) ps2pdf test-pics.ps
(pst-pdf) ---------------------------------------------------- .
[1
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}]
("B:\Studium\Chemie - AC\F_Praktikum\bericht\Neuer Ordner\test.aux")
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
inputenc.sty 2008/03/30 v1.1d Input encoding file
utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv
)
pstricks.sty 2010/08/28 v0.46 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2010/09/16 v2.12 `PSTricks' (tvz,hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
pst-fp.tex 2010/09/16 v2.12 `PST-fp' (hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2010/09/14 v0.05b Graphics/color for pdfTeX
pstricks-add.tex 2010/08/28 v3.44 `PSTricks-add' (hv)
auto-pst-pdf.sty 2009/04/26 v0.6 Wrapper for pst-pdf
ifpdf.sty 2010/01/28 v2.1 Provides the ifpdf switch (HO)
ifplatform.sty 2009/09/10 v0.3a Testing for the operating system
pdftexcmds.sty 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ltxcmds.sty 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
catchfile.sty 2010/04/28 v1.5 Catches the contents of a file (HO)
etexcmds.sty 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
pst-pdf.sty 2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
preview.sty 2010/02/14 11.86 (AUCTeX/preview-latex)
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
environ.sty 2008/06/18 v0.2 A new way to define environments
supp-pdf.mkii
t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions
t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions
***********
)
Ich glaube dass das Problem nicht direkt von pdfcrop ausgeht, da Beispielsweise das Paket pstool ebenfalls scheitert
Per Google habe ich leider noch keine Lösung gefunden daher hoffe ich dass ihr mir weiterhelfen könnt :)
lg
hueschel