ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Reverse numbering
Date: Tue, 13 Dec 2011 02:12:38 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.02.1112130209110.17645@nqv-gnoyrg> (raw)
In-Reply-To: <199B76C9-19E3-48AB-BEC8-E71B0040B6CE@gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 904 bytes --]

On Tue, 13 Dec 2011, Otared Kavian wrote:

>
> On 13 déc. 2011, at 07:39, Aditya Mahajan wrote:
>> […]
>> Untested, but
>>
>> \defineenumeration[Lecture][number=ReverseNumberOrder]
>>
>> should also work.
>>
>> Aditya
>
>
> Hi Aditya,
>
> Thanks for the hint, but unfortunately it does not work as expected: no numbers show up.
> Maybe there is a way by using « numberconversion », but I could not figure it out.

I don't remeber the exact syntax and don't have time to look it up, but 
check out my MAPS article on theorems (it is also a MyWay, I think). There 
is a way to couple numbers of different theorems (so that you get Theorem 
1, Lemma 2, Theorem 3, etc), and the same syntax should work for using a 
different counter.

Another approach could be to use

\defineenumeration[Lecture][...]
\setupnumber[Lecture][numberorder=reverse]

(again untested)

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2011-12-13  7:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 12:33 Otared Kavian
2011-12-12 13:03 ` Wolfgang Schuster
2011-12-12 14:40   ` Otared Kavian
2011-12-13  6:39     ` Aditya Mahajan
2011-12-13  6:57       ` Otared Kavian
2011-12-13  7:12         ` Aditya Mahajan [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=alpine.LNX.2.02.1112130209110.17645@nqv-gnoyrg \
    --to=adityam@umich.edu \
    --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).