mitsuba-renderer / mitsuba

Mitsuba renderer main repository
GNU General Public License v3.0
1.04k stars 321 forks source link

pdf manual issue: ! Undefined control sequence. \DeclareTOCStyleEntry #44

Open iscaswcm opened 7 years ago

iscaswcm commented 7 years ago

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} ?

amyspark commented 7 years ago

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.

iscaswcm commented 7 years ago

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 } ?
amyspark commented 7 years ago

Noticed it, see #45.