ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: strange behavior of startbackground
Date: Mon, 05 Dec 2005 10:05:18 +0100	[thread overview]
Message-ID: <439402CE.5000402@wxs.nl> (raw)
In-Reply-To: <4393EE02.405@gmail.com>

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

  parent reply	other threads:[~2005-12-05  9:05 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-05  7:36 Xiao Jianfeng
2005-12-05  7:43 ` Xiao Jianfeng
2005-12-05  9:07   ` Hans Hagen
2005-12-05 12:46     ` Xiao Jianfeng
2005-12-05 14:33       ` Hans Hagen
2005-12-06  2:04         ` Xiao Jianfeng
2005-12-06  2:29           ` Xiao Jianfeng
2005-12-08 12:36             ` Patrick Gundlach
2005-12-08 15:35               ` Chinese (was:Re: strange behavior of startbackground) Tobias Burnus
2005-12-08 20:26                 ` Chinese Tobias Burnus
2005-12-08 22:11                   ` Chinese Patrick Gundlach
2005-12-09  2:19                   ` Chinese Xiao Jianfeng
2005-12-09 10:53                     ` Chinese Tobias Burnus
2005-12-09 13:46                       ` Chinese Xiao Jianfeng
2005-12-09 14:03                         ` Chinese Tobias Burnus
2005-12-09 14:19                           ` Chinese Xiao Jianfeng
2005-12-09 14:24                           ` Chinese Xiao Jianfeng
2005-12-09 15:01                             ` Chinese Tobias Burnus
2005-12-09 15:24                             ` Chinese Richard Gabriel
2005-12-12 15:53                               ` Chinese Hans Hagen
2005-12-12 21:15                                 ` Chinese Tobias Burnus
2005-12-14 22:19                                   ` Chinese Hans Hagen
2005-12-13  9:14                                 ` Chinese Richard Gabriel
2005-12-13  9:55                                   ` Chinese Hans Hagen
2005-12-13 10:31                                   ` Chinese Xiao Jianfeng
2005-12-09 14:43                           ` Chinese Adam Lindsay
2005-12-09 15:30                             ` Chinese Tobias Burnus
2005-12-12 12:29                               ` Chinese Hans Hagen
2005-12-06  2:29           ` strange behavior of startbackground Xiao Jianfeng
2005-12-05  7:48 ` Xiao Jianfeng
2005-12-05  7:52 ` Xiao Jianfeng
2005-12-05  8:50 ` Taco Hoekwater
2005-12-05  9:05 ` Hans Hagen [this message]
2005-12-05 12:37   ` Xiao Jianfeng
2005-12-05 14:35     ` Hans Hagen

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=439402CE.5000402@wxs.nl \
    --to=pragma@wxs.nl \
    --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).