ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: offset for enumeration counter
Date: Fri, 17 Sep 2010 13:11:00 +0200	[thread overview]
Message-ID: <20100917111100.GB1274@aides> (raw)
In-Reply-To: <3AE16734-5E06-4595-9BC3-27F35DDC9BAF@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1566 bytes --]

On 2010-09-17 <12:31:41>, Wolfgang Schuster wrote:
> \starttext
> 
> \startitemize[n][start=30]
> \dorecurse{4}{\item text}
> \stopitemize
> 
> \stoptext

Great, that's exactly what I was looking for. Now that we're at
it: actually the spec wants this on per-item basis. This would
amount to having another (apart from the reference) argument to
“\item”, e.g.

···8<····························································
\startitemize[n]
\item[n=1]  foo 
\item[n=2]  bar 
\item[n=3]  foo 
\item[n=5]  bar 
\item[n=8]  foo 
\item[n=13] bar 
\stopitemize
···8<····························································

Regardless of if there's a practical use for that: is this
possible as well without resorting  to repeated \setnumber'ing?

Philipp

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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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:[~2010-09-17 11:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-17 10:22 Philipp Gesang
2010-09-17 10:31 ` Wolfgang Schuster
2010-09-17 11:11   ` Philipp Gesang [this message]
2010-09-17 13:02     ` Wolfgang Schuster
2010-09-17 13:36       ` Philipp Gesang

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=20100917111100.GB1274@aides \
    --to=pgesang@ix.urz.uni-heidelberg.de \
    --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).