ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Denis Maier via ntg-context <ntg-context@ntg.nl>
To: <ntg-context@ntg.nl>
Cc: denismaier@mailbox.org
Subject: [NTG-context] Weird (?) float placement for specific widths of image
Date: Wed, 10 Apr 2024 13:36:57 +0200	[thread overview]
Message-ID: <006401da8b3b$65bc6df0$313549d0$@mailbox.org> (raw)


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

                 reply	other threads:[~2024-04-10 11:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='006401da8b3b$65bc6df0$313549d0$@mailbox.org' \
    --to=ntg-context@ntg.nl \
    --cc=denismaier@mailbox.org \
    /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).