Pedro Andres Aranda Gutierrez <[email protected]> writes: > If the result is something like: > >>>> (concat "\\begin{equation*}\n" >>>> + (calc-eval result) >>>> + "\n\\end{equation*}") > > It will prompt an error if we try to use it in an inline block like > src_xyz[:session :results raw]{my_calc_result} > > It's something I overlooked a couple of weeks ago and that caused a bit of > a headache...
Yes, of course. That's why Visuwesh suggested to use \(...\) instead. And I suggested to incorporate or reuse the existing logic from org-babel-insert-result. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
