Anzeige:
Ergebnis 1 bis 4 von 4

Thema: Probleme mit der beamer-Dokumentklasse und dem doclicense- und enumitem-Paket

  1. #1
    Registrierter Benutzer
    Registriert seit
    24.04.2009
    Beiträge
    208

    Probleme mit der beamer-Dokumentklasse und dem doclicense- und enumitem-Paket

    Hallo,

    ich habe ein Problem mit folgendem Minimalbeispiel:
    Code:
    \documentclass{beamer}
    
    \usepackage{doclicense}
    
    \begin{document}
    
    \begin{frame}
    	\begin{enumerate}
    		\item Bla
    		\item Blub
    	\end{enumerate}
    \end{frame}
    
    \end{document}
    welches mit der Fehlermeldung
    Code:
    ! TeX capacity exceeded, sorry [grouping levels=255].
    \labelenumi ->{
                   \labelenumi }
    l.12 \end{frame}
    nicht erfolgreich kompiliert. Das Problem wird wohl durch das enumitem-Paket hervorgerufen, was nicht mit der beamer-Dokumentklasse kompatibel ist und aber vom doclicense-Paket mit geladen wird.

    Gibt es dafür eine Lösung bzw. einen Workaround? Ich nutze ein aktuelles MikTeX unter Windows 10.

  2. #2
    Registrierter Benutzer Avatar von rais
    Registriert seit
    18.07.2005
    Beiträge
    5.743
    Hallo,
    Dein Problem kann ich nicht nachvollziehen, setze mal \listfiles vor \documentclass und vergleiche in der .log:
    Code:
     *File List*
      beamer.cls    2018/09/06 v3.53 A class for typesetting presentations
    beamerbasemodes.sty    
    etoolbox.sty    2018/08/19 v2.5f e-TeX tools for LaTeX (JAW)
    beamerbasedecode.sty    
       ifpdf.sty    2018/09/07 v3.3 Provides the ifpdf switch
    beamerbaseoptions.sty    
      keyval.sty    2014/10/28 v1.15 key=value parser (DPC)
    geometry.sty    2018/04/16 v5.8 Page Geometry
      ifvtex.sty    2016/05/16 v1.6 Detect VTeX and its facilities (HO)
     ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
      size11.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
     pgfcore.sty    2010/04/11 v3.0.1a (rcs-revision 1.7)
    graphicx.sty    2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)
    graphics.sty    2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR)
        trig.sty    2016/01/03 v1.10 sin cos tan (DPC)
    graphics.cfg    2016/06/04 v1.11 sample graphics configuration
      pdftex.def    2018/01/08 v1.0l Graphics/color driver for pdftex
      pgfsys.sty    2014/07/09 v3.0.1a (rcs-revision 1.48)
      pgfrcs.sty    2015/08/07 v3.0.1a (rcs-revision 1.31)
    everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
      pgfrcs.code.tex
      pgfsys.code.tex
    pgfsyssoftpath.code.tex    2013/09/09  (rcs-revision 1.9)
    pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)
      xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)
       color.cfg    2016/01/02 v1.6 sample color configuration
     pgfcore.code.tex
     xxcolor.sty    2003/10/24 ver 0.1
    atbegshi.sty    2016/06/09 v1.18 At begin shipout hook (HO)
    infwarerr.sty    2016/05/16 v1.4 Providing info/warning/error messages (HO)
     ltxcmds.sty    2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
    hyperref.sty    2018/02/06 v6.86b Hypertext links for LaTeX
    hobsub-hyperref.sty    2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO)
    hobsub-generic.sty    2016/05/16 v1.14 Bundle oberdiek, subset generic (HO)
      hobsub.sty    2016/05/16 v1.14 Construct package bundles (HO)
    ifluatex.sty    2016/05/16 v1.4 Provides the ifluatex switch (HO)
     intcalc.sty    2016/05/16 v1.2 Expandable calculations with integers (HO)
    etexcmds.sty    2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
    kvsetkeys.sty    2016/05/16 v1.17 Key value parser (HO)
    kvdefinekeys.sty    2016/05/16 v1.4 Define keys (HO)
    pdftexcmds.sty    2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
    pdfescape.sty    2016/05/16 v1.14 Implements pdfTeX's escape features (HO)
    bigintcalc.sty    2016/05/16 v1.4 Expandable calculations on big integers (HO)
      bitset.sty    2016/05/16 v1.2 Handle bit-vector datatype (HO)
    uniquecounter.sty    2016/05/16 v1.3 Provide unlimited unique counter (HO)
    letltxmacro.sty    2016/05/16 v1.5 Let assignment for LaTeX macros (HO)
     hopatch.sty    2016/05/16 v1.3 Wrapper for package hooks (HO)
    xcolor-patch.sty    2016/05/16 xcolor patch
    atveryend.sty    2016/05/16 v1.9 Hooks at the very end of document (HO)
    refcount.sty    2016/05/16 v3.5 Data extraction from label references (HO)
     hycolor.sty    2016/05/16 v1.8 Color options for hyperref/bookmark (HO)
     auxhook.sty    2016/05/16 v1.4 Hooks for auxiliary files (HO)
    kvoptions.sty    2016/05/16 v3.12 Key value format for package options (HO)
      pd1enc.def    2018/02/06 v6.86b Hyperref: PDFDocEncoding definition (HO)
    hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
         url.sty    2013/09/16  ver 3.4  Verb mode for urls, etc.
     hpdftex.def    2018/02/06 v6.86b Hyperref driver for pdfTeX
    rerunfilecheck.sty    2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
    beamerbaserequires.sty    
    beamerbasecompatibility.sty    
    beamerbasefont.sty    
     amssymb.sty    2013/01/14 v3.01 AMS font symbols
    amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
    sansmathaccent.sty    2013/03/28
    filehook.sty    2011/10/12 v0.5d Hooks for input files
    beamerbasetranslator.sty    
    translator.sty    2018/01/04 v1.12 Easy translation of strings in LaTeX
    beamerbasemisc.sty    
    beamerbasetwoscreens.sty    
    beamerbaseoverlay.sty    
    beamerbasetitle.sty    
    beamerbasesection.sty    
    beamerbaseframe.sty    
    beamerbaseverbatim.sty    
    beamerbaseframesize.sty    
    beamerbaseframecomponents.sty    
    beamerbasecolor.sty    
    beamerbasenotes.sty    
    beamerbasetoc.sty    
    beamerbasetemplates.sty    
    beamerbaseauxtemplates.sty    
    beamerbaseboxes.sty    
    beamerbaselocalstructure.sty    
    enumerate.sty    2015/07/23 v3.00 enumerate extensions (DPC)
    beamerbasenavigation.sty    
    beamerbasetheorems.sty    
     amsmath.sty    2017/09/02 v2.17a AMS math features
     amstext.sty    2000/06/29 v2.01 AMS text
      amsgen.sty    1999/11/30 v2.0 generic functions
      amsbsy.sty    1999/11/29 v1.2d Bold Symbols
      amsopn.sty    2016/03/08 v2.02 operator names
      amsthm.sty    2017/10/31 v2.20.4
    beamerbasethemes.sty    
    beamerthemedefault.sty    
    beamerfontthemedefault.sty    
    beamercolorthemedefault.sty    
    beamerinnerthemedefault.sty    
    beamerouterthemedefault.sty    
    doclicense.sty    2018/06/10 v1.8.0 Support for putting documents under a licen
    se
     xifthen.sty    2015/11/05 v1.4.0 Extended ifthen features
        calc.sty    2017/05/25 v4.3 Infix arithmetic (KKT,FJ)
      ifthen.sty    2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
     ifmtarg.sty    2018/04/16 v1.2b check for an empty argument
      xspace.sty    2014/10/28 v1.13 Space after command names (DPC,MH)
    verbatim.sty    2014/10/28 v1.5q LaTeX2e package for verbatim enhancements
    doclicense-english.ldf    
    csquotes.sty    2018/04/13 v5.2d context-sensitive quotations (JAW)
    csquotes.def    2018/04/13 v5.2d csquotes generic definitions (JAW)
    csquotes.cfg    
     ccicons.sty    2017/10/30 v1.6 LaTeX support for Creative Commons icons
     xkeyval.sty    2014/12/03 v2.7a package option processing (HA)
     xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
    supp-pdf.mkii
    epstopdf-base.sty    2016/05/15 v2.6 Base part for package epstopdf
      grfext.sty    2016/05/16 v1.2 Manage graphics extensions (HO)
    epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
     nameref.sty    2016/05/21 v2.44 Cross-referencing by name of section
    gettitlestring.sty    2016/05/16 v1.5 Cleanup title references (HO)
          mb.out
          mb.out
    translator-basic-dictionary-English.dict    
    translator-bibliography-dictionary-English.dict    
    translator-environment-dictionary-English.dict    
    translator-months-dictionary-English.dict    
    translator-numbers-dictionary-English.dict    
    translator-theorem-dictionary-English.dict    
     ***********
    (bin aber nicht auf neuestem Stand)

    VG
    Rainer
    There's nothing a good whack with a hammer won't fix!

  3. #3
    Registrierter Benutzer
    Registriert seit
    24.04.2009
    Beiträge
    208
    So sieht meine "File List" aus:

    Code:
     *File List*
      beamer.cls    2018/12/02 v3.55 A class for typesetting presentations
    beamerbasemodes.sty    
    etoolbox.sty    2018/08/19 v2.5f e-TeX tools for LaTeX (JAW)
    beamerbasedecode.sty    
       ifpdf.sty    2018/09/07 v3.3 Provides the ifpdf switch
    beamerbaseoptions.sty    
      keyval.sty    2014/10/28 v1.15 key=value parser (DPC)
    geometry.sty    2018/04/16 v5.8 Page Geometry
      ifvtex.sty    2016/05/16 v1.6 Detect VTeX and its facilities (HO)
     ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
    geometry.cfg
      size11.clo    2018/09/03 v1.4i Standard LaTeX file (size option)
     pgfcore.sty    2019/05/09 v3.1.3 (3.1.3)
    graphicx.sty    2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)
    graphics.sty    2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR)
        trig.sty    2016/01/03 v1.10 sin cos tan (DPC)
    graphics.cfg    2016/06/04 v1.11 sample graphics configuration
      pdftex.def    2018/01/08 v1.0l Graphics/color driver for pdftex
      pgfsys.sty    2019/05/09 v3.1.3 (3.1.3)
      pgfrcs.sty    2019/05/09 v3.1.3 (3.1.3)
    everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
      pgfrcs.code.tex
      pgfsys.code.tex
    pgfsyssoftpath.code.tex    2019/05/09 v3.1.3 (3.1.3)
    pgfsysprotocol.code.tex    2019/05/09 v3.1.3 (3.1.3)
      xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)
       color.cfg    2016/01/02 v1.6 sample color configuration
     pgfcore.code.tex
     xxcolor.sty    2003/10/24 ver 0.1
    atbegshi.sty    2016/06/09 v1.18 At begin shipout hook (HO)
    infwarerr.sty    2016/05/16 v1.4 Providing info/warning/error messages (HO)
     ltxcmds.sty    2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
    hyperref.sty    2018/11/30 v6.88e Hypertext links for LaTeX
    hobsub-hyperref.sty    2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO)
    hobsub-generic.sty    2016/05/16 v1.14 Bundle oberdiek, subset generic (HO)
      hobsub.sty    2016/05/16 v1.14 Construct package bundles (HO)
    ifluatex.sty    2016/05/16 v1.4 Provides the ifluatex switch (HO)
     intcalc.sty    2016/05/16 v1.2 Expandable calculations with integers (HO)
    etexcmds.sty    2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
    kvsetkeys.sty    2016/05/16 v1.17 Key value parser (HO)
    kvdefinekeys.sty    2016/05/16 v1.4 Define keys (HO)
    pdftexcmds.sty    2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
    pdfescape.sty    2016/05/16 v1.14 Implements pdfTeX's escape features (HO)
    bigintcalc.sty    2016/05/16 v1.4 Expandable calculations on big integers (HO)
      bitset.sty    2016/05/16 v1.2 Handle bit-vector datatype (HO)
    uniquecounter.sty    2016/05/16 v1.3 Provide unlimited unique counter (HO)
    letltxmacro.sty    2016/05/16 v1.5 Let assignment for LaTeX macros (HO)
     hopatch.sty    2016/05/16 v1.3 Wrapper for package hooks (HO)
    xcolor-patch.sty    2016/05/16 xcolor patch
    atveryend.sty    2016/05/16 v1.9 Hooks at the very end of document (HO)
    refcount.sty    2016/05/16 v3.5 Data extraction from label references (HO)
     hycolor.sty    2016/05/16 v1.8 Color options for hyperref/bookmark (HO)
     auxhook.sty    2016/05/16 v1.4 Hooks for auxiliary files (HO)
    kvoptions.sty    2016/05/16 v3.12 Key value format for package options (HO)
      pd1enc.def    2018/11/30 v6.88e Hyperref: PDFDocEncoding definition (HO)
    hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
         url.sty    2013/09/16  ver 3.4  Verb mode for urls, etc.
     hpdftex.def    2018/11/30 v6.88e Hyperref driver for pdfTeX
    rerunfilecheck.sty    2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
    beamerbaserequires.sty    
    beamerbasecompatibility.sty    
    beamerbasefont.sty    
     amssymb.sty    2013/01/14 v3.01 AMS font symbols
    amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
    sansmathaccent.sty    2013/03/28
    filehook.sty    2011/10/12 v0.5d Hooks for input files
    beamerbasetranslator.sty    
    translator.sty    2018/01/04 v1.12 Easy translation of strings in LaTeX
    beamerbasemisc.sty    
    beamerbasetwoscreens.sty    
    beamerbaseoverlay.sty    
    beamerbasetitle.sty    
    beamerbasesection.sty    
    beamerbaseframe.sty    
    beamerbaseverbatim.sty    
    beamerbaseframesize.sty    
    beamerbaseframecomponents.sty    
    beamerbasecolor.sty    
    beamerbasenotes.sty    
    beamerbasetoc.sty    
    beamerbasetemplates.sty    
    beamerbaseauxtemplates.sty    
    beamerbaseboxes.sty    
    beamerbaselocalstructure.sty    
    enumerate.sty    2015/07/23 v3.00 enumerate extensions (DPC)
    beamerbasenavigation.sty    
    beamerbasetheorems.sty    
     amsmath.sty    2018/12/01 v2.17b AMS math features
     amstext.sty    2000/06/29 v2.01 AMS text
      amsgen.sty    1999/11/30 v2.0 generic functions
      amsbsy.sty    1999/11/29 v1.2d Bold Symbols
      amsopn.sty    2016/03/08 v2.02 operator names
      amsthm.sty    2017/10/31 v2.20.4
    beamerbasethemes.sty    
    beamerthemedefault.sty    
    beamerfontthemedefault.sty    
    beamercolorthemedefault.sty    
    beamerinnerthemedefault.sty    
    beamerouterthemedefault.sty    
    doclicense.sty    2019/04/07 v1.9.0 Support for putting documents under a license
     xifthen.sty    2015/11/05 v1.4.0 Extended ifthen features
        calc.sty    2017/05/25 v4.3 Infix arithmetic (KKT,FJ)
      ifthen.sty    2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
     ifmtarg.sty    2018/04/16 v1.2b check for an empty argument
      xspace.sty    2014/10/28 v1.13 Space after command names (DPC,MH)
    verbatim.sty    2014/10/28 v1.5q LaTeX2e package for verbatim enhancements
    enumitem.sty    2019/02/04 v3.8 Customized lists
    doclicense-english.ldf    
    csquotes.sty    2019/05/10 v5.2e context-sensitive quotations (JAW)
    csquotes.def    2019/05/10 v5.2e csquotes generic definitions (JAW)
    csquotes.cfg    
     ccicons.sty    2017/10/30 v1.6 LaTeX support for Creative Commons icons
     xkeyval.sty    2014/12/03 v2.7a package option processing (HA)
     xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
    supp-pdf.mkii
    epstopdf-base.sty    2016/05/15 v2.6 Base part for package epstopdf
      grfext.sty    2016/05/16 v1.2 Manage graphics extensions (HO)
     nameref.sty    2016/05/21 v2.44 Cross-referencing by name of section
    gettitlestring.sty    2016/05/16 v1.5 Cleanup title references (HO)
    mb_doclicense.out
    mb_doclicense.out
    translator-basic-dictionary-English.dict    
    translator-bibliography-dictionary-English.dict    
    translator-environment-dictionary-English.dict    
    translator-months-dictionary-English.dict    
    translator-numbers-dictionary-English.dict    
    translator-theorem-dictionary-English.dict    
     ***********

  4. #4
    Registrierter Benutzer Avatar von rais
    Registriert seit
    18.07.2005
    Beiträge
    5.743
    Ok, nun unter TL19 kann ich das Problem nachvollziehen.
    Versuch es so
    Code:
    \documentclass{beamer}
    
    \let\origenumerate\enumerate
    \let\origendenumerate\endenumerate
    \usepackage{doclicense}
    \let\enumerate\origenumerate
    \let\endenumerate\origendenumerate
    
    \begin{document}
    
    \begin{frame}
    	\begin{enumerate}
    		\item Bla
    		\item Blub
    	\end{enumerate}
    \end{frame}
    
    \end{document}
    und informiere den Paketautor über das Problem.

    VG
    Rainer
    There's nothing a good whack with a hammer won't fix!

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •