emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jay Kerns <gjkernsysu@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: inline Babel calls in math environments and table cells
Date: Mon, 11 Mar 2013 16:54:33 -0400	[thread overview]
Message-ID: <CAFiLVra91MXaREbvC9gKecA0pQDy39s5qRoM2SpeihSopF8c1A@mail.gmail.com> (raw)

Greetings,

I am in the process of updating materials to the new exporter in
anticipation of Org 8.0.  It appears that inline SRC blocks are not
being evaluated in table cells and math environments in the new
exporter, for instance, something like this:

\( SRC_R[:exports results]{2+3} \)

or like this:

| SRC_R[:exports results]{2+3} |

Is the above intentional?  I am reading the Org Syntax document and it
looks like inline Babel calls are "objects".  It also looks like the
pair \(...\) is a "LaTeX fragment" (also an object).  At the beginning
of the section it says, "Most objects cannot contain objects."  And it
also says right above that, "Objects can be found in... table cells."
If my reading of the syntax is correct then it would look like the
latter example is meant to be supported while the former example is
not.

Am I reading that correctly?

Thank you,

-- 
Jay

P.S. I've tried all possible settings of #+OPTIONS and of :mode
settings in the #+attr_latex line for the table.

P.P.S. Best-case scenario for me would be both examples supported, but
if not then I am willing to live with it or try to write something
that will support it.

             reply	other threads:[~2013-03-11 21:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 20:54 Jay Kerns [this message]
2013-03-11 21:08 ` inline Babel calls in math environments and table cells Jay Kerns
2013-03-11 21:26 ` Eric Schulte
2013-03-11 23:10   ` Jay Kerns
2013-03-12 15:35     ` Jay Kerns
2013-03-13  2:31       ` Charles Berry
2013-03-13  3:02         ` Jay Kerns

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=CAFiLVra91MXaREbvC9gKecA0pQDy39s5qRoM2SpeihSopF8c1A@mail.gmail.com \
    --to=gjkernsysu@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).