On Fri, Jan 11, 2013 at 8:58 PM, Francisco Vila <paconet....@gmail.com>wrote:

> 2013/1/11 Lilly <l...@ngi.it>:
> > 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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to