ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
Subject: Re: custom itemize
Date: Fri, 04 Aug 2006 17:48:30 +0200	[thread overview]
Message-ID: <44D36C4E.2060902@nibua-r.org> (raw)
In-Reply-To: <44D35FF3.7040405@elvenkind.com>


% frenchitemize
\setbox0=\hbox{--~}
\def\indenteddash#1{\hskip\parindent--~}
\definesymbol[indentdash][\indenteddash]
\def\startfrenchitemize{\startitemize[indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr
\parindent + \wd0 \relax]}
\def\stopfrenchitemize{\stopitemize}

% frenchenumerate
\setbox1=\hbox{0.~}
\def\indentedfrenchnumber#1{\hskip\parindent#1.~}
\defineconversion[frenchnumber][\indentedfrenchnumber]
\def\startfrenchenumerate{\startitemize[frenchnumber,packed,joinedup,intext][stopper={},indentnext=yes,width=\dimexpr
\parindent + \wd1 \relax]}
\def\stopfrenchenumerate{\stopitemize}

% default behavior of itemize (frenchitemize)
\setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr
\parindent + \wd0 \relax]

  reply	other threads:[~2006-08-04 15:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04 14:14 Renaud AUBIN
2006-08-04 14:55 ` Taco Hoekwater
2006-08-04 15:48   ` Renaud AUBIN [this message]
2006-08-07 17:16     ` Aditya Mahajan

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=44D36C4E.2060902@nibua-r.org \
    --to=aubin@nibua-r.org \
    --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).