From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24130 Path: news.gmane.org!not-for-mail From: Xiao Jianfeng Newsgroups: gmane.comp.tex.context Subject: Re: strange behavior of startbackground Date: Mon, 05 Dec 2005 20:37:00 +0800 Message-ID: <4394346C.40804@gmail.com> References: <4393EE02.405@gmail.com> <439402CE.5000402@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133786377 4432 80.91.229.2 (5 Dec 2005 12:39:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2005 12:39:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 05 13:39:31 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 1EjFbO-0000KM-7I for gctc-ntg-context-518@m.gmane.org; Mon, 05 Dec 2005 13:37:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 05AC41285D; Mon, 5 Dec 2005 13:37:54 +0100 (CET) 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 10051-04-5; Mon, 5 Dec 2005 13:37:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 93E6512813; Mon, 5 Dec 2005 13:37:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CF48612813 for ; Mon, 5 Dec 2005 13:37:49 +0100 (CET) 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 10051-04-4 for ; Mon, 5 Dec 2005 13:37:48 +0100 (CET) Original-Received: from sunm.shcnc.ac.cn (sunm.shcnc.ac.cn [159.226.128.8]) by ronja.ntg.nl (Postfix) with SMTP id 8EF5C127FC for ; Mon, 5 Dec 2005 13:37:46 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by sunm.shcnc.ac.cn (4U Message Server) with ESMTP id ED84F10FC0DE for ; Mon, 5 Dec 2005 21:39:24 +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 A2F6710FC0D8 for ; Mon, 5 Dec 2005 21:39:22 +0800 (CST) User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <439402CE.5000402@wxs.nl> 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24130 Archived-At: Hans Hagen wrote: > Xiao Jianfeng wrote: > >> Hello, >> >> I came across a problem when I was trying to compile my tex file. >> The attached file is an example. >> >> I have to process Chinese, so "\loadmapfile[gbk]" and >> "\usemodule[chinese]" are essential. >> >> I'm using the lastest release of ConTeXt. >> ConText ver:2005.12.01, texExec 5.4.3, to be exact. >> And I use "texmfstart texexec.pl --autopdf --pdf test2.tex" to compile >> my source file. >> >> The problem is there is enough space in page 2 for the words between >> \startbackground and \stopbackground, but the background block was put >> on page 3 with most of the page 2 was left blank. >> >> And there is another small problem, the command \setupindenting[medium] >> didn't work. >> >> > \setupindenting[medium,yes] % yes enables it Thanks, Hans! This command does enables indentation except the first line after a \subject or \subsubject. Is this a bug or ConTeXt was designed to do so ? One more question, can I set up indenting for English and Chinese separately ? The firstly line of every paragraph needs to be indented usually in China, but in English it doesn't. > > Concerning the background ... > > \setupinterlinespace[medium] > > is different from for instance > > \setupinterlinespace[line=20pt] > This solved my problem, thanks again. > The first case is used for a (more or less) temporary increase and > leaves \lineheight untouched; this means that lineheight related > settings stay as they are, which is intended behavour: consider for > instance a situation where one wants to have a draft copy with a > larger line distance but at the same time wants to keep (lineheight > related) graphics untouched. > > In your case, you want it as a stye/document property, and so it's > better to use the second method. > > Now, concerning backgrounds: i need to fix that for the first case > (use \openlineheight instead of lineheight in calculations) [you may > enter an bug entry in the collector] > > For the moment use \setupinterlinespace[line=20pt] or something like that > > Hans > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >