From: Jean Louis <bugs@gnu.support>
To: Jonas Damm <emails@jonas-damm.de>
Cc: Bruno Barbier <brubar.cs@gmail.com>,
"H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>,
help-gnu-emacs@gnu.org
Subject: Re: Org-mode: toggle between source block and its results
Date: Wed, 8 Feb 2023 23:25:03 +0300 [thread overview]
Message-ID: <Y+QFHxzj9xLdFssh@protected.localdomain> (raw)
In-Reply-To: <87a61o37fh.fsf@jonas-damm.de>
* 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/
next prev parent reply other threads:[~2023-02-08 20:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-06 17:55 Org-mode: toggle between source block and its results Jonas Damm
2023-02-06 18:25 ` H. Dieter Wilhelm
2023-02-07 8:51 ` Jonas Damm
2023-02-07 17:27 ` H. Dieter Wilhelm
2023-02-07 18:39 ` Bruno Barbier
2023-02-08 8:08 ` Jonas Damm
2023-02-08 20:25 ` Jean Louis [this message]
2023-02-09 7:02 ` Jonas Damm
2023-02-07 10:05 ` Jean Louis
2023-02-08 5:22 ` tomas
2023-02-08 8:19 ` Jonas Damm
2023-02-08 20:18 ` Jean Louis
2023-02-09 7:10 ` Jonas Damm
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y+QFHxzj9xLdFssh@protected.localdomain \
--to=bugs@gnu.support \
--cc=brubar.cs@gmail.com \
--cc=dieter@duenenhof-wilhelm.de \
--cc=emails@jonas-damm.de \
--cc=help-gnu-emacs@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.
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).