From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Bug in wrapped placefigure
Date: Fri, 30 Mar 2018 10:17:12 +1300 [thread overview]
Message-ID: <1522358232.2021.69.camel@gmail.com> (raw)
In-Reply-To: <73e69d8f-1a56-97c7-1953-dbf010b9916d@xs4all.nl>
On Thu, 2018-03-29 at 13:20 +0200, Hans Hagen wrote:
> On 3/29/2018 12:50 PM, Henri Menke wrote:
> >
> > Dear devs,
> >
> > When a figure is wrapped in a paragraph and that paragraph is the first
> > in a section, ConTeXt adds spurious vertical space above the text
> > (eyeballing it, I'd say it is \topskip). Find MWE with workaround below.
> >
> > Found at https://tex.stackexchange.com/questions/423817
> >
> > Cheers, Henri
> >
> > ---
> >
> > \setupwhitespace[big]
> >
> > \starttext
> >
> > \startsection[title=section]
> >
> > \startmode[fix]
> > % Set default whitespace
> > \setupwhitespace[none]
> > \stopmode
> >
> > \startplacefigure
> > [location={right},
> > title={just a dummy figure}]
> > \externalfigure[dummy][width=.5\textwidth]
> > \stopplacefigure
> >
> > \input lorem
> >
> > \startmode[fix]
> > % Restore whitespace
> > \setupwhitespace[big]
> > \stopmode
> >
> > \input lorem
> >
> > \stopsection
> >
> > \stoptext
> can you test with
>
> \def\page_sides_wrapup
> {% we need to do this aftergroup
> \aftergroup\par
> \aftergroup\ignoreparskip
> \aftergroup\ignorespaces
> }
Interesting. This fixes it in beta but not in TL17.
BTW: What snapshot is going to be in TL18?
>
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ______________________________________________________________________________
> _____
> 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
> ______________________________________________________________________________
> _____
___________________________________________________________________________________
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-03-29 21:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-29 10:50 Henri Menke
2018-03-29 11:20 ` Hans Hagen
2018-03-29 21:17 ` Henri Menke [this message]
2018-03-29 21:52 ` luigi scarso
2018-03-29 22:38 ` Hans Hagen
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=1522358232.2021.69.camel@gmail.com \
--to=henrimenke@gmail.com \
--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).