[pstricks] General question about loops
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Wed Nov 16 22:22:46 CET 2011
Toche, Patrick schrieb:
> ERROR MESSAGE:
>
> ! LaTeX Error: File `"Name1.ps"' not found.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.14 ...name}{\List}{\insertfigure{\name}\endgraf}
>
> CODE COMPILED WITH LATEX:
>
> \documentclass{beamer}
> \usepackage{pstricks}
> \newcommand*\List{%
> OddName.ps,
> FunnyName.ps
> }%
>
> \newcommand\insertfigure[1]{%
> \includegraphics[width=\textwidth]{"#1"}}
try it without the "
\includegraphics[width=\textwidth]{#1}}
or alternetively load package grffile
Herbert
>
> \begin{document}
> \psforeach{\name}{\List}{\insertfigure{\name}\endgraf}
> \end{document}
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>
Herbert
More information about the PSTricks
mailing list