From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1421 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: About setuphead Date: Wed, 08 Dec 1999 12:29:23 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.19991208122923.01519100@pop.wxs.nl> References: <3.0.6.32.19991207210142.009d3200@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035392249 32707 80.91.224.250 (23 Oct 2002 16:57:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:57:29 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Zhang Xiang-sun In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:1421 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1421 At 01:31 PM 12/8/99 +0800, Zhang Xiang-sun wrote: >\starttext >\chapter{some chinese} >\section{other chinese} >\stoptext > >it will be produce > >\chinesenumber{1} some chinese >\chinesenumber{1}.\chinesenumber{1} other chinese > >Here I use \chinesenumber{1} stand for the really chinese number >in output. My question is: > >How to setuphead so that the output is something like follows: > >\uchar{181}{218}\chinesenumber{1}\uchar{213}{194} some chinese >1.1 other chinese The \chinesenumber will expand in the proper way, so no \uchar is needed here. The number macro adapts itself to simplified or traditional chinese. >I try to comment the line in lang.chi, > >\stelsectiein[\v!sectionlevel-1][\c!conversie=\s!chinese] >%D\stelsectiein[\v!sectionlevel-2][\c!conversie=\s!chinese] level 1 is 'part' level 2 is 'chapter' etc so you have to uncomment level 2 Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------