From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OCa8NahE1GLODgEAbAwnHQ (envelope-from ) for ; Sun, 17 Jul 2022 19:19:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kA2bNahE1GLnBwEA9RJhRA (envelope-from ) for ; Sun, 17 Jul 2022 19:19:36 +0200 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 7DA2F46A00 for ; Sun, 17 Jul 2022 19:19:36 +0200 (CEST) Received: from localhost ([::1]:40248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oD7vb-0000oa-LQ for larch@yhetil.org; Sun, 17 Jul 2022 13:19:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oD7v0-0000oC-M5 for emacs-orgmode@gnu.org; Sun, 17 Jul 2022 13:18:58 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:41874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oD7ux-0004Ud-LW for emacs-orgmode@gnu.org; Sun, 17 Jul 2022 13:18:58 -0400 Received: by mail-lf1-x12b.google.com with SMTP id t1so15855481lft.8 for ; Sun, 17 Jul 2022 10:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yZBN9QpckR+l1GMXviG8o4F/81W9efWNiOrUF2e2eT8=; b=EBaWqfcREBkRzemVY0wqsDc/YmlDBINJMUFrr3iPBko4EQzCRK1hqY5DspxxdimxQG sPT85XEP8yRIpLY97e3eqgvDhAypNTreaTmoRs3xe11o1s6CMUSKPftFaTeOLt7C2SbH oA1v1Exc3QgHxWu/lC82dmCtExykZ4Qkj7LAjKdtdNXQ5qqj9+kJ+zEjnFtxcYGFEnOr FYjMhjpAafHu+liPj7oBoQboMbw6MnCPcaPbSAt21Rjk7+gHVC9WnVtzQH6TAo60F+iR LU3vE/PmEFk9pvK6xMLduUvQ4Vp2xsphMUa+zGVPirecQBtU4Wffr7seDy2PLO1mR2AA Np/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yZBN9QpckR+l1GMXviG8o4F/81W9efWNiOrUF2e2eT8=; b=fwJwB7E/QqZ4Y39uk2Lx8C12/eHXfj2Tr/ZcXWgzYygt0jxLijXUw9olFau+3Zmwos kBFm7JIxtMMnZhguw7/6JnN1nftJLxecmV7BMDLpdUy6G0Lwc4W7zp5qcKqpSy462EHt 56O8I+mzUyNPD1KAEWjSUL6ztOYofqKbFbYWUcZ+TccN4ztx742yUZemE/biTKbIwktl 9j4It1nRZYBuie3B5nSFtsGwrt9bodLb5rMAKjTl3ZH3njerESDIW+CedGatLJ3c64aR MNW+ND9DiElHtdUptpEq/n/4Aqcdof9dFEm2fLagyhk8KOV+13t0smkecZXz2f5tDJSG GDnw== X-Gm-Message-State: AJIora8+YeEr87E7Td8AgGAGqmkT9qzc6AEgJfqN4xxkm+f3fz0J+Ijl HfP46zR03TKZBOEyBWe4hl/3Pq64esfJGR7Nr5o= X-Google-Smtp-Source: AGRyM1uITb8J3zks3hndNkJbIwNNq2PYpQhGukUgQSsQC0V7aDZda820fkWpAlly1xZ9Wzu0r6DzNvmUziRtLDKNBAc= X-Received: by 2002:a05:6512:3f9b:b0:47f:48b:ae0d with SMTP id x27-20020a0565123f9b00b0047f048bae0dmr12445800lfa.27.1658078333501; Sun, 17 Jul 2022 10:18:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: kevinbanjo Date: Sun, 17 Jul 2022 10:18:42 -0700 Message-ID: Subject: Re: substitutions in html export? To: Ihor Radchenko Cc: emacs-orgmode Content-Type: multipart/alternative; boundary="00000000000014042e05e4037281" Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=kevinbanjo@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658078376; 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:dkim-signature; bh=yZBN9QpckR+l1GMXviG8o4F/81W9efWNiOrUF2e2eT8=; b=oiT0Fyw8mgGKf9BT/TAi9d9pem69xI/W3ZFG4m3evgiORXXcy1uiSE5uTmDbexbb4MYNlg uvxQ/8X1DGVlKBfq3unFauJEPTMMSeXsXGObVAaJGZjDHWCMxcIZErcnwEwBK2i8qcunbr G3F3RZHalhzRfj4qLmL5PNIgUvEB/hyVueRPQPhwThYl/+G1LHs3pXOONlFijB4i2N85DO K2iZGRv8xkBpAUAyPsiSIOPu6bciu+kuY14OP7A8U56uL+XqG7DVwxMCtHQLseU74aOMh6 esN9dX/ZJl0GzcMAQpyUoVE/KJMpHbNyqftCujtXB4vueRXUSusFO89ZEO1Jeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658078376; a=rsa-sha256; cv=none; b=qCBdxjFWV/gz+I8N/MIl+CFowSCBcaQBG+MxWiYVvJhr6qYk8DI/tPxBvUcj5J6nVTfJb0 N03TqRm0uXxexktzBZoJ1E2QOKXMK2GUky3A+nPLz57HlPsN+YLs2bkSLZx/M7uKF/h4DI +/hqHRkwevEmo4jwgLOCxzoccyCKclNcVh3b+gFMimxrVdv6ACdy4FBbSyTssw8cilTBe4 I2xvsIYsjyZ/L6aTLMfFXCG9NDq2Xd9SItJHodcpWM3N0y9i7Wtmc8vnHJTOrXTChml6ky nEoO6I7JluYl3YLLS8nCTHltG6xDeoJcRJSDTIN9IzbTOha76OWyNUAsQ7ZBXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=EBaWqfcR; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=EBaWqfcR; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 7DA2F46A00 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: OhaK+E/mo8wW --00000000000014042e05e4037281 Content-Type: text/plain; charset="UTF-8" On Sun, Jul 17, 2022 at 7:24 AM Ihor Radchenko wrote: > See inline calls in > https://orgmode.org/manual/Evaluating-Code-Blocks.html#Evaluating-Code-Blocks > I did this and it didn't work (but the one outside the export block did): #+title:test #+name: numbers #+begin_src emacs-lisp :exports none 40 #+end_src #+begin_export html the result is call_numbers() #+end_export the result outside an export block is call_numbers() --00000000000014042e05e4037281 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Jul 17, 2022 at 7:24 AM Ihor = Radchenko <yantar92@gmail.com&= gt; wrote:

I did this and it= didn't work (but the one outside the export block did):

#+title:test

#+name: numbers
#+begin_src= emacs-lisp :exports none
40
#+end_src

#+begin_export html
the result is call_numbers()

#+end_export

the result outsid= e an export block is call_numbers()
=C2=A0
--00000000000014042e05e4037281--