ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xiao Jianfeng <jfxiao@sibs.ac.cn>
Subject: Re: How to indent the first paragraph in	Chinese	processing ?
Date: Thu, 16 Jun 2005 11:15:41 +0800	[thread overview]
Message-ID: <42B0EEDD.40702@sibs.ac.cn> (raw)
In-Reply-To: <20050615130424.GA5046@puritan.pnetwork>

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

      reply	other threads:[~2005-06-16  3:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-14 14:50 Xiao Jianfeng
2005-06-14 15:37 ` Nikolai Weibull
2005-06-15  2:07   ` Xiao Jianfeng
2005-06-15 13:04     ` Nikolai Weibull
2005-06-16  3:15       ` Xiao Jianfeng [this message]

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=42B0EEDD.40702@sibs.ac.cn \
    --to=jfxiao@sibs.ac.cn \
    --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).