Probleme mit "\newlist" beim package "enumite

Antwort erstellen


Diese Frage dient dazu, das automatisierte Versenden von Formularen durch Spam-Bots zu verhindern.
Smilies
:D :) :( :o :shock: :? 8) :lol: :-x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode ist eingeschaltet
[img] ist eingeschaltet
[flash] ist ausgeschaltet
[url] ist eingeschaltet
Smilies sind eingeschaltet

Die letzten Beiträge des Themas

Ich habe die Datenschutzerklärung gelesen und bin damit einverstanden.

   

Wenn du eine Datei oder mehrere Dateien anhängen möchtest, gib die Details unten ein.

Ansicht erweitern Die letzten Beiträge des Themas: Probleme mit "\newlist" beim package "enumite

Veraltete Version

von localghost » Mo 23. Nov 2009, 22:35

Deine Version von enumitem ist veraltet. Bei mir funktioniert dein Beispiel.
 *File List*
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
 fontenc.sty
   t1enc.def    2005/09/27 v1.99g Standard LaTeX file
inputenc.sty    2008/03/30 v1.1d Input encoding file
    utf8.def    2008/04/05 v1.1m UTF-8 support for inputenc
   t1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
  ot1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
  omsenc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
   babel.sty    2008/07/06 v3.8l The Babel package
ngermanb.ldf    2008/07/06 v2.6n new German support from the babel system
 lmodern.sty    2009/10/30 v1.6 Latin Modern Fonts
enumitem.sty    2009/05/18 v2.2 Customized lists
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
   t1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
 ***********

Probleme mit "\newlist" beim package "enumite

von Bloodredangel » Mo 16. Nov 2009, 20:51

Hallo, ich will gerne auch in zweiter Ebene Nummerieren koennen, also 1.1 1.2 etc.
Das geht soweit ich rausgefunden habe mit dem package enumitem. Ein kurzes Beispiel was meine Anforderung erfuellen sollte:
\documentclass[12pt]{scrartcl}
\usepackage{enumitem}
\begin{document}
\newlist{mylist}{enumerate}{5}
\setlist[mylist]{label*=\arabic*]

\begin{enumerate}[label=\arabic*]
	\item 1
	\item 2
		\begin{mylist}
			\item 21
		\end{mylist}
\end{enumerate}
\end{document}
Aber beim uebersetzen mit pdfLatex bekomme ich den Fehler "Undefined control sequence". Ich hau mal noch den Fehler-Log rein, aber ansonsten bin ich ziemlich ratlos. :(
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2009.11.2)  16 NOV 2009 19:49
entering extended mode
 %&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, croatian, ukrainian, russian, bulgarian, czech, slovak, danish, dut
ch, finnish, basque, french, german, ngerman, ibycus, greek, monogreek, ancient
greek, hungarian, italian, latin, mongolian, norsk, icelandic, interlingua, tur
kish, coptic, romanian, welsh, serbian, slovenian, estonian, esperanto, upperso
rbian, indonesian, polish, portuguese, spanish, catalan, galician, swedish, loa
ded.
(/usr/share/texmf-texlive/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2006/07/30 v2.95b KOMA-Script document class (article)

(/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2006/07/30 v2.95b KOMA-Script package (basics and keyval use)


(/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2006/03/28 v2.95 KOMA-Script package (loading files)

Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
))
Package scrkbase Info: You've used the obsolete option `12pt'.
(scrkbase)             \KOMAoptions{fontsize=12pt} will be used instead.
(scrkbase)             You should do this change too on input line 594.

(/usr/share/texmf-texlive/tex/latex/base/size12.clo
File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
(/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty
Package: typearea 2006/07/30 v2.95b KOMA-Script package (type area)

Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
                  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  = 12
(typearea)             BCOR = 0.0pt
(typearea)             \paperwidth      = 597.50793pt
(typearea)              \textwidth      = 448.13095pt
(typearea)              DIV-departure   = -6/100
(typearea)              \evensidemargin = 2.4185pt
(typearea)              \oddsidemargin  = 2.4185pt
(typearea)             \paperheight     = 845.04694pt
(typearea)              \textheight     = 635.5pt
(typearea)              \topmargin      = -41.72441pt
(typearea)              \headheight     = 18.125pt
(typearea)              \headsep        = 21.75pt
(typearea)              \topskip        = 12.0pt
(typearea)              \footskip       = 50.75pt
(typearea)              \baselineskip   = 14.5pt
(typearea)              on input line 832.
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\c@pti@nb@sid@b@x=\box26
\c@figure=\count86
\c@table=\count87
\bibindent=\dimen102
) (/usr/share/texmf/tex/latex/dblatex/misc/enumitem.sty
Package: enumitem 2004/07/19 v1.0 Customized lists
\labelindent=\skip47
\enit@outerparindent=\dimen103
) (./test.aux)
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.

! Undefined control sequence.
l.4 \newlist
            {mylist}{enumerate}{5}
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 number, treated as zero.
<to be read again> 
                   m
l.5 \setlist[mylist]
                    {label*=\arabic*]
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

)
Runaway definition?
->label*=\arabic *] \par \begin {enumerate}[label=\arabic *] \item 1 \ETC.
! File ended while scanning definition of \enit@listmylist.
<inserted text> 
                }
<*> test.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.
<*> test.tex
            
*** (job aborted, no legal \end found)

 
Here is how much of TeX's memory you used:
 849 strings out of 94101
 11646 string characters out of 1165810
 67132 words of memory out of 1500000
 4197 multiletter control sequences out of 10000+50000
 3938 words of font info for 15 fonts, out of 1200000 for 2000
 637 hyphenation exceptions out of 8191
 30i,1n,28p,171b,45s stack positions out of 5000i,500n,6000p,200000b,5000s
!  ==> Fatal error occurred, no output PDF file produced!

Nach oben