
Cuando uso el etoc
paquete con la mwbk
clase, \localtableofcontents
funciona (con errores), pero \tableofcontents
no:
\documentclass{mwbk}
\usepackage{graphicx,xcolor}
\usepackage{hyperref}
\usepackage{etoc}
%doesn't work%%
%\etocstandardlines% ‘line entries’ as without \usepackage{etoc}
%\etocstandarddisplaystyle % ‘toc display’ as without \usepackage{etoc}
\begin{document}
\tableofcontents
\etocsettocstyle{\section*{In this chapter you will see:}}{} % from now on only local tocs
\chapter{Chapter One}
\localtableofcontents
\section{Section One}
\subsection{Subsection One Point One}
\section{Section Two}
\end{document}
Respuesta1
Utilice tocloft
el paquete para compatibilidad.
\documentclass{mwbk}
\usepackage{graphicx,xcolor}
\usepackage{hyperref}
\usepackage{tocloft}
\usepackage{etoc}
%doesn't work%%
%\etocstandardlines% ‘line entries’ as without \usepackage{etoc}
%\etocstandarddisplaystyle % ‘toc display’ as without \usepackage{etoc}
\begin{document}
\tableofcontents
\etocsettocstyle{\section*{In this chapter you will see:}}{} % from now on only local tocs
\chapter{Chapter One}
\localtableofcontents
\section{Section One}
\subsection{Subsection One Point One}
\section{Section Two}
\end{document}