MusicXML: Implement dashed slurs, glissando styles, directed and non-arpeggios
Since I added functions print_before_note and print_after_note to
the Event class, it's now possible to apply individual settings
to things like glissando or slurs just once (using \once\override
before the note).
Also a
John Mandereau [Sun, 10 Feb 2008 10:41:06 +0000 (11:41 +0100)]
Change Info docs setup and clean up Documentation/user/GNUmakefile
* install Info files in $(infodir) iso. $(package_infodir)
* put Info images in lilypond/ subdirectory (actually symlink
$(webdir)/Documentation/user/ to lilypond), which required
- adding lilypond-book option --info-images-dir and makefile
variable INFO_IMAGES_DIR,
- adding @sourceimage macro in macros.itexi to include
images from the source directory,
- making a symlink lilypond -> out-www so that 'makeinfo --info'
can find images.
* clean up Documentation/user/GNUmakefile and : use generic rules, use
--tidy for texi2pdf, symlink PNGs only for Info docs, ...
* update Info directory entry: fix convert-ly entry, add entries for
all manuals.
Also fix nitpicks in www_post.py:
* don't link lily-*.txt (which only contain "image of music") to
out-www/*-root
* add redirection page from input/lsr to documentation index.
The makefile clean up was also made necessary because the Music
Glossary wasn't generated in Info format with images in out-www/ with
the previous revision, and I couldn't figure out why.
John Mandereau [Sat, 9 Feb 2008 17:23:31 +0000 (18:23 +0100)]
Mark more strings for translation in Python scripts
* mark all user messages for translation in musicxml2ly
(edit some strings too)
* uniformize case of first character
* mark convert-ly rules for translation, and clean up these strings
a lot
John Mandereau [Sat, 9 Feb 2008 10:32:44 +0000 (11:32 +0100)]
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
* 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond:
MusicXML: Convert accordion registrations
MusicXML: Implement rehearsal marks and some more spanners
Minor tweak to output.
Update from Ralph.
MusicXML: (Test cases) Make Finale happy (very picky about correct syntax..)
Update from Trevor.
They are converted as \mark\markup{...}, where I need to generate
the markup manually (following the LSR snipplet
http://lsr.dsi.unimi.it/LSR/Item?id=194 )
MusicXML: Implement rehearsal marks and some more spanners
-) Implement dashes (\startTextSpan and \stopTextSpan) and bracket (although
I'll still need to add the bracket engraver, since I use \startGroup and
\stopGroup, which does not automatically print the bracket)
-) Pedal change is now implemented as \sustainUp\sustainDown
-) Add MarkEvent and MusicGlyphMarkEvent to convert rehearsal marks and
segno/coda markups. Rehearsal marks can also be boxed (default) or circled
-) Revamp the way directions are converted. Now they also use a dict like the
notations, where one can give a general conversion function, or a finished
class
MusicXML: (Test cases) Make Finale happy (very picky about correct syntax..)
Each direction-type can only contain either a wedge or a dynamics, but not both
at the same time... musicxml2ly does not have a problem with it, only Finale has!
John Mandereau [Fri, 8 Feb 2008 13:25:03 +0000 (14:25 +0100)]
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
* 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond:
Bump version.
Add test for new ligature bracket engraver.
Fix #83 / #297.
MusicXML: Test files: Pedal marks are no notations, but directions
MusicXML: Small fixes/improvements in the test files
John Mandereau [Thu, 7 Feb 2008 15:32:10 +0000 (16:32 +0100)]
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
* 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond:
Update from Trevor.
Update from Ralph.
@unnumberedsubsubsec -> @subsubsection.
Update from Trevor.
MusicXML: The dynamics test have been moved to 03a-Directions-MusicXML.xml
MusicXML: Improve test suite for the direction elements
MusicXML: Don't try to convert #text as a dynamics tag!
MusicXML: Better support for dynamics
Another fix for mpost: $(outdir) is relative. Also: chain commands with &&.
MusicXML: Improve test suite for the direction elements
Instead of some exported (incomplete) MusicXML files, use
a hand-crafted test, that really contains all elements
defined in MusicXML, even if they are not supported by
any application yet...
-) Use #(make-dynamic-script...) instead of \markup for unknown dynamics
-) Add definitions of unknown dynamics at the top of the converted file
-) Add test case for note-attached dynamics
MusicXML: Replace the notations tests with a better one
So far, the tests were simply generated in some application and then
exported to MusicXML. Since not everything is supported, the tests were
incomplete, inconsistent and sometimes even wrong.
This new test for all notation elements in the MusicXML spec is hand-crafted
and should be more or less complete...
Otherwise the "a2"/"Solo" markups will collide with slurred notes and not
be shifted. Using #'outside for avoid-slur causes the a2/Solo markups
to be always above the slur, which is most legible.
Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
I usually start with the general structure of a large score
and only then fill it with music. This means that partcombine
is fed two empty music expressions (or only containing one
multi-measure rest each), so that evs1 and evs2 won't contain
data and (assoc "one" evs1) will be an empty list => cdr on
it will crash.
In this case, simply set the split list to an empty list and
don't crash...
Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>