Ticket #1647 (new defect)
make statements-babel.sty
| Reported by: | kohlhase | Owned by: | kohlhase |
|---|---|---|---|
| Priority: | normal | Milestone: | robust sTeX |
| Component: | STeX/sty | Version: | trunk |
| Severity: | major | Keywords: | |
| Cc: | tpfeiffer | Blocked By: | |
| Blocking: | Due to close: | YYYY/MM/DD | |
| Include in GanttChart: | no | Dependencies: | |
| Due to assign: | YYYY/MM/DD |
Description
sTeX is starting to be used outside Jacobs. So we need multi-language support. This is most conspicuous in the statements package, which generates keywords like Lemma and Conjecture, which are language-dependent. The statements package already makes these configurable, but they should be configurable with babel support.
So I guess the right thing to be would be to do two things:
- define language-dependent default mapping to the configuration keywords: \def\st@theorem@kw{\iflanguge{german}Satz\fi\iflanguage...}. This should probably only be done when babel is loaded or if the babel option is given. I am not sure what the right user interface is here.
- have a user-visible configuration macro with which the user can override this default. E.g. \STconfigureKW{conjecture}{Vermutung}.
I will only implement this (help wanted), when I understand what we need here completely. So please give me feedback.
Maybe we should think about multi-lingual extension of sTeX as a whole. There may well be other places, where babel support is needed.
