PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : .sty problem



tassadardm
31-08-2008, 15:21
Hi!

Ich wollte eine Vorlage von Latex ausprobieren, das kompilieren schlug aber fehl, anscheinend fehlen mir ein paar Dinge. Hab 3 Kompilierfehler:


Hier der Log (Fehler sind ganz unten):

This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=pdflatex 2008.6.10) 31 AUG 2008 15:13
entering extended mode
**C:/Dokumente*und*Einstellungen/Administrator/Desktop/vorlage/Diplomarbeit.tex

("C:/Dokumente und Einstellungen/Administrator/Desktop/vorlage/Diplomarbeit.tex
"
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("E:\Programme\MiKTeX 2.7\tex\latex\base\report.cls"
Document Class: report 2005/09/16 v1.4f Standard LaTeX document class
("E:\Programme\MiKTeX 2.7\tex\latex\base\size12.clo"
File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("E:\Programme\MiKTeX 2.7\tex\latex\german\ngerman.sty" v2.5e 1998-07-08
Package: ngerman 1998/07/08 v2.5e Support for writing german texts (br)
\grmnU@D=\dimen103
ngerman -- \language number for naustrian undefined, default 4 used.
)
("E:\Programme\MiKTeX 2.7\tex\latex\ntgclass\a4.sty"
Package: a4 2004/04/15 v1.2g A4 based page layout
)
("E:\Programme\MiKTeX 2.7\tex\latex\base\inputenc.sty"
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

("E:\Programme\MiKTeX 2.7\tex\latex\umlaute\isolatin.def"
File: isolatin.def 2006/01/29 v2.1 Input encoding file (AS)


Package umlaute Warning: Thisinputencodinghasbeensuperseededbythe`latin1'en codi
ng on input line 31.

) ("E:\Programme\MiKTeX 2.7\tex\latex\base\latin1.def"
File: latin1.def 2006/05/05 v1.1b Input encoding file
))
("E:\Programme\MiKTeX 2.7\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

("E:\Programme\MiKTeX 2.7\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks16
)
("E:\Programme\MiKTeX 2.7\tex\latex\graphics\graphics.sty"
Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)

("E:\Programme\MiKTeX 2.7\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
("E:\Programme\MiKTeX 2.7\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 90.

("E:\Programme\MiKTeX 2.7\tex\latex\graphics\pdftex.def"
File: pdftex.def 2007/06/12 v0.04h Graphics/color for pdfTeX
\Gread@gobject=\count88
))
\Gin@req@height=\dimen104
\Gin@req@width=\dimen105
)
("E:\Programme\MiKTeX 2.7\tex\latex\tools\varioref.sty"
Package: varioref 2006/05/13 v1.4p package for extended references (FMi)
\c@vrcnt=\count89
)

! LaTeX Error: File `moreverb.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.17 \usepackage
{mydiplstyle} %eigene Befehlsdefinitionen (aus Datei mydipls...
*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
966 strings out of 95340
11015 string characters out of 1184279
68205 words of memory out of 1500000
4203 multiletter control sequences out of 110000
3938 words of font info for 15 fonts, out of 1200000 for 2000
14 hyphenation exceptions out of 8191
25i,0n,19p,279b,36s stack positions out of 5000i,500n,10000p,200000b,5000s
! ==> Fatal error occurred, no output PDF file produced!


edit: nutze Texniccenter unter windows

bobmalaria
31-08-2008, 15:56
hi,

die fehlen einige pakete. die kann man über den miktex package manager nachinstallieren. außerdem scheint der autor der vorlage ein eigenes paket zu verwenden. das benötigst du, oder du kommentierst die entsprechende zeile einfach aus.

vielleicht postest du auch mal die preambel damit man einen blick darauf werfen kann. viele vorlagen aus dem netz und auch manch vorlage von instituten sind hoffnungslos veraltet.

gruß

tassadardm
31-08-2008, 18:05
Dann wäre es evtl. besser, wenn ich gleich etwas anderes verwende.

Ich suche eine richtig gute Vorlage für eine Diplomarbeit. Bin nicht gerade "erfahren" in Latex. Schön wäre es wenn folgende Dinge einfach wären:

-Komfortables anzeigen von Programmcodezeilen
-Abbildungs-, Tabellenverzeichnisse, Glossar, Zitate

Gibt es da vielleicht was schönes, gutes?

bobmalaria
31-08-2008, 18:31
gibt es von deiner hochschule forgaben für das format die erfüllt werden müssen?

ansonsten kann ich dir gerne mal meine vorlage hier posten, eventuell musst du natürlich etwas anpassen.

schau auch mal hier vorbei.

http://www.matthiaspospiech.de/latex/vorlagen/

ich würde dir empfehlen mit einem recht minimalen dokument zu starten und nur bei bedarf diverse pakete hinzuzunehmen. das steigert dein verständnis und beugt fehlern vor

tassadardm
01-09-2008, 22:30
Hi!

Ich hab mir mal deine Vorlage von der Diplomarbeit (kompakt) geholt. Das sieht schon mal vernünftig aus, allerdings hab ich wieder Probleme.



tex\latex\koma-script\scrbook.cls
tex\latex\xcolor\xcolor.sty

missing

Ich weiß nicht ob noch weitere fehlen, aber es wäre schön wenn du mir da weiterhefen könntest. Wenn ich auf "install" gehe, passiert (zumindest scheinbar) nichts.


Hier der Compilelog:


This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=pdflatex 2008.6.10) 1 SEP 2008 22:26
entering extended mode
**C:/Dokumente*und*Einstellungen/Administrator/Desktop/Diplomarbeit-kompakt/Dip
lomarbeit.tex

("C:/Dokumente und Einstellungen/Administrator/Desktop/Diplomarbeit-kompakt/Dip
lomarbeit.tex"
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("E:\Programme\MiKTeX 2.7\tex\latex\koma-script\scrbook.cls"
Document Class: scrbook 2007/12/24 v2.98 KOMA-Script document class (book)
("E:\Programme\MiKTeX 2.7\tex\latex\koma-script\scrkbase.sty"
Package: scrkbase 2007/12/24 v2.98 KOMA-Script package (basics and keyval use)

("E:\Programme\MiKTeX 2.7\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
("E:\Programme\MiKTeX 2.7\tex\latex\koma-script\scrlfile.sty"
Package: scrlfile 2007/12/18 v2.98 KOMA-Script package (loading files)

Package scrlfile, 2007/12/18 v2.98 KOMA-Script package (loading files)
Copyright (C) Markus Kohm

))
Package scrkbase Info: You've used obsolete option `final'.
(scrkbase) \KOMAExecuteOptions{draft=false} will be
(scrkbase) used instead.
(scrkbase) You may simply replace `final'
(scrkbase) by `draft=false'.
Package scrkbase Info: You've used obsolete option `11pt'.
(scrkbase) \KOMAExecuteOptions{fontsize=11pt} will be
(scrkbase) used instead.
(scrkbase) You may simply replace `11pt'
(scrkbase) by `fontsize=11pt'.
Package scrkbase Info: You've used obsolete option `parindent'.
(scrkbase) \KOMAExecuteOptions{parskip=false} will be
(scrkbase) used instead.
(scrkbase) You may simply replace `parindent'
(scrkbase) by `parskip=false'.
Package scrkbase Info: You've used obsolete option `cleardoubleplain'.
(scrkbase) \KOMAExecuteOptions{cleardoublepage=plain} will be
(scrkbase) used instead.
(scrkbase) You may simply replace `cleardoubleplain'
(scrkbase) by `cleardoublepage=plain'.
("E:\Programme\MiKTeX 2.7\tex\latex\base\fleqn.clo"
File: fleqn.clo 1998/08/17 v1.1c Standard LaTeX option (flush left equations)
\mathindent=\dimen102
)
Class scrbook Info: File `bk11.clo' used to setup font sizes on input line 953.


("E:\Programme\MiKTeX 2.7\tex\latex\base\bk11.clo"
File: bk11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
("E:\Programme\MiKTeX 2.7\tex\latex\koma-script\typearea.sty"
Package: typearea 2007/12/24 v2.98 KOMA-Script package (type area)

Package typearea, 2007/12/24 v2.98 KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-

\ta@bcor=\skip41
\ta@div=\count79
Package scrkbase Info: You've used obsolete option `a4paper'.
(scrkbase) \KOMAExecuteOptions{paper=a4} will be
(scrkbase) used instead.
(scrkbase) You may simply replace `a4paper'
(scrkbase) by `paper=a4'.
\ta@hblk=\skip42
\ta@vblk=\skip43
\ta@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 11
(typearea) BCOR = 14.22636pt
(typearea) \paperwidth = 597.50793pt
(typearea) \textwidth = 424.2048pt
(typearea) DIV-departure = -8/100
(typearea) \evensidemargin = 33.78119pt
(typearea) \oddsidemargin = -5.01804pt
(typearea) \paperheight = 845.04694pt
(typearea) \textheight = 582.20026pt
(typearea) \topmargin = 4.55246pt
(typearea) \headheight = 14.96008pt
(typearea) \headsep = 20.40001pt
(typearea) \topskip = 11.0pt
(typearea) \footskip = 47.60002pt
(typearea) \baselineskip = 13.6pt
(typearea) on input line 906.
)
\c@part=\count80
\c@chapter=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\c@pti@nb@sid@b@x=\box26
\c@figure=\count87
\c@table=\count88
\bibindent=\dimen103
) ("E:\Programme\MiKTeX 2.7\tex\latex\base\inputenc.sty"
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc@prehook=\toks15
\inpenc@posthook=\toks16

("E:\Programme\MiKTeX 2.7\tex\latex\base\latin1.def"
File: latin1.def 2006/05/05 v1.1b Input encoding file
)) (preambel/preambel.tex
("E:\Programme\MiKTeX 2.7\tex\latex\tools\xspace.sty"
Package: xspace 2006/05/08 v1.12 Space after command names (DPC,MH)
)
("E:\Programme\MiKTeX 2.7\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2007/12/12 v1.6 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
)
("E:\Programme\MiKTeX 2.7\tex\latex\tools\calc.sty"
Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
\calc@Acount=\count89
\calc@Bcount=\count90
\calc@Adimen=\dimen104
\calc@Bdimen=\dimen105
\calc@Askip=\skip47
\calc@Bskip=\skip48
LaTeX Info: Redefining \setlength on input line 75.
LaTeX Info: Redefining \addtolength on input line 76.
\calc@Ccount=\count91
\calc@Cskip=\skip49
)
("E:\Programme\MiKTeX 2.7\tex\generic\babel\babel.sty"
Package: babel 2005/11/23 v3.8h The Babel package

*************************************
* Local config file bblopts.cfg used
*
("E:\Programme\MiKTeX 2.7\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("E:\Programme\MiKTeX 2.7\tex\generic\babel\ngermanb.ldf"
Language: ngermanb 2004/02/20 v2.6m new German support from the babel system

("E:\Programme\MiKTeX 2.7\tex\generic\babel\babel.def"
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel@savecnt=\count92
\U@D=\dimen106
)
\l@naustrian = a dialect from \language\l@ngerman
Package babel Info: Making " an active character on input line 92.
))
("E:\Programme\MiKTeX 2.7\tex\latex\xcolor\xcolor.sty"
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

("E:\Programme\MiKTeX 2.7\tex\latex\00miktex\color.cfg"
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: pdftex.def on input line 225.

("E:\Programme\MiKTeX 2.7\tex\latex\graphics\pdftex.def"
File: pdftex.def 2007/06/12 v0.04h Graphics/color for pdfTeX
\Gread@gobject=\count93
)

! LaTeX Error: File `colortbl.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.261 \long
\def\@secondoffive#1#2#3#4#5{#2}

*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
1746 strings out of 95340
23621 string characters out of 1184279
91361 words of memory out of 1500000
4962 multiletter control sequences out of 110000
3940 words of font info for 15 fonts, out of 1200000 for 2000
14 hyphenation exceptions out of 8191
38i,1n,50p,303b,45s stack positions out of 5000i,500n,10000p,200000b,5000s
! ==> Fatal error occurred, no output PDF file produced!