From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: spacing (was: \framed) regression
Date: Wed, 7 Nov 2018 22:53:13 +0100 [thread overview]
Message-ID: <A6D0EBA2-78A7-4E10-87A1-01E2DB39E59A@fiee.net> (raw)
In-Reply-To: <187CD953-AB64-4A9E-88C2-2F2D7AD6036A@ziggo.nl>
[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]
In the last days I recognized that some of my ConTeXt projects behave differently WRT spacing, not only with \framed, but also with heads - everywhere there’s more space induced than before.
The attached screenshot shows an example of before and after.
The headings are set up like
\setuphead[section,subject][page=no,
before={\testpage[7]\blank},after=,
previousnumber=no, sectionsegments=section]
\setuphead[subsection,subsubject][style={\bf},
before={\testpage[7]\blank[small]},after=,
sectionsegments=section:subsection]
"1 Aufnahme" is a section, "1.1" is a subsection; I always use the start/stop version.
To get back to the old behaviour, I need to replace the \blank commands with a negative vskip of font size!
And then there’s still space inserted if the heading starts at the top of a column.
I tried to come up with a MWE – headingspacetest.tex shows at least that there’s always space inserted before section headers.
It might be related to some font handling, since the spacing changes affect different "things" in different projects – frames with my label stickers and on my magazine covers, headings like here. Or maybe the changes are unrelated.
This change happened between ConTeXt versions 2018.07.27 and 2018.09.01. I didn’t change my code.
Unfortunately there are no older versions of ConTeXt to go back to any more.
Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD
[-- Attachment #2: Bildschirmfoto 2018-11-07 um 20.53.41.png --]
[-- Type: image/png, Size: 187024 bytes --]
[-- Attachment #3: headingspacetest.tex --]
[-- Type: application/octet-stream, Size: 555 bytes --]
\usemodule[visual]
\setuphead[chapter,title][page=no,color=orange]
\setuphead[section,subject][
before={\testpage[7]},
after=,
style={\bf},color=red]
\setuphead[subsection,subsubject][
before={\testpage[7]},
after=,
style={\it},color=blue]
\starttext
\dorecurse{2}{
\startchapter[title=\fakewords{2}{5}]
\startcolumns[n=2,balance=no]
\dorecurse{7}{
\startsection[title=\fakewords{1}{6}]
\dorecurse{3}{
\startsubsection[title=\fakewords{1}{8}]
\fakewords{20}{60}
\stopsubsection
}
\stopsection
}
\stopcolumns
\stopchapter
}
\stoptext
[-- Attachment #4: Type: text/plain, Size: 492 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
___________________________________________________________________________________
next prev parent reply other threads:[~2018-11-07 21:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-28 19:01 \framed regression Henning Hraban Ramm
2018-10-28 19:37 ` Henning Hraban Ramm
2018-10-28 19:49 ` Herbert Voss
2018-10-29 15:13 ` Henning Hraban Ramm
2018-10-29 15:47 ` Herbert Voss
2018-10-30 13:08 ` Henning Hraban Ramm
2018-10-30 13:16 ` Hans van der Meer
2018-11-07 21:53 ` Henning Hraban Ramm [this message]
2018-11-08 17:32 ` spacing Wolfgang Schuster
2018-11-08 22:41 ` spacing Henning Hraban Ramm
2018-11-08 22:51 ` spacing Henri Menke
2018-11-09 12:50 ` spacing Clyde Johnston
2018-11-09 15:14 ` spacing Hans Hagen
2018-11-09 13:40 ` spacing Henning Hraban Ramm
2018-11-09 14:05 ` spacing Tomas Hala
2018-11-09 15:23 ` spacing Alan Braslau
2018-11-11 21:23 ` Keeping Ctx versions (was: Re: spacing) Procházka Lukáš Ing.
2018-11-09 16:01 ` spacing Hans Hagen
2018-11-10 11:39 ` spacing Wolfgang Schuster
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=A6D0EBA2-78A7-4E10-87A1-01E2DB39E59A@fiee.net \
--to=texml@fiee.net \
--cc=ntg-context@ntg.nl \
/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).