Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge stexthm.sty with beamerthemesTeX.sty and localize them. #429

Open
kohlhase opened this issue Jun 13, 2024 · 2 comments
Open

merge stexthm.sty with beamerthemesTeX.sty and localize them. #429

kohlhase opened this issue Jun 13, 2024 · 2 comments

Comments

@kohlhase
Copy link
Contributor

We currently have two places where theorem-like environments are defined:

  • stexthm.sty, which is mostly used for SMGloM and papers
  • beamerthemsTeX.sty which is used for learning objects (using notesslides.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 into stexthm.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 that notesslides.cls/sty only loads beamararticle.sty (not beamer.cls) in notes mode.

And when we should set up the stex-thm.ldf mechanism in stexthm.sty and ask the users to contribute the appropriate language definition files (for general sTeX as well).

@kohlhase
Copy link
Contributor Author

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

@kohlhase
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants