emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Strings inside code blocks
Date: Wed, 16 Apr 2014 19:22:21 +0200	[thread overview]
Message-ID: <87ppkhi3zm.fsf@gmail.com> (raw)
In-Reply-To: CAJ+Teocgcy003BoS6A1rOL87ig102=x_cfvMfJHNFaC7EUZ7=w@mail.gmail.com

Rustom Mody <rustompmody@gmail.com> writes:

> Thorsten Jolitz wrote:
>
>     This
>     
>     ,------------------------------
>     | * 1st Level
>     | src_emacs-lisp{"Hello World"}
>     `------------------------------
>     
>     renders this...
>
> does not seem to work for me.
> Some requirements I need python code inline inside tables.

this does not work for me either:

| label     | code                                                     |
|-----------+----------------------------------------------------------|
| greetings | src_emacs-lisp{"Hello World"}                            |
| arithm    | src_emacs-lisp[:results value :exports results]{(+ 2 2)} |

#+begin_src emacs-lisp  :results value  replace
  (let ((org-export-with-toc nil))
        (org-export-as 'ascii))
#+end_src

#+results:
			   _________________

				  725

			    Thorsten Jolitz
			   _________________


1 --text follows this line--
============================

  Rustom Mody <rustompmody@gmail.com> writes:

  > Thorsten Jolitz wrote: This ,------------------------------ | * 1st
  >Level | `Hello World' `------------------------------ renders this...
  >does not seem to work for me.  Some requirements I need python code
  >inline inside tables.

   label      code                                                     
  ---------------------------------------------------------------------
   greetings  src_emacs-lisp{"Hello World"}                            
   arithm     src_emacs-lisp[:results value :exports results]{(+ 2 2)} 

  ,----
  | (let ((org-export-with-toc nil))
  |       (org-export-as 'ascii))
  `----


  -- cheers, Thorsten

but did you read:

[[http://orgmode.org/worg/org-contrib/babel/intro.html][Code Block in Tables]]

?

-- 
cheers,
Thorsten

      reply	other threads:[~2014-04-16 17:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-16 11:37 Strings inside code blocks Rustom Mody
2014-04-16 12:38 ` Thorsten Jolitz
2014-04-16 16:08 ` Rustom Mody
2014-04-16 17:22   ` Thorsten Jolitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppkhi3zm.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).