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_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10436 invoked from network); 12 Nov 2023 20:21:39 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 12 Nov 2023 20:21:39 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C2B58483966 for ; Sun, 12 Nov 2023 21:19:00 +0100 (CET) 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 pCbOjEoL5v-C for ; Sun, 12 Nov 2023 21:19:00 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 252A2483A5E for ; Sun, 12 Nov 2023 21:18:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 208104836B4 for ; Sun, 12 Nov 2023 21:17:26 +0100 (CET) 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 HmySM3nuGseN for ; Sun, 12 Nov 2023 21:17:25 +0100 (CET) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.169]) (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 A9FF94836A1 for ; Sun, 12 Nov 2023 21:17:25 +0100 (CET) X-KPN-MessageId: 74d8ae0c-8198-11ee-a148-005056abad63 Received: from smtp.kpnmail.nl (unknown [10.31.155.38]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 74d8ae0c-8198-11ee-a148-005056abad63; Sun, 12 Nov 2023 21:17:09 +0100 (CET) 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=/2JRQofhjJJm/qB6jlwZtHrGGM4eoKkwjJNffN7yQck=; b=cYXUwISWJiRKX5oq4Dd9PPl1KF8VJ6kGSPUXrbNHWqCCszi1hjgifX8A8q0TtELeLVjGw1RYxDfip z/Uk4yX945QqU1THzwv85xhdYU4/DSfnFQ+/mg0Xgq1w8xWsf/XvsQxHIgfC55w8tK9diRuhKeIoX7 0v5gZjbrifExuqkJRa+Ph21+J7tQ9x2EcLrubAYAMgw5oGpOgtEhb5ZWYDtNh3I3rkazKuD4095QGj DzM41ZQW9f4aDbebkeUNKlHpLwcQylm19Xt9nkiJhF7h8RdW3iv4KHL71Ultmyb8uOYBsPLOOrSQlE wSGCstRVeRx1F/tEaV4huhT1DhFMTkA== X-KPN-MID: 33|UU/+EgHQP3C4S41l2MsEdK/t6lZWWjKpLDmmSNeVSAwX47fJMOXqt5RJmB37FaP 4K0nKhtVKVM2Z9f1dFOE4XwXpqYr2zkjKpvN+QTXx8cQ= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|6F1uphJVYu3Q5ypESZTHdqyRIVvFghiIU5S026hvn5myWhRFwq6h1tbZf3IEljg kimc/NvK2Y3NNgvEBU12GSA== 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 7e728471-8198-11ee-b971-005056abf0db; Sun, 12 Nov 2023 21:17:25 +0100 (CET) Message-ID: <55dda40f-8721-4f51-920f-9a0bf6918fe2@xs4all.nl> Date: Sun, 12 Nov 2023 21:17:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ntg-context@ntg.nl References: <5D261C13-895F-407A-AAA6-7490BD212B84@ziggo.nl> <20231112173054.426334b0@homerow> From: Hans Hagen In-Reply-To: <20231112173054.426334b0@homerow> Message-ID-Hash: EE2ZOZDQBOMPFHEZAQE7MMBOI4QYUEEO X-Message-ID-Hash: EE2ZOZDQBOMPFHEZAQE7MMBOI4QYUEEO 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.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: placing \externalfigure List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 11/12/2023 5:30 PM, Marco Patzer wrote: > On Sun, 12 Nov 2023 16:34:00 +0100 > Hans van der Meer via ntg-context wrote: > >> In placing \externalfigure[file] I observe the figure is placed with >> its bottom on the baseline, thus: >> >> [externalfigure] >> --------------------------- baseline >> >> I looked into the option list of setupexternalfigure but could not >> find one whereby the location with respect to the baseline is either >> top, bottom or center. > > Maybe this is what you're looking for: > > \useMPlibrary [dum] > \setuplayout [grid=yes] > \showgrid > > \starttext > foo \externalfigure[][][location=high] bar \blank [5*line] > foo \externalfigure[][][location=middle] bar \blank [5*line] > foo \externalfigure[][][location=low] bar > \stoptext This variant: \useMPlibrary [dum] \starttext foo \figuresymbol[] bar foo \figuresymbol[][height=1cm,depth=\strutdepth] bar foo \figuresymbol[][height=3ex,depth=2ex] bar \stoptext gives the lines proepr dimensions. Hans ----------------------------------------------------------------- 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 ___________________________________________________________________________________