ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christopher Creutzig <christopher@creutzig.de>
Subject: Re: The whole (sub)section on a single page
Date: Tue, 06 Dec 2005 23:00:23 +0100	[thread overview]
Message-ID: <439609F7.6060600@creutzig.de> (raw)
In-Reply-To: <438EC26C.2050103@wxs.nl>

Hans Hagen wrote:
> Christopher Creutzig wrote:

>>The standard trick would be not to explicitly check some numbers but to
>>do what in low-level looks like
>>
>>\!!dimena=\ht0\advance\!!dimena\dp0%
>>\penalty10000\vskip\!!dimena\penalty10\vskip-\!!dimena
>>
>>Is there any nice ConTeXt way of doing the above?
>> 
>>
> 
> \testpage[1] % one line, [3] three lines

 Sure, but I'm not asking for n lines, but for a dimension. Oh, if I
read the source correctly, \testpage[0][\dimexpr\dp0+\ht0\relax] should
work, right?


Regards,
	Christopher

      reply	other threads:[~2005-12-06 22:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-12 23:55 Mojca Miklavec
2005-11-13 13:58 ` Taco Hoekwater
2005-11-14 18:11   ` Mojca Miklavec
2005-11-14 19:39     ` Hans Hagen
2005-11-15  8:15       ` Mojca Miklavec
2005-11-15  9:38         ` Hans Hagen
2005-12-01  8:35       ` Christopher Creutzig
2005-12-01  9:29         ` Hans Hagen
2005-12-06 22:00           ` Christopher Creutzig [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=439609F7.6060600@creutzig.de \
    --to=christopher@creutzig.de \
    --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).