I'm writing a thesis and I have over hundred figures and tables in the appendix. But I don't want them to appear in List of figures / List of tables. - But I want the appendices and sections to appear in the table of content.
\documentclass[a4paper,12pt,icelandic]{report}
\usepackage[toc,page]{appendix}
\begin{document}
\tableofcontents
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\listoftables
\addcontentsline{toc}{chapter}{List of tables}
\chapter{Chapter 1}
\section{Section 1, chapter 1}
\section{Section 2, chapter 1}
\appendix
\addcontentsline{toc}{chapter}{Appendices}
\chapter{First appendix}
\section{Section 1}
\begin{figure} % DON'T WANT THIS TO APPEAR IN LIST OF FIGURES
\centering
\includegraphics[width=1\linewidth]{figure.png}
\caption{Caption of figure}
\label{Label of figure}
\end{figure}
\begin{table} % DON'T WANT THIS TO APPEAR IN LIST OF TABLES
\begin{tabular}{|c|c|}
\hline One & Two \\
\hline Three & Four \\
\hline
\end{tabular}
\caption{Caption of table}
\label{Label of table}
\end{table}
\end{document}