* ob-lilypond: referencing named src_block not working
@ 2014-07-03 21:15 Thorsten Jolitz
0 siblings, 0 replies; only message in thread
From: Thorsten Jolitz @ 2014-07-03 21:15 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-03 21:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-03 21:15 ob-lilypond: referencing named src_block not working Thorsten Jolitz
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.