# show minitoc before beginning of a chapter

I want to put \minitoc before the beginning of the chapter. I've tried to use \minitoc normally but it prints the contents of the previous chapter the current chapter for latex. I followed this How can I put a minitoc before a chapter, on the facing page?

but it did worked on some chapters and not all of them

• When you ask questions here, it's really helpful (and would probably get you an answer faster) if you provide a complete, self contained example. It means that if we copy paste the code, it would run and your problem would reveal it self! i.e. it should include a \documentclass, \begin{document} and \end{document}. This way we can just copy/paste the code and go straight into solving the problem without resorting to wild guesses about what you really are asking. – Andreas Storvik Strauman Jun 28 '18 at 18:17