From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 MEe+LqZ+52N4bQAAbAwnHQ (envelope-from ) for ; Sat, 11 Feb 2023 12:40:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WDTNLaZ+52PjhQEAG6o9tA (envelope-from ) for ; Sat, 11 Feb 2023 12:40:22 +0100 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 0CE1B11339 for ; Sat, 11 Feb 2023 12:40:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQoEg-0004VC-9y; Sat, 11 Feb 2023 06:40:06 -0500 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 1pQoEe-0004V0-Us for emacs-orgmode@gnu.org; Sat, 11 Feb 2023 06:40:04 -0500 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQoEd-0000VE-GZ for emacs-orgmode@gnu.org; Sat, 11 Feb 2023 06:40:04 -0500 Received: by mail-pj1-x1035.google.com with SMTP id r9-20020a17090a2e8900b00233ba727724so2211132pjd.1 for ; Sat, 11 Feb 2023 03:40:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:cc:to:references :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=FnJfjKriRE17VsvmaRQkDQ46p2pLsBkQn1ORBmrBREo=; b=gI4Re0cHEF18LXOqkXHS2QL7KMcflrQGYwkjvmE+3gY3hHJoD/BlZnUZ1I6v3Bb10P rvS72O+yyIJzulqIkEVyql0/tJ6JUJIvz5hPg7SHYBS0TVaJgsq1diTHrFLPRCnx9lNN QusiQc25ejL4itCqbJZZRd0rqKHVY7AxG5HxiwM2vzhSv+/1QH/SymT6u22az8nKoaa2 BlxCZPJaErw40m9PevbLxlatG8FSz+hRZcAg9GBhdCMWpcZLcLpGP9HDc1e2qbZ/qApb CRKd0oDt7vTDKT2Yig+QdN4GEmn3DmLOiQ7s10pHCS+oLejxdeWZ0VA+1ADNPiGgcbSK lDQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:cc:to:references :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FnJfjKriRE17VsvmaRQkDQ46p2pLsBkQn1ORBmrBREo=; b=m9m3IZUykQEU2fZiW/VxKB07e4KMaHGm9h1XxBbCxwcd47IvC7ZekLnkXjjbCzmzWO wkksEASQgoTLR7yBpB4osN8EI5kTPBBtakofPAkkV6afYdrmiOXRSSsiJD65FIkoU3jl 9st1oscCGj/Oq/xpxnY1FJTm5xBYiASyf11EyCga7e9g8OW2NvEgzmE3bcNypyI63szS +5wu+dZL9Tnc1+xwEj/O2WIKFAe8IX9n3H/ANJrvpig9e7mqaQFMCHRwXVcl50c7UAcx LrQi2cD/oCOhoeEOonyCfDP3Rwxk69c7amXQ2ZiO7Y8cAaut6Mm42Ub/v8HcpHGaW7mV psHw== X-Gm-Message-State: AO0yUKW8i25IiNSZyonHJd+qcEHjcKHtO9rM0IH0yJ5Cp4B+6MhOj4HD pQ2vbiXcb8bYqS/uPBEtl8xqyf/jbqg= X-Google-Smtp-Source: AK7set9vXqrt7XN7dNTxJ6kpOT2RO5YHhrAsjMr63DTn2THJeuZ5gw9aZGl+gF9WhqRhD7gbkQEwvg== X-Received: by 2002:a17:90b:1a81:b0:230:c675:787b with SMTP id ng1-20020a17090b1a8100b00230c675787bmr18746484pjb.18.1676115601333; Sat, 11 Feb 2023 03:40:01 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id w6-20020a17090a5e0600b00230e733599esm329200pjf.48.2023.02.11.03.39.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Feb 2023 03:40:00 -0800 (PST) Message-ID: <28dbe348-ad7a-dfb2-3fcf-00d8555de967@gmail.com> Date: Sat, 11 Feb 2023 18:39:56 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [TIP] Exporting Maxima results to LaTeX Content-Language: en-US References: <87o7q5rw62.fsf@t14.reltub.ca> <87mt5nx54o.fsf@t14.reltub.ca> To: emacs-orgmode@gnu.org Cc: Leo Butler From: Max Nikulin In-Reply-To: <87mt5nx54o.fsf@t14.reltub.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=manikulin@gmail.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 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, NICE_REPLY_A=-1.149, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676115622; a=rsa-sha256; cv=none; b=mkXb3IGQk6Y0xwtEESnrBt3E4QeQ+uonBj8YIx+wt4o6Qejol6HiZHS25R5g96jL1y+btG hEN5pvSYACVnJEX0+Cdi+nSYoIjkSsFmF2Iwtewv+hKUObantAKQO7LdCgCOAVualgi6Mw gxSYCbxpx3J/L/xSBeQp3P5Bhd9x0pF+Y29w/U0MjkBMiKU4ReU8Mo0ZV/BC/7m3vcvRCD ev3v/mrXhnSY0cbnTYAJqYd+cGW876uDo4DZvI+soQMEKELK8CeKfMW3V6O6q5AdJty6PS O4lEZQ2VjoN4zse6lSTVRzEMl5cUx5EVal2Ht3AvQAd+nPlo3yXoRlvmo2PLnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gI4Re0cH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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=1676115622; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FnJfjKriRE17VsvmaRQkDQ46p2pLsBkQn1ORBmrBREo=; b=GQH9nI0rSgRufIUIKwgM/Fxc/ppnHwA4jaqGeRULZ3xuiHqVWXBipOHXXskTne7BtktZOh /F38lRtBKXfeLHk6sJvEnVJdOri6UBKPVIYESq7sWX+CMFNSBJPbr13N5ShCrQSxOyqrAC zy4oSBe93BpfSVncfv07W4Q7ZH+GC+JYP+YDBT7Csr3TEKi98JzCkbWwOz97nQrJxB7IvV IFuKtpjoQEH4O2TZ5yD2q3/JOTRuurL9B0mvf3uXiw2NSMfZGNf6XxER0vsiVmbJUGFMhV AjwIr1x5gxGXnhVsTJahBZS0FXnliadiLzBFEkbxz16IabbuCd2FEhAmoNYWgg== X-Migadu-Spam-Score: -1.80 X-Spam-Score: -1.80 X-Migadu-Queue-Id: 0CE1B11339 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gI4Re0cH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Scanner: scn1.migadu.com X-TUID: EH0DSBmSf+9U On 09/02/2023 03:40, Leo Butler wrote: > On Wed, Feb 08 2023, Max Nikulin wrote: >> I am curious if it is possible to avoid duplication by e.g. using noweb. > > ... I am not aware of how to > remove that duplication--all the examples I have found in the worg > source do what I have done above. I have tried ---- >8 ---- #+begin_src elisp :exports results :results silent (require 'ob-org) #+end_src #+begin_src org :exports both :results drawer replace ,#+begin_src elisp :exports results '((1 2 3) (4 5 6)) ,#+end_src #+end_src ---- 8< ---- It is exported to LaTeX as ---- >8 ---- \begin{verbatim} #+begin_src elisp :exports results '((1 2 3) (4 5 6)) #+end_src \end{verbatim} \begin{center} \begin{tabular}{rrr} 1 & 2 & 3\\[0pt] 4 & 5 & 6\\[0pt] \end{tabular} \end{center} ---- 8< ---- For debugging of the inner src block it is necessary to swap escaping with the outer #+begin_src. I have not figured out how to add some text in between of the exported source code example and its result.