Quantcast
Channel: Active questions tagged starred-version - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 63

\parttoc does not appear when used in starred \part*

$
0
0

I am trying to create mini-ToC at the begenning of a part level utilizing minitoc package. It works fine for numbered \part, however, it is not rendered when using starred \part*. According to the documtentation, I added \addstarredpart after the \part* command. Here is the minimal working example:

\documentclass{report}\usepackage{minitoc}\begin{document}    \doparttoc    \tableofcontents    \part*{Part one}    \addstarredpart{Part one}    \parttoc    \chapter{Chapter one}       \section{Section one}    \section{Section two}    \chapter{Chapter two}\end{document}

*.toc file content:

\partbegin \contentsline {starpart}{Part one}{3}\contentsline {chapter}{\numberline {1}Chapter one}{3}\contentsline {section}{\numberline {1.1}Section one}{3}\contentsline {section}{\numberline {1.2}Section two}{3}\contentsline {chapter}{\numberline {2}Chapter two}{4}

*.ptc1 file content:

{\reset@font\ptcCfont\mtc@string\contentsline{chapter}{\noexpand \leavevmode \numberline {1}Chapter one}{\reset@font\ptcCfont 3}}{\reset@font\ptcSfont\mtc@string\contentsline{section}{\noexpand \leavevmode \numberline {1.1}Section one}{\reset@font\ptcSfont 3}}{\reset@font\ptcSfont\mtc@string\contentsline{section}{\noexpand \leavevmode \numberline {1.2}Section two}{\reset@font\ptcSfont 3}}{\reset@font\ptcCfont\mtc@string\contentsline{chapter}{\noexpand \leavevmode \numberline {2}Chapter two}{\reset@font\ptcCfont 4}}

Tested using PdfLaTex.

EDIT: I got following warning during the build process:
W0046(minitoc(hints)) You have attempted to insert (minitoc(hints)) empty parttocs.


Viewing all articles
Browse latest Browse all 63

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>