From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: ob-lilypond: referencing named src_block not working
Date: Thu, 03 Jul 2014 23:15:43 +0200 [thread overview]
Message-ID: <87vbre4000.fsf@gmail.com> (raw)
Hi List,
I try to include a (lilypond) src_block using header-arg :var, but it
does not work:
,----
| #+name: common
| #+begin_src lilypond :exports none :file common.eps
| \version "2.18.2"
| \paper{
| oddFooterMarkup = \markup {}
| }
| #+end_src
|
| #+name: score
| #+begin_src lilypond :var com=common :exports results :file Mixolydian.png
| com
|
| \relative c' {
| g a b c d e f g f e d c b a g a b c d e f g f e d c b a g1
| }
| #+end_src
`----
When exporting this to pdf (C-c C-e l p), the Lilypond Footer is still
printed.
OTOH when I simply copy&paste the body of src_block common into
scr_block score like this:
,----
| #+begin_src lilypond :exports results :file Mixolydian.png
| \version "2.18.2"
| \paper{
| oddFooterMarkup = \markup {}
| }
| \relative c' {
| g a b c d e f g f e d c b a g a b c d e f g f e d c b a g1
| }
| #+end_src
`----
the output is as expected, i.e. the Lilypond Footer is not printed.
Am I doing something wrong here?
--
cheers,
Thorsten
reply other threads:[~2014-07-03 21:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vbre4000.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.