tags 501520 +patch -wontfix
quit

Hi,

The problem is that RequirePackage{geometry} is called without any
arguments; that's where the error is coming from, not from the
\geometry invocation further down flashcards.cls. My patch (to the .dtx file from which the .cls is generated) shifts that invocation to after \ProcessOptions, so the paper size argument can be set.

Regards,

Matthew
--- /home/matthew/programming/latex/texlive-extra-2007.dfsg.17/texmf-dist/source/latex/flashcards/flashcards.dtx	2006-01-11 23:53:23.000000000 +0000
+++ flashcards.dtx	2010-07-22 14:54:40.000000000 +0100
@@ -47,7 +47,6 @@
 %<avery5371>\ProvidesFile{avery5371.cfg}
 %<avery5388>\ProvidesFile{avery5388.cfg}
 %<flashcards>\RequirePackage{ifthen}
-%<flashcards>\RequirePackage{geometry}
 %<flashcards>\LoadClass{article}
 %
 %<*driver>
@@ -417,6 +416,7 @@
     \OptionNotUsed}}
 \ProcessOptions
 \pagestyle{empty}
+%<flashcards>\RequirePackage[\cardpaper]{geometry}
 %    \end{macrocode}
 %
 % \subsection*{Setup Paper}

Reply via email to