Hi again,

 

just a quick follow up on this one. Can anyone reproduce this?

Would be good to know how this can be fixed. I have this in a real document,
and as I'm typesetting a XML source I cannot just adjust slightly adjust the
dimensions to get rid of that.

 

Best,

Denis

 

 

Von: denisma...@mailbox.org <denisma...@mailbox.org> 
Gesendet: Mittwoch, 10. April 2024 13:37
An: 'ntg-context@ntg.nl' <ntg-context@ntg.nl>
Betreff: Weird (?) float placement for specific widths of image

 

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

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

Reply via email to