2

I have a problem for a while now: there is always an extra page at the end of my documents. I notice that this happens when I use simultaneously minitoc and float.

I track this issue down to this minimal code :

\documentclass{report}
\usepackage{float}
\usepackage{minitoc}
\begin{document}
\end{document}

I can compile this without any error and it generates an empty page with page number 1. (I use TeX Live 2013 on Linux, and I happens both with LaTeX and pdfLaTeX).

How can I simultaneously create tables of content by chapter and use the [H] option in \begin{figure}[H] ?

Update after egreg answer: here is a new minimal example with some text, that creates always a new page.

\documentclass{report}
\usepackage{float}
\usepackage{minitoc}
\begin{document}
\include{ch01}
\end{document}

You can put anything in ch01.tex and an extra page will be created.

Werner
  • 603,163
svannay
  • 71
  • If I add contents, I don't get additional pages. – egreg Sep 23 '13 at 12:36
  • You're right: same for me. Anyway, the minimal code should not give an empty page. Could you try to put some text in an external file and include it with a \include{} in the main document ? For me it generate an extra page. – svannay Sep 23 '13 at 18:42
  • 4
    Encountered the same problem and been looking for a solution for quite a while. Today I encountered another StackExchange question, that is quite similar to this problem: The solution was posted by user Werner, suggesting a bug in the minitoc hint-printing macro. When loading the minitoc package without hints, the additional page is not created. Load the minitoc package with the [nohints] Option: – xHarti Jul 08 '15 at 12:32

0 Answers0