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.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_ZEN_BLOCKED_OPENDNS,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 11F0C20F34 for ; Mon, 15 Sep 2025 17:46:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 32902488019 for ; Mon, 15 Sep 2025 17:17:36 +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-transfer-encoding:content-type:content-type:from:from :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:in-reply-to:references:content-language:user-agent :mime-version:date:date:message-id:received:received:received :received:received:received:received; s=cgl; t=1757949455; x= 1760541456; bh=qPf9ELF/lDIMW+unUzVeONemX23jULspxdlOOLlCiRk=; b=v T3tsRJJ58UbX0cqXar77G3Hhk0UrGz8sdUb8EsDjzX3XCp4x79qKGZthOiogiNQw WOtTDKP4qCf3ACDfobQZO/588PiybioEt9rIB+x7yQFU7h3E5opVImkz9ml0pA7L YRjNI9nJWd/t7e1bWtNJOj5Jt7Zr1Nr+oEaMG6OiTc= 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=xs4all.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 utZKpnlvKNSu for ; Mon, 15 Sep 2025 17:17:35 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B0924487A79 for ; Mon, 15 Sep 2025 17:15:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 82C714871DE for ; Mon, 15 Sep 2025 17:14:36 +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 Scm2a3TGEpLr for ; Mon, 15 Sep 2025 17:14:35 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=195.121.94.185; helo=ewsoutbound.kpnmail.nl; envelope-from=j.hagen@xs4all.nl; receiver=ntg.nl Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.185]) (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 9C7E7486D7A for ; Mon, 15 Sep 2025 17:14:35 +0200 (CEST) X-KPN-MessageId: b828cdcd-9246-11f0-9776-005056999439 Received: from smtp.kpnmail.nl (unknown [10.31.155.6]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id b828cdcd-9246-11f0-9776-005056999439; Mon, 15 Sep 2025 17:14:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=f6vZAfbeVG4lHQWW4mIj9aLgUOcuz0SKYn5sz1B91vo=; b=vORnSd0uer/HcPPuDckfGWmgdE72xa2YjnjH8Q/QUdr7/3L9FV23FRVWSB2IrkT2A7QUsJGUF97EP twCIxlIB27NZJNgRcSeumGGxUKuCoSc7o5A+g5rxG91hSyZcLc/clYkXo8P9+hjWrTHNLu4VJlgtoa 6CGinmlIqkwtxAlZhDyzexJ6PqDS/l4sIecu+IHPFbpZaqrsURfcFGF4iyS2d6T8Zye9tu3Y7WXN1L T1nCRfcflCcFREFOrcBJQzGA/G6vsPVbLMDC6OMxmjzy0qobkWCk6u7aTc/geO7gJHMgFG2n8mjN7B 2y+b/UT7tOQJjXjWRbErDnstkI9lE8Q== X-KPN-MID: 33|yVU21xZ6s5ZQJPTwjdCq6rZtg3O4Ollcw7tDj3dvjBXtRlOAbHsZVo6ZE0m5EKP WFY6M4eINYU/wOv/+8UA7hkrHkJowONZpKXtukUQJUBY= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|k5FbeyErkFoN+QpkAG9sDbSPHQcE+0WyEnal5ocApqtxZG/6t9Q0//zW6c9GZV7 zoKGy40OHGOyokchx+RiAdg== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id b036b187-9246-11f0-95cd-00505699772e; Mon, 15 Sep 2025 17:14:35 +0200 (CEST) Message-ID: <3acf57ac-4688-4b8e-a3f6-55898d9898bd@xs4all.nl> Date: Mon, 15 Sep 2025 17:14:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ntg-context@ntg.nl References: In-Reply-To: Message-ID-Hash: E5MIZKUMMXME64LS7F6OVC5KF43UXLBT X-Message-ID-Hash: E5MIZKUMMXME64LS7F6OVC5KF43UXLBT X-MailFrom: j.hagen@xs4all.nl 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: From: Hans Hagen via ntg-context Cc: Hans Hagen Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 9/15/2025 1:43 AM, Matthias Weber 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=default] > \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={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? \defineexternalfigure [myilf] [height=lh, frame=on, location=depth] \starttext test {\showstruts\strut} \externalfigure[t:/sources/cow.pdf][myilf] test \stoptext ----------------------------------------------------------------- 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 ___________________________________________________________________________________