If you compile the following minimal example which uses the abntex2 class, which is just a wrapper around memoir class:
\documentclass[
12pt,
]{abntex2}
\begin{filecontents*}{beauty.tex}
\chapter{Some first}
Content.
\end{filecontents*}
\begin{filecontents*}{appendix.tex}
\chapter{Other second}
Stuff.
\end{filecontents*}
\begin{document}
\tableofcontents
\include{beauty}
% \chapter{Fixer}
\begin{apendicesenv}
\include{appendix}
\end{apendicesenv}
\end{document}
You get this:
But if you uncomment the line % \chapter{Fixer}, then, the document is generated correctly, i.e., with the Appendix word on the right place:
How can I fix this behavior and keep the Appendix word always showing up in the table of contents regardless the contents of my file?
Related questions


