Open kohlhase opened 2 years ago
For every sTeX environment that has a title= attribute, we have the problem that we often want to
title=
The problem is aggravated, if the title is exported into e.g. the table of contents or such things; e.g. for sfragment and assignment.
sfragment
assignment
We used to have the uses= attribute e.g. in sproblem, e.g. in MathHub/MiKoProblems/GenCS/source/machines/mod/VM-divider.en.tex, which has
uses=
sproblem
MathHub/MiKoProblems/GenCS/source/machines/mod/VM-divider.en.tex
\begin{sproblem}[uses={[MiKoMH/GenCS]{machines/mod?VM-imperative}}, title=Divider in $\VMlanguage$]
which specifies a \usemodule that is executed before the title= is executed.
\usemodule
We need something like this
For every sTeX environment that has a
title=
attribute, we have the problem that we often want toThe problem is aggravated, if the title is exported into e.g. the table of contents or such things; e.g. for
sfragment
andassignment
.We used to have the
uses=
attribute e.g. insproblem
, e.g. inMathHub/MiKoProblems/GenCS/source/machines/mod/VM-divider.en.tex
, which haswhich specifies a
\usemodule
that is executed before thetitle=
is executed.We need something like this