From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70063 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: about suppressing prefix in section number Date: Sun, 17 Jul 2011 13:22:17 +0200 Message-ID: <9C86B8E2-6E40-4CB4-B4EE-6D6BAD711D5B@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary="===============1050558102==" X-Trace: dough.gmane.org 1310901766 15342 80.91.229.12 (17 Jul 2011 11:22:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 17 Jul 2011 11:22:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 17 13:22:40 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QiPQm-0008Sk-19 for gctc-ntg-context-518@m.gmane.org; Sun, 17 Jul 2011 13:22:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5E929CAE5F; Sun, 17 Jul 2011 13:22:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VPwSAO2dLJ1W; Sun, 17 Jul 2011 13:22:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E722CAE50; Sun, 17 Jul 2011 13:22:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CE83CAE50 for ; Sun, 17 Jul 2011 13:22:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id enWZAhPwNSAq for ; Sun, 17 Jul 2011 13:22:32 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 91010CAE4B for ; Sun, 17 Jul 2011 13:22:32 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6HBMVSq013635 for ; Sun, 17 Jul 2011 13:22:32 +0200 Original-Received: by fxe23 with SMTP id 23so4599668fxe.15 for ; Sun, 17 Jul 2011 04:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=sYpzQyHHdLRo+HFlZNopnykwqmyvU0LwL0wxPWqlyao=; b=kIPngkeKqO8Ue/4OJc2+iD5m4qXo5oSGNfdHQi6d97RCYkvBkUJMEVk5HeEXrXYwIu KbGku4Ga+QXFBMXYY0oX+fE08q3vBZDu+WHF4IX9cQpv6x50UqXm5qBNjYyhKLLaAbNG UgwTgLxGhAtewLLav7/VBL+omF18RMx3uNpMk= Original-Received: by 10.223.145.6 with SMTP id b6mr8350572fav.2.1310901751835; Sun, 17 Jul 2011 04:22:31 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482DC2B.dip.t-dialin.net [84.130.220.43]) by mx.google.com with ESMTPS id a18sm2143054faa.30.2011.07.17.04.22.25 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jul 2011 04:22:31 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06F8Xmws7 - 9e787301dbfb - 20110717 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70063 Archived-At: --===============1050558102== Content-Type: multipart/alternative; boundary=Apple-Mail-1--265428049 --Apple-Mail-1--265428049 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 17.07.2011 um 13:16 schrieb Jeong Dalyoung: > Dear Wolfgang, >=20 > Thank you for the solutions. >=20 > But for the question 2, I didn't explain well what I want to. >=20 > Actually, the codes >=20 >>>=20 >>> \def\circlednum#1{\uchar{36}{95+#1}} >>> \defineconversion[cnum][\circlednum] >>=20 > working well by saying that \startitemize[cnum][stopper=3D] ... > And, your suggested method works well, too. >=20 > 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,=20 > \defineitemgroup[ltxitm][levels=3D5] > % > \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=3D] Wolfgang --Apple-Mail-1--265428049 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
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=3D] ...
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][levels=3D5]
  %
  ][1]]
  ][2]]
  ][3]]
  ][4]]
  ][5]]
  %
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?

\setupitemgr= oup[ltxitm][3][circlednumber,packed][stopper=3D]

= Wolfgang

= --Apple-Mail-1--265428049-- --===============1050558102== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1050558102==--