From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2HKZDIS01GKKMgAAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 03:16:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gCehDIS01GKT6gAA9RJhRA (envelope-from ) for ; Mon, 18 Jul 2022 03:16:52 +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 B73A21BCE5 for ; Mon, 18 Jul 2022 03:16:51 +0200 (CEST) Received: from localhost ([::1]:47724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDFNS-0004Mj-6P for larch@yhetil.org; Sun, 17 Jul 2022 21:16:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDFMz-0004MW-0j for emacs-orgmode@gnu.org; Sun, 17 Jul 2022 21:16:21 -0400 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:36420) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDFMx-0003t0-Ct for emacs-orgmode@gnu.org; Sun, 17 Jul 2022 21:16:20 -0400 Received: by mail-lj1-x22e.google.com with SMTP id o12so11994226ljc.3 for ; Sun, 17 Jul 2022 18:16:18 -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=4S5VwNMxkwec/0in/lLTY2nBCAq3AaSOoqplZZouU+s=; b=UftXBoDdk2cgCa6ulQLqMCr6+EE54AYMMcWh9ip11uW4GTS6FPSsUHafINpdh0iGiV AkMYUMXldNw1+BL6xzJpLqIvhuiNHaHsPUez0eScCBdK/tKYXXD6+UlRiANUQC4YsU8G L+toLpt8Mv3V6brmov1JikEP7am5mqJlgzBzaO0IveutxwrTR1ZTQu7KrQnW5sdLS5VR KNLDMSKpOqOy5R4j4zj/pEftTOf/SB4MN/Bd+0klxQ7+WBfyVHKPkVUWA6Qq58yd1Cwr +PGniublm5JPBq3K4A47E1vODmgMUJt0irc+ajoyxOkj0Gzmrs2PX0auBvhLLJ2g1MUM fUfA== 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=4S5VwNMxkwec/0in/lLTY2nBCAq3AaSOoqplZZouU+s=; b=Zysaat37hikgAUmbmNvwFhexKNr3/l+lfSj4dJM0po8mmNr0Pd60FwS/RwO4pcemg8 nMFdZbmf0wzaiLHR8iBLlCyPdw/JoxEMb58b08qFz7/xprphxJsVtnSs03volgrQmGEv Xn1mQlttMzURBpPNfLD0/SHmD8BxjSB7yRT/rDXZnVYq2EvnNx9Esn/RqBMtp6zEEa7g QYNC1QDnzaRHbuLikP9CH6kSQ4vxj2e9e+Vq91ysKF3psRqCEmuCxnth0WzoeZssYduf JPn769jiP1UwoehIPpLYNkZxaUQemnj5bLyAut4QmtKVxiM9iDmM25oRIrT1W/3LdES5 VSkQ== X-Gm-Message-State: AJIora8mGIWN8u6/L+t72nRGfpntMvHhEuX+SAoQ+d4CyCMsvSiM/JsA qn1OBD4LJscG4IX/a7/OD58NcBUYvoYMVjFQxFQ= X-Google-Smtp-Source: AGRyM1vHXR6ukZA3S2O8ntzDlJXFsIO5RZcL1/nU8tp0AjuhsWbdWUO4pgd/HvuKj1sE5P6LN2SoB8U+yfJsy1uuOl4= X-Received: by 2002:a2e:8606:0:b0:25d:53ab:87ae with SMTP id a6-20020a2e8606000000b0025d53ab87aemr11196816lji.10.1658106977687; Sun, 17 Jul 2022 18:16:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: kevinbanjo Date: Sun, 17 Jul 2022 18:16:06 -0700 Message-ID: Subject: Re: substitutions in html export? To: "Berry, Charles" Cc: Ihor Radchenko , emacs-orgmode Content-Type: multipart/alternative; boundary="000000000000679f5105e40a1db2" Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=kevinbanjo@gmail.com; helo=mail-lj1-x22e.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=1658107011; 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=4S5VwNMxkwec/0in/lLTY2nBCAq3AaSOoqplZZouU+s=; b=jE+wZrT5brvBADWBjYdQhKoo4dXmE8Ecx+JPazs77+QuRBH6l/rl+ACSJmL7a/V6WfW4eO rEMX3rCFX+zxDqcHXzGHOvjFVLcdzwdeYNZ5ZV1XPpbPgRY0DW2fEV43AkXj5aDrT7ugtT pgJClyVLO9Ok62zhgmbvMgmqXAcfl4DR8QQlW/yXDkLfhsHF1OKFitWWuzyGWXdna0XGOJ g1TIEKX61r4mSlRO4Sl668R2OAeKPuqiOS7KiFBJj50TWwXqhO0b3L5NFdOeo4bbNGvSqP R6TD7BaXVipbgIQ4w/cUCjbqXJpcNX5fcy2px4eSoIpFAft50OVAClFD92SIWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658107011; a=rsa-sha256; cv=none; b=iT61Us5XbAckdP3CdicNAl810Zvqf1omAcNqncmdGzvossexJfFQ+Zk3WZyphagzlhqjqS wZEVxZqkYlVu+bGHfjCAVKxjNZIsGXvZRAusHbGVWzAnYtV+PwyOtcgT5rcut79XIolYkN QMFOKv5OQ4ZbBZAEqqdgpalNP+GBSn3G7rUGPo8gdvByEacZSMjt+NPWdMssNKXYGQSQ6z TtdaZTVxjFzg0YRzpbI6yLLj4IQG+cdTLpaaCfavD8lUWGu4J0l+Vu7wdSfxCy+Q/oOCh7 nKEjS2faXg8tABtbU8oFflV7ilWUI0m5wScpW3ossYnzNKFImB5/voAUcgvXwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UftXBoDd; 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: -3.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UftXBoDd; 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: B73A21BCE5 X-Spam-Score: -3.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: LW4Bv/KSOfGt --000000000000679f5105e40a1db2 Content-Type: text/plain; charset="UTF-8" On Sun, Jul 17, 2022 at 11:54 AM Berry, Charles wrote: > Kevin, > > > On Jul 17, 2022, at 10:18 AM, kevinbanjo wrote: > > > > > > > > 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 > > > > The export block provides text that is to be used "as is" by the html > backend. So, "call_numbers()" is treated as html. > > You need to construct the export block programmatically. Maybe something > like > > #+begin_src emacs-lisp :results html :exports results :var num=numbers() > (format "the result is %d" num ) > #+end_src > > The problem with that is when I export I get

both above and below the result (even though I added :results output raw) and I need it inline plus it's changing my angle brackets to > and < (I'm trying to generate php code). Any idea how to fix that? -Kevin --000000000000679f5105e40a1db2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Jul 17, 2022 at 11:54 AM Berr= y, Charles <ccberry@health.uc= sd.edu> wrote:
Kevin,

> On Jul 17, 2022, at 10:18 AM, kevinbanjo <kevinbanjo@gmail.com> wrote:
>
>
>
> On Sun, Jul 17, 2022 at 7:24 AM Ihor Radchenko <yantar92@gmail.com> wrote:
> See inline calls in https://orgmode.org/manual/Evaluating-Code-Blocks.html#Evaluating-Code-Bl= ocks
> <snip>
=C2=A0
The export block provides text that is to be used "as is" by the = html backend. So, "call_numbers()" is treated as html.

You need to construct the export block programmatically. Maybe something li= ke

#+begin_src emacs-lisp :results html :exports results :var num=3Dnumbers()<= br> =C2=A0 =C2=A0(format "the result is %d" num )
#+end_src


The problem with that is when I = export I get <p> </p> both above and below the result (even tho= ugh I added :results output raw) and I need it inline plus it's changin= g my angle brackets to &gt and &lt (I'm trying to generate php = code).
=C2=A0
Any idea how to fix that?
<= br>
-Kevin

--000000000000679f5105e40a1db2--