LaTeX forum ⇒ Presentations and PostersKOMA-Script-Presentation template - Error: Missing number

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
Posts: 2
Joined: Mon Feb 10, 2020 8:17 am

KOMA-Script-Presentation template - Error: Missing number

Postby jovisudiardi » Mon Feb 10, 2020 8:35 am

I have trying to compile a freshly downloaded template of KOMA-script Presentation template

So far it fail with the following error message:
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. ERROR: Missing number, treated as zero.
  3. --- TeX said ---
  4. <to be read again>
  5. }
  6. l.232 \tableofcontent

I'm confuse now, because \tableofcontent does not taking any parameters.

Please, need your help. Thanks
Note: I'm using pdflatex from MiKTeX 2.9.7206 on Windows 10
koma-script-presentation koma-scripttemplate

User avatar
Ijon Tichy
Posts: 282
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Mon Feb 10, 2020 8:55 am

Don't use this template! It uses things, that are not recommended for years, e.g., combination of titlesec with a KOMA-Script class. Also usage of tocstyle is not recommended. The package was an experiment only and never left alpha state. Both, configuration of section titles and ToC entries should be done using the features of the KOMA-Script class.

Posts: 2
Joined: Mon Feb 10, 2020 8:17 am

Postby jovisudiardi » Mon Feb 10, 2020 2:08 pm

@Ijon Thanks for the pointers.

I just comment all the codes related to titlesec and tocstyle and it compile without error messages.
However the layout for TOC and footer are mess up now. So I have commenting that parts too. :(

Right now, I'm in a hurry, so this hacks, will works for me, now.
I'll try to find the permanent fix, when time permitted.

Return to “Presentations and Posters”

Who is online

Users browsing this forum: No registered users and 2 guests