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 13:22:17 +0200	[thread overview]
Message-ID: <9C86B8E2-6E40-4CB4-B4EE-6D6BAD711D5B@googlemail.com> (raw)
In-Reply-To: <AB84B5E9-A58B-45F6-B7BD-E767429D5275@me.com>


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


Am 17.07.2011 um 13:16 schrieb Jeong Dalyoung:

> Dear Wolfgang,
> 
> Thank you for the solutions.
> 
> But for the question 2, I didn't explain well what I want to.
> 
> Actually, the codes
> 
>>> 
>>> \def\circlednum#1{\uchar{36}{95+#1}}
>>> \defineconversion[cnum][\circlednum]
>> 
> working well by saying that \startitemize[cnum][stopper=] ...
> And, your suggested method works well, too.
> 
> My question is that is it able to define new itemize  header, for example, circled number using \defineitemgroup so that I got  circled number in the 3rd level automatically without saying that \startitemize[cnum].
> In the wiki, 
>   \defineitemgroup[ltxitm][levels=5]
>   %
>   \setupitemgroup[ltxitm][1][1]
>   \setupitemgroup[ltxitm][2][2]
>   \setupitemgroup[ltxitm][3][3,packed]
>   \setupitemgroup[ltxitm][4][4,packed]
>   \setupitemgroup[ltxitm][5][5,packed]
>   %
> I tried to define the third level with "cnum", but it is not working. Some official documents has their own numbering system. In that case, it is very convenient to define new itemgroup following its rule and forget defining the symbol for each level every time.
> There is no problem to use predefined symbols but I couldn't succeed to insert my defined symbol for some level.
> Is there a way to do that?

\setupitemgroup[ltxitm][3][circlednumber,packed][stopper=]

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 5352 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:[~2011-07-17 11:22 UTC|newest]

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

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=9C86B8E2-6E40-4CB4-B4EE-6D6BAD711D5B@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).