From: Steffen Wolfrum via ntg-context <ntg-context@ntg.nl>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: Steffen Wolfrum <context@st.estfiles.de>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ugly bug
Date: Fri, 3 Jun 2022 17:05:01 +0200 [thread overview]
Message-ID: <E73FB634-7802-4DE7-9CF5-ADDC759FF38F@st.estfiles.de> (raw)
In-Reply-To: <c584b467-637b-ce10-209e-a0402ca7ab42@gmail.com>
> Am 02.06.2022 um 20:13 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
>
> Steffen Wolfrum schrieb am 01.06.2022 um 14:03:
>> Hi,
>>
>> several times I got problems with my publishing house when they noticed that the headerlines jump up and down on pages that end/begin with qoutes (i.e. smaller interlineskip), see example below: on page 1 the blackrule is about 1mm higher than on page 2.
>>
>> In the past I then used really laborious workarounds to get these single pages in the correct way (without jumping)… manual pagebreak, re-define layout etc.
>>
>> But as the pages are hard to find it would be better that the layout would be reliable consistent.
>>
>> How can this be solved?
>
> \defineinterlinespace[steffen][line=4.2ex]
>
> \starttext
>
> \dorecurse{2}{\samplefile{lorem}\par}
>
> \start
> %\setuplocalinterlinespace[line=4.2ex]% wrong header alignment
> \setuplocalinterlinespace[steffen]% correct header alignment
> \dorecurse{4}{\samplefile{lorem}\par}
> \stop
>
> \dorecurse{2}{\samplefile{lorem}\par}
>
> \stoptext
ok, this minimal example works.
but for other reasons (lots of heading with various vertical spaces)!) I also need \setuplayout[grid=tolerant]
\setuplayout[grid=tolerant]% this kills the smaller interlinespace
\defineinterlinespace[steffen][line=4.2ex]
\starttext
\dorecurse{2}{\samplefile{lorem}\par}
\start
%\setuplocalinterlinespace[line=4.2ex]% wrong header alignment
\setuplocalinterlinespace[steffen]% correct header alignment
\dorecurse{4}{\samplefile{lorem}\par}
\stop
\dorecurse{2}{\samplefile{lorem}\par}
\stoptext
Any idea how to preserve the smaller interlinespace?
Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2022-06-03 15:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-01 12:03 Steffen Wolfrum via ntg-context
2022-06-02 18:13 ` Wolfgang Schuster via ntg-context
2022-06-03 15:05 ` Steffen Wolfrum via ntg-context [this message]
2022-06-03 16:17 ` Hans Hagen 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=E73FB634-7802-4DE7-9CF5-ADDC759FF38F@st.estfiles.de \
--to=ntg-context@ntg.nl \
--cc=context@st.estfiles.de \
--cc=wolfgang.schuster.lists@gmail.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).