So, I want to "include" a counter in a filename variable to load the figures.
Something like,
Code: Select all
\newcounter{count_figs}
Some text here
\begin{figure}[h]
\centering
\includegraphics[width=0.5\textwidth]{images\value{count_figs}+".eps"}}
\caption{A caption here}
\end{figure}
Obviously, the part \value{count_figs}+".eps" doesn't work.
I've tried any possible way I could think of but I have no idea if this is possible at all.
I would appreciate any suggestions.