lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: many short music patterns in a Latex doc


From: Olivier Biot
Subject: Re: many short music patterns in a Latex doc
Date: Sat, 12 Jan 2013 16:54:43 +0100

On Fri, Jan 11, 2013 at 8:58 PM, Francisco Vila <address@hidden> wrote:
2013/1/11 Lilly <address@hidden>:
> I want to realize a document with some text and many musical patterns along
> it.
> I experienced how to insert one pattern in a place of a Latex document and
> it works.
> But i would not to repeat to paste every time for all the different patterns
> along the doc, the whole complete code for each of them.
> I would try to call a file where are written all the things needed around to
> compile the music pattern, and in ever precise place, insert only the music
> pattern itself.
>
> there's a way to do this?

If I understand correctly, yes, you can keep a terse LaTeX file using
lilpondfile. Imagine you have all common definitions and global music
in A.ly and your documents are B.ly, C.ly and so on, such that all use
\include "A.ly" to read the common part. Your text document called
D.tex can use \lilypondfile{B}, \lilypondfile{C}, et cetera.

I am trying to understand what you want to do.

Are you trying to build a LaTeX file which reads in a number of LilyPond files, each of which contains a number of common LilyPond code and settings?

If so, I'd recommend you use lilypond-book.py and read the following recent thread:
http://lists.gnu.org/archive/html/lilypond-user/2013-01/msg00298.html

Best regards,

Olivier

reply via email to

[Prev in Thread] Current Thread [Next in Thread]