[NTG-context] \definelayout[pagenumber][layout] behaving strangely

Pablo Rodriguez oinos at gmx.es
Fri Dec 9 17:20:57 CET 2022


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


More information about the ntg-context mailing list