ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Increment an item number?
Date: Tue, 14 Feb 2012 13:39:45 +0100	[thread overview]
Message-ID: <D72B3C1D-687D-4518-81C3-E56F5DEF9043@gmail.com> (raw)
In-Reply-To: <CAPGiC768sB0G=ySfezvtq0RCLG7iZJuLuT0T3baxRx6MV9wxWA@mail.gmail.com>


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

Hi Alasdair,

Maybe the following gives you what you want?

\starttext
\startitemize[n]
\item First question
\phantom{\item }
\item Third question
\phantom{\item }
\item Fifth question
\item Sixth question
\stopitemize
\stoptext

Best regards: OK

On 14 févr. 2012, at 06:27, Alasdair McAndrew wrote:

> What is the ConTeXt version of the LaTeX
> 
> \addtocounter{enumi}{1} ?
> 
> I want to increment my numbering in an itemize environment, so that the list is typeset as
> 
> 1.  First item
> 2.  Next item
> 3.  Another item
> 5.  Yet another
> 6.  And so on
> 
> I'm typing out solutions to questions in some student notes, and the missing item is a question for which a written solution is not necessary.
> 
> Thanks,
> Alasdair
> 
> -- 
> Blog: http://amca01.wordpress.com
> Web:  http://sites.google.com/site/amca01/
> Facebook: http://www.facebook.com/alasdair.mcandrew
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 2528 bytes --]

[-- 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:[~2012-02-14 12:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-14  5:27 Alasdair McAndrew
2012-02-14 12:39 ` Otared Kavian [this message]
2012-02-14 12:48   ` Hans Hagen
2012-02-14 16:27     ` Thomas A. Schmitz
2012-02-15  0:10       ` Alasdair McAndrew

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=D72B3C1D-687D-4518-81C3-E56F5DEF9043@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).