From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aMaPI/N5lGCvEgAAgWs5BA (envelope-from ) for ; Fri, 07 May 2021 01:21:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8OYTH/N5lGD7BAAAbx9fmQ (envelope-from ) for ; Thu, 06 May 2021 23:21:23 +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 D17959690 for ; Fri, 7 May 2021 01:21:22 +0200 (CEST) Received: from localhost ([::1]:43514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lenJ3-0004c7-22 for larch@yhetil.org; Thu, 06 May 2021 19:21:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lenIS-0004br-Tg for emacs-orgmode@gnu.org; Thu, 06 May 2021 19:20:44 -0400 Received: from mout.gmx.net ([212.227.17.22]:45769) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lenIQ-0003X7-Kg for emacs-orgmode@gnu.org; Thu, 06 May 2021 19:20:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620343237; bh=DrTqCSQI6XMpBCHtYMumPPr3bVgV+cHQ96BXr2u3+Bo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=gBbIoM9EU5Qy/YC50UbN+j8wJZppRqh8JjizZauKT1/DsPIoK1C/GqA6ooROLKT90 y/wTjStMbAzymdbVpOQf5TcC1tNvi+Bxv42k1Z/5BKybmiWfAKaDOtf1A4Yy0ZdJMp vZINkraKQr0gHDDndXQq7iEfDYcdRc8DNAROotC8= 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:20:37 +0200 MIME-Version: 1.0 Message-ID: From: michael-franzese@gmx.com To: "Berry, Charles" Subject: Re: displaying equations with ob-latex Content-Type: text/plain; charset=UTF-8 Date: Fri, 7 May 2021 01:20:37 +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:otBup/LkYdU3juTY+HBadZ2o1krvXpEnORB25rZP/pGjVmM28L9hDJWlQTpuQQSXOyCyl OMZAUIOZIZoMDDbhrDji5coY5HxR6p7fPqW/08+pMrjrPK4ZZdNUOz+MpSPQDugj/Zt+gKsHbR1d xO7jrxkRwmNuzBVBwp0aqJFLKpjgn38s7RD2QNtFkhRyCAHA0RRakCcqUJqTHZ2mFT4SHBn6BsKS yKA/JNZLrmCRKwlFsp8sWcsxFEnGjvuX9fheQJ+Mycpo0dVFVVsukawGYshG886nRYAKUVtlueyT eY= X-UI-Out-Filterresults: notjunk:1;V03:K0:PynmlZHdqTY=:CDbADLOpgdWQbRFHSG1HP/ Z8dgC5THoZEJyHRjUPQNFcercdaw0idXVAkVX6FLgeYNkp1oQk1B5yN2WgwA3aXxJ1svJHb6b 7PX2wdtpZ67Ab7Mfpmf2xOYNrZ7MhTsL87JI9aIwx7EIxFnWtgl94kewkS6Ci2lqa6guAYph0 G635DHAcH4egvgBYusILcT6gx9D453r5L1yKngFPWRwAGQCtu0ps0TKrfrWScpmyRxDQEL/32 118NSpyxgTvLNl/oJqX6w7SASrvTi4pwBqkkcT9qLM4pmpwTT8ZOPxkCp1a/I4ABxAgnPC7Li mMnPyCm10gHf4mcGTbXFMMNpJ2Hy9nNqgbnOkj+UIT4AYZZEPr8zadA7tCQ/+LCqHfCAEJl1e v4AIfaCMAXtSOnibQT383tJGLW/1DeI+qQWcX83n4xFUJR3ZFqffCY275Ejo2zNFXWZoPr0hq Dm2mzr+fcewJpGWASfUaWGQFDzFPyJ7NFxy6FYIRBeQsWOG6usteX+kgsmAOxKRAYJTS6AKMq HiCVSZ6HlqYFMCy4nwT1DhosgpZkVP8OASbimCtSMV54KrGn3ZTFr96nx4qjd7nYf47TbgOK3 M3LukR37MIkU41AOYC0lkQkrp0a/WME5G7W6dZyt9Z+wwWibW71a4reEtHmhb+BVqHyrtpVHp S+/YXXdUhmvZDa2tsxVTaA8ydu3/dt0M6gYuY3SLB58Q30iuUc2AM8/XG4avJXy6/+GqKcr6U fzlI+h+rEtuSaYzpzerC2fjsoaqJatkgXbI9Jd+wRVpinhBjh8Uv2zuAw8DAHTAqwBhU9Cym4 erAA/LP8FhcfmI8J12fhEdeS2GySFNcqgihwHYv9jY9/Rk0A81Gjj6zSqORUv54QFoQc8//aY cP6z5eE+smHNgw6Kpa5gsuGbs0hVx6RyaJSzMNZxnQB144SDBlPqjmffiwuR7HC6yVBWX5ilK PkJgIo5+ZvQ== Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.17.22; 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=1620343283; 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=JKRjp+Zaf3TvquJWtupQqlDKoCVMA+1d+9c5tv43d/U=; b=eP2Dl0QGM2A3HyetQJndAkBQ+yETrbe5r35CjAPUq9GIYkcPIBoDwjLFpCT42umDoIhRy5 +W9Y/2IzpR2TG1VQxXhWt6qsBMqMpjhfYpTJFgkQCvaaGEummhSny3wFUBVZc4jvljQb/n G0auNk5AbTuhNGMgZqRGJPUmz1bhVTOpNLzXkAWmppzXrfTz+1+3/dnq8hfJ8XDEZMT4oW s6rXcQcR7la+PDo77c2eIEfpGIsYdhGRp/iLhRKgQmCduxHxZwhyzlRObuxMwH+MpMUhVB qufWk6XNYnQ05oaQOaqcKlVbGvvRD8WXYa5VkM3nWRA6zOCCrAuOjV11NTle7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620343283; a=rsa-sha256; cv=none; b=Zx+bmNc27R2OYMmfYewA8fWhqTGZZwalgIxFi3CAf5EsSA+sL2IP08UyT/VPkpB6VzIqKW YIyBH1T9FyddQdV07g+S9Ox8vdY0TI3auVb0foMYwqA861ChGqyZtRkgQtErALx6NymOBi WGVz/rA3FSHcvPYJPMXO46R7x16mPlcusLaVqoXnqIIYmXT3Tkr9qTyd5lG7ezbhJqtGQK JKvo2p/A/L2IDRdKBdjUXIMUN1XrVgNCSkHbqrik0mBdHi2H/f7BOeID8x/9tMC1x3kQ5d 9QGV63uVu1XJoeKI+6vdUVTP/3lZisjMIOav999WKeAj9wU8NJkuBM+kY3kHCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=gBbIoM9E; 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=gBbIoM9E; 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: D17959690 X-Spam-Score: -0.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: UVISnbtk4CtQ After I do "C-c C-c", I just get a message saying "Code block evaluation c= omplete." > Sent: Friday, May 07, 2021 at 10:52 AM > From: "Berry, Charles" > 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. > > > 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. > > HTH, > > Chuck >