fix wrong usage of X options

This commit is contained in:
Maximilian Keßler 2021-10-08 20:10:55 +02:00
parent 250ec8916c
commit 9f183d079b
3 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ __NEW_IF__(defaulttheorems,true)
} }
%%%%% Option section %%%%% Option section
__LANGUAGE_OPTIONS__ __LANGUAGE_OPTIONS_X__
\DeclareOptionX{showdaggers}{\setkeys{__PACKAGE_NAME__}{__PACKAGE_PREFIX__showdaggers=#1}} \DeclareOptionX{showdaggers}{\setkeys{__PACKAGE_NAME__}{__PACKAGE_PREFIX__showdaggers=#1}}
\DeclareOptionX{ownenvironments}{\setkeys{__PACKAGE_NAME__}{ownenvironments=#1}} \DeclareOptionX{ownenvironments}{\setkeys{__PACKAGE_NAME__}{ownenvironments=#1}}

View file

@ -28,7 +28,7 @@ __HEADER__(Package for managing different lectures within a document)
\RequirePackage{xkeyval} \RequirePackage{xkeyval}
__LANGUAGE_OPTIONS__ __LANGUAGE_OPTIONS_X__
__NEW_IF__(fancyhead,false) __NEW_IF__(fancyhead,false)
\DeclareOptionX{fancyhead}{__SET_IF__(fancyhead,true)} \DeclareOptionX{fancyhead}{__SET_IF__(fancyhead,true)}

View file

@ -1,7 +1,7 @@
__HEADER__(Package to easily print bibliography and image attributions in document) __HEADER__(Package to easily print bibliography and image attributions in document)
\RequirePackage{xkeyval} \RequirePackage{xkeyval}
__LANGUAGE_OPTIONS__ __LANGUAGE_OPTIONS_X__
\def__PACKAGE_MACRO__(bibfile){bibliography.bib} \def__PACKAGE_MACRO__(bibfile){bibliography.bib}
\def__PACKAGE_MACRO__(imagefile){images.bib} \def__PACKAGE_MACRO__(imagefile){images.bib}