From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: LaTeX export errors Date: Tue, 12 May 2009 15:17:52 +0200 Message-ID: <7B8FE909-568D-4D8D-9363-BC436B3AC6F7@gmail.com> References: <4A095EE7.4050300@freylax.de> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3rrs-0000g8-NO for emacs-orgmode@gnu.org; Tue, 12 May 2009 09:18:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3rro-0000ZW-Mp for emacs-orgmode@gnu.org; Tue, 12 May 2009 09:18:00 -0400 Received: from [199.232.76.173] (port=60959 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3rro-0000ZG-I5 for emacs-orgmode@gnu.org; Tue, 12 May 2009 09:17:56 -0400 Received: from mail-ew0-f210.google.com ([209.85.219.210]:48440) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3rro-0005Sh-6S for emacs-orgmode@gnu.org; Tue, 12 May 2009 09:17:56 -0400 Received: by ewy6 with SMTP id 6so4379553ewy.42 for ; Tue, 12 May 2009 06:17:55 -0700 (PDT) In-Reply-To: <4A095EE7.4050300@freylax.de> 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: Robert Hennig Cc: emacs-orgmode@gnu.org Hi On May 12, 2009, at 1:35 PM, Robert Hennig wrote: > Dear Org-Mode experts, > > I'm using Org-Mode 6.26d on Linux and Emacs 23.0: > > The following org-file-snipplet will fail to be > translated to correct LaTeX code: > > #+LaTeX: \begin{center} > #+TBLNAME: Test > | A | B | C | > | 5% | 1 | 2 | > #+TBLFM: @2$3=2*$2 > #+LaTeX: \end{center} The preprocessor will turn this into \begin{center} #+TBLNAME: Test | A | B | C | | 5% | 1 | 2 | #+TBLFM: @2$3=2*$2 \end{center} and then the LaTeX exporter will see this as a plain LaTeX environment and think that all the stuff inside should be exported exactly as is. You want: #+begin_center #+TBLNAME: Test | A | B | C | | 5% | 1 | 2 | #+TBLFM: @2$3=2*$2 #+end_center If you want to do the same for other environments, take a look at http://orgmode.org/worg/org-contrib/org-special-blocks.php HTH - Carsten > > > Triggered will this by the #+LaTeX: ... > invocation (#+BEGIN_LaTeX has the same effect). > The Error in the generated tex file is that > - #+TBLNAME: Test will not be removed > - the '%' sign will not be translated to \% > > Thanks in Advance, > > Robert Hennig > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode