help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Org-mode: toggle between source block and its results


From: Jean Louis
Subject: Re: Org-mode: toggle between source block and its results
Date: Wed, 8 Feb 2023 23:25:03 +0300
User-agent: Mutt/2.2.9+54 (af2080d) (2022-11-21)

* Jonas Damm <emails@jonas-damm.de> [2023-02-08 11:10]:
> Yes indeed.
> I guess there is no way.

There is way, do not give up too early.

You basically want to show the exported picture, right? But not the
source block?

I cannot handle lilypond, but I can handle emacs-lisp code block, see
below, and try doing same for lilypond, observe ":exports results"

#+BEGIN_SRC emacs-lisp :exports results
(message "Hello")
#+END_SRC

#+RESULTS:
: Hello

Because you only had this:

#+begin_src lilypond :file notes.png

but how about this:

#+begin_src lilypond :file notes.png :exports results

so try it with that line, as I can't try it, I am missing packages
that you may have.


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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