[NTG-context] problems with complexenumeration
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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to split margin note to the next page?
Hi, everybody Thank you for having helped me before, and I have a new problem here. When I was writing an article, I used margin to give some explanations. But the margin note is very very long, and eventually it appeares near the bottom of a page. So the output is awful, like: === \starttext \input knuth\par \input knuth\par \inright{\dorecurse{10}{\input knuth}}% \dorecurse{10}{\input knuth\par} \stoptext === Can margin be splitted to the next page automatically? -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] problems with complexenumeration
On Sat, 3 Mar 2007, [EMAIL PROTECTED] wrote: 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? Hi Robert, I have not looked into Taco's code carefully. But at first glance I do not see why it should not work. I can not test it right now. However, I am working on enhancing enumerations to have all the features needed for theorems. With what I have right now, you can do \defineenumeration[Casus][title=yes,titledistance=1ex,titleleft={Title: },titleright=] after which you can say, \startCasus[casus-166]{my title} to get the same result. You can also get end-of-proof markers. This is something that I am working on right now, but if you want to test it, I can send you the files. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context