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 5fa4LNozlGBwAgEAgWs5BA (envelope-from ) for ; Thu, 06 May 2021 20:22:18 +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 8BKtJ9ozlGBFNwAAbx9fmQ (envelope-from ) for ; Thu, 06 May 2021 18:22:18 +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 8C1802AEA9 for ; Thu, 6 May 2021 20:22:17 +0200 (CEST) Received: from localhost ([::1]:40242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leidc-0005X3-9U for larch@yhetil.org; Thu, 06 May 2021 14:22:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leiW9-00012M-G9 for emacs-orgmode@gnu.org; Thu, 06 May 2021 14:14:38 -0400 Received: from mx0a-00395d01.pphosted.com ([148.163.133.170]:25080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leiVt-0007dk-T2 for emacs-orgmode@gnu.org; Thu, 06 May 2021 14:14:31 -0400 Received: from pps.filterd (m0173168.ppops.net [127.0.0.1]) by mx0a-00395d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 146IC9OA027035; Thu, 6 May 2021 11:14:06 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=8GZAW1Bmk9XIlLqU3+xIYi1U8Y7dpYL99Y0cMIFDFEU=; b=uph9O0L7e1PA9SI6MSSW+NGf3zzKFllEx+9npf/zl0KU0zsdj3jNKennPAFSDdeCdsIv 1doqXllBZnASlx+2HojIs1nQYK5pXaa+Fzq/Omm4RAJ2D/Ry47H7dQ82CsrWr0TwM5h+ VIV8x4E6zoeVfNsth4yEucJuUx3h8IIggqK4PWOxvKMya503/ZZP8Gb07AG2ZpvCUwJv Cl/lRc+oBNsO8GFpK/BYw2uCXuSIKpAUg/XQmE16WSNA/cqf8TVFS/9tRJPiLuKNzzZf zIFjWR8PhSsVYAtLqj7xyGycG3qhCGm7wdhWpXQB6EJrZOxTWCvn9RUiaz00qA7gEPZx 5A== Received: from secdlpezp05.ucsd.edu ([40.112.251.180]) by mx0a-00395d01.pphosted.com with ESMTP id 38chwa11ee-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 May 2021 11:14:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l5CbBtF7AwkRfmYKUjK59dh7qfB7R3pWu98pIJO1d1Z8VQg7OdaRvSqdVLbl6KBLLVb6klVSTa59Ofl5apKZRaPqcGOQ5kzaT5kBSldjeRrGU51cCnJljJJ+rPye/49q19QyaZClagGWv35XxupNuJL6dr4T6GrzFqff35d27hUZXNTrfZzKEnlFT8U2/+0rHQoLnFlSnzD9Aq2vdqVA/6WUsSg+bmtm8IsPQQOg80F3qyFZTZNEb3D2ROwMspdS0lfwFsZemRTSNWYHRrj5wA5F5GavOmN9DR0PLcNVHAuiTy7sWYvYCYsV7fvsUWFS/Na/UDExHQqfkg7uncgiuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8GZAW1Bmk9XIlLqU3+xIYi1U8Y7dpYL99Y0cMIFDFEU=; b=DCpmLNGYKJTIrfvFr+dOhtZt6eRJCUT9jLIbW6xW6fOH/uMqZZ8m02NWNvNR8Wl2bAxW5kfWNBRQJPjI2tnfBXEmNpEVVlki5UWaFw5AcTkK5VptK5pAPCFkWTbDQcChGkABFqL0+RSjLIYo2UO/mWQAo9B5stgNZ5wxlSdGln4hChDuCz+pg5vQB23/vZlu1gVPjA3Kuaw+WIGcmVlyIgWOPQ0qelvFOxfy9Pdycij8JobAezN2G889KelH1VsgJMFXXmpjRDrkC2JcMNOw7fZLE3qwj2XdoKZAivMnRKpomBhPcTqhflVGsFOrv/18tZMX09xLs9ESR8iU5odeAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8GZAW1Bmk9XIlLqU3+xIYi1U8Y7dpYL99Y0cMIFDFEU=; b=r0KmAo2B9frQOZAWVmLNNHMd/bpPMfXy3cbnKA4nzJfM9qDxKlSQPK/kCsQNFrtI+hhE9cHrl7xDBAyseJTDP5VLhIGEzSQLCD7B52cazgfC6kVE9iUyMpYppatNoijrQaWaxvicGB7+VFaTqN8XQn/aA/h4l/yE2jRU8+ZdhtY= To: "michael-franzese@gmx.com" Subject: Re: displaying equations with ob-latex Thread-Topic: displaying equations with ob-latex Thread-Index: AQHXQqOY2uhGRMfDgUKJm5qmhUXs+A== Date: Thu, 6 May 2021 18:14:04 +0000 Message-ID: <8E0D781F-7947-4616-BA73-1B6F7C45442A@health.ucsd.edu> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2600:1702:1021:b0:8036:ee02:b48e:b11a] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2382dd7a-9718-48e5-874b-08d910babb7d x-ms-traffictypediagnostic: BY3PR19MB4932: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DbNxdDW+dora7H3XDQrqRlyVCpTmSheBKiKDzXVomwlNAVoEf1LSz+15W+eJCJMIsODiuA3PygXotsaDZDkCroC3kzLXd1KWIIFGwC5ygPQ9r57YvcPX7e40vVl4DZ3AtHh1eUEkHuMleJAZQ0kkvUiGEQyuLre0a0Ux6e4IA6vsHzFsK5rnr3YEYARsDrB/hm56bVMGrQRAG3cnacno+C/gGCoCoRzPBK3ipq+oYZWzK3tRsPi2YemBWTmJ4L0pEvFLMB78mHQphy/6B3CPmoxk1tmnnJxS5ZI+44DGBfOgs7mPGaC4fCdIvlJiVjS/sT1wOYIs/+vjTRq4XUIjRaGo83E4rP2u56iB8h5iBInHwe8P2fyLIXOEzqKTIAJpKkcSBNa5cMbSey69WUU831Dk2ZEr+wgxgBM3SU2E3b+YyZfe9DmuG7ZiZnICnH3lxSt4q//7zEHdrp0wwqG0OMWGEXlD/KAO4yeFNMj8tkHzfp0yicPVtK9sjuSGYhHBBYfccGZpYZtJpZGtBUWnRfwJnVBoMp+rS1AcUzjdStILpaWQRS0EGvJ8n76/XK+GBPJgkSUfPoN0f9ZDQ4WrysU/MCbnzzdQkBJ9IhFQoqhZ5Y35uOgactXsEs8buwkK/TOfq204g0/1QxEINv4IRfVPfAxPahIzW2Rr3w9q9j+GFbCkU2zqpl3goIameAyF x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(136003)(39860400002)(376002)(346002)(66946007)(83380400001)(66476007)(4326008)(66556008)(66446008)(76116006)(2906002)(6486002)(6506007)(478600001)(786003)(5660300002)(186003)(71200400001)(64756008)(8676002)(6916009)(53546011)(75432002)(38100700002)(122000001)(8936002)(2616005)(6512007)(86362001)(316002)(33656002)(518174003)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Yhtl2KwJ74IYxtM7o/RUCSxTILBs4CKUvCq6oJkN0k0H1CUN9qz2Xt6SFoSm?= =?us-ascii?Q?32TKktdcTCUg6PoCMjoybijipBFUa1UIxn5lL9DPoc0fyUuOwJAzrdPxxT50?= =?us-ascii?Q?pzuAzK0BvtCHGpoNrDdyFSW90jwvcP/LylrfLYSuKCgFxWmHIvWzqF+RDytf?= =?us-ascii?Q?2qgrjgcgpXSQ0UV9yTl9ytO84xojRP1By+Nvu38+sjT4aHhhwoHUUIDocTuV?= =?us-ascii?Q?cemhNX2WIC6Zmg2CApChXukejyjsG4QScd3gRyK01kOJfTRQKMrkEC/85z/w?= =?us-ascii?Q?xagTGbqMKb7YnGaqX28klauAr6v1C0NrJUKrMyxCOQUcaWgWRdNYD5VrV/s9?= =?us-ascii?Q?9akkzb2DcjosTdQjvPJI578Wxe2cGs1Y/3GSE2RyhjSk/faLy5OU578DWevt?= =?us-ascii?Q?rSuT7JBvikunulL27ivV9eSwXo2i4kr6bw3SiYEg30oLvCIDHMpp7S6sExiv?= =?us-ascii?Q?lIxhEGDYGmAToNImyT/TCTPT2L4rotq4tK6Nkgqox3EgON+wS/l5rpD99X5s?= =?us-ascii?Q?IbhCELtWBJCNzAlCXgZr9rtsFa3bhywh8evD4zAn9pCJ9fCGzFRB87aItAQ5?= =?us-ascii?Q?DROKM8R6bjb3/7zWNs6RXs4qeeK+9cOPlrY0sLhU6yhFrd52kri6REQl4XTF?= =?us-ascii?Q?21f2eNGm7Aaeh3u5aIoB+kF/xANDI4FMSv1jWQZ3DHsXVZ68hNjhINHMKbQh?= =?us-ascii?Q?mMPcikhDru66x0nStz6ihVGiryymmTQ9t4EawcpWFBL9qtFLEq17vAx0Tjxk?= =?us-ascii?Q?0b4X142yIMcW5fJpMXKBR6KcamfCfb79MSj6SI2ha5iclIrC20vstvb9E/Ao?= =?us-ascii?Q?vhfNWPAC33sRCFVD8LbNQkeiYPWQ3oE9FybNO84hqWq/gw88K+MayJJ0s5IU?= =?us-ascii?Q?kJZxQvalvB9KTwM8LF2Tbb4lFcqGKuT+QIIH29z3rwxCYSD440PNo3pa/j3X?= =?us-ascii?Q?SGF2xVW/oxy4ku8F2CFVzOYT1OS1sIBvkkCzK9SKKz7+skHOWMCQpjOo+bVX?= =?us-ascii?Q?u8OQ4HiT7oHXEJvG4eXbv0VQd4LF7VYBlgiheQFVqj1jcKGD4s6vl8doAYIY?= =?us-ascii?Q?+eWSlF05VrYmFOTbPWlfDpeYao3M3WpI4jZMTjxzACdboQexOebCbFkm0ez4?= =?us-ascii?Q?jyy13EqbTpGkg5LF6kKph7aiJ5hm45KZTHWw45IhbwbODgA65mSA+CLqMCFx?= =?us-ascii?Q?U7EqyCMsMlMHdYlW2amkWROkfBrLIV3+2dVv2WE5yWPyaOHvJa0C1d3zTTO6?= =?us-ascii?Q?tWUrmw7e4QGP0lnHwgpODjfnuxiuH26usRk2rGDFmK5wJLcvijRqW8OwyoKW?= =?us-ascii?Q?ncs/VgiyQdbCovuUaLey1Shs/P9whgGvsVPXpdXdWRyiqyIrB6GhiQqg8sDh?= =?us-ascii?Q?s2DTSDL9t+djrOA864TlfmnlE0f3?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <6AAE3F28893D064099BA468F49CF3816@namprd19.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2382dd7a-9718-48e5-874b-08d910babb7d X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2021 18:14:04.3584 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: d7TVdNZQpTJ/+YJ989k+Tcaj/qAVhrh/iuOwaPE/6WMxp9bkQ/jRyBRD67Gg/Tr/r+xboNdRfUJXGFTtJzcneA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR19MB4932 X-Proofpoint-ORIG-GUID: 0dMYBVyJIESNY5hj8hQBWe4VRr-g2PH7 X-Proofpoint-GUID: 0dMYBVyJIESNY5hj8hQBWe4VRr-g2PH7 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-06_10:2021-05-06, 2021-05-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=495 impostorscore=0 clxscore=1011 mlxscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 phishscore=0 malwarescore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2105060126 Received-SPF: pass client-ip=148.163.133.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0a-00395d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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" Reply-to: "Berry, Charles" From: "Berry, Charles" via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620325338; h=from:from:sender:sender:reply-to: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=8GZAW1Bmk9XIlLqU3+xIYi1U8Y7dpYL99Y0cMIFDFEU=; b=mJnDm5wN3kpNqX1JbXt7GRHNe8Hq1LRbKh4pDrFYOsQLa0bSV7Heo3EwIrAAbkZF+Hu5aJ P27l/vxb6gvgBxIHo4MOqCC66GGKkGSCM0cz3c6cEs1Vch8V0NiE0klewbEGe3Vbfin2kC JYzbqe6K1yZ9YRpEFYc06gvhHterXqLQlXDziitcygz07g5sRhn3J+bKepYQFD6YmcaTSV 39ncLsIXpF6QbwRVIq6XYjG8jN2kqNwuRJBrMPkAzRScbH/xpXHl3lDds93YGOB6dvjaym I9EXsL9Kk1/lg3iqdyej+8e7ofhDHhhJuhNm68QQ8nBkYafuBryKmTcSiuYh2w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1620325338; a=rsa-sha256; cv=fail; b=mSr3Rdu/aJnUFOpQhSUh6hahDIrOYbzysDA2ARX2XbCVoNHjjMHgfgruNXMc2jTRudn5eL bJisDGPWBjnoYfUjA1Uoahm19IkhjOKdBhaxzrY4qPmzQb9TYjt20M8KK7EeMgPMaTw8Q4 /OOr2t0CoJSr/FTvgXd6cPJu/ntuYxy0ySRp0gOT4LU5HZvgIZxrRNn+C7hSEP8CO7b+xv SGZQ+cFQ2bkR9sL6C1NB7vlzEve8IGNyIu8mr/o19bVjtoq1yw65EH4Gcm3o/2mtpzEoQ2 isvLpOsQ/74xBIPUkblGNhiBUDCHMU56QrwIgiTaILcYcQOuTGijhbrO42D/vw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=uph9O0L7; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=r0KmAo2B; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=uph9O0L7; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=r0KmAo2B; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; 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: 8C1802AEA9 X-Spam-Score: 0.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: cJojxp+HqNh3 > On May 6, 2021, at 12:50 AM, michael-franzese@gmx.com wrote: >=20 >=20 > I am trying to use ob-latex but equations are not being displayed in emac= s > when I try to execute with "C-c C-c". Right. This is because `:results latex replace' is the default for latex sr= c blocks and the leads to wrapping everything in a latex export block.=20 The context inside that block is `export-block' - i.e. it is not a `greater= -element' and cannot contain other elements. AFAIK, there is not previewer= for export blocks - latex or otherwise. The context for an equation inside a greater-element is latex-fragment. And= those can be rendered via `org-latex-preview'. If you want to render equations for previewing, you could put them into a d= rawer that is not repeated in the export. To make this work, you probably want something like this #+begin_src org ,#+name: eqn1 ,#+begin_src latex :exports none :results drawer=20 \(y =3D x\beta + \epsilon\) ,#+end_src =20 Here is the equation for export: ,#+call: eqn1() :results latex #+end_src Evaluating the latex src block (C-c C-c) will create a `results' drawer lin= e this: #+RESULTS: eqn1 :results: \(y =3D x\beta + \epsilon\) :end: but the `:exports none' will strip that out on export. The call line will c= reate this on export: #+RESULTS: #+begin_export latex \(y =3D x\beta + \epsilon\) #+end_export HTH, Chuck