From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Reverse numbering for enumerations?
Date: Fri, 9 Dec 2011 18:32:50 +0100 [thread overview]
Message-ID: <C7B3CF18-C974-47E2-801A-417E14E1921D@gmail.com> (raw)
Hi all,
When using
\startitemize[n,reverse]
one gets items numbered in reverse order. I wonder if this feature exists also for enumerations. An example is given below in which the last enumeration is written on top of the file and I wish it were possible to have the enumerations numbered in reverse order.
Thanks in advance for any insight: OK
PS: here is an example file:
%%%% enumeration-reverse.tex
\defineenumeration[Lecture]
[location=hanging,
text={Lecture n°},
between=,
before=,
stopper={.},
after= {\hrule\blank}]
\setupenumerations[Lecture][number=yes]
% \setupenumerations[Lecture][numbering=reverse] % this has no effect though…
\starttext
\startLecture Tuesday December 6th: Banach spaces.
\startitemize[n]
\item First subject.
\item Second subject.
\stopitemize
\stopLecture
\startLecture Tuesday November 29th: Norms.
\startitemize[n]
\item First subject.
\item Second subject.
\stopitemize
\stopLecture
\startLecture Tuesday November 22nd: Topological Vector Spaces.
\startitemize[n]
\item First subject.
\item Second subject.
\stopitemize
\stopLecture
\stoptext
%%% end enumeration-reverse.tex
___________________________________________________________________________________
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-09 17:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=C7B3CF18-C974-47E2-801A-417E14E1921D@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).