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=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI 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 870E425651 for ; Tue, 21 May 2024 16:42:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 5E8F6480F4F for ; Tue, 21 May 2024 16:41:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=dwarfmaster.net 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 i46TAJXHiMv2 for ; Tue, 21 May 2024 16:41:03 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4CED8484345 for ; Tue, 21 May 2024 16:40:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 15E36480352 for ; Tue, 21 May 2024 16:39:52 +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 yhVEYYQQJs2V for ; Tue, 21 May 2024 16:39:51 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=188.165.216.157; helo=dwarfmaster.net; envelope-from=luc@dwarfmaster.net; receiver= Received: from dwarfmaster.net (dwarfmaster.net [188.165.216.157]) (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 B5576480319 for ; Tue, 21 May 2024 16:39:51 +0200 (CEST) Date: Tue, 21 May 2024 16:39:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dwarfmaster.net; s=mail; t=1716302390; bh=HR33uccSuT6w+IgU/k/GzOQxvGIrQSA8Cwz1ViPELuI=; h=Date:From:Subject:To:References:In-Reply-To; b=iOC2mSKbwfNaJ6eJy/YvBx0zNo69Nd3Yh4RYn7bRxjNYl9/nLULwA+fzJnEkP7SWz bG6YcZd5O20qM7nYEWukU/ZY4n+de3Mux+0it9gATAifTwWS+VvWodrKtdK4Z37duO rflizAKw+Ch39YhQzQ7enYQ+RLlW+CwBElTHclc8= From: Luc Chabassier To: mailing list for ConTeXt users , Wolfgang Schuster References: <1716278987.izni348y64.astroid@tungdil.none> <6df206ec-ba48-4e50-98df-a0bbebcc11f6@xs4all.nl> <171629850334.428957.10387453636720152466@localhost> <2ec3b607-4137-8728-a3c4-2a7b5dcabeac@gmail.com> In-Reply-To: <2ec3b607-4137-8728-a3c4-2a7b5dcabeac@gmail.com> MIME-Version: 1.0 Message-Id: <1716302239.z4a2dstw76.astroid@tungdil.none> Message-ID-Hash: E66U66ZCAXWESLVM4CGLVK6WAV4G6WRM X-Message-ID-Hash: E66U66ZCAXWESLVM4CGLVK6WAV4G6WRM X-MailFrom: luc@dwarfmaster.net 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: LUA API for page numbers 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 Excerpts from Wolfgang Schuster's message of May 21, 2024 3:54 pm: > Luc Chabassier schrieb am 21.05.2024 um 15:35: >> Excerpts from Hans Hagen's message of May 21, 2024 11:45 am: >>> concerning notes in the margin ... did you try the built in magin text >>> mechanisms? >> I did, but as far as I know they place the text on the margin next to >> the \inmargin invocation in the text, so they may overlap, which is what >> I want to avoid. > > \setupmarginblocks[inbetween=] > > \starttext > > \dorecurse{100} > {\bold{#1:} \samplefile{ward}% > \startmarginblock Note #1\stopmarginblock > \par} > > \stoptext I did not know about margin blocks, they are nice. But is there a way to place them next to the \startmarginblock invocation, instead of flushing them all either to the top or bottom of the page ? ___________________________________________________________________________________ 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 ___________________________________________________________________________________