From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: nesting \startitemize
Date: Sun, 7 Oct 2007 16:04:40 -0400 (EDT) [thread overview]
Message-ID: <alpine.WNT.0.9999.0710071604060.3112@nqvgln> (raw)
In-Reply-To: <20071007193904.GH24077@obiit.org>
On Sun, 7 Oct 2007, frantisek holop wrote:
> hmm, on Sun, Oct 07, 2007 at 09:02:34PM +0200, Mojca Miklavec said that
>> \setupitemize[1][n]
>> \setupitemize[2][a][left=(,right=),stopper=]
>> \setupitemize[3][i]
>> \setupitemize[4][1] % symbol nr. 1
>
> ok, i would like to create 2 types of itemizations like in latex.
> \begin{enumarate} vs \begin{itemize} (or in html <ol> vs <ul>)
>
> \begin{itemize} is basically \startitemize
>
> how would i go about defining \startenumarate ?
> i thought of something like this, but it's not working:
\defineitemgroup [enum] [levels=6]
\setupitemgroup[enum][1][n]
\setupitemgroup[enum][2][a][left=(,right=),stopper=]
% etc..
\starttext
\startenum
\item one
\startenum
\item two
\stopenum
\stopenum
\stoptext
Aditya
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2007-10-07 20:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-07 18:02 frantisek holop
2007-10-07 19:02 ` Mojca Miklavec
2007-10-07 19:08 ` frantisek holop
2007-10-07 19:39 ` frantisek holop
2007-10-07 20:04 ` 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.WNT.0.9999.0710071604060.3112@nqvgln \
--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).