ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Ross Schulman <ross@rbs.io>
Subject: [NTG-context] Re: Hbox error with itemized list on second page
Date: Tue, 30 Apr 2024 17:47:42 +0200	[thread overview]
Message-ID: <f2156501-91cf-8cb1-7ec0-e03d92609546@gmail.com> (raw)
In-Reply-To: <07f521fc-e2de-4c7d-ad18-422d79091f57@app.fastmail.com>

Ross Schulman schrieb am 30.04.2024 um 15:01:
> Hello,
> I'm attempting to format a resume in Context building off of a template 
> I found online. I'm having an odd error with some bullets on the second 
> page, however. I'm guessing it has something to do with my \definelayout 
> for the second (and subsequent) pages, but I can't figure it out for 
> sure. What is happening is that whichever bullets are at the top of the 
> second page are being wrapped as if they were appearing on the first 
> page, which has a different layout structure.
> 
> I've pasted a sanitized version of the tex file below. Any assistance 
> would be greatly appreciated!
> 
> Thanks,
> Ross Schulman
> ----------------------------
> 
> [...]
> 
> Lorem Manager
> \startitemize[packed]
>    \item \ipsum[alternative=words, n=10, inbetween=\space] \par
>    \item \ipsum[alternative=words, n=10, inbetween=\space] \par
>    \item \ipsum[alternative=words, n=10, inbetween=\space] \par
>    \item \ipsum[alternative=words, n=10, inbetween=\space] \par
> \stopitemize

You can use the \testpage command to force a page break before the TeX 
mechanism to start a new page kicks in.

\startitemize[inbetween={\testpage[2]\blank}]
   \item \ipsum[alternative=words, n=10, inbetween=\space] \par
   \item \ipsum[alternative=words, n=10, inbetween=\space] \par
   \item \ipsum[alternative=words, n=10, inbetween=\space] \par
   \item \ipsum[alternative=words, n=10, inbetween=\space] \par
\stopitemize

Wolfgang
___________________________________________________________________________________
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-04-30 15:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 13:01 [NTG-context] " Ross Schulman
2024-04-30 15:47 ` Wolfgang Schuster [this message]
2024-04-30 16:20   ` [NTG-context] " Ross Schulman
2024-05-06 23:33     ` Ross Schulman
2024-05-08 16:28       ` Ross Schulman
2024-05-14 10:57       ` Wolfgang Schuster
2024-05-14 12:31         ` Ross Schulman

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=f2156501-91cf-8cb1-7ec0-e03d92609546@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=ross@rbs.io \
    /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).