emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel: Shell source block outputting latex for export
@ 2018-05-01 16:29 Russell Adams
  2018-05-01 20:43 ` Berry, Charles
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Adams @ 2018-05-01 16:29 UTC (permalink / raw)
  To: emacs-orgmode

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                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-01 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-01 16:29 Babel: Shell source block outputting latex for export Russell Adams
2018-05-01 20:43 ` Berry, Charles

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).