From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20883 Path: news.gmane.org!not-for-mail From: Xiao Jianfeng Newsgroups: gmane.comp.tex.context Subject: Re: How to indent the first paragraph in Chinese processing ? Date: Thu, 16 Jun 2005 11:15:41 +0800 Message-ID: <42B0EEDD.40702@sibs.ac.cn> References: <42AEEECB.1060900@sibs.ac.cn> <20050614153759.GB5051@puritan.pnetwork> <42AF8D55.50808@sibs.ac.cn> <20050615130424.GA5046@puritan.pnetwork> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1118891549 2500 80.91.229.2 (16 Jun 2005 03:12:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2005 03:12:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 16 05:12:19 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Diknf-0006OR-23 for gctc-ntg-context-518@m.gmane.org; Thu, 16 Jun 2005 05:12:15 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9EF7127D9; Thu, 16 Jun 2005 05:17:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14888-03; Thu, 16 Jun 2005 05:17:16 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A59E4127C7; Thu, 16 Jun 2005 05:17:16 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4803C127C7 for ; Thu, 16 Jun 2005 05:17:15 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14870-03 for ; Thu, 16 Jun 2005 05:17:14 +0200 (CEST) Original-Received: from sunm.shcnc.ac.cn (sunm.shcnc.ac.cn [159.226.128.8]) by ronja.ntg.nl (Postfix) with SMTP id 51EFB1279D for ; Thu, 16 Jun 2005 05:17:09 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by sunm.shcnc.ac.cn (4U Message Server) with ESMTP id 7B07A594026 for ; Thu, 16 Jun 2005 11:23:16 +0800 (CST) Original-Received: from [202.127.19.74] (unknown [202.127.19.74]) by sunm.shcnc.ac.cn (4U Message Server) with ESMTP id 75BCD594091 for ; Thu, 16 Jun 2005 11:23:15 +0800 (CST) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050615130424.GA5046@puritan.pnetwork> X-Virus-Scanned: by AMaViS 0.3.12 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20883 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20883 Nikolai Weibull wrote: > Xiao Jianfeng wrote: > > >>Nikolai Weibull wrote: > > >>>Xiao Jianfeng wrote: > > >>>>Could someone give me some hints about how to indent the first >>>>paragraph in Chinese processing ? > > >>>Is this about setting the indentnext option to no perhaps? > > >>Normally, all paragraphs are indented in Chinese documents. But when I >>use "\setupindenting[first,medium]" to setup indentation for every >>paragraph, it has no effect on the first paragraph at all. I can't >>change the indentation even I put "indenting[...]" before the first >>paragraph. > > > Yes, I get the same results. \indent doesn't work either. > > I took a look on the code dealing with \setupindenting and it seems as > if first is being processed correctly. The problem seems to be in > \presetindentation, and redefining it slightly seems to help: > > \setupindenting > [first,medium] > \def\presetindentation > {\ifindentfirstparagraph\doindentation\else\noindentation\fi} > \starttext > \chapter{First} > \input tufte > \stoptext > > I don't in any way guarantee that this is the right way to solve it, but it > works, > nikolai > Thanks ! It works :) Xiao Jianfeng