ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jim <zlists+context@jdvb.ca>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henning Hraban Ramm <texml@fiee.net>
Subject: [NTG-context] Re: \item would fit, but was pushed to next page. Work-around or fix?
Date: Wed, 5 Jun 2024 13:23:13 -0300	[thread overview]
Message-ID: <ZmCQ8ThO5ESE/xLQ@x360.localdomain> (raw)
In-Reply-To: <ab66ee54-4765-4330-99f7-ad8769deeb21@fiee.net>

On Wed, Jun  5, 2024 at 18:04 (+0200), Henning Hraban Ramm wrote:

> Am 05.06.24 um 17:33 schrieb Jim:
>> Hi,

>> I had the following structure which ended up at the bottom of a page:
> …
>> Q1: Is there a Right Way to force ConTeXt to put an \item on the current page?

>> Q2: If not, does anyone wish to suggest some way to trick ConTeXt here, or
>> to do an end-run around its calculations?

>> Note: to solve this problem the use of brute force has been authorized.

> Did you try \adaptlayout?
> https://wiki.contextgarden.net/Command/adaptlayout

> It might also help to put the itemize in a box (but that might end up on the
> next page).

Hi Hraban,

That works perfectly.  I didn't know about that command before, and my
google searches to find something like that didn't turn anything up.
Undoubtedly I used the wrong search terms.

I tried putting the \placefigure and the itemize in a box, thinking that if
all else failed I could put a negative \vskip at the bottom to make the box
shorter.  However, when I tried putting all that in a \vbox I got some
error messages which were not immediately illuminating (to me).

Thanks for the pointer.

                                Jim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-06-05 16:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05 15:33 [NTG-context] " Jim
2024-06-05 16:04 ` [NTG-context] " Henning Hraban Ramm
2024-06-05 16:23   ` Jim [this message]
2024-06-06  9:04 ` Aditya Mahajan
2024-06-06 12:39   ` Jim

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=ZmCQ8ThO5ESE/xLQ@x360.localdomain \
    --to=zlists+context@jdvb.ca \
    --cc=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).