From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aBMQECnj1GJERwEAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 06:35:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SMHmDynj1GIuagAAauVa8A (envelope-from ) for ; Mon, 18 Jul 2022 06:35:53 +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 1A7562B26 for ; Mon, 18 Jul 2022 06:35:52 +0200 (CEST) Received: from localhost ([::1]:36164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDIU3-0007Uw-1b for larch@yhetil.org; Mon, 18 Jul 2022 00:35:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDISz-0007Un-Ks for emacs-orgmode@gnu.org; Mon, 18 Jul 2022 00:34:45 -0400 Received: from mail-oa1-x30.google.com ([2001:4860:4864:20::30]:40802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDISw-0008O6-Mj for emacs-orgmode@gnu.org; Mon, 18 Jul 2022 00:34:44 -0400 Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-10c0e6dd55eso21040933fac.7 for ; Sun, 17 Jul 2022 21:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=0m/N2NSlEtKm2t0aFod6Wet+UrmKMSe6CHwAZicbJbE=; b=HD5CqlG6owvP65Pnk2ICeFArMvfbvarKpp5ct2zssntKasmW2A2tv+y+3jySaNVIPM 24PlhRfmMZhIzGYiap5QZcFyUKugRh8F06RLz0OdGUza359xiFVjdF3G5fAIadbB3InF zWI+wWDN67F1LdmqN3wyJmRr9TBdg4/+MgXPzmiBBfcEGPHJtbxeV0FibVMHh1rEjP5h ZEetbJCyjqBIeDzWCOyGYX6nZOkSlABC9JrLbhO+axZ78vDNE2pZ9G7/417PEO45SrXM Gwtrt72F0ZfAcm2GnUdw8U0F3FBtZi7/g8SCNzMgTfAZVlH3iLnsUrSBEU2x/6O/NXnN MDFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=0m/N2NSlEtKm2t0aFod6Wet+UrmKMSe6CHwAZicbJbE=; b=UWoimUosAaTNp9YqnAXEuNItommMn3CqVWGh27utS/VC1SYPI2LyTiwbCIXUe5Qgql YCkPqhsAoYq5kQanVz1May7YsCJg5lHFZq8+RMRXEzeFBLm0Gr+E1E7VxudsWiKDzO3u vHBHed+CdhPbkxt75H1t6W0O9Hs46E4HSbcpYFEgVGcvF7JKjnwU0DPpUQK6lj6tqMWu eXyLJn7xxDeIbsP6HYALYSIMJm3GgwmB/76G+gZnLSnXJHzLCF98iB/DSCsVgbvgfjms QxUD7dstvNBibLP/syCNh6/vEfyV+uQVqcs4haUgPAUkgiClBxa06zJ8JJyzATakozR6 Fp7A== X-Gm-Message-State: AJIora9/vMMN7GvdGA8J27Ss1KCiPPaBYBFYy7PyIatr11vjE+H72Dz4 aKUYUi4aOZFswLDOaMmKP50= X-Google-Smtp-Source: AGRyM1v1EzwJ2yON7ai83ePbaP1+YBC1HVuToVpINo+DkwPubVrHUryOPd8Udzv40rLEx7RmtAO4IQ== X-Received: by 2002:a05:6870:6086:b0:10b:8905:14c3 with SMTP id t6-20020a056870608600b0010b890514c3mr16138847oae.255.1658118881421; Sun, 17 Jul 2022 21:34:41 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id e135-20020a4a558d000000b0041ba884d42csm4538498oob.42.2022.07.17.21.34.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 21:34:40 -0700 (PDT) From: Ihor Radchenko To: kevinbanjo Cc: "Berry, Charles" , emacs-orgmode Subject: Re: substitutions in html export? In-Reply-To: References: Date: Mon, 18 Jul 2022 12:35:43 +0800 Message-ID: <878rorhwbk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4860:4864:20::30; envelope-from=yantar92@gmail.com; helo=mail-oa1-x30.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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=1658118952; 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=0m/N2NSlEtKm2t0aFod6Wet+UrmKMSe6CHwAZicbJbE=; b=mOF6qJ2R7vBuATQ9dxcMZElvVi35bJIiE7McAXKUZeRVkdDkhbSAVUyqpT0CopasrpAUF1 dQBQW+O1R1HyjysNnLU9T7jLD0lJJXElXwNzdT00dg/mdRJpVWapLZpXWFctQ9XbfkKKvu pu13flwlnqO557UjO1MbrXhcnqfm/kwhO4JO1LH0/VYqYNTE1ahhDTe6eEA1bfNd9hjJrx RzXMVfZOBU2SWouWWCe0iZnt/HXhdmRMyvsMU8dQsDf1f9FDzLCn2fnAyK3N4yoN4s/Noi UPuu5o9eT0U0YxCFJZLpHU07zb3xEGvH0//mKydTf7cc9fJmgDyndUwUQRGg4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658118952; a=rsa-sha256; cv=none; b=Zaks13OlCnqg9giU/AGo9VJ1pzCK2rcEICU4DzWlBvI+3t07B6HtxbgHFzUFC2dp7bd0+q QpRut4JAKsLq0rALtzZBbz21gy6FGlbw1fxoAoh3zuMn7Bt6czInlMAfX1KTo60lBIhW6P 58b1iMdQmm6ehAlEqe+jes635YaefmCmJ+t/NRnc7JZJvJfl1RdBtVDmhMp5U3HaI2GOiy ei7jeIGYA0QXrwJpCear0mpO7lLiLL+8+N0D2aY/3togo/h+hUSYyvwY+JYhy1KV16ldsC 5tkqv8hFYn6V1iDsS4m9eBvX4Yi1NObUbdAA/pSg3P31MpCHj/kxK69EBan0Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HD5CqlG6; 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: -5.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HD5CqlG6; 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: 1A7562B26 X-Spam-Score: -5.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: N9aUZ/z/hmWJ kevinbanjo writes: >> 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? Use inline src block or an inline call to the src block. Best, Ihor