PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Pakete in vorlage einbinden



malpi
26-02-2009, 13:46
Hallo,

ich schreibe momentan eine Seminararbeit mit Miktex und Texniccenter da sich mein Ubuntu zerschossen hat. Habe allerdings momentan auch keine Zeit um mich damit zu befassen...

Also zurück zum Thema.

Ich habe die im Anhang befindliche Vorlage bekommen.

Nun stellt sich mir die Frage, da ich noch nie mit einer Vorlage gearbeitet habe, wie ich weitere Packages wie z.b. Babel includen kann.

Desweiteren kriege ich es einfach nicht hin eine Grafik in das Dokument zu bringen.

Ich versuche das mit folgendem Befehl:

\begin{figure}[htbp]
\centering
\includegraphics{Pfad:/Name}
\label{fig:xy}
\end{figure}

Bekomme allerdings nur die Fehlermeldung das das Packet für includegraphics fehlt...

Hoffe ihr könnt mir weiter helfen.

Grüße,

MALPI

malpi
26-02-2009, 14:29
So,

das File wird nun kompiliert aber kein Bild wird angezeigt. Stattdessen gibt er dazu folgende Meldung:


! Undefined control sequence.
l.194 \includegraphics
{PFAD
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.194 \includegraphics{PFAD
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Kann damit allerdings herzlich wenig anfangen.

Und ich würde gerne wissen wie ich das Packet Babel einbinden kann, um die Sonderzeichen richtig anzuzeigen...

Gruß,

MALPI

bobmalaria
26-02-2009, 15:25
hi,

zeig doch mal wie dein vorspann bisher aussieht, dann kann man dir auch helfen.
welche klasse verwendest du etc....

normalerweise bieten vorlagen von verlagen ein cls file (documentclass datei) an und zusaetzliche packete lassen sich mit \usepackage{} hinzufuegen...

mehr info plz


gruss

malpi
26-02-2009, 16:14
Hey,

also erstes problem war das die Vorlage einfach mal Uralt war. Habe mir die aktuelle version besorgt wo nun auch der Befehl documentclass vorhanden ist und somit auch pakete eingebunden werden können.

Nun stande ich vor dem Problem das das Dokument in UTF8 kodiert war, also kurzerhand in latin1 umkodiert und nun gehts auch soweit.

Nun ist mein momentanes Problem folgende MEldung:



! Package inputenc Error: Keyboard character used is undefined
(inputenc) in inputencoding `latin1'.

See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...

l.82 Interesse verfolgen."}
\cite{Hood:Wiebel}
You need to provide a definition with \DeclareInputText
or \DeclareInputMath before using this key.


Diese Meldung habe ich ca 10 mal.

Der Kopf meines Dokumentes sieht wie folgt aus:



\documentclass{llncs}
%
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\declateinputtext{
\begin{document}

Und das Literaturverzeichnis so:



\begin{thebibliography}{---}
%
\bibitem[1]{Somm}
Sommerville Ian.:
Software Engineering 6th Edition(2001)
%
\bibitem[2]{Hood:Wiebel}
Hood Coolin, Wiebel Rupert.:
Optimieren von Requirements Management \& Engineering(2005)
%
\end{thebibliography}
%

Bei der GRafik kriege ich folgenden Meldung:



! Undefined control sequence.
l.197 \includegraphics
{H:/Uni/WS08_09/Proseminar/Vorlage, Hinweise usw/Vor...
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.197 \includegraphics{H:/Uni/WS08_
09/Proseminar/Vorlage, Hinweise usw/Vor...
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) <9> on input line 197.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 197.
! Extra }, or forgotten $.
l.197 ...sw/Vorlage - latex/anford.-erhebung1.JPG}

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.199 \end{figure}

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.199 \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.

Und dann habe ich noch folgende Meldung:



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

[]

[3]
Overfull \hbox (4.23807pt too wide) in paragraph at lines 127--128
[]\OT1/cmr/m/n/10 Auch hier gibts es wie-der ver-schie-de-ne Ans[]atze um die P
r[]ufung durch-zuf[]uhren.

Ich hoffe ihr bringt mich weiter ;)

GRuß,

MALPI

malpi
26-02-2009, 16:49
So habs nun.

Einfach ansinew als encoding verwenden ;)

Gruß,

MALPI