Command \part*{} not working properly

Issue #97 closed
Former user created an issue
What steps will reproduce the problem?
1. Use the command \part*{} together with \tableofcontents


What is the expected output? What do you see instead?
Expected: The title of the part should not appear in the TOC
Reality: The title of the part is in the TOC

What version of the product are you using? On what operating system?
Version 4.1. Tried both in OSX 10.7.5 and opensuse

Please provide any additional information below.
I want to have a Part that is not numbered and that does not show up in the TOC. Usually,
I would use the command \part*{Intro} instead of \part{Intro}, but with the package
classicthesis this does not work.
The problem is that the Part (Intro) is still appearing in the TOC, and it also appears
with a different font.
MWE
\documentclass[10pt,twoside,openright, titlepage, fleqn,%
 headinclude,footinclude,BCOR5mm,%
 numbers=noenddot, cleardoublepage=empty,%
 captions=tableheading]{scrbook}
 \usepackage[parts, linedheaders, pdfspacing, eulermath, %
 beramono, eulerchapternumbers, dottedtoc] {classicthesis}
 \usepackage{arsclassica}
 \begin{document}
 \tableofcontents
 \part*{Intro}
 \part{Part 1}
 \part{Part 2}
 \part{Part 3}
 \part{Part 4}
 \end{document}

Original issue reported on code.google.com by sebastianecheverrir on 2014-11-10 08:55:42

Official response

  • Ivo Pletikosić

    "The main reason here is that titlesec just handles \parts differently to all other sectional units within a document. It sets up a separate handler to manage the titles and ToC-related entries, always writing the latter for \part." http://tex.stackexchange.com/questions/199720/titlesec-creates-entry-in-toc-for-a-starred-part

    This is where I'd stop. If someone really needs this feature, they can send a letter to the maintainer of titlesec. It's not a very good idea to patch other packages in classicthesis, for if they change classicthesis would stop working.

    What one could do is to set the classicthesis option parts=false and still use the part/part* division. This would avoid any redefinition by titlesec. Formatting would be inherited from KOMA-script, and \ctparttext would not work.

Comments (6)

  1. André Miede repo owner
    Good point, this is (partially) due to getting the part's name correctly into the PDF's
    nookmarks. Hopefully there will be a way to fix this. Going to look into this for the
    next release, but this will take some time. Sry. 
    

    Original issue reported on code.google.com by amiede on 2014-11-12 19:02:49

  2. Ivo Pletikosić

    "The main reason here is that titlesec just handles \parts differently to all other sectional units within a document. It sets up a separate handler to manage the titles and ToC-related entries, always writing the latter for \part." http://tex.stackexchange.com/questions/199720/titlesec-creates-entry-in-toc-for-a-starred-part

    This is where I'd stop. If someone really needs this feature, they can send a letter to the maintainer of titlesec. It's not a very good idea to patch other packages in classicthesis, for if they change classicthesis would stop working.

    What one could do is to set the classicthesis option parts=false and still use the part/part* division. This would avoid any redefinition by titlesec. Formatting would be inherited from KOMA-script, and \ctparttext would not work.

  3. Log in to comment