From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Start an itemized list with a given number
Date: Tue, 30 Dec 2014 19:10:04 +0100 [thread overview]
Message-ID: <D1188AEB-385C-4480-9B32-F212806158E7@gmail.com> (raw)
In-Reply-To: <9D86F619-2BCA-43DB-8D95-8096FBD72D5D@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1080 bytes --]
> Am 30.12.2014 um 18:38 schrieb Eric Gerard <eric.b.gerard@gmail.com>:
>
> Hello everybody and thanks in advance for your advice,
>
> I’m unable to find in the documentation and in the wiki the way to start an itemized list with a number different from 1, for instance with 3.
>
> What I want to achieve is something like:
>
> Insert the key
> Try to turn the key
> If key is working
> 3. Open the door
> If key is not working
> 3. Change key
> 4. Goto step 1
> So what is the way to start the list after « If key is not working » with the number 3 ?
You increment the number from a previous item with the “continue” keyword
and set a different value for the first item in a list with the “start” key.
\starttext
\startitemize[n,packed]
\item Insert the key
\item Try to turn the key
\stopitemize
If key is working
\startitemize[n,packed,continue]
\item Open the door
\stopitemize
If key is not working
\startitemize[n,packed][start=3]
\item Change key
\item Goto step 1
\stopitemize
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2929 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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-12-30 18:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-30 17:38 Eric Gerard
2014-12-30 18:09 ` Alan Bowen
2014-12-30 18:10 ` Wolfgang Schuster [this message]
2015-01-02 21:31 Eric Gerard
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=D1188AEB-385C-4480-9B32-F212806158E7@gmail.com \
--to=schuster.wolfgang@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).