lys-to-tely: If a .i?te(ly|xi) file is passed to the script, include it
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.
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 allows the metronome-markup function to be called from anywhere in the
score, e.g. to generate the markup for a (sub)title (header field!) or to
generate text markup without changing the midi performance at all.
MusicXML: Add test case for directions in the middle of some multimeasure-rests
This is currently broken: the direction element is placed after the final
barline, thus creating invalid LilyPond syntax... For this reason, this
file does not have the default .xml file extension for now, until I have
resolved the problem...
MusicXML: Remove unneccessary header fields from the regtests
-) Remove work/movement title. There should be one regtest to check whether
all header fields are correctly converted, but then other files should not
have them. These header fields just clutter up the output and draw away
attention from the issues that are tested.
-) Rename some files to make their purpose clearer
MusicXML: Implement inclusion of .ily files in MusicXML regtest page
All files *.ily in the musicxml regtest directory are now copied to
out-www/*.ly and automatically included (with proper sorting!) into the
regtest page. This allows us to insert @section lines using an *.ily file...
MusicXML: convert <miscellaneous-field name='description'> tag to texidoc header
This allows the regtest cases to contain a verbose description of the
purpose of the test by simply placing it inside the
<identity>
<miscellaneous>
<miscellaneous-field name='description'>
HERE COMES THE TEXIDOC STRING FOR LILYPOND (or any other application)!!!
</miscellaneous-field name='description'>
</miscellaneous>
</identity>
Joe Neeman [Fri, 14 Nov 2008 19:40:03 +0000 (11:40 -0800)]
Fix a ragged-bottom/ragged-last-bottom corner case.
When using ragged spacing, we want to pretend that the last page
requires no force (so that we don't worsen the spacing of the
previous pages in order to fill the last page). The previous check
for this only worked if ragged-last-bottom = ##t, but not if
ragged-bottom = ##t and ragged-last-bottom ##f.
MusicXML: Correctly handle bar checks with attributes and MM rests
-) Put the bar line BEFORE the attribute
-) Add Bar checks around MM rests (of course not inside MM rests!)
-) If we have a MM rest, globally set Score.skipBars=##t
-) Don't print a bar check at the very beginning of a score
Figured Bass: Break extender line if we have a different augmentation/diminished
So far, an extender line was only broken when a figure had a different
alteration (+,-,!), but not if it had a different augmentation (\\, \+
or /). This patch also stores the state of the other modifiers and
breaks the extender if they change.
John Mandereau [Tue, 11 Nov 2008 15:57:55 +0000 (16:57 +0100)]
Python lilylib: remove path insertion of @lilypond_datadir@/python
The removed line was not necessary for installed Python scripts, which
sets Python path through the relocation preamble, and it wrongly made
non-installed scripts try to load installed Python modules instead of
modules in $(top-build-dir)/python/$(outconfbase).
John Mandereau [Sun, 9 Nov 2008 13:10:51 +0000 (14:10 +0100)]
Allow and make effective -j option in "make web"
- forbid simultaneous lilypond-book running instances in
make/ly-rules.make by adding a dependency chain of .texi output files;
- add $(src-dir) to Texi2HTML include path, so it finds macros.itexi;
- replace documentation PO phony target with a dummy target (to prevent
it from being excessively rebuilt), and make it a prerequisite for
tely->texi rules instead of tely source files (to make sure it is
actually built);
- remove superfluous $(outdir)/version.itexi prerequisites in WWW-2;
MusicXML: Fix clefs that appear in only one staff (ignore for the other!)
This bug caused a position-off problem, which messed up chord detection
and caused several other problems. If a clef has a number attribute
(indicating its staff number), only copy it to the relevant staff.
For all other staves, if the remaining attributes are empty, simply
ignore them instead of passing an emtpy <attributes> tag, which was
the real cause for the problem.