PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : float/figure fehler im header



coma
05-10-2004, 14:36
tach,

habe im header einen fehler :


\documentclass[a4paper,oneside,11pt,final]{scrbook}
\usepackage[ngerman]{babel} %Paket zum Übersetzen
\usepackage[T1]{fontenc} %Paket für T1 fonts
\usepackage[graphicx] %Paket für Bilder benutzen
\usepackage{float} %erzwingt die bildplazierung
\restylefloat{figure}


dabei taucht dann auf der ersten dvi seite oben über dem text ,,float figure auf

die log datei ist folgende dazu :


........
entering extended mode
**4_1.tex
(4_1.tex
LaTeX2e <2003/12/01>
Babel <v3.8a> and hyphenation patterns for english, french, german, ngerman, du
mylang, nohyphenation, loaded.
(header.tex (C:\texmf\tex\latex\koma-script\scrbook.cls
Document Class: scrbook 2004/01/07 v2.9p LaTeX2e KOMA document class
(C:\texmf\tex\latex\koma-script\scrlfile.sty
Package: scrlfile 2004/01/07 v2.9p LaTeX2e KOMA package

Package scrlfile, 2004/01/07 v2.9p LaTeX2e KOMA package
Copyright (C) Markus Kohm

) (C:\texmf\tex\latex\base\bk11.clo
File: bk11.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
(C:\texmf\tex\latex\koma-script\typearea.sty
Package: typearea 2004/01/07 v2.9p LaTeX2e KOMA package

Package typearea, 2004/01/07 v2.9p LaTeX2e KOMA package
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-2002

\ta@bcor=\skip41
\ta@div=\count79
\ta@hblk=\skip42
\ta@vblk=\skip43
\ta@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth = 597.50793pt
(typearea) \textwidth = 418.25555pt
(typearea) DIV-departure = -6/100
(typearea) \evensidemargin = 17.3562pt
(typearea) \oddsidemargin = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea) \textheight = 595.80026pt
(typearea) \topmargin = -25.16531pt
(typearea) \headheight = 17.0pt
(typearea) \headsep = 20.40001pt
(typearea) \topskip = 11.0pt
(typearea) \footskip = 47.60002pt
(typearea) \baselineskip = 13.6pt
(typearea) on input line 625.
)
\c@part=\count80
\c@chapter=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\c@figure=\count87
\c@table=\count88
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\c@pti@nb@sid@b@x=\box26
\bibindent=\dimen102
) (C:\texmf\tex\generic\babel\babel.sty
Package: babel 2004/02/19 v3.8a The Babel package

(C:\texmf\tex\generic\babel\ngermanb.ldf
Language: ngermanb 2004/02/20 v2.6m new German support from the babel system
(C:\texmf\tex\generic\babel\babel.def
File: babel.def 2004/02/19 v3.8a Babel common definitions
\babel@savecnt=\count89
\U@D=\dimen103
)
\l@naustrian = a dialect from \language\l@ngerman
Package babel Info: Making " an active character on input line 92.
)) (C:\texmf\tex\latex\base\fontenc.sty
Package: fontenc 2004/02/22 v1.99f Standard LaTeX package
(C:\texmf\tex\latex\base\t1enc.def
File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
! Argument of \@fileswith@pti@ns has an extra }.
<inserted text>
\par
l.8 \usepackage{
float} %erzwingt die bildplazierung
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
\usepackage {\@fileswith@ptions \@pkgextension }\def \reserved@b {\@fileswith@p
tions \ETC.
! Paragraph ended before \@fileswith@pti@ns was complete.
<to be read again>
\par
l.8 \usepackage{
float} %erzwingt die bildplazierung
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

Runaway argument?
\let \reserved@d =[\def
! Paragraph ended before \reserved@b was complete.
<to be read again>
\par
l.8 \usepackage{
float} %erzwingt die bildplazierung
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Undefined control sequence.
\@fileswith@pti@ns ...served@b \reserved@a ,\@nil
,}\fi \reserved@a
l.8 \usepackage{
float} %erzwingt die bildplazierung
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

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

l.8 \usepackage{
float} %erzwingt die bildplazierung
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.

! Undefined control sequence.
l.9 \restylefloat
{figure}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

)
No file 4_1.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Try loading font information for T1+cmss on input line 7.
(C:\texmf\tex\latex\base\t1cmss.fd
File: t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
! Undefined control sequence.
l.23 \includegraphics
{bilder_4\4_1_1.ps}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing $ inserted.
<inserted text>
$
l.23 \includegraphics{bilder_
4\4_1_1.ps}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

LaTeX Font Info: External font `cmex10' loaded for size
(Font) <10.95> on input line 23.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 23.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 23.
! Undefined control sequence.
l.23 \includegraphics{bilder_4\4
_1_1.ps}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Double subscript.
l.23 \includegraphics{bilder_4\4_
1_1.ps}
I treat `x_1_2' essentially like `x_1{}_2'.

! Double subscript.
l.23 \includegraphics{bilder_4\4_1_
1.ps}
I treat `x_1_2' essentially like `x_1{}_2'.

! Extra }, or forgotten $.
l.23 \includegraphics{bilder_4\4_1_1.ps}

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.24 \caption{Quelle: Goethe-Institut}

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

! Missing } inserted.
<inserted text>
}
l.26 \end{figure}

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.

! Undefined control sequence.
l.32 \includegraphics
{bilder_4\4_1_2.ps}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing $ inserted.
<inserted text>
$
l.32 \includegraphics{bilder_
4\4_1_2.ps}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

! Undefined control sequence.
l.32 \includegraphics{bilder_4\4
_1_2.ps}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Double subscript.
l.32 \includegraphics{bilder_4\4_
1_2.ps}
I treat `x_1_2' essentially like `x_1{}_2'.

! Double subscript.
l.32 \includegraphics{bilder_4\4_1_
2.ps}
I treat `x_1_2' essentially like `x_1{}_2'.

! Extra }, or forgotten $.
l.32 \includegraphics{bilder_4\4_1_2.ps}

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.33 ...hen Ebenen der Bundesrepublik Deutschland}

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

! Missing } inserted.
<inserted text>
}
l.35 \end{figure}

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.


Overfull \vbox (388.60344pt too high) has occurred while \output is active []


[1

]
! Undefined control sequence.
l.48 \includegraphics
{bilder_4\4_1_3.ps}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing $ inserted.
<inserted text>
$
l.48 \includegraphics{bilder_
4\4_1_3.ps}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

! Undefined control sequence.
l.48 \includegraphics{bilder_4\4
_1_3.ps}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Double subscript.
l.48 \includegraphics{bilder_4\4_
1_3.ps}
I treat `x_1_2' essentially like `x_1{}_2'.

! Double subscript.
l.48 \includegraphics{bilder_4\4_1_
3.ps}
I treat `x_1_2' essentially like `x_1{}_2'.

! Extra }, or forgotten $.
l.48 \includegraphics{bilder_4\4_1_3.ps}

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.49 ...undeszentrale für Politische Bildung 2001}

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

! Missing } inserted.
<inserted text>
}
l.51 \end{figure}

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.

)
Runaway argument?
{Gesetzgebung \par Eine der wichtigsten Möglichkeiten zur Einflussnah\ETC.
! File ended while scanning use of \@xdblarg.
<inserted text>
\par
<*> 4_1.tex

I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

! Emergency stop.
<*> 4_1.tex

*** (job aborted, no legal \end found)


---etwas rausgelöscht----
Output written on 4_1.dvi (1 page, 7104 bytes).

ja sorry log ist etwas lang, weiss aber nicht was davon wichtig ist :confused:

danke schonmal für hilfe in der richtung

cu coma

hippienw
05-10-2004, 19:07
ohne mir den log angesehen zu haben, der fehler liegt ziemlich sicher hier:


\usepackage[graphicx] %Paket für Bilder benutzen
Es muss heißen \usepackage{graphicx} mit den eckigen Klammern [ ] gibt man nur Parameter oder Optionen an, der Paketname an sich muss immer in geschweiften Klammern { } stehen.