mitsuba icon indicating copy to clipboard operation
mitsuba copied to clipboard

pdf manual issue: ! Undefined control sequence. \DeclareTOCStyleEntry

Open iscaswcm opened this issue 8 years ago • 3 comments

OS: CentOs 7 tex: texlive 2015

when make maual pdf, error as following: ...................................................................... Package MinionPro.sty was not found. Reverting to charter. (/usr/local/texlive/2015/texmf-dist/tex/latex/psnfss/t1bch.fd) (/usr/local/texlive/2015/texmf-dist/tex/latex/koma-script/scrpage2.sty) ! Undefined control sequence. l.66 \DeclareTOCStyleEntry [numwidth=3em]{default}{section} ?

iscaswcm avatar Oct 13 '17 03:10 iscaswcm

From the KOMAscript pdf manual, p.357, that command was added in v3.20, but from what I can gather (here) the version included with TL2015 is 3.18, so you may need to use a newer distro.

amyspark avatar Oct 13 '17 14:10 amyspark

When I use texive 2017, it has an error:

.................. (/usr/local/texlive/2017/texmf-dist/tex/latex/koma-script/scrlfile.sty Package scrlfile, 2017/04/13 v3.23 KOMA-Script package (loading files) Copyright (C) Markus Kohm ......................

(/usr/local/texlive/2017/texmf-dist/tex/latex/listings/lstlang1.sty) (/usr/local/texlive/2017/texmf-dist/tex/latex/listings/lstmisc.sty) ! Argument of \lst@next has an extra }. \par l.341 }

?

iscaswcm avatar Oct 14 '17 08:10 iscaswcm

Noticed it, see #45.

amyspark avatar Oct 14 '17 13:10 amyspark