From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre de Buyl Subject: Re: About entering latex code in an org file Date: Fri, 10 Dec 2010 10:57:25 -0500 Message-ID: <0C6C2588-A514-49BA-8C82-D1F1EDD0F6AA@chem.utoronto.ca> References: Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=60678 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PR5Lh-0002df-5I for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 10:57:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PR5Lf-0002mn-Pe for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 10:57:32 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:45568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PR5Lf-0002mS-LN for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 10:57:31 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Curiouslearn Cc: emacs-orgmode@gnu.org Hello, I am no expert either but I think that the automated detection of =20 latex snippets (that is, no explicit $) will only enclose in $ parts =20 that cannot be reproduced in text. I suggest that if you want a complete expression like \pi_{g} \geq =20 0.05 to be translated to $\pi_{g} \geq 0.05$ instead of $\pi$$_{g}=20 $ \geq 0.05 you should do the enclosing manually. HTH, Pierre Le 10 d=E9c. 10 =E0 10:17, Curiouslearn a =E9crit : > Hi, > > I am new to both emacs and org-mode. Org-mode sounds really cool and I > am trying to use it to make notes for a project. I have some latex > symbols that I need to enter in the file. > As a background: > (1) I read in the manual that for latex code I do not need to enclose > math inside $ $. > (2) I have many words with "_" in the their names, so as mentioned in > the manual, I added > #+OPTIONS: ^:{} > #+OPTIONS: _:{} > to my .org file. > > In fact, the my file is > ----------------------------------------------------------------------=20= > ------------------------------- > #+OPTIONS: ^:{} > #+OPTIONS: _:{} > #+LATEX_HEADER: \setlength{\parskip}{2ex plus 0.5ex minus 0.2ex} > #+LATEX_HEADER: \setlength{\parindent}{0in} > > * TODO Write an aspiration_review function > The function should do the following: > 1. Investigates if \pi_{g} \geq 0.05 and \bar{\pi} \geq =20 > ASP_LEVEL > > > ** Investigate if > > ----------------------------------------------------------------------=20= > ------------------------------- > The problem is that when I export this using 'C-c C- e l' to latex, > some parts that should be enclosed in $ $ sign are not enclosed. This > is the relevant line copied and pasted from the exported .tex file > > \item Investigates if $\pi$$_\{g\}$ \geq 0.05 and \bar{\pi} \geq > ASP\_{}LEVEL > > Can someone please let me know what is happening? > > Thanks very much for all those who have been working on org-mode. > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode