From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: Re: Two questions about latex export Date: Tue, 28 Apr 2009 08:46:28 -0500 Message-ID: <49F708B4.5080206@sift.info> References: <615735.24159.qm@web28306.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lyne0-0003ul-27 for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 09:46:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lyndv-0003uK-SW for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 09:46:43 -0400 Received: from [199.232.76.173] (port=33861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lyndv-0003uH-Jl for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 09:46:39 -0400 Received: from outbound-mail-309.bluehost.com ([67.222.54.2]:48457) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Lyndv-0003IP-2m for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 09:46:39 -0400 In-Reply-To: <615735.24159.qm@web28306.mail.ukl.yahoo.com> 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: Giovanni Ridolfi Cc: emacs-orgmode@gnu.org Giovanni Ridolfi wrote: > --- Lun 27/4/09, Robert Goldman ha scritto: >>> 1. I am making a table of conditional >>> probabilities. This means the >>> table headers look like this: p(e|\omega), for >>> example. The vbar in the >>> header confuses orgmode. It thinks that's a >>> column-delimiter. > > \vert Thanks! That fixed my problem! Strangely, \vert doesn't appear in The Latex Companion (or at least not in its index). > >>> more importantly: >>> >>> 2. I put an eqnarray* environment in my org >>> file. > > #+BEGIN_LaTeX > > \begin{eqnarray} > \label{integralpha293} > > \alpha=\Gamma > > \end{eqnarray} > > #+END_LaTeX Two answers: 1. eqnarray *without* the BEGIN and END blocks works. I believe that this is because org-mode "knows" eqnarray, but not eqnarray*. I am inclined to think that this is a buglet, and we should put support for eqnarray* into org-mode. 2. I don't believe that the BEGIN and END blocks approach is equivalent. If I understand correctly, the use of these BEGIN and END blocks says "put this in only when I am exporting to Latex." From the manual: "...you can add special code that should only be present in LaTeX export with the following constructs: [#+LaTeX and #+BEGIN_LaTeX ... #+END_LaTeX]." Adding those delimiters changes the meaning of my document. *Without* those delimiters, my equation goes in an HTML or ASCII export (in some form); with those delimiters, the equation will only be exported when exporting to LaTeX.... Best, Robert