lilypond-user
[Top][All Lists]
Advanced

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

Re: Extracting header fields for use by e.g. LaTeX?


From: Laura Conrad
Subject: Re: Extracting header fields for use by e.g. LaTeX?
Date: Sun, 27 Nov 2005 07:12:04 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

>>>>> "MH" == Michael Haynie <address@hidden> writes:


    MH> If I didn't have so many files to manage, I might consider that.  
    MH> However, there are enough that the double maintenance would drive me to 
    MH> distraction.

    MH> The other problem with that solution is that it doesn't allow for the 
    MH> placement of a song number beside the title -- think of the typical 
    MH> layout of a hymnal.

    MH> So I really do need to figure out how to get lilypond to leave the 
    MH> titling to LaTeX, somehow.

I have the same problem, but I do basically what Bernard suggested,
and write the .lytex file with a script that extracts the header
fields from the lilypond (or, in my case, the ABC file that's the
input for abc2ly).

    MH> On Nov 26, 2005, at 9:16 PM, Bernard Hurley wrote:

    >> If you are using lilypond-book it is probably easier to forget about
    >> header fields and do something like:
    >> 
    >> \section{Prelude}
    >> --- some other text ----
    >> \lilypondfile[indent=1.2\cm]{prelude.ly}
    >> 
    >> in your lytex file. You can then easily generate a TOC.

-- 
Laura (mailto:address@hidden , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139





reply via email to

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