[ < ] [ > ]   [ << ] [ Amunt ] [ >> ]         [Part superior] [Continguts] [Índex] [ ? ]

4.4 LilyPond output in other programs

This section shows methods to integrate text and music, different than the automated method with lilypond-book.


[ < ] [ > ]   [ << ] [ Amunt ] [ >> ]         [Part superior] [Continguts] [Índex] [ ? ]

4.4.1 LuaTex

As well as lilypond-book to integrate LilyPond output, there is an alternative program that can be used when using LuaTex called lyluatex.


[ < ] [ > ]   [ << ] [ Amunt ] [ >> ]         [Part superior] [Continguts] [Índex] [ ? ]

4.4.2 OpenOffice and LibreOffice

LilyPond notation can be added to OpenOffice.org and LibreOffice with OOoLilyPond, an OpenOffice.org extension that converts LilyPond files into images within OpenOffice.org documents. OoLilyPond (OLy) works with recent versions of LibreOffice and OpenOffice. Older versions should work as well. It has even been tested with OpenOffice 2.4 without issues.


[ < ] [ > ]   [ << ] [ Amunt ] [ >> ]         [Part superior] [Continguts] [Índex] [ ? ]

4.4.3 Other programs

Other programs that can handle ‘PNG’, ‘EPS’, or ‘PDF’ formats should use lilypond instead of lilypond-book. Each LilyPond output file must be created and inserted separately. Consult the program’s own documentation on how to insert files from other sources.

To help reduce the white space around your LilyPond score, use the following options;

 
\paper{
  indent=0\mm
  line-width=120\mm
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
}

… music …

To produce ‘EPS’ images;

 
lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile.ly

To produce ‘PNG’ images;

 
lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --png myfile.ly

For transparent ‘PNG’ images

 
lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -dpixmap-format=pngalpha --png myfile.ly

If you need to quote many fragments from a large score, you can also use the clip systems feature, see (notation)Extracting fragments of music section ‘Extracting fragments of music’ in Referència de la notació.


[ < ] [ > ]   [ << ] [ Amunt ] [ >> ]

This document was generated by gub on Juliol 13, 2020 using texi2html 1.82.

Altres idiomes: English, deutsch, español, français, magyar, italiano, 日本語.
Quant a la selecció automàtica de la llengua.