emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel shell error
@ 2012-11-21 19:47 Russell Adams
  2012-11-22 23:19 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Adams @ 2012-11-21 19:47 UTC (permalink / raw)
  To: emacs-orgmode

It appears that in ob-sh.el function org-babel-sh-evaluate fails to
honor other result types like latex.

Adding latex to the result params test allows proper exporting of
shell which results in latex code, otherwise it is imported with
spaces separated into |'s to make a table.

Verified against 7.9.2 repo.

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

* Re: Babel shell error
  2012-11-21 19:47 Babel shell error Russell Adams
@ 2012-11-22 23:19 ` Eric Schulte
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Schulte @ 2012-11-22 23:19 UTC (permalink / raw)
  To: emacs-orgmode

Russell Adams <RLAdams@AdamsInfoServ.Com> writes:

> It appears that in ob-sh.el function org-babel-sh-evaluate fails to
> honor other result types like latex.
>
> Adding latex to the result params test allows proper exporting of
> shell which results in latex code, otherwise it is imported with
> spaces separated into |'s to make a table.
>
> Verified against 7.9.2 repo.
>

This works in the current git head.

#+begin_src sh :results latex
  echo "\tt{shell}"
#+end_src

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

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

end of thread, other threads:[~2012-11-22 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21 19:47 Babel shell error Russell Adams
2012-11-22 23:19 ` Eric Schulte

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).