From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cCVRAJ48u2Y4YgEAe85BDQ:P1 (envelope-from ) for ; Tue, 13 Aug 2024 10:59:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cCVRAJ48u2Y4YgEAe85BDQ (envelope-from ) for ; Tue, 13 Aug 2024 12:59:42 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723546781; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=FzSlgIGkw06TkqLEC8kUdw207ReDvwiN0WgH7QaRE/A=; b=FgY0JPtw9mGdV/B7JlKkDX90/3NGxTh0JUehiZBtLnafG1boeOCfNpD3QgpQ4+AsRsl0oD xHxfRO13+HweCx9hyg8ICYIGvfm2FupXwvyyVOy9fZgEGcpwyW/V0lki218q/v21AEEJJe 6r5w//8f8TTfyjTInLFj9D7kKhxZvRbxaU9f63hYpZGqVwBpXxv8uHUs4lknEhZrsfCQ9y V90xC+70kzrCtKxomEYcsE659XLr3Us1aDdzgxJuXC6Xj5ZWmjnHSt9UNKW0i5QQ329pGs iZTcPtYtId8nE3YlyQOYD65wy/a9wHMx0kIc/+JGOPx+qJbtNxWsiu5IHIkK0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723546781; a=rsa-sha256; cv=none; b=PV/W4ay6CzBJ1a2gJ/Ed8uS+iCITUmfGnGKWfYS4jZ63DgUs+kGyTuqUik/NNw5b8TVWDj exg0aNdgc1MG7TD+7Ki6RsFR5chNAGg1AaL4JkExmmpeDfW4DMpV2kawMKY+rb3+2k8Hp9 jDPAqKaozE5XpJxlE37er/Lu1iblESEubthAeux3sM267PTV7RXQLvUs9ljXoghGV0rU9B 5J/cPxPzc1SlnybdH81MqZQGvTlrodmPTiGdWoguivEM/bIT79Zkj3tlM9mDJYQtuY+Ilo LKhDYDBkaVmpgz2XNSbL9IGAXwtK/BSDLXr9PuDm2OwenVAzhoRvfMJ0hv1IBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A8D4A36174 for ; Tue, 13 Aug 2024 12:59:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdpEs-0007q0-55; Tue, 13 Aug 2024 06:58:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdpEq-0007pe-5n for emacs-orgmode@gnu.org; Tue, 13 Aug 2024 06:58:52 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdpEo-00044o-Bv for emacs-orgmode@gnu.org; Tue, 13 Aug 2024 06:58:51 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id EE13BF5C9; Tue, 13 Aug 2024 12:58:46 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: Bruno Barbier Cc: Org mailing list Subject: Re: Build a menu for an HTML publish In-Reply-To: <66bb1e56.050a0220.1b102c.3ec2@mx.google.com> (Bruno Barbier's message of "Tue, 13 Aug 2024 10:50:27 +0200") References: <87cyme36xg.fsf@k-7.ch> <877ccl3ck0.fsf@k-7.ch> <66bb1e56.050a0220.1b102c.3ec2@mx.google.com> User-Agent: mu4e 1.12.1; emacs 29.4 Date: Tue, 13 Aug 2024 12:58:46 +0200 Message-ID: <87plqc1yft.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: A8D4A36174 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.56 X-Spam-Score: -8.56 X-TUID: f/k9oNEiygWp --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you very much for your reply. I didn't know the bind part. I will take a look at it. Bruno Barbier writes: > Hi S=C3=A9bastien, > > S=C3=A9bastien Gendre writes: > > [...] >> I cannot found a way to define "very-strawbery" value in an Org-mode >> buffer and having it used while I manually export the Org-mode buffer. >> >> I tried with "#+very-strawbery: test123" and "#+OPTIONS: very-strawbery: >> test123", without success. >> >> Someone have an idea=C2=A0? > > IIUC, "BIND" should work. > > You put this in the exported file: > > #+BIND: a-string "3" > #+BIND: a-number 3 > > And you can then use these variables directly: > > (defun my/preamble-test (info) > (message "My string: %S" a-string) > (message "My number: %S" a-number)) > > This works only if 'org-export-allow-bind-keywords' is t; else Org > ignores the "#+BIND" instructions. > > HTH, > > Bruno --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAma7PGYLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p4aYhAAqHFxmf8H0jef+yliMtvf/TZifXmHUfKKyDAIS/Lp godaoFpvM/L6/2IF9RX5nAq7TXOMd98PznZSFUSkjlAnbr5uWb/w2TCfmoY2ZGE/ 4Q8Ut7IDB2LOOPaOl3S1OepQEyW3Asid5kOTMCdZUq1PAnJMKckMkYmEVaB8r6pK CsIwWMIALurPnmMv0ough1Vsl1Ut1wGGwtVeDC/eddbgdHU+M1Q+joP53AFdV913 VYCEuOOH2itpww6ATSdzXM1HspihbTPT2qboSnXl0hzCyMzB3Kgo4F5SjQYQphgc QLTylEWNILRQl7rBVQsAF0Dt95oMwSz7t+wGlHIuaH2sGYiyN+Soe1KSLG62775x EViD890NSGHt7I8L3q+LWSEWLAIzdmjjEFPhJgpDxyDXeNYh3wRjZ7Jl3LKSprQY X4LJIxRO/W9QN5FtCk5z/MChZrPMVeYCfTrMFM9NIiAiecjQSMVhIThK/wcd1A9K rvMyuSP+hW/WlUJXv77yoPVJgG8EkyWDvk7h9dv37onuE64pnUAHTT7J88oA2c6g lmz+4OmfQikFp9ELlsSs7SKIRVz6CrZ/0BxlmZMAQ3L6krT6dSPGj6cICpBlkv/C WUAl1ZFqUp7z7NEUhSBfbatVmIYOuQV4c8udx41rXuSxGcOF1CrG+ZfNqzq39Aw3 ivc= =9hWV -----END PGP SIGNATURE----- --=-=-=--