ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: "peter.hopcroft--- via ntg-context" <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: \definelayout[pagenumber][layout] behaving strangely
Date: Fri, 9 Dec 2022 17:20:57 +0100	[thread overview]
Message-ID: <18672c72-346a-b528-7b02-5e1aa95d2449@gmx.es> (raw)
In-Reply-To: <FDA71358-7EC5-4AD0-A317-78C3BA0762CA@icloud.com>

On 12/9/22 05:42, peter.hopcroft--- via ntg-context wrote:
> The pdf from the tex below looks wrong to me, screenshot attached.
> It’s always like this when the page number in the second
> \definelayout is 1 more than the page number in the first. For other
> pairs of numbers, it behaves like I expect: the short layout is only
> on those 2 pages.
Hi Peter,

I must confess it isn’t totally clear to me whether I’m getting your point.

The following might achieve what you intend:

  \definelayout[odd][reset]
  \definelayout[even][reset]
  \definelayout[2][short]
  \definelayout[3][short]

Just in case it might help,

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

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

      reply	other threads:[~2022-12-09 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-09  4:42 peter.hopcroft--- via ntg-context
2022-12-09 16:20 ` Pablo Rodriguez via ntg-context [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=18672c72-346a-b528-7b02-5e1aa95d2449@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).