
Logré hacer una lista separada para los apéndices del índice, de la siguiente manera:
\usepackage[titles]{tocloft}
\newcommand{\listappendixname}{Contents Appendices}
\newlistof{appendix}{loa}{\listappendixname}
\usepackage{xpatch}
\makeatletter
\apptocmd{\appendix}{
\xpatchcmd{\ttl@addcontentsline}
{\addcontentsline{toc}}
{\addcontentsline{loa}}{}{}
}
\makeatother
Sin embargo, quiero hacer lo mismo con las figuras de los apéndices para la lista de figuras. Por eso quiero excluir las figuras de los apéndices de mi lista de figuras y ponerlas en una lista separada. Nuevamente intenté hacer una lista. Sin embargo, esto no funciona. ¿Alguien me puede ayudar?
Lo intenté:
\newcommand{\listfigurename}{List of Figures Appendices}
\newlistof{figure}{lof}{\listfigurename}
\makeatletter
\xapptocmd{\@chapter}{\addcontentsline{lof}{figure}{\protect\numberline{\thechapter}#1}}{}{} % Add figures to the list of figures
\makeatother