For a journal submission, I need a list of figure captions at the end of my manuscript but they explicitly asks not to include the figures themselves in the document.
I have added \listoffigures
at the end of the document and it does what it does. But, now, how do I keep the figures from being rendered?
\documentclass[man]{apa6}
% Essential manuscript parts
\title{Test}
\author{Test}
% Style list of figures
\usepackage[titles]{tocloft}
\renewcommand{\listfigurename}{Figure captions}
\cftpagenumbersoff{figure}
\renewcommand{\cftfigpresnum}{\itshape\figurename\enspace}
\renewcommand{\cftfigaftersnum}{.\space} \setlength{\cftfigindent}{0pt}
\setlength{\cftafterloftitleskip}{0pt}
\settowidth{\cftfignumwidth}{Figure 10.\quad}
\begin{document}
\maketitle
\begin{table}[htp]
\caption{Something}
\end{table}
\begin{figure}[htbp]
\centering
\caption{This is a figure.}
\end{figure}
\begin{figure}[htbp]
\centering
\caption{This is a figure.}
\end{figure}
\renewcommand{\listfigurename}{Figure captions}
\listoffigures
\end{document}
I have tried the comment
package and \excludecomment{figure}
but that eliminates the figure list as well.
I've tried adding the following to the preamble:
\renewcommand{\includegraphics}[2][]{}
\captionsetup[figure]{labelsep=none,labelformat=empty,textformat=empty}
This indeed removes the figures and captions on the final pages but leaves empty pages. Is there a way omit the empty pages?
Best Answer
A solution that requires a change in the file for the final version with only the list of figures.
You keep the line
commented out until you have the document in final form; the figures will be printed at the end. When your document is finished, uncomment the two lines and run LaTeX again.
Here's an example