Consider the following MWE:
Code: Select all
\documentclass{article}
\usepackage{url}
\usepackage[breaklinks]{hyperref}
\usepackage{appendix}
\usepackage{minitoc}
\usepackage{appendix}
\begin{document}
\tableofcontents
\bigskip
\section{My Section 1}
Blahblah...
\subsection{My SubSection 1}
Blahblah...
%%% these must occur before \begin{appendices}
\appendixtocon
\appendixpageon
\appendixtitleon
\appendixtitletocon
\appendixheaderon
\begin{appendices}
\section{My App 1}
Blahblah blah ...
\section{My App 2}
Blahblah blah ...
\end{appendices}
\end{document}
However, if minitoc is used, then the rendering outcome after
Code: Select all
pdflatex test.tex && pdflatex test.tex && evince test.pdf
Code: Select all
Contents
1 My Section 1 1
1.1 My SubSection 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Appendices 1
Appendix A My App 1 . . . 1
Appendix B My App 2 . . . 1
1 My Section 1
Blahblah...
1.1 My SubSection 1
Blahblah...
Appendices
A My App 1
Blahblah blah ...
B My App 2
Blahblah blah ...
Any ideas for a workaround ??
Thanks in advance for any answers,
Cheers!