Ich rufe mit dieser simplen Hauptdatei pstool auf:
------------->
\documentclass[11pt, oneside]{article}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[crop=pdfcrop]{pstool}
\pagestyle{empty}
\begin{document}
\psfragfig{matlabfrag}
\end{document}
<-------------
pstool erstellt dann automatisch diese Datei: (matlabfrag-pstool.tex)
------------->
\pdfoutput =0
\let \origdocument \document
\let \EndPreamble \endinput
\def \document {\endgroup \endinput }
\input {image}
\let \document \origdocument
\pagestyle {empty}
\begin {document}
\centering \null \vfill
\csname @input\endcsname {matlabfrag.tex}
\includegraphics [] {matlabfrag}
\vfill \end {document}
<-------------
und scheitert dabei:
------------->
runsystem(echo "
=== pstool: begin processing ===")...executed.
runsystem(cd "./" & latex -shell-escape -output-format=dvi
-output-directory=".
/" -interaction=batchmode "matlabfrag-pstool.tex" & call echo
^%ERRORLEVEL^%>
pstool-statusfile.txt)...executed.
(C:\Users\Matthias\Documents\MATLAB\pstool-statusfile.txt)
runsystem(cd "./"& del "pstool-statusfile.txt" )...executed.
Package pstool Warning: Execution failed during process:
latex -shell-escape -output-format=dvi -output-directory="./"
-interaction=ba
tchmode "matlabfrag-pstool.tex"
This warning occurred on input line 15.
LaTeX Font Info: Try loading font information for T1+cmtt on input
line 15.
("C:\Program Files\MiKTeX 2.8\tex\latex\base\t1cmtt.fd"
File: t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
<-------------
was könnte ich noch überprüfen? Ich sehe nämlich nicht was hier
überhaupt falsch läuft.
------------->
! Illegal unit of measure (pt inserted).
<to be read again>
e
l.11 \includegraphics [] {matlabfrag}
<-------------
was zu diesem Fehler in der Hauptdatei führt:
Das ganze war ein Fehler in matlabfrag-pstool.tex
Die Schriftgrößen waren in exponential Schreibweise angegeben, was LaTeX
nicht mag. Das wiederum war ein Fehler im matlab Code den ich
korrigiert und an den Autor zurückgemeldet habe.
Soweit funktioniert es jetzt.
Matthias