Hi, I just wanted to share the following bug and potential patch. When code inside of a #+begin/end_latex block looks like a table, org-mode processes it as a table on latex export. For example given the following Org-mode --8<---------------cut here---------------start------------->8--- The following latex isn't exported correctly #+begin_latex \begin{code} data BTree = Leaf a | Node Tree Tree \end{code} #+end_latex --8<---------------cut here---------------end--------------->8--- org exports to the following LaTeX --8<---------------cut here---------------start------------->8--- The following latex isn't exported correctly \begin{code} data BTree = Leaf a \begin{center} \begin{tabular}{l} Node Tree Tree \\ \end{tabular} \end{center} \end{code} --8<---------------cut here---------------end--------------->8--- The attached patch [1] appears to fix this bug, however as I don't know the latex exporter that well there is the chance this could introduce many other problems. (Note that although the patch looks big, all it does is wrap part of org-export-latex-tables in an unless block) Thanks -- Eric Footnotes: [1]