Visuwesh <[email protected]> writes:

> To make C-c C-x C-l format the LaTeX result, I need to force the
> :results to be raw.  This introduces a world of pain since I now have to
> manually kill the old output before I can re-eval the source block.  As
> an example, try C-c C-x C-l when the point is on
>
>     : $$x + 1$$
>
> Nothing happens here.  With :results raw, there is no colon in the front
> so I can preview the output.

Use
#+begin_src elisp :results raw drawer
(message "$$x + 3$$")
#+end_src

It is what "drawer" option is for.

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

Reply via email to