From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/378 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Bug in \defineenumeration Date: Fri, 02 Apr 1999 15:14:11 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3704C2A3.1D9587F1@wxs.nl> References: <000901be7c43$0ca44da0$0c01a8c1@worf.login-bv.com> <14083.39512.709590.260550@localhost> <370393BA.325EBB36@wxs.nl> <14083.45300.460416.962786@localhost> <3703A098.3163B607@wxs.nl> <14084.43257.962632.878200@localhost> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391242 23615 80.91.224.250 (23 Oct 2002 16:40:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:40:42 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Taco Hoekwater Xref: main.gmane.org gmane.comp.tex.context:378 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:378 Taco Hoekwater wrote: The current numbering scheme is based on a tree like structure. Some commands permit turning prefix numbers on/off, others don't. This has to do with forcing consistency. In your case, paragraaf=ja does not work that way. Would it do, then something else would be inconsistent. When I come to 'documenting' and 'optimizing' this part of context, I'll extend the mechanisms involved to support this kind of reverse prefixing (down->top settings). For the moment, you need to play around a bit with numbers yourself. A paragraph is a section-3 level heading. You can turn the prefix off at every level. Next you can call for the paragraph number. By assigning it to 'links' (left) it is put left of the number, and the period is added there too. Concerning the related things: Define one parent and let all the others hang on that one. The kap can be realized by using uppercase strings and switching to the smaller typeface. Remind me to put this example in the manual! \doornummeren [definition] [tekst=DEFINITION, links={\stelsectiein[sectie-3][vorigenummer=nee]\kopnummer[paragraaf].}, letter=klein, breedte=ruim, sectienummer=nee, wijze=pertekst] \doornummeren[theorem][definition][tekst=THEOREM] \doornummeren[lemma] [definition][tekst=LEMMA] \starttekst \hoofdstuk{alpha} \paragraaf {eerste} \starttheorem \input tufte \stoptheorem \startlemma \input tufte \stoplemma \startlemma \input tufte \stoplemma \startlemma \input tufte \stoplemma \startdefinition \input tufte \stopdefinition \paragraaf {tweede} \startdefinition \input tufte \stopdefinition \stoptekst ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------