Open kohlhase opened 1 month ago
I have started the process by creating two language definition files sTeX/tex/ldf/stexthm-{english,german}ldf
. Then others (e.g. the Slovenians) can contribute others.
I also tried to set up the ldf mechanism in stexthm.sty
by copying it from problem.sty
, but it does not work so I commented it out.
Generally I have the feeling that the ldf mechanism is quite different over the files, this could be
I have also renamed the keyword macros in beamerthemesTeX.sty
to be consistent with the new files. This makes the localization part starting at line 39 (almost, i.e. modulo the ldf mechanism) obsolete.
We currently have two places where theorem-like environments are defined:
stexthm.sty
, which is mostly used for SMGloM and papersbeamerthemsTeX.sty
which is used for learning objects (usingnotesslides.cls/sty
). The latter has some in-file (i.e. not*.ldf
-based) localization (only German).People are now working on German (Kohlhase/Agricola), French (Thierry), Slovenian (Potocnic/Bercic), and Hungarian (Zombori) sTeX content, so we need a solution here relatively soon.
I think we should merge the stuff from
beamerthemesTeX.sty
intostexthm.sty
and load the latter in the first. There must be a way to detect that we are inbeamer
to trigger the special treatment of theorems needed by that. Probably by\@ifpackageloaded
or so. But note thatnotesslides.cls/sty
only loadsbeamararticle.sty
(notbeamer.cls
) in notes mode.And when we should set up the
stex-thm.ldf
mechanism instexthm.sty
and ask the users to contribute the appropriate language definition files (for general sTeX as well).