From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24119 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: strange behavior of startbackground Date: Mon, 05 Dec 2005 10:05:18 +0100 Message-ID: <439402CE.5000402@wxs.nl> References: <4393EE02.405@gmail.com> 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 1133773615 31818 80.91.229.2 (5 Dec 2005 09:06:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2005 09:06:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 05 10:06:53 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 1EjCHp-0005t2-RE for gctc-ntg-context-518@m.gmane.org; Mon, 05 Dec 2005 10:05:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D768C12810; Mon, 5 Dec 2005 10:05:27 +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 07620-06; Mon, 5 Dec 2005 10:05:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D4085127F3; Mon, 5 Dec 2005 10:05:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A4F09127F3 for ; Mon, 5 Dec 2005 10:05:22 +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 07718-06 for ; Mon, 5 Dec 2005 10:05:21 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id A18FB12791 for ; Mon, 5 Dec 2005 10:05:19 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 6419 for ; Mon, 05 Dec 2005 10:10:55 +0300 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: <4393EE02.405@gmail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:24119 Archived-At: 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 Concerning the background ... \setupinterlinespace[medium] is different from for instance \setupinterlinespace[line=20pt] 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