Dear Friends,
For about a year and a half I have been using Taco's macro for theorems.
I use it in the following way:
\startCasus[casus-166][Title: my title]
text text text
\stopCasus
The result ought to be:
Casus 1. Title: my title
The macro has been working fine, but recently it does not print the title
anymore, leaving only Casus 1. I badly need it working for my courses.
Has anyone any suggestions?
Kind regards,
Robert
\unprotect
\def\dododefinecomplexenumeration#1#2#3%
{\setvalue{\e!start#1#2}%
[EMAIL PROTECTED] dostart#1#2\endcsname}%
\setvalue{dostart#1#2}[##1][##2]%
{\begingroup\setvalue{#2title}{##2}\getvalue{\e!start#1i#2}[##1]}%
\setvalue{\e!stop#1#2}{\getvalue{\e!stop#1i#2}\endgroup}}
\def\dodefinecomplexenumeration[#1][#2]%
{\defineenumeration[i#1]
[\c!text=#1,\c!stopper=\getvalue{do#1title},#2]%
\setvalue{do#1title}%
{\doifnotemptyvalue{#1title}{~(\getvalue{#1title})}}%
\dododefinecomplexenumeration{}{#1}{#2}%
\dododefinecomplexenumeration{\v!sub}{#1}{#2}%
\dododefinecomplexenumeration{\v!sub\v!sub}{#1}{#2}%
\dododefinecomplexenumeration{\v!sub\v!sub\v!sub}{#1}{#2}}
\def\definecomplexenumeration{\dodoubleempty\dodefinecomplexenumeration}
\protect
\definecomplexenumeration[Casus]
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context