From mboxrd@z Thu Jan 1 00:00:00 1970 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25613 invoked from network); 28 Oct 2023 15:30:24 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 28 Oct 2023 15:30:24 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3250D4836A3 for ; Sat, 28 Oct 2023 17:28:04 +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 HB2WtyCt9Gwu for ; Sat, 28 Oct 2023 17:28:03 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B621B48381A for ; Sat, 28 Oct 2023 17:26:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 58CF0483410 for ; Sat, 28 Oct 2023 17:26:07 +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 vIDTGYmhrHSv for ; Sat, 28 Oct 2023 17:26:05 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 2430F4833D9 for ; Sat, 28 Oct 2023 17:26:05 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-28019b66ad5so1047635a91.3 for ; Sat, 28 Oct 2023 08:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698506762; x=1699111562; darn=ntg.nl; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=uN1ZW9gpQBNRm3qCnLIhgUCaePhS1kRceY5TKsNamWM=; b=FYrQwTEF1Ox+gUVi1NVvFEk12KVFRLJIuYFjNJBbK6TorkjKpQPs1ccruUnRvq0ey5 A3wCBZg7NH+39HE6w80HjkDE6w6m8wLuVH42W/dcCghSiCgWARAmpXplgSRf3Cz3lPQK JzAXiAo6wHSYWtmLvTUujnHCD+IVU1H4YycoJKvz3c3DCNCohG/gtd+JVA7BnCdvS3se Buxk6yaPk+a5xtkTTtm+CxQzZJmCW74lSDe6BBh03RcQfkhtSlA6jAglmgrbmc6zue/X lecPcCxgCWYc328qS8j/Ksnan/fE9vhOmyt+0fSKyvEEly01TteuhNsxrB79oyUB4tu7 1jlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698506762; x=1699111562; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uN1ZW9gpQBNRm3qCnLIhgUCaePhS1kRceY5TKsNamWM=; b=VEVD3pSA/yqS9e1IgRQB9vdZ5Xh2YXq7GsRrctH8USG7XjBOFTdoreDF3wkqxf3TF9 Lfr4rAhaoUdjt6eD7LH/AbogY2ZC5KTcrGupBVsNjZmNABcMhHqeWJBSW8CXziuE1HCW 1AGlePTUj83PkdUSsh15HmoiWRW8OKahtbjPeiR21WxrKTkg9VqKD9xkzHBL4dxc+n5g tcdJ1Emw6PwjLvFZ+D2gNokzFw6APaFwF3E34RvzGzv5/btc5+HC9nsSq6L2v/vqU7Bg b/ZBYJnqGP6MaTfxAS1WotY1q04sO7Xs9N//zXCGoMwZFq0f2GR7PmVWILVKP1pdYCtj 10sw== X-Gm-Message-State: AOJu0Yx3UvdI6UBHmkzF5ZaSF4R6Oo56n/qyNMi1AQf4XzT05RHiBYqN REOOWqSpknIFQO+j9L2gCU7IiVYqQo1K0v6Df3VSx/eyBhV0uQ== X-Google-Smtp-Source: AGHT+IGKs8r54Gyr/xc0IGbIiS0WATom6py4Sui2vBpGRl2HD8X1XpfRohdDeeLvGrrtKO1kMzt6cq0U/2ggoo9V87A= X-Received: by 2002:a17:90b:2348:b0:27d:2dde:5979 with SMTP id ms8-20020a17090b234800b0027d2dde5979mr5200211pjb.5.1698506761352; Sat, 28 Oct 2023 08:26:01 -0700 (PDT) MIME-Version: 1.0 References: <421f735a-9eb0-432b-9fe2-d2ab5b66a70c@fiee.net> <1ea36185-d26e-4749-8b07-21397ad580fd@xs4all.nl> In-Reply-To: <1ea36185-d26e-4749-8b07-21397ad580fd@xs4all.nl> From: Mia Bikey Date: Sat, 28 Oct 2023 20:55:49 +0530 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: 5W5G3BCAWYL2OUEVXWKGPXQ7XJKVR46X X-Message-ID-Hash: 5W5G3BCAWYL2OUEVXWKGPXQ7XJKVR46X X-MailFrom: redspacecube@gmail.com 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] Re: Mono font goes inside right inline image List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============7388096950422085801==" --===============7388096950422085801== Content-Type: multipart/alternative; boundary="00000000000028ba2b0608c86c7e" --00000000000028ba2b0608c86c7e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, that works great. On Sat, Oct 28, 2023 at 7:10=E2=80=AFPM Hans Hagen wrot= e: > On 10/28/2023 2:25 PM, Henning Hraban Ramm wrote: > > Am 28.10.23 um 14:17 schrieb Mia Bikey: > >> Hi, > >> I was using mono font as my default font but it appears to have issues > >> with right side inline images. > >> > >> Here is a Minimal Working Example: > >> > >> ConTeXt ver: 2023.09.26 18:19 LMTX > >> > >> \setupbodyfont[mono] > >> > >> \starttext > >> > >> Image on the right side gets issues. > >> \placefigure[right]{}{\externalfigure[dummy]} > >> \input tufte \\ > >> > >> Image on the left side is fine. > >> \placefigure[left]{}{\externalfigure[dummy]} > >> \input tufte > >> > >> \stoptext > > > > I fear there=E2=80=99s something generally wrong with mono font calcula= tions, > > also affecting line breaking, since I get overfull hboxes with code > > examples all the time. > mono runs way to wide for decent linebreaks so use > > \setupalign[verytolerant,stretch] > > > > ----------------------------------------------------------------- > 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 / > 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 > > _________________________________________________________________________= __________ > --00000000000028ba2b0608c86c7e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, that works great.


On Sat, Oct 28, 2023 at 7:10=E2=80= =AFPM Hans Hagen <j.hagen@xs4all.nl> wrote:
On 10/28/2023 2:25 PM, Henning Hraban Ramm wrote:
> Am 28.10.23 um 14:17 schrieb Mia Bikey:
>> Hi,
>> I was using mono font as my default font but it appears to have is= sues
>> with right side inline images.
>>
>> Here is a Minimal Working Example:
>>
>> ConTeXt =C2=A0ver: 2023.09.26 18:19 LMTX
>>
>> \setupbodyfont[mono]
>>
>> \starttext
>>
>> Image on the right side gets issues.
>> \placefigure[right]{}{\externalfigure[dummy]}
>> \input tufte \\
>>
>> Image on the left side is fine.
>> \placefigure[left]{}{\externalfigure[dummy]}
>> \input tufte
>>
>> \stoptext
>
> I fear there=E2=80=99s something generally wrong with mono font calcul= ations,
> also affecting line breaking, since I get overfull hboxes with code > examples all the time.
mono runs way to wide for decent linebreaks so use

\setupalign[verytolerant,stretch]



-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 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 t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://mailman.ntg.nl/mail= man3/lists/ntg-context.ntg.nl
webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhet.net= (mirror)
archive=C2=A0 : https://github.com/contextgarden/context=
wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
___________________________________________________________________________= ________
--00000000000028ba2b0608c86c7e-- --===============7388096950422085801== 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 ___________________________________________________________________________________ --===============7388096950422085801==--