PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Latex



barodo94
24-09-2004, 11:12
Meine Frage liegt darin, dass Ich in einer latex Datei zwei Abbildungen eingefügt habe,

Abbildung~\ref{demo6} und Abbildung~\ref{demo7} geben die Wertübergangsgraphen für die Variablen \(v_1\) und \(v_2\) bzw.\(v_c\) an.

\begin{figure}[h]
\center
\includegraphics[scale=1]{bei4.eps}
\caption{ Wertübergangsgraph für \(v_1\) bzw. \(v_2\)}
\label{demo6}
\end{figure}

\begin{figure}[h]
\center
\includegraphics[scale=1]{bei5.eps}
\caption{ Wertübergangsgraph für \(v_c\)}
\label{demo7}
\end{figure}

Nachdem ich die datei kompiliert habe, habe ich diese Fehler gekriegt:

//////////////////////////
! LaTeX Error: Bad math environment delimiter.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.8 ...k or <return> to continue without it.}}}{6}

Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.

! Missing $ inserted.
<inserted text>
$
l.8 ...k or <return> to continue without it.}}}{6}

I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.


! LaTeX Error: Bad math environment delimiter.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.8 ...k or <return> to continue without it.}}}{6}

Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.

! Extra }, or forgotten $.
<argument> ...r <return> to continue without it.}}

l.8 ...k or <return> to continue without it.}}}{6}

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten $.
\@dottedtocline ...\nobreak \hskip -\leftskip {#4}
\nobreak \leaders \hbox {$...
l.8 ...k or <return> to continue without it.}}}{6}

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Missing $ inserted.
<inserted text>
$
l.8 ...k or <return> to continue without it.}}}{6}

I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.


! LaTeX Error: Bad math environment delimiter.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.9 ...k or <return> to continue without it.}}}{7}

Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.

! Extra }, or forgotten $.
<argument> ...r <return> to continue without it.}}

l.9 ...k or <return> to continue without it.}}}{7}

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten $.
\@dottedtocline ...\nobreak \hskip -\leftskip {#4}
\nobreak \leaders \hbox {$...
l.9 ...k or <return> to continue without it.}}}{7}

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Missing $ inserted.
<inserted text>
$
l.9 ...k or <return> to continue without it.}}}{7}

I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

)
\tf@lof=\write4
\openout4 = `seminar.lof'.


! Missing } inserted.
<inserted text>
}
l.20 \listoffigures

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.20 \listoffigures

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.20 \listoffigures

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.20 \listoffigures

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

[2


]
Kapitel 1.
(./einleitung.tex) [1


]
Kapitel 2.
(./1kapitel.tex
File: bei1.eps Graphic file (type eps)
<bei1.eps>
File: bei2.eps Graphic file (type eps)
<bei2.eps>

LaTeX Warning: `h' float specifier changed to `ht'.


Overfull \hbox (8.04147pt too wide) in paragraph at lines 25--26
[]\OT1/cmr/m/n/10 Die bin[]aren Zu-stands-va-ria-blen in ei-ner STRIPS-Kodierun
g sind ''Paket-an-Ort-x'' und ''Fahrzeug-
[]

[2


]
Underfull \hbox (badness 10000) in paragraph at lines 63--68

[]

LaTeX Font Info: Try loading font information for OMS+cmr on input line 70.
(/usr/share/texmf/tex/latex/base/omscmr.fd
File: omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available
(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 70.

Underfull \hbox (badness 10000) in paragraph at lines 77--84

[]


Underfull \hbox (badness 10000) in paragraph at lines 77--84

[]

[3]
File: bei9.eps Graphic file (type eps)
<bei9.eps>
File: bei8.eps Graphic file (type eps)
<bei8.eps>
Underfull \hbox (badness 10000) in paragraph at lines 105--126

[]


Underfull \hbox (badness 10000) in paragraph at lines 105--126

[]


Underfull \hbox (badness 10000) in paragraph at lines 105--126

[]


Underfull \hbox (badness 10000) in paragraph at lines 105--126

[]

[4]
File: bei3.eps Graphic file (type eps)
<bei3.eps>
Underfull \hbox (badness 10000) in paragraph at lines 135--147

[]


Underfull \hbox (badness 10000) in paragraph at lines 135--147

[]

[5]
File: bei4.eps Graphic file (type eps)
<bei4.eps>
File: bei5.eps Graphic file (type eps)
<bei5.eps>

LaTeX Warning: `h' float specifier changed to `ht'.

) [6] [7] (./seminar.aux) )
Here is how much of TeX's memory you used:
898 strings out of 95847
10363 string characters out of 1195962
62343 words of memory out of 1000001
3850 multiletter control sequences out of 10000+50000
7030 words of font info for 25 fonts, out of 500000 for 1000
14 hyphenation exceptions out of 1000
25i,5n,19p,1073b,329s stack positions out of 1500i,500n,5000p,200000b,5000s

Output written on seminar.dvi (10 pages, 20948 bytes).
//////////////////////

Das Problem,Wenn ich wieder die Zeilen geloescht habe, klappte es.
Ich hab die gleichen Zeilen in einer anderen Datei eingefügt habe, klappte es auch, aber in meiner ersten Datei klappte immer noch nicht.

blubb
24-09-2004, 12:05
Nachdem ich die datei kompiliert habe, kommt ein Fehler
! LaTeX Error: Missing \begin{document}.

Spass bei Seite,
sieht mir nach einem Problem mit zerbrechlichen Kommandos aus.

versuch mal statt \( .. \) $...$ oder \protect\(... \protect\)

Das Problem tritt auf, weil die Überschrift für das Abbildungsverzeichnis in eine Datei gespeichert wird (.lof) und \( dort schon expandiert wird.
Mit \protect wird die Expansion erst mal aufgeschoben.

Und $ ist meines Wissens expandierbar.

Blubb