emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] inline Babel calls in math environments and table cells


From: Jay Kerns
Subject: Re: [O] inline Babel calls in math environments and table cells
Date: Tue, 12 Mar 2013 11:35:45 -0400

Hello,

I went back and spent some time to rethink how I was approaching my
problem.  Instead of inline src blocks like this:

\( SRC_R{blah} \)

or this

| SRC_R{blah} |

or even this

\begin{equation}
SRC_R{blah}
\end{equation}

I could get by doing noweb substitution like this:

#+NAME: foo
#+BEGIN_SRC R
blah
#+END_SRC

then elsewhere

#+BEGIN_SRC latex :noweb yes
Here is a bunch <<foo()>> of LaTeX markup
#+END_SRC

This method works. I think it would be cool if it were possible to
evaluate inline src blocks all over the place but on the other hand
there are other tools which might be better suited for that kind of
work. At least for the time being.  :-)

-- 
Jay



reply via email to

[Prev in Thread] Current Thread [Next in Thread]