Seems like this recently broke. Here's an example:
#+begin_src sh :results latex :exports results echo '\begin{lstlisting}' echo 'latex test should not be table' echo '\end{lstlisting}' #+end_src #+RESULTS: #+BEGIN_EXPORT latex | \begin{lstlisting} | | | | | | | latex | test | should | not | be | table | | \end{lstlisting} | | | | | | #+END_EXPORT The expected result is: #+RESULTS: #+BEGIN_LATEX \begin{lstlisting} latex test should not be table \end{lstlisting} #+END_LATEX I use shell commands to output listings of source files with custom formatting, and highlight source code segments instead of entire files for review. Any suggestions how I can prevent the automatic tabling of output? This worked in Org 8, and I'm on the latest release on ELPA (9.1.2). Thanks. ------------------------------------------------------------------ Russell Adams rlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3