PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : \section bringt Fehlermeldung; Bitte um Hilfe



ToniThiele
03-07-2009, 13:44
Hi,
ich will mir nen Lebenslauf zusammenbasteln.
Bin allerdings noch nicht sehr geübt in Latex.
Nun habe ich das Problem das mein \section{Persönliche Daten}
einen Fehler bringt. "Undefined control sequence"
Ich habe schon ne meng probiert und auch andere packete nachgeladen, komme aber nicht richtig vorran.

habt ihr nen Tip für mich??
Wäre super nett.
Danke Toni

(Ich weiß das es etwas Spartanisch ist, aber ich taste mich da langsam rein und baue alles mit der zeit auf weil ich nicht von anfang an wei0 was ich brauche)

\documentclass[a4paper,12pt]{scrartcl}
\usepackage{german}
\usepackage{fullpage}
\pagestyle{empty}
\usepackage[latin1]{inputenc}
\usepackage{ltxtable}
\usepackage{calc}
\usepackage{listings}
\title{Lebenslauf}
\begin{document}
\maketitle
\section{Persönliche Daten}
Test
\end{document}

u_fischer
03-07-2009, 13:48
Dein Beispiel läuft tadellos. Hast du wirklich genau das probiert? Wenn ja, zeig mal die log-Datei.

Ulrike Fischer

ToniThiele
03-07-2009, 13:51
ne sorry, da war noch ne andere Probe im zwischenspeicher. Das ist es hier:

\documentclass[a4paper,12pt]{curve}
\usepackage{german}
\usepackage{fullpage}
\pagestyle{empty}
\usepackage[latin1]{inputenc}
\usepackage{ltxtable}
\usepackage{calc}
\usepackage{listings}
\title{Lebenslauf}
\begin{document}
\maketitle
\section{Persönliche Daten\\}
Test
\end{document}

?

bobmalaria
03-07-2009, 13:53
hi,
du solltest natürlich keinen zeilenumbruch \\ innerhalb des aufrufes von \section{} schreiben. vor und nach section sind doch bereits abstände definiert und das ist unnötig.

gruss

ToniThiele
03-07-2009, 13:57
ne das ist es auch nicht.

hier mal die log datei

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=pdflatex 2009.7.3) 3 JUL 2009 13:56
entering extended mode
**E:/Eigene*Dateien/Toni/Studium/Bewerbung/LaTeX1.tex
("E:/Eigene Dateien/Toni/Studium/Bewerbung/LaTeX1.tex"
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\curve\curve.cls"
Document Class: curve 2008/02/25 v1.15 Curriculum Vitae class for LaTeX2e
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\carlisle\ltxtable.sty"
Package: ltxtable 1995/12/11 v0.2 longtable/tabularx merge (DPC)

("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\tools\tabularx.sty"
Package: tabularx 1999/01/07 v2.07 `tabularx' package (DPC)

("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\tools\array.sty"
Package: array 2005/08/23 v2.4b Tabular extension package (FMi)
\col@sep=\dimen102
\extrarowheight=\dimen103
\NC@list=\toks14
\extratabsurround=\skip41
\backup@length=\skip42
)
\TX@col@width=\dimen104
\TX@old@table=\dimen105
\TX@old@col=\dimen106
\TX@target=\dimen107
\TX@delta=\dimen108
\TX@cols=\count79
\TX@ftn=\toks15
)
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\tools\longtable.sty"
Package: longtable 2004/02/01 v4.11 Multi-page Table package (DPC)
\LTleft=\skip43
\LTright=\skip44
\LTpre=\skip45
\LTpost=\skip46
\LTchunksize=\count80
\LTcapwidth=\dimen109
\LT@head=\box26
\LT@firsthead=\box27
\LT@foot=\box28
\LT@lastfoot=\box29
\LT@cols=\count81
\LT@rows=\count82
\c@LT@tables=\count83
\c@LT@chunks=\count84
\c@table=\count85
\LT@p@ftn=\toks16
))
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\ifthen.sty"
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\tools\calc.sty"
Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
\calc@Acount=\count86
\calc@Bcount=\count87
\calc@Adimen=\dimen110
\calc@Bdimen=\dimen111
\calc@Askip=\skip47
\calc@Bskip=\skip48
LaTeX Info: Redefining \setlength on input line 75.
LaTeX Info: Redefining \addtolength on input line 76.
\calc@Ccount=\count88
\calc@Cskip=\skip49
)
\subrubricbeforespace=\skip50
\subrubricspace=\skip51
\@almosttextwidth=\skip52
\rubricspace=\skip53
\rubricafterspace=\skip54
\headerspace=\skip55
\photosep=\skip56
\photo@width=\skip57
\leftheader@width=\skip58
\rightheader@width=\skip59
\titlespace=\skip60
\c@bibcount=\count89
\c@bibtotal=\count90

("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\size12.clo"
File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
))
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\german\german.sty"
v2.5e 1998-07-08
Package: german 1998/07/08 v2.5e Support for writing german texts (br)
\grmnU@D=\dimen112
german -- \language number for Austrian undefined, default 3 used.
)
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\preprint\fullpage.sty"
Package: fullpage 1999/02/23 1.1 (PWD)
\FP@margin=\skip61
)
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\inputenc.sty"
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc@prehook=\toks17
\inpenc@posthook=\toks18

("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\latin1.def"
File: latin1.def 2006/05/05 v1.1b Input encoding file
))
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\listings\listings.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks19
)
\lst@mode=\count91
\lst@gtempboxa=\box30
\lst@token=\toks20
\lst@length=\count92
\lst@currlwidth=\dimen113
\lst@column=\count93
\lst@pos=\count94
\lst@lostspace=\dimen114
\lst@width=\dimen115
\lst@newlines=\count95
\lst@lineno=\count96
\abovecaptionskip=\skip62
\belowcaptionskip=\skip63
\lst@maxwidth=\dimen116

("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\listings\lstmisc.sty"
File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz)
\c@lstnumber=\count97
\lst@skipnumbers=\count98
\lst@framebox=\box31
)
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\listings\listings.cfg"
File: listings.cfg 2007/02/22 1.4 listings configuration
))
Package: listings 2007/02/22 1.4 (Carsten Heinz)

(LaTeX1.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
\c@lstlisting=\count99

! Undefined control sequence.
<recently read> \section

l.12 \section
{Persönliche Daten}
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.

[1

{C:/ProgramData/MiKTeX/2.7/pdftex/config/pdftex.map}] (LaTeX1.aux) )
Here is how much of TeX's memory you used:
2156 strings out of 95304
28316 string characters out of 1182843
78659 words of memory out of 1500000
5392 multiletter control sequences out of 110000
4544 words of font info for 17 fonts, out of 3000000 for 5000
14 hyphenation exceptions out of 8191
35i,4n,32p,236b,223s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program
Files (x86)/MiKTeX 2.7/fonts/type1/bluesky/cm/cmbx12.pfb><C:/Program Files (x8
6)/MiKTeX 2.7/fonts/type1/bluesky/cm/cmr12.pfb>
Output written on LaTeX1.pdf (1 page, 9127 bytes).
PDF statistics:
14 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

rais
03-07-2009, 13:59
naja, in der Klasse curve ist \section ja auch nicht definiert ...


texdoc curve

MfG

ToniThiele
03-07-2009, 14:06
habe ihr ne anung wie ich in curve sowas wie absätze hinbekomme?

bobmalaria
03-07-2009, 14:26
hi,

das manual ist nicht ganz so aufschlussreich, aber das dokument hier ist ganz ok

http://www.lrde.epita.fr/~didier/research/verna.06.practex.pdf

ich finde das reichlich umständlich das jede sog. rubric in einer eigenen datei stehen muss.


\documentclass{curve}
\usepackage[ngerman]{babel}
\usepackage{blindtext,filecontents}

\begin{document}

\begin{filecontents}{education.tex}

\begin{rubric}{My education}
\subrubric{School}
\entry*[2002--2005]
\blindtext
\end{rubric}

\end{filecontents}

\begin{filecontents}{work.tex}

\begin{rubric}{My Work}
\subrubric{Workplace}
\entry*[2002--2005]
\blindtext
\end{rubric}

\end{filecontents}

\makerubric{education}
\makerubric{work}

\end{document}


gruss