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=-1.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,URIBL_DBL_BLOCKED_OPENDNS,URIBL_ZEN_BLOCKED_OPENDNS 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 F22DC25C68 for ; Tue, 16 Sep 2025 05:46:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 42B24486EAD for ; Tue, 16 Sep 2025 05:44:53 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavis); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:x-mailer:message-id :in-reply-to:references:date:date:mime-version:from:from :received:received:received:received:received:received:received; s=cgl; t=1757994290; x=1760586291; bh=AXzLNrLuEqNE294sOYVk/Rbm/ 7GOGZMohqo7YUUvGuI=; b=h8oY5dUwE+3ZBbUqLHOoznJQ5Oh+O8EzIOLUY5C/f KLsSEv0AN2/xAtbsxcpqaQ/e7Gcf90OWo0zOmoifTol3ztA2RF7c+USAvE6R5stF qboiVHcGmBaUAr/kmuF2gEfBFywVlgOU1UDe+MBEwuuiiTZ8cgAyj1ajvserjms9 g8= X-Virus-Scanned: Debian amavis at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavis); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavis, port 10024) with ESMTP id DFL4hCrSwNmM for ; Tue, 16 Sep 2025 05:44:50 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C3BCD486FA3 for ; Tue, 16 Sep 2025 05:41:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 98D11486029 for ; Tue, 16 Sep 2025 05:40:47 +0200 (CEST) X-Virus-Scanned: Debian amavis at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavis, port 10024) with ESMTP id b7YSwjcXWvng for ; Tue, 16 Sep 2025 05:40:46 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.174; helo=mail-il1-f174.google.com; envelope-from=matthiasweber64@gmail.com; receiver=ntg.nl Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) (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 084684857B1 for ; Tue, 16 Sep 2025 05:40:45 +0200 (CEST) Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-42404af30b0so9314315ab.0 for ; Mon, 15 Sep 2025 20:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757994043; x=1758598843; darn=ntg.nl; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :from:to:cc:subject:date:message-id:reply-to; bh=eGRilcJj+SPhLy+9jro631DnLFfYY5p74moGKn7uxxE=; b=ZhR6uj7F0/qsYznJKFCfvWysKx+Bz42ZlVyC6o3Vysfz/7P3n8OH2i+thXsWDWqpLz 49m9SYqM8huuwKNwS7dfiOjycOvGh3BvMTNuPbQ/BWf+ASCqs8ufOEy6zkMlW38FTBIu 98pEJGdnUp0FWRfIo9gIZe68MKeXrrBd8IIRU75NveE7BMYxLqIsRsk2oVDKEUxTqQIa pUsy5+h7YqpeVGXi0bhpDOoz3lc3ySuA5KGv6jNZNcONe92sTwVeWYSaXLUSOYK0aeYD JvzXR9tx/+hnBlGeOLLNRqT3k4N/d4iyy3HYj1DhKoCcnkF9lKef/ARrr7cfj2pZYXfF Rbkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757994043; x=1758598843; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eGRilcJj+SPhLy+9jro631DnLFfYY5p74moGKn7uxxE=; b=UvwMDnZXLrhPUedaRoHUtqrsVBi+osP8Rw/tPDqtTc+QCxxTxn9RTrSshDOqo9oboI LQ7KBluUfFh1n86l7xsy9mMKZZOd7HcovKX5CXcO4UumUdp3Vgp7OTIsYcj65Pb8ArnN 7S4glekaXtGjWuWzqmI3gJW9IBQlM2XpP9o8dRcYMZnTcI9X43T3kSWhUgVjvFfx3x4S fANq2IdY0JwD/FHSmc6wJbGnLDLLMUgTbgFMPuuP+DVH+sw/1KxcdKktxYW1SjSGPtCu YyESVAnsJmWXP7BhfFkTn8Dd7a1rQXIuZlomXi6dQsv9JnDN72WiZJ2NSJ+pDFPX3XEC VD2A== X-Gm-Message-State: AOJu0YyB2y3r73x1nwOk+fE+XlqQsrJGPgduZm7WsDGVh6MhckdZPpIz qvxD2IGqXsuGm9KEPX8ytpUHB2kK0oFbyk2l1edcUowvx0bbd5EPgga+MCmmTg== X-Gm-Gg: ASbGncuicW4rqu+mJYX9orhSk0etzV+al+66JJIgUQbmzYg5W/f1H6Fj0QAiaB43UH3 ovQ0WqratNhFOe5rDUOUzY/850mcaOEHyc6hjwljhR088ZaXkdp8Du9swuKLX4AD7dENQA1l/aZ zHoeSB59zTZ7l4gI2WqTkUFsOlQDBtF10/aOqtnU+Hc0qqrLZcDVM4E1Z1RgAIQKY/J9wZrWyfu OkkZ9GVE2eAhWoJPYYDrFcWyiTt17WgtRWb86ZWds7hXiOWhXUop2lUwiIuFtv+WPWhvw5oDUsI b2QtszLKpztZwR6eONfzWSBZX/fjTBt1Po9s4avdaBUuGzUbrRxNpsLH4A1dTbnx/D2QaTLD1Qo VqJNTaP/wa2GPtys4B66EAlNkCpIiEj9SaUmoUYVwF6ZXa+67BnQKDR0= X-Google-Smtp-Source: AGHT+IGmsDxDrHEvuemK7QfUnxbQ/1ySQPbaV7yp6tyRTmfXZG5Nghw4ncVOXbCadakPpQckdjFZJw== X-Received: by 2002:a05:6e02:18cd:b0:424:1ad:3b3e with SMTP id e9e14a558f8ab-42401ad3c32mr55515845ab.0.1757994043091; Mon, 15 Sep 2025 20:40:43 -0700 (PDT) Received: from smtpclient.apple ([2601:801:301:8a00:1c63:4f1e:1720:fc0f]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-511f2f391e4sm5322542173.29.2025.09.15.20.40.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Sep 2025 20:40:42 -0700 (PDT) From: Matthias Weber X-Google-Original-From: Matthias Weber Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Date: Mon, 15 Sep 2025 23:40:31 -0400 References: To: mailing list for ConTeXt users In-Reply-To: Message-Id: <7A499D29-0838-4794-BD39-0D7E6BD92010@gmail.com> X-Mailer: Apple Mail (2.3826.700.81) Message-ID-Hash: LX5GKZUZEHHTT4U32EODU54OEZNAFADX X-Message-ID-Hash: LX5GKZUZEHHTT4U32EODU54OEZNAFADX X-MailFrom: matthiasweber64@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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Inline figures 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="===============1507724270497628676==" --===============1507724270497628676== Content-Type: multipart/alternative; boundary="Apple-Mail=_F86FBA4F-7129-4555-A035-C33D32C70302" --Apple-Mail=_F86FBA4F-7129-4555-A035-C33D32C70302 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks Hans, Henning, and John, This has been very helpful! Matthias=20 > On Sep 15, 2025, at 4:32=E2=80=AFAM, John Was = wrote: >=20 > Hello Matthias >=20 > I'm still very inexperienced with Context - and will probably have to = start again since I've been busy with other matters recently and have = forgotten nearly everything - but the following clumsy code might work = until some Contexpert comes up with a proper solution: >=20 > Can the \im{12\times 9} rectangle be tiled with = the\llap{\externalfigure[cow] [width=3D0pt,height=3D0pt,label=3D{Here we = have a picture of a cow}]} \externalfigure[cow.pdf][inline]{}-hexomino? >=20 >=20 > If it is any good at all, it could be condensed into a cs such as: >=20 > \intextlabel{Here we have a picture of a cow}=20 >=20 > (the cow figure could remain since it's always available and is only = used to create an invisible (zero width and height) graphic). >=20 >=20 > Best wishes >=20 > John=20 >=20 >=20 > = Virus-free.www.avg.com = = > On Mon, 15 Sept 2025 at 00:44, Matthias Weber = > wrote: >> Dear All,=20 >>=20 >> I am occasionally using inline figures instead of characters/words = where it seems suggestive and appropriate(to me), like in the example = below: >>=20 >> \setupexternalfigures[location=3Ddefault] >> \starttext >> Can the \im{12\times 9} rectangle be tiled with the = \externalfigure[cow.pdf][inline]{}-hexomino? >> \stoptext >>=20 >> (I am actually using instead of cow.pdf the attached file = R-hexomino.pdf, in case someone is interested in what this is good for) >>=20 >> Two questions: The inline figure is a little bit raised and too big. = How can I lower and scale it? >>=20 >> Also, adding alternativetext=3D{Cow} after inline undoes the inline = effect. Is it possible to have an alternative text for inline images? >>=20 >> Or are there other options I should consider? >>=20 >> Thanks, >>=20 >> Matthias >>=20 >>=20 >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> 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 = >> = __________________________________________________________________________= _________ > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_F86FBA4F-7129-4555-A035-C33D32C70302 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Thanks Hans, = Henning, and John,

This has been very = helpful!

Matthias 

On Sep 15, 2025, at 4:32=E2=80=AFAM, John Was = <johnoxuk@gmail.com> wrote:

Hello = Matthias

I'm still very inexperienced with Context - and = will probably have to start again since I've been busy with other = matters recently and have forgotten nearly everything - but the = following clumsy code might work until some Contexpert comes up with a = proper solution:

Can the \im{12\times 9} rectangle be tiled with = the\llap{\externalfigure[cow] [width=3D0pt,height=3D0pt,label=3D{Here we have a picture of a cow}]} \externalfigure[cow.pdf][inline]{}-hexomino?


If it is any good at = all, it could be condensed into a cs such as:

\intextlabel{Here we = have a picture of a cow} 

(the cow figure could remain since it's always = available and is only used to create an invisible (zero width and = height) graphic).


Best wishes

John 

<= /div>

3D""Virus-free.www.avg.com

On Mon, 15 = Sept 2025 at 00:44, Matthias Weber <matthiasweber64@gmail.com>= ; wrote:
Dear All,

I am occasionally using inline figures instead of characters/words where = it seems suggestive and appropriate(to me), like in the example = below:

 \setupexternalfigures[location=3Ddefault]
 \starttext
Can the \im{12\times 9} rectangle be tiled with the  = \externalfigure[cow.pdf][inline]{}-hexomino?
\stoptext

(I am actually using instead of cow.pdf the attached file = R-hexomino.pdf, in case someone is interested in what this is good = for)

Two questions: The inline figure is a little bit raised and too big. How = can I lower and scale it?

Also, adding alternativetext=3D{Cow} after inline undoes the inline = effect. Is it possible to have an alternative text for inline = images?

Or are there other options I should consider?

Thanks,

Matthias


= __________________________________________________________________________= _________
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
= __________________________________________________________________________= _________
= __________________________________________________________________________= _________
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
________________________________________= ___________________________________________
= --Apple-Mail=_F86FBA4F-7129-4555-A035-C33D32C70302-- --===============1507724270497628676== 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 ___________________________________________________________________________________ --===============1507724270497628676==--