ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bruce Horrocks via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Bruce Horrocks <ntg@scorecrow.com>
Subject: Re: Problems with itemize with several columns
Date: Fri, 25 Feb 2022 10:44:17 +0000	[thread overview]
Message-ID: <58A23E08-95C1-4288-8A32-1401CB82EBDC@scorecrow.com> (raw)
In-Reply-To: <20220224231046.b84ed5bfeeb95af1688c4a13@posteo.net>

[-- Attachment #1: Type: text/plain, Size: 1388 bytes --]


> On 24 Feb 2022, at 22:10, Xavier B. via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Even if I change 
> \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} Opereu:
> \startitemize[a, columns, three]
> 
> 
> for
> 
> \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} Opereu:
> \startitemize[a, columns]
> 
> 
> the 'c' jumps.
> 
> Isn't ConTeXt capable of handle that?

Please see the attached PDF which is your sample with the command \showmakeup[vbox] added after \starttext

The green line shows how much space is needed to fully print item (b).  Item (c) will need the same amount of space, shown by the red line. However, this would take you into the footer area (shown by the blue arrows), so item (c) is split: the item label fits into the space at the bottom of the column and so is printed there; the fraction doesn't fit and so is moved to the next column.

We can confirm this theory by setting the footer to nothing with the command \setuplayout[footer=0mm] and then the columns are as you wish. However that only works for this example and the situation would inevitably arise again.

The solution to your problem would be some way of forcing the item body to stay with the label. I don't know what that command is - hopefully someone here can tell us.

—
Bruce Horrocks
Hampshire, UK

[-- Attachment #2: columns annotated.pdf --]
[-- Type: application/pdf, Size: 31068 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2022-02-25 10:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-23  8:59 Xavier B. via ntg-context
2022-02-23 11:28 ` Xavier B. via ntg-context
2022-02-23 17:52   ` Bruce Horrocks via ntg-context
2022-02-23 21:04     ` Xavier B. via ntg-context
2022-02-23 22:49       ` Luis Montgomery via ntg-context
2022-02-24 22:10   ` Xavier B. via ntg-context
2022-02-24 22:50     ` fv leung via ntg-context
2022-02-25 10:44     ` Bruce Horrocks via ntg-context [this message]
     [not found]     ` <03C9E4F5-AF8C-4815-BBE7-B076C12D2BEE@scorecrow.com>
2022-02-25 12:34       ` Xavier B. via ntg-context
2022-02-25 12:47       ` Xavier B. via ntg-context
2022-02-23 17:25 ` Luis Montgomery via ntg-context

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=58A23E08-95C1-4288-8A32-1401CB82EBDC@scorecrow.com \
    --to=ntg-context@ntg.nl \
    --cc=ntg@scorecrow.com \
    /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).