From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 1B445240D5 for ; Wed, 10 Apr 2024 13:44:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id ADFEE484270 for ; Wed, 10 Apr 2024 13:43:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=mailbox.org Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3huSiC_DDA62 for ; Wed, 10 Apr 2024 13:43:46 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4109E483F06 for ; Wed, 10 Apr 2024 13:42:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4AA7E483223 for ; Wed, 10 Apr 2024 13:42:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BJvhJy3CCkeW for ; Wed, 10 Apr 2024 13:42:33 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=80.241.56.172; helo=mout-p-202.mailbox.org; envelope-from=denismaier@mailbox.org; receiver= X-Greylist: delayed 327 seconds by postgrey-1.36 at cgl.ntg.nl; Wed, 10 Apr 2024 13:42:33 CEST Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id CD2BD4829CF for ; Wed, 10 Apr 2024 13:42:33 +0200 (CEST) Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4VF15C5PSTz9spJ for ; Wed, 10 Apr 2024 13:37:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1712749023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=PaKQXrkR1V2XmfJol5Y/2GHUS25XKtzdZxzw69KgWjE=; b=fiAYC42YKpDCHjJQh6jDrwWpedsjZOZeahD4iM7W6mvNfqQrOQHWEo022sNkJDay+CtsH+ Tv6kGetSYvKcBDFOwENqTwORRMpFfmlaaj4H/2/krVsTroCd9ErpR9c3DwhqyYVDUjmgfN TY69Se8aAA5EtMZyW7uAo8AsNWWGhZqLUgfj+cBmOFLWA8GJvPm633HwsSCsUMyn9tuIbw BaMUgEMAw2ldQkZ7ItME0xWua6nRii4Jmq9WR1XUDrsIYVyta2pfkIb9BuFeez2Q3Dw7gP 2WNzcir0prio9d/CmUyZpZ8RwHFUOQkRNjb/fJGqUKOVS8zevDED39wmzXhemQ== To: Date: Wed, 10 Apr 2024 13:36:57 +0200 Message-ID: <006401da8b3b$65bc6df0$313549d0$@mailbox.org> MIME-Version: 1.0 Thread-Index: AdqLO1Vr2T0lX0gMTfisDRKRGEpb7w== Content-Language: de-ch X-MBO-RS-META: 5u8wm1ua578r3nda11atm59rrb6hyxc7 X-MBO-RS-ID: f67c98e645c0502d6cd Message-ID-Hash: ELRSSTFUEII444AN67WT3JPXTD7CCPZP X-Message-ID-Hash: ELRSSTFUEII444AN67WT3JPXTD7CCPZP X-MailFrom: denismaier@mailbox.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Weird (?) float placement for specific widths of image List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Denis Maier via ntg-context Cc: denismaier@mailbox.org Content-Type: multipart/mixed; boundary="===============2949488273946274980==" This is a multipart message in MIME format. --===============2949488273946274980== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0065_01DA8B4C.294739C0" Content-Language: de-ch This is a multipart message in MIME format. ------=_NextPart_000_0065_01DA8B4C.294739C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0065_01DA8B4C.294739C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

another graphics/floats question: consider the following = example

 

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

<= p class=3DMsoNormal> 

\setupexternalfigures

    = [location=3D{local,global,default}]

 

\starttext

 

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

          =       = height=3D.5\textheight,

          =       ]}

 

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

          =       = height=3D.3\textheight,

          =       = %height=3D.4\textheight,

          =       ]}

 

 

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

          =       width=3D3cm,

          =       %width=3D2cm,

          =       ]}

 

\placefigure{A = Cow}{\externalfigure[cow][width=3D2cm]}

 

\placefigure{A = Cow}{\externalfigure[cow][width=3D2cm]}

 

\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

------=_NextPart_000_0065_01DA8B4C.294739C0-- --===============2949488273946274980== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2949488273946274980==--