From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Help watned for numbered descriptions
Date: Thu, 3 Dec 2009 19:31:49 +0100 [thread overview]
Message-ID: <9322A814-5701-4C0E-A107-6497E64A0FA9@gmail.com> (raw)
In-Reply-To: <4B143951.9000702@wxs.nl>
Hi all,
I put the solution given by Hans on the wiki under the keyword « proclaim » but didn't know how to make a cross link between this entry and other relevant entries such as \defineenumeration.
Here is the link:
http://wiki.contextgarden.net/proclaim
Best regards: OK
On 30 nov. 2009, at 22:29, Hans Hagen wrote:
> Otared Kavian wrote:
>> Hi Hans, Aditya,
>> Many thanks for your attention: the solution suggested by Aditya is very satisfactory for the time being, as far as one uses mkii.
>> I added an entry on the wiki about proclaim:
>> http://wiki.contextgarden.net/proclaim
>> However, as Hans says, there is a slight problem with mkiv and the way things get numbered.
>
> i uploaded a beta
>
> \defineenumeration[one]
> \defineenumeration[two] [one] % clone one
> \defineenumeration[three] [counter=one,style=slanted] % only use counter of one
> \defineenumeration[four] [three] % clone three
> \defineenumeration[five] [three] [counter=five] % clone three and use own counter
> \defineenumeration[six] [three] [counter=four] % clone tree and use counter four (undefined)
>
> \setupenumerations[one] [prefix=yes,prefixsegments=section]
> \setupenumerations[two] [prefix=yes,prefixsegments=section]
> \setupenumerations[three][prefix=yes,prefixsegments=section]
> \setupenumerations[four] [prefix=yes,prefixsegments=chapter:section]
> \setupenumerations[five] [prefix=yes,prefixsegments=chapter:section]
> \setupenumerations[six] [prefix=yes,prefixsegments=chapter:section]
>
> \starttext
>
> \chapter{test}
>
> \startone test test 1 \stopone
> \starttwo test test 2 \stoptwo
> \startthree test test 3 \stopthree
> \startfour test test 4 \stopfour
> \startfive test test 1 \stopfive
> \startsix test test 1 \stopsix
>
> \chapter{test}
>
> \section{test}
>
> \startone test test 6 \stopone
> \starttwo test test 7 \stoptwo
> \startthree test test 8 \stopthree
> \startfour test test 9 \stopfour
> \startfive test test 2 \stopfive
> \startsix test test 2 \stopsix
>
> \stoptext
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2009-12-03 18:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-30 14:15 Otared Kavian
2009-11-30 16:49 ` Hans Hagen
2009-11-30 17:27 ` Aditya Mahajan
2009-11-30 18:34 ` Otared Kavian
2009-11-30 21:29 ` Hans Hagen
2009-12-01 5:10 ` Otared Kavian
2009-12-03 18:31 ` Otared Kavian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9322A814-5701-4C0E-A107-6497E64A0FA9@gmail.com \
--to=otared@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).