ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: about suppressing prefix in section number
Date: Sun, 17 Jul 2011 07:32:53 +0200	[thread overview]
Message-ID: <A2B53EDF-71EB-49B5-8CAF-077246E6120B@googlemail.com> (raw)
In-Reply-To: <5C97FF85-AEA5-43DB-8D2F-91E2D91546B3@me.com>


Am 17.07.2011 um 02:04 schrieb Jeong Dalyoung:

> Hi,
> 
> Here are a few questions.
> 
> 1. The output of 
> 
> \section{one}
> \section{two}
> 
> is 
> 
> 1.1 one
> 1.2 two
> 
> But is it possible to suppress the prefix chapter number like 
> 
> 1 one
> 2 two 

\setuphead[section][sectionsegments=section]

> 2. When defining custom itemgroup, we can set each level using the predefined item headers, like n, r, 1, 2, ...., and it works fine.
> I am trying to use newly defined conversion, but I couldn't succeed. Is it possible to set an itemgroup using predefined item and custom made item head like
> 
> \def\circlednum#1{\uchar{36}{95+#1}}
> \defineconversion[cnum][\circlednum]

\defineconversion[circlednumber][①,②,③,④,⑤,⑥,⑦,⑧,⑨,⑩,⑪,⑫,⑬,⑭,⑮,⑯,⑰,⑱,⑲,⑳]

\setupbodyfont[cambria]

\starttext

\startitemize[circlednumber,broad][stopper=]
\dorecurse{20}{\item Item \recurselevel}
\stopitemize

\stoptext

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
___________________________________________________________________________________

  reply	other threads:[~2011-07-17  5:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-17  0:04 Jeong Dalyoung
2011-07-17  5:32 ` Wolfgang Schuster [this message]
     [not found] <mailman.1.1310896802.28378.ntg-context@ntg.nl>
2011-07-17 11:16 ` Jeong Dalyoung
2011-07-17 11:22   ` Wolfgang Schuster
2011-07-17 15:44 ` Jeong Dalyoung

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=A2B53EDF-71EB-49B5-8CAF-077246E6120B@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).