From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SNhyOj99lGC7FwAAgWs5BA (envelope-from ) for ; Fri, 07 May 2021 01:35:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yKz1NT99lGB7EwAAbx9fmQ (envelope-from ) for ; Thu, 06 May 2021 23:35:27 +0000 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 473F310775 for ; Fri, 7 May 2021 01:35:27 +0200 (CEST) Received: from localhost ([::1]:49860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lenWf-00081T-FP for larch@yhetil.org; Thu, 06 May 2021 19:35:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lenTW-0006jv-4g for emacs-orgmode@gnu.org; Thu, 06 May 2021 19:32:10 -0400 Received: from mout.gmx.net ([212.227.17.20]:34335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lenTQ-00021a-S5 for emacs-orgmode@gnu.org; Thu, 06 May 2021 19:32:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620343919; bh=PZtBB2ZRocIMz285N1FSQhIW11HUdo5yeB1Pz0tiyak=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Q3dkOb5XG6jSaL24ZTWQBu0nMPLUJ8A5zEshK9mOZYn4bum+kx59tnYRATyjutGzj lFRgTSWhcu1YmXr/azmdt2l0RjNvlLVF4C9jaa/pKTyTZU0QIFdVh+fyVj2ssQfsE5 L+fnf3SxoUWqD2oXPJ2yJUIQynwk9XsdijIfoqyE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs12.server.lan [172.19.170.180]) (via HTTP); Fri, 7 May 2021 01:31:59 +0200 MIME-Version: 1.0 Message-ID: From: michael-franzese@gmx.com To: ccberry@health.ucsd.edu Subject: Re: displaying equations with ob-latex Content-Type: text/plain; charset=UTF-8 Date: Fri, 7 May 2021 01:31:59 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <173CC0E2-8BF3-4EFB-A2AE-0A8A5C163FE8@health.ucsd.edu> References: <8E0D781F-7947-4616-BA73-1B6F7C45442A@health.ucsd.edu> <173CC0E2-8BF3-4EFB-A2AE-0A8A5C163FE8@health.ucsd.edu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:OyFBrNFdm7njizY8wlRqrWmQ9YmAPoYYNETbqex1a8funSBoSGMuFnE3QCMo5U140Z4Ro V0YOPSe88X7jlEFQOh9SKynttitcALndgwbDM/Xz86s3kBzzvUn6V2UGwuIAcNFAOX3dqOftSnCQ uZBEbyn3tWBODONmMnji8zVfXmMu/eRYzAL2ubJTlidIBGtkg0X24HtINw4E0cbB0C92GcJr7JVP xR7wk2FBTUXb1PwaFh8AkFz/VZC7CxZn84snhIGbnk2Gpug4rl8y+njjNK+vTSAzWSDRewaue6iq JA= X-UI-Out-Filterresults: notjunk:1;V03:K0:qum9NsIPvkY=:pIuVrSFw5wMZd2zk3sogKc RE27HRqbhaEJ/3WgmZ+kByJ7b08hiztMSgnMlGqVNyw3HnoqmwswIMSkmPht8LflyQcCv66oX lYoTyu4hJOoIXIXCtmtclOZgxiSgDyIUTBR4vJSRwtoArHXcxFK9w2RDbtV56EVGLJsU+MzrG mf2bT2tx1sav5IttYVG4fovk4VKZPoRR1u/DUn8TRVTGFUG2BWlgWJf9Kd5jxSmikkv0l7D/3 5fPWPpMNd15eFx/VK7jdYF/dDrCH8PO8T/5dPbNU5mkfYE5T6Fbx551YCD9p/1AFkJ3n5LwgQ zZMmwav3WVBDVTqRURyEEgQ9XQ6YBR8MOjCN8N0PDnDYG1orVtDkW3Zb0sgEGIz1oECwS0i61 xmDiQMia9kZ5lTX3oHfQZKKpB3R7wASHUVDtQxYYEJ0kNsADDi7gJnBAXkS6So+JOsSs/s/hQ MluIYIXYLtihHlek6IXhgPZ05Frd9UyIxaBQ+KHPSU05tqFb4zchQWRCHtItYUx57Ae37iVV/ P5wXcjfIiK+daDkF4qCMTGHgn2iC0/NYbQscB0epbr0NF/IkGkVGL/0RqTICdurti3ddJ3sX7 u0IC6P2S6q1xwRTOgqTxu6fo7aHnXTvmiD5830Cruu9jZV81Yznt+OLKfESN1MitIcRZKIP6t JY+PyANVWfL7YpMcAfHiYSOn7eC0R2oq4iu5WMaYO09GnoFHZ0mX5jVtfyQeibs6FUwsc4yxF ml6jmRSJqYOT3vtHVoJEaktaMaxEtIpTSlm8W1nlzC/K1b7xWwj+IoAe7K4dqjdwdc4ywj73D DGtSgYL/tmyqjcRfDqZ3c+t30Ra+9fvPRwm4Iz6Q4ufyV6majKR+7Uymdo/wV8ywDG+GtB/Ay TzLDDdAvxowD6/4zmu5AIYrHc0Ryp+Vk2Kyh9jBOswNnvXmQ2ZTwzVo6AK36s/3OMEhCMnGuY q0nCDJrrLPA== Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael-franzese@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Help Emacs Orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620344127; 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=hDgIiyFLH8SwbjdZM2FnDtjmXSRe0K9mx3vwDZ1g958=; b=KxljIlg1hEljDBV5Mtu5F3jGQs92IqT6Cm5XJVDhTdlirfJINFbdC3L7IBYSf/J06B4SKG kOrdb8A4A6PMDz+ptph4GD9C5toArLYcWRHzysmvXjawpIE09UTSyxAUO6yCAtf837RJXC wjj3doBJLN9W6PfT0kgws8Ti1TpSocSVFlcssemzFBJ//BiNsdoAZ7CXE1VAbreAJfH/1e GVUkniIH932BYfg3GFkX087ufZHVnW8xUuzV4zq3M7VQaA2ACbNVFf312toJKc1EbWkRW9 RSqfbkZroMTV44oOA6B2NFPCNkoTWjl1nrNAKwLdCLrmvCodWmbM/FHWFQjy1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620344127; a=rsa-sha256; cv=none; b=VlPwrOyoCpfb42JN3WBB2wdvQ+DdKrak/EoSHqd1QIscqEmFRHaOpeEPalKZozMKdMHeJX 45OFVfONNDElnOHmP5j0KOqAJXn+HzV2hsRbNWOR8dEuxhHy7fY5Giz4QUdn/luEdG/ejy Q7h5UFK5XFfYF5bo1tx4DyuZ/lkz/YnM2DwfjqbkHKOzJTcBkLcJWVmFkNFEF7GiS0PSLP GwhG51GuburMUZpzuVDnAVntr9KsPx/EIDNuJZ/X8bjgdAgFsckHIJ1Qnk/MkkmbI41rp0 Cl1lmtYTDm9uvn41RkWH0tvs8vzzsQvD0D07RhTztkMehmnNnKe6l7QedZGxhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=Q3dkOb5X; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=Q3dkOb5X; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 473F310775 X-Spam-Score: -0.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: ePCGnIAMmbCk > Sent: Friday, May 07, 2021 at 10:52 AM > From: "Berry, Charles via General discussions about Org-mode." > To: "michael-franzese@gmx.com" > Cc: "Help Emacs Orgmode" > Subject: Re: displaying equations with ob-latex > > > > > On May 6, 2021, at 3:08 PM, michael-franzese@gmx.com wrote: > > > > Did you manage to get the equations displayed, I have tried again and = could not do > > it. It might be beneficial to give more details and some more example= s on what to do. > > > > Yes, the one equation was displayed as a preview. > > Maybe I was not clear in my directions so try this bit: > > --8<---------------cut here---------------start------------->8--- > > 1. Copy the text between the `cut here' lines to its own org buffer. > 2. Place cursor in the eqn1 src block. > 3. Type ~C-c C-c~ and respond to any prompt about evaluating with ~y~. > 4. An eqn1 results block should appear with a :results: drawer > containing an equation in it. > 5. Type ~C-c C-x C-l~. > 6. The equation should be previewed in the :results: drawer. > 7. Export to LaTeX Buffer with ~C-c C-e C-b l L y~ > 8. Only an enumerate environment and the equation should appear in the > LaTeX buffer. > > #+name: eqn1 > #+begin_src latex :exports none :results drawer > \(y =3D x\beta + \epsilon\) > #+end_src > > #+call: eqn1() :results latex > > --8<---------------cut here---------------end--------------->8--- > > > > > > Can I export on a window that is to right window of the code window? > > IIUC, the question is > > : when I export (as in item 5 in the list above), will the LaTeX buffer > : open in a window to the right of the one containing the org buffer? > > This is what happens in my setup when I have the org buffer displayed in= a frame with just one window. > > But how windows are displayed depends on many factors. See (info "(emacs= ) Windows") for some of the details. So you may need to customize or resiz= e your frame to get the same behavior. > > > > I can one use plain > > tex commands. Texinfo mainly supports plain tex, org mode in basicall= y latex, so the > > two programs do not currently work well together. > > > > Um, I don't see how this gets to the original question. It is a side problem after the task of math display is achieved. > > Texinfo has the good feature to show equations (but only for plain tex= ) whereas org > > is good with latex (but not very adept at displaying the output in an = emacs window). > > There are probably a lot of opinions in the org community about how well= org handles previewing output. For me it works well. YMMV. Surely you are right, but it is a problem of use case. The lot of opinion= s suggest to me that there should be various functionalities that can handle different approach= es. > HTH, > > Chuck > >