Jürgen Spitzmüller schrieb:
Herbert Voss wrote:
And TLC2 doesn't say that it should be used only with \DeclareOption.
It should be used in any case, where a document class and a user may
load the same package with different options.

Both clsguide and TLC2 are at least ambigouous in their statements:
http://tex.loria.fr/ctan-doc/macros/latex/doc/html/clsguide/node31.html

The following example works only with the uncommented first line.
It is the same situation as for sugfig and LyX and of course
for other packages.

%\PassOptionsToPackage{demo}{graphicx}
\documentclass{beamer}

\usepackage[demo]{graphicx}

\begin{document}

\begin{frame}{foo}{bar}
\includegraphics{baz}
\end{frame}

\end{document}


Herbert

Reply via email to