lilypond-devel
[Top][All Lists]
Advanced

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

[PATCH] Include raw texinfo in file produced by lys-to-tely


From: Reinhold Kainhofer
Subject: [PATCH] Include raw texinfo in file produced by lys-to-tely
Date: Sun, 16 Nov 2008 17:26:12 +0100
User-agent: KMail/1.9.10

lsy-to-tely simply creates one texinfo page from a list of snippets. If
one wants to insert some texinfo code in between some snippets,
that's currently not really possible (only as texidoc header field of
some dummy snippet, that will create an empty image and display the
dummy file name). This patch allows *.i?te(ly|xi) files to be passed
to lys-to-tely, too, which will simply be include via
@include ${filename}
in the .tely file. All other files are still treated as lilypond snippets
with no difference to the current state (i.e. the patch won't have any 
immediate effect on the lsr page or the regtest pages).

Patch is here, please comment:
      http://codereview.appspot.com/8870



lys-to-tely will use the same order of files as passed on the command line,
so by sorting the file names appropriately, one can now insert
arbitrary texinfo code somewhere in between some snippets (or at beginning
or end of the file). This will make it finally possible to get rid of 
the ‘AAA-intro-regression.ly’ hack in the regtests and it allows easy 
sectioning of the regtests. In particular, I intend to turn the musicxml 
regtests into a general MusicXML test suite (currently, there is no proper 
test suite available at all!), which will also be useful for other projects. 
The documentation for this test suite will simply be the current musicxml 
regtest page 
(http://kainhofer.com/~lilypond/input/regression/musicxml/collated-files.html)

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/




reply via email to

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