ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Floating objects next to text mess up paragraph spacing
@ 2021-04-01 16:25 Daniel Barker
  2021-04-01 18:01 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Barker @ 2021-04-01 16:25 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 838 bytes --]

Hi all,

 

I have noticed that placing a floating object next to text with location
"left", "right", etc. seems to move the current paragraph slightly up,
resulting in too little space between the current and previous paragraph. 

This can be seen quite clearly in the output of the following example:

 

\setupbodyfont[dejavu, serif, 12pt]

\starttext

  \samplefile{lorem}

 

  \startplacefigure[location={right, none}]

    \framed[width=3cm, height=2cm]{graphic}

  \stopplacefigure

 

  \samplefile{lorem}

 

  \samplefile{lorem}

\stoptext

 

I am using the current (2021.03.31 18:04) version of ConTeXt LMTX. On
ConTeXt live, which seems to be running an older version, this does not
occur, i.e. the spacing is even, as I would expect it to be.

I assume this is a bug, or am I doing something wrong?

 

Thank you,

Daniel


[-- Attachment #1.2: Type: text/html, Size: 3715 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Floating objects next to text mess up paragraph spacing
  2021-04-01 16:25 Floating objects next to text mess up paragraph spacing Daniel Barker
@ 2021-04-01 18:01 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2021-04-01 18:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Daniel Barker

On 4/1/2021 6:25 PM, Daniel Barker wrote:
> Hi all,
> 
> I have noticed that placing a floating object next to text with location 
> "left", "right", etc. seems to move the current paragraph slightly up, 
> resulting in too little space between the current and previous paragraph.
> 
> This can be seen quite clearly in the output of the following example:
> 
> \setupbodyfont[dejavu, serif, 12pt]
> 
> \starttext
> 
>    \samplefile{lorem}
> 
>    \startplacefigure[location={right, none}]
> 
>      \framed[width=3cm, height=2cm]{graphic}
> 
>    \stopplacefigure
> 
>    \samplefile{lorem}
> 
>    \samplefile{lorem}
> 
> \stoptext
> 
> I am using the current (2021.03.31 18:04) version of ConTeXt LMTX. On 
> ConTeXt live, which seems to be running an older version, this does not 
> occur, i.e. the spacing is even, as I would expect it to be.
> 
> I assume this is a bug, or am I doing something wrong?

fixed in next upload (i overloaded a shortcut when i added something else)

Hans


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-01 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 16:25 Floating objects next to text mess up paragraph spacing Daniel Barker
2021-04-01 18:01 ` Hans Hagen

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).