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 2981 invoked from network); 12 Nov 2023 16:35:02 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 12 Nov 2023 16:35:02 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 05AC548393C for ; Sun, 12 Nov 2023 17:33:06 +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 cZtqU0-OaW5M for ; Sun, 12 Nov 2023 17:33:05 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0807C48389D for ; Sun, 12 Nov 2023 17:32:19 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4FC7A483831 for ; Sun, 12 Nov 2023 17:31:31 +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 QO5Ttfjesj74 for ; Sun, 12 Nov 2023 17:31:30 +0100 (CET) Received: from forward502b.mail.yandex.net (forward502b.mail.yandex.net [178.154.239.146]) (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 E384E48382E for ; Sun, 12 Nov 2023 17:31:30 +0100 (CET) Received: from mail-nwsmtp-smtp-production-main-46.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-46.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:222a:0:640:780c:0]) by forward502b.mail.yandex.net (Yandex) with ESMTP id B9E445E8A3 for ; Sun, 12 Nov 2023 19:30:59 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-46.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id vUk0l8VUwuQ0-6BVjoG4l; Sun, 12 Nov 2023 19:30:59 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=homerow.info; s=mail; t=1699806659; bh=Lrya3GkqtNtio1bHPQatAl5FvmgfJPvRlP5IN5ZzHOE=; h=In-Reply-To:Message-ID:Subject:References:To:From:Date; b=iZjBn6fiVHb55KTgycNQcTZLlhHG8aM8XZrpdjWjGGLEjmPmri/EtbZLv5fSpchXw 6NqqZwO8nP9GoSsefEAKiR4HO2t9wHgn+833oMkg1hK4IppRWbB+qoEI9F393f/i6x +/LHhNzCXIkxTASEe8XueR7FUQZ555vY6C7DZK/A= Authentication-Results: mail-nwsmtp-smtp-production-main-46.myt.yp-c.yandex.net; dkim=pass header.i=@homerow.info Date: Sun, 12 Nov 2023 17:30:54 +0100 From: Marco Patzer To: mailing list for ConTeXt users Message-ID: <20231112173054.426334b0@homerow> In-Reply-To: <5D261C13-895F-407A-AAA6-7490BD212B84@ziggo.nl> References: <5D261C13-895F-407A-AAA6-7490BD212B84@ziggo.nl> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Message-ID-Hash: G2OP3TXSW3A63BWYCR7QJVDQG3TASZYM X-Message-ID-Hash: G2OP3TXSW3A63BWYCR7QJVDQG3TASZYM X-MailFrom: lists@homerow.info 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" Content-Transfer-Encoding: 7bit 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 Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________