Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fehler bei pstool / psfrag

236 views
Skip to first unread message

Matthias Pospiech

unread,
Oct 9, 2010, 4:26:41 AM10/9/10
to
Ich bekomme eine Fehlermeldung bei Nutzung von pstool / psfrag.

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.

Matthias Pospiech

unread,
Oct 9, 2010, 4:47:38 AM10/9/10
to
Am 09.10.2010 10:26, schrieb Matthias Pospiech:
> Ich bekomme eine Fehlermeldung bei Nutzung von pstool / psfrag.
...
das war nicht ganz vollständig. Der Fehler der in matlabfrag-pstool.tex
auftritt (also einer Datei die automatisch erstellt wird) ist:

------------->
! Illegal unit of measure (pt inserted).
<to be read again>
e
l.11 \includegraphics [] {matlabfrag}
<-------------

was zu diesem Fehler in der Hauptdatei führt:

Matthias Pospiech

unread,
Oct 10, 2010, 12:17:09 PM10/10/10
to
Am 09.10.2010 10:47, schrieb Matthias Pospiech:
> Am 09.10.2010 10:26, schrieb Matthias Pospiech:
>> Ich bekomme eine Fehlermeldung bei Nutzung von pstool / psfrag.

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

0 new messages