ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Weird (?) float placement for specific widths of image
@ 2024-04-10 11:36 Denis Maier via ntg-context
  0 siblings, 0 replies; only message in thread
From: Denis Maier via ntg-context @ 2024-04-10 11:36 UTC (permalink / raw)
  To: ntg-context; +Cc: denismaier


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

Hi, 

 

another graphics/floats question: consider the following example

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

\setupexternalfigures

    [location={local,global,default}]

 

\starttext

 

\placefigure{A Cow}{\externalfigure[cow][

                height=.5\textheight,

                ]}

 

\placefigure{A Cow}{\externalfigure[cow][

                height=.3\textheight,

                %height=.4\textheight,

                ]}

 

 

\placefigure{A Cow}{\externalfigure[cow][

                width=3cm,

                %width=2cm,

                ]}

 

\placefigure{A Cow}{\externalfigure[cow][width=2cm]}

 

\placefigure{A Cow}{\externalfigure[cow][width=2cm]}

 

\stoptext%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

On the first page, the images appear stacked above each other while on the
second page they appear next to each other.

 

It took me some time to reproduce this behaviour, and I can't claim to
understand what is happening. But it seems to be related to the specific
widths of the images. When I change them to other values the behaviour
disappears. Is this a bug? Anything I can do about this?

 

Best

Denis


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

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-10 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 11:36 [NTG-context] Weird (?) float placement for specific widths of image Denis Maier via ntg-context

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