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
_______________________________________________ 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