Re: [O] [PATCH] Lilypond: added PDF output

2011-11-29 Thread Martyn Jago
Hi Torsten

Torsten Anders torsten.and...@beds.ac.uk writes:

 Dear all,

 The current implementation how org-babel calls Lilypond hard-wires the
 supported output file formats to EPS and PNG. Attached is a very
 simple patch that adds support for PDF as well, so that resulting PDF
 files can be directly integrated in the PDF files generated by Latex
 and Latex Beamer support.

 Thanks!  

 Best wishes,
 Torsten

Doesn't :cmdline  --pdf  work for you?

--8---cut here---start-8---

#+begin_src lilypond :file ionian.pdf :noweb yes :cmdline  --pdf 

  version-and-paper
  \relative c' { 
c d e f g a b c b a g f e d c d  
e f g a b c b a g f e d c1
}

#+end_src

--8---cut here---end---8---

If you have an example of how you are exporting we could maybe add it to the 
examples in
Worg? It is not a use-case I have considered.

Best, Martyn








[O] [PATCH] Lilypond: added PDF output

2011-11-28 Thread Torsten Anders
Dear all,

The current implementation how org-babel calls Lilypond hard-wires the 
supported output file formats to EPS and PNG. Attached is a very simple patch 
that adds support for PDF as well, so that resulting PDF files can be directly 
integrated in the PDF files generated by Latex and Latex Beamer support.

Thanks!  

Best wishes,
Torsten


ob-lilypond.el.diff
Description: Binary data