Presentations and PostersKOMA-Script-Presentation template - Error: Missing number

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

KOMA-Script-Presentation template - Error: Missing number

Post by jovisudiardi »

I have trying to compile a freshly downloaded template of KOMA-script Presentation template http://www.latextemplates.com/template/ ... esentation.

So far it fail with the following error message:

Code: Select all

ERROR: Missing number, treated as zero.

--- TeX said ---
<to be read again> 
                   }
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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

KOMA-Script-Presentation template - Error: Missing number

Post by Ijon Tichy »

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.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
jovisudiardi
Posts: 2
Joined: Mon Feb 10, 2020 8:17 am

KOMA-Script-Presentation template - Error: Missing number

Post by jovisudiardi »

@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.
Post Reply