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: Michael Haynie
Subject: Re: Extracting header fields for use by e.g. LaTeX?
Date: Sun, 27 Nov 2005 13:13:10 -0500

Yes, that's exactly what I was thinking about doing.

So: Which scheme functions do I need to replace to accomplish that?
Are the suggested hooks are documented/supported hooks?

Thanks.

On Nov 27, 2005, at 8:46 AM, Bernard Hurley wrote:

So it looks like you want to be able to do something like defining a
LaTeX macro \includesong {songfile} whose effect is something like:

--- do something with header info ----
\lilypondfile{songfile}

for that you do need lily to write the header info to a file. Actually
older versions of lily did do this before the days when it produced eps
files for lilypond-book so I can't see why it couldn't be reintroduced
as an option. You would also need an extra file so that header info
could be matched up with snippets. You would probably need to run LaTeX
several times for it to work, but if you are gereating a TOC you need to
do that anyway.

On Sun, 2005-11-27 at 00:48 -0500, Michael Haynie wrote:
If I didn't have so many files to manage, I might consider that.
However, there are enough that the double maintenance would drive me to
distraction.

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

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


--
Bernard Hurley <address@hidden>






reply via email to

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