Closed muelli closed 5 years ago
Thanks for the report. I will fix that next week.
It has to be DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
FWIW: It seem that this change makes it work for me:
diff --git a/lni.cls b/lni.cls
index d352582..302801f 100644
--- a/lni.cls
+++ b/lni.cls
@@ -51,7 +51,8 @@
\nofontsfalse
\DeclareOption{nofonts}{\nofontstrue}
\ExecuteOptions{utf8}
-\DeclareOption*{\ClassWarning{Option `\CurrentOption` is not supported!}}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+% \DeclareOption*{\ClassWarning{Option `\CurrentOption` is not supported!}}
\ProcessOptions\relax
\RequirePackage{iftex}
\ifPDFTeX
Well yes, that's what I meant in my comment.
I have a trivial document:
and the unknown option causes havoc:
That's very unfortunate, because I would like to use
final
ordraft
globally for other packages I'm using, e.g. todonotes. Now I can't usefinal
, because then the class chokes.