slatex / sTeX

A semantic Extension of TeX/LaTeX
49 stars 9 forks source link

cannot give the lang=de to German problems #313

Closed kohlhase closed 2 years ago

kohlhase commented 2 years ago

In the Problems, e.g. in MathHub/MiKoProblems/IWGS/source/regex/mod/regex_morse_code.de.tex, I currently have

\documentclass{article}
\usepackage[lang=de,solutions,notes,hints,pts,min,noauxreq]{problem}
\libinput{preamble}

but this does not load the german babel (presumably, since stex.sty takes care of this and the option is not passed on.

Jazzpirate commented 2 years ago

This seems to be solved by now?

kohlhase commented 2 years ago

No, it is not, problem.sty does not take a lang option.

Jazzpirate commented 2 years ago

problem.dtx line 86f says unknown .code:n {\PassOptionsToPackage{\CurrentOption}{stex}}, and the above file in MiKoProblems seems to work fine...?

kohlhase commented 2 years ago

indeed. closing