From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: ob-lilypond: referencing named src_block not working Date: Thu, 03 Jul 2014 23:15:43 +0200 Message-ID: <87vbre4000.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2oMT-0003ca-43 for emacs-orgmode@gnu.org; Thu, 03 Jul 2014 17:16:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2oML-000207-K4 for emacs-orgmode@gnu.org; Thu, 03 Jul 2014 17:16:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:34782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2oML-0001zs-D4 for emacs-orgmode@gnu.org; Thu, 03 Jul 2014 17:16:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X2oMJ-0006v2-TY for emacs-orgmode@gnu.org; Thu, 03 Jul 2014 23:15:59 +0200 Received: from e178190107.adsl.alicedsl.de ([85.178.190.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Jul 2014 23:15:59 +0200 Received: from tjolitz by e178190107.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Jul 2014 23:15:59 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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