]> git.donarmstrong.com Git - lilypond.git/commitdiff
release: 1.3.146 release/1.3.146
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 4 Apr 2001 22:11:57 +0000 (00:11 +0200)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 4 Apr 2001 22:11:57 +0000 (00:11 +0200)
============

* Make and ly2dvi fixes.

* Made feta-timesig C a bit rounder.

* Included flat autogenerated list of grob interfaces into refman.

* Moved Rest_engraver to ThreadContext.

* Documentation updates.

* Bugfix: package-diff: remove all out-?.* dirs.

* Preliminary tutorial fixes.

* Ly2dvi:
   - keep .dvi output when making .ps.
   - name latex wrapper for foo.ly: foo.latex
   - keep .tex and .latex output if latex fails
   - keep .dvi output if dvips fails
   - replaced --outdir option with --output=FILE option, where FILE
     may include directories
   - enhancements and fixes

* Typo fix: clean-fonts

* Bugfixes: lilypond-login.sh

* Tutorial and refman fixes (Mats)

1.3.145.h

432 files changed:
CHANGES
Documentation/topdocs/INSTALL.texi
Documentation/topdocs/index.tely
Documentation/user/GNUmakefile
Documentation/user/converters.itely [new file with mode: 0644]
Documentation/user/convertors.itely [deleted file]
Documentation/user/development.itexi
Documentation/user/glossary.tely
Documentation/user/lilypond.tely
Documentation/user/ly2dvi.itexi
Documentation/user/preface.itely
Documentation/user/refman.itely
Documentation/user/tutorial.itely
GNUmakefile.in
INSTALL.txt
NEWS
ROADMAP
VERSION
buildscripts/GNUmakefile
input/ascii-art/as-email.ly
input/ascii-art/asciiscript5.ly
input/ascii-art/asciiscript9.ly
input/ascii-art/r-as.ly
input/ascii-art/standchen-as5.ly
input/ascii-art/standchen-as9.ly
input/ascii-art/twinkle-as5.ly
input/bugs/lyrics-bar.ly [new file with mode: 0644]
input/example-3.ly
input/just-friends.ly
input/les-nereides.ly
input/mutopia-header.ly
input/opus-130.ly
input/praeludium-fuga-E.ly
input/regression/accidental-single-double.ly
input/regression/accidental.ly
input/regression/allfontstyle.ly
input/regression/arpeggio-collision.ly
input/regression/arpeggio.ly
input/regression/auto-beam-bar.ly
input/regression/auto-change.ly
input/regression/auto-isknee.ly
input/regression/auto-knee.ly
input/regression/bar-number.ly
input/regression/bar-scripts.ly
input/regression/beam-cross-staff.ly
input/regression/beam-extreme.ly
input/regression/beam-length.ly
input/regression/beam-position.ly
input/regression/beaming.ly
input/regression/between-systems.ly
input/regression/break.ly
input/regression/breathing-sign.ly
input/regression/chord-changes.ly
input/regression/chord-names.ly
input/regression/chord-tremolo.ly
input/regression/clefs.ly
input/regression/collisions.ly
input/regression/dots.ly
input/regression/dynamics-broken-hairpin.ly
input/regression/dynamics-line.ly
input/regression/dynamics-unbound-hairpin.ly
input/regression/easy-notation.ly
input/regression/generic-output-property.ly
input/regression/generic-property-override.ly
input/regression/glissando.ly
input/regression/grace.ly
input/regression/hairpin-ending.ly
input/regression/hara-kiri-short.ly
input/regression/key-signature-scordatura.ly
input/regression/keys.ly
input/regression/lyric-combine.ly
input/regression/lyric-phrasing.ly
input/regression/lyrics-bar.ly
input/regression/lyrics-multi-stanza.ly
input/regression/mensural.ly
input/regression/mm-rests2.ly
input/regression/molecule-hacking.ly
input/regression/multi-measure-rest.ly
input/regression/non-empty-text.ly
input/regression/note-head-style.ly
input/regression/note-line.ly
input/regression/number-staff-lines.ly
input/regression/percent-repeat.ly
input/regression/phrasing-slur.ly
input/regression/repeat-fold.ly
input/regression/repeat-line-break.ly
input/regression/repeat-unfold.ly
input/regression/repeat-volta-skip-alternatives.ly
input/regression/repeat-volta.ly
input/regression/rest-collision.ly
input/regression/rest-ledger.ly
input/regression/rest.ly
input/regression/size11.ly
input/regression/size13.ly
input/regression/size16.ly
input/regression/size20.ly
input/regression/size23.ly
input/regression/size26.ly
input/regression/slur-attachment.ly
input/regression/slur-broken-trend.ly
input/regression/slur-cross-staff.ly
input/regression/slur-nice.ly
input/regression/slur-symmetry-1.ly
input/regression/slur-symmetry.ly
input/regression/spacing-loose.ly
input/regression/spacing-natural.ly
input/regression/spacing-tight.ly
input/regression/staccato-pos.ly
input/regression/staff-margin.ly
input/regression/stanza-number.ly [new file with mode: 0644]
input/regression/stem-direction-down.ly
input/regression/stem-direction.ly
input/regression/stem-spacing.ly
input/regression/stem-tremolo.ly
input/regression/tie-accidental.ly
input/regression/tie-chord.ly
input/regression/tie-dots.ly
input/regression/tie.ly
input/regression/triplets.ly
input/regression/tup.ly
input/regression/volta-broken-left-edge.ly
input/rhythm.ly
input/scarlatti-paper.ly
input/scarlatti-test.ly
input/star-spangled-banner.ly
input/test/Cc-chords.ly [new file with mode: 0644]
input/test/absolute-volume.ly
input/test/ac-extra-voice.ly
input/test/accid.ly
input/test/accidental-spacing.ly
input/test/add-text-script.ly
input/test/american-chords.ly
input/test/ancient-font.ly
input/test/as.ly
input/test/as1.ly
input/test/as2.ly
input/test/auto-beam-4-8.ly
input/test/auto-beam-override.ly
input/test/auto-beam-triplet.ly
input/test/auto-beam.ly
input/test/bagpipe.ly
input/test/banter-chords.ly
input/test/bar-lines.ly
input/test/bar-script-visibility.ly
input/test/beam-abbrev.ly
input/test/beam-chord.ly
input/test/beam-control.ly
input/test/beam-count.ly
input/test/beam-damp.ly
input/test/beam-dir-function.ly
input/test/beam-dir-functions.ly
input/test/beam-dir.ly
input/test/beam-isknee.ly
input/test/beam-neutral-direction.ly
input/test/beam-pos.ly
input/test/beam-position.ly
input/test/beam-quanting.ly
input/test/beam-rest.ly
input/test/beam-slope.ly
input/test/beam-suspect.ly
input/test/beam-trend.ly
input/test/beam-urg.ly
input/test/beamed-slur-endings.ly
input/test/beams.ly
input/test/boxed-molecule.ly
input/test/broken-thread-line.ly
input/test/broken.ly
input/test/caps.ly
input/test/chord-changes.ly
input/test/chord-inversion.ly
input/test/chord-table.ly
input/test/chords.ly
input/test/clef-8-syntax.ly
input/test/coda-kludge.ly
input/test/collision-merge-dotted.ly
input/test/coriolan-margin.ly
input/test/crescendi.ly
input/test/crescendo-text.ly
input/test/cue-notes.ly
input/test/custos.ly
input/test/default-neutral-dir.ly
input/test/defaultbars.ly
input/test/different-time-signatures.ly
input/test/diverse-spacing.ly
input/test/drarn-slurs.ly
input/test/drarn.ly
input/test/drums.ly
input/test/dynamic-dir.ly
input/test/embedded-postscript.ly
input/test/embedded-scm.ly
input/test/embedded-tex.ly
input/test/equaliser.ly
input/test/explicit.ly
input/test/extra-staff.ly
input/test/fake-grace.ly
input/test/figured-bass.ly
input/test/fill-a4.ly
input/test/fingering.ly
input/test/follow-thread.ly
input/test/font-body.ly
input/test/font11.ly
input/test/font13.ly
input/test/font16.ly
input/test/font20.ly
input/test/font26.ly
input/test/force-hshift.ly
input/test/gmsusd.ly
input/test/gourlay.ly
input/test/grace-end.ly
input/test/hara-kiri-switch.ly
input/test/hara-kiri.ly
input/test/hshift.ly
input/test/hymn.ly
input/test/improv.ly
input/test/incipit.ly
input/test/instrument-name-grandstaff.ly
input/test/instrument-name-mmrest.ly
input/test/instrument-name.ly
input/test/jazz-chords.ly
input/test/key-clefs.ly
input/test/keys2.ly
input/test/knee-mult.ly
input/test/knee.ly
input/test/lines.ly
input/test/ly2dvi-testpage.ly
input/test/lyric-extender.ly
input/test/lyric-hyphen.ly
input/test/lyric-phrasing.ly
input/test/lyrics.ly
input/test/manual-clef.ly
input/test/manual-volta.ly
input/test/mark.ly
input/test/markup.ly
input/test/maximum-rest-count.ly
input/test/memory.ly
input/test/metronome.ly
input/test/mmrest-collision.ly
input/test/monstrous.ly
input/test/move-mark.ly
input/test/move-notehead.ly
input/test/move-specific-text.ly
input/test/multi-slope.ly
input/test/music-creation.ly
input/test/nested-groups.ly
input/test/no-bar-lines.ly
input/test/no-staff.ly
input/test/no-stem-extend.ly
input/test/note-chords.ly
input/test/note-shift.ly
input/test/notemode-chords.ly
input/test/orchestalpart.ly
input/test/orchestscore.ly
input/test/ossia.ly
input/test/ottava.ly
input/test/part-combine-moments.ly
input/test/part-combine-score.ly
input/test/part-combine-staff.ly
input/test/part-combine.ly
input/test/partial-blank.ly
input/test/pedal.ly
input/test/perform-grace.ly
input/test/perform-tie.ly
input/test/repeat.ly
input/test/rests.ly
input/test/reverse-music.ly
input/test/rhythmic-staff.ly
input/test/scales-greek.ly
input/test/scales.ly
input/test/script-horizontal.ly
input/test/scripts.ly
input/test/short-part-combine.ly
input/test/simple-slur-endings.ly
input/test/sleur.ly
input/test/slur-area.ly
input/test/slur-attachment-override.ly
input/test/slur-attachment.ly
input/test/slur-broken-cross-staff.ly
input/test/slur-broken.ly
input/test/slur-damping.ly
input/test/slur-dash.ly
input/test/slur-follow-music.ly
input/test/slur-mininum.ly
input/test/slur-positions.ly
input/test/slur-proof.ly
input/test/slur-symmetry-2.ly
input/test/slur-symmetry-3.ly
input/test/slur-ugly.ly
input/test/slurs.ly
input/test/smart-transpose.ly
input/test/solo-a2.ly
input/test/spacing-2.ly
input/test/spacing.ly
input/test/span-bars.ly
input/test/stacked-scripts.ly
input/test/staff-bracket.ly
input/test/staff-container.ly
input/test/staff-line-leading.ly
input/test/staff-margin-partial.ly
input/test/staff-side-slur.ly
input/test/staff-size.ly
input/test/stem-centered.ly
input/test/stem-extend.ly
input/test/stem-length.ly
input/test/stem.ly
input/test/system-start-brace.ly
input/test/system-start-bracket.ly
input/test/tab-staff.ly
input/test/tchaikovsky.ly
input/test/test-german-chords.ly
input/test/text-spanner.ly
input/test/textscript.ly
input/test/thumb.ly
input/test/tie-broken.ly
input/test/tie-sparse.ly
input/test/time.ly
input/test/timing.ly
input/test/title.ly
input/test/transposing.ly
input/test/transposition.ly
input/test/tuplet-rest.ly
input/test/tuplet-spanner-duration.ly
input/test/tuplet.ly
input/test/two-key.ly
input/test/two-slurs.ly
input/test/uniform-breaking.ly
input/test/vertical-align.ly
input/test/vertical-extent.ly
input/test/vertical-text.ly
input/test/voice-switch.ly
input/test/volta-start.ly
input/test/volta.ly
input/test/warnings.ly
input/trip.ly
input/tutorial/flowing.ly
input/tutorial/galuppi.ly
input/tutorial/menuet.ly
input/tutorial/miniatures.ly
input/tutorial/os-flute-2.ly
input/tutorial/os-music.ly
input/tutorial/os-score.ly
input/tutorial/sammartini.ly
input/tutorial/singing-saw.ly
input/tutorial/test.ly
input/twinkle-pop.ly
input/twinkle.ly
lily/lexer.ll
lily/my-lily-lexer.cc
lily/parser.yy
lily/stanza-number-engraver.cc
lily/stem.cc
lily/system-start-delimiter.cc
lily/text-item.cc
ly/a4.ly
ly/accordion-defs.ly
ly/book-fragment.ly
ly/book-init.ly
ly/catalan.ly
ly/center-fragment.ly
ly/center.ly
ly/chord-modifiers.ly
ly/declarations.ly
ly/deutsch.ly
ly/drumpitch.ly
ly/dynamic-scripts.ly
ly/english.ly
ly/engraver.ly
ly/fragment.ly
ly/generate-documentation.ly
ly/generate-interface-doc.ly [new file with mode: 0644]
ly/generic-paper.ly
ly/german-chords.ly
ly/init-as.fly
ly/init.fly
ly/init.ly
ly/init.sly
ly/italiano.ly
ly/key.ly
ly/ledger.ly
ly/legal.ly
ly/letter.ly
ly/midi.ly
ly/nederlands.ly
ly/norsk.ly
ly/paper-as5.ly
ly/paper-as9.ly
ly/paper.ly
ly/paper11.ly
ly/paper13.ly
ly/paper16.ly
ly/paper20.ly
ly/paper23.ly
ly/paper26.ly
ly/params-as.ly
ly/params.ly
ly/part-paper.ly
ly/performer.ly
ly/property.ly
ly/scale-definitions.ly
ly/script.ly
ly/spanners.ly
ly/svenska.ly
make/lilypond-vars.make
make/lilypond.spec.in
make/ly-rules.make
make/ly.make
make/mutopia-rules.make
make/out/lilypond.lsm
make/out/lilypond.spec
mf/feta-bolletjes.mf
mf/feta-generic.mf
mf/feta-timesig.mf
midi2ly/lilypond-item.cc
midi2ly/lilypond-voice.cc
mutopia/E.Satie/petite-ouverture-a-danser.ly
mutopia/F.Schubert/standchen.ly
mutopia/J.S.Bach/pa.ly
mutopia/J.S.Bach/wtk1-fugue1.ly
mutopia/J.S.Bach/wtk1-fugue2.ly
mutopia/J.S.Bach/wtk1-prelude1.ly
scm/chord-name.scm
scm/documentation-lib.scm
scm/generate-interface-doc.scm [new file with mode: 0644]
scm/output-lib.scm
scripts/abc2ly.py
scripts/convert-ly.py
scripts/etf2ly.py
scripts/lilypond-book.py
scripts/ly2dvi.py
scripts/mup2ly.py
scripts/musedata2ly.py
scripts/pmx2ly.py
stepmake/bin/package-diff.py

diff --git a/CHANGES b/CHANGES
index 2416e132ffde8273d64986982ab9a5694fade2b9..4f8acd2e6fb17b30bfd5c6706055d6a1fe11e9fb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,19 @@
-1.3.145.jcn1
+
+1.3.145.jcn2
 ============
 
+* Make and ly2dvi fixes.
+* Made feta-timesig C a bit rounder. 
+
+* Included flat autogenerated list of grob interfaces into refman.
+
+* Moved Rest_engraver to ThreadContext.
+
+* Documentation updates.
+
+* Bugfix: package-diff: remove all out-?.* dirs.
+
 * Preliminary tutorial fixes.
 
 * Ly2dvi:
 
 * Tutorial and refman fixes (Mats)
 
-
-1.3.144.jcn4
+1.3.145.hwn1
 ============
 
+* Bugfix: LyricsVoice.stz property now works.
+
+* Remove sem-colons from lilypond syntax. 
+
+* Removed a grammar ambiguity: '-' DIGIT (fingering, only possible in \notes)
+now can not be interpreted as a negative number.
+
+
+1.3.145.rz1
+===========
+
+* Stem/notehead attach bug fixed (still probs with mensural head and
+  other head on same stem)
+
+* Minor font changes
+
+
+1.3.145
+=======
+
 * Build fixes for icon, this fixes 'rpm' target.  Tried to reinclude
 in rpm using (.png and) .xpm, but latest LinuxPPC release's rpm
 (3.0.6) Icon: tag handling is broken.
index 340221e64228fb67db2d63afbcaeb47a95a0fdc9..c4a9e3b078f6fc0fa85e05e3d6f3d807ee433909 100644 (file)
@@ -368,6 +368,21 @@ mailing your problems.  If you find bugs, please send bug reports to
 
 Bugs that are not fault of LilyPond are documented here.
 
+@unnumbered NetBSD
+
+@itemize @bullet
+@item The flex precompiled in NetBSD-1.4.2 is broken.
+Download flex-2.5.4a, build, install.
+
+@item The configuration of Gcc (egcs-2.91.60 19981201 (egcs-1.1.1
+release)) does not include @file{/usr/pkg} paths.  Configure using:
+@example
+
+CFLAGS='-I /usr/pkg/include' LDFLAGS='-L/usr/pkg/lib' ./configure
+
+@end example
+
+@end itemize
 
 @unnumbered Solaris:
 
index 3b319027701ff34f3e7dba924847aa6e787e71f6..2272a4f2f4c075c153e7e299bb39c96fe15b8d37 100644 (file)
@@ -28,7 +28,7 @@ this:
 
 
 @lilypond[fragment,verbatim]
-\relative c'' { \key c \minor; r8 c16 b c8 g as c16 b c8 d | g,4 }
+\relative c'' { \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4 }
 @end lilypond 
 
 The output looks very good: the font and the layout algorithms were
index 442e550b07ede4a2f56c252b0524ce1322f8582e..d36ffe5d6db94c569910b46d7665f2f9a995c601 100644 (file)
@@ -115,14 +115,27 @@ local-clean:
        rm -f fonts.aux fonts.log feta*.tfm feta*.*pk 
        rm -rf $(outdir)/lilypond $(outdir)/lilypond-internals
 
-# when cross-compiling, we don't have lilypond
+$(outdir)/lilypond.nexi: $(outdir)/interfaces.itexi
+$(outdir)/lilypond.texi: $(outdir)/interfaces.itexi
+
+# Rules for the automatically generated documentation
+# When cross-compiling, we don't have lilypond, so we fake
 ifneq ($(CROSS),yes)
-$(outdir)/lilypond-internals.nexi $(outdir)/lilypond-internals.texi:
+dummy:
+$(outdir)/lilypond-internals.nexi $(outdir)/lilypond-internals.texi: dummy
        cd $(outdir) && ../$(depth)/$(builddir)/lily/$(outconfbase)/lilypond ../$(src-depth)/ly/generate-documentation
        -ln $(outdir)/lilypond-internals.texi $(outdir)/lilypond-internals.nexi
+
+$(outdir)/interfaces.itexi: dummy
+       cd $(outdir) && ../$(depth)/$(builddir)/lily/$(outconfbase)/lilypond ../$(src-depth)/ly/generate-interface-doc
+
 else
+
 $(outdir)/lilypond-internals.nexi $(outdir)/lilypond-internals.texi:
        touch $@
        touch $(outdir)/$(*F).nexi
+
+$(outdir)/interfaces.itexi:
+       cp dummy-interfaces.itexi $@
 endif
 
diff --git a/Documentation/user/converters.itely b/Documentation/user/converters.itely
new file mode 100644 (file)
index 0000000..84077b7
--- /dev/null
@@ -0,0 +1,271 @@
+@c -*-texinfo-*-
+
+@node Conversion tools
+@chapter Converting to LilyPond format.
+
+
+@menu
+* midi2ly::                     
+* etf2ly::                      
+* abc2ly::                      
+* pmx2ly::                      
+* musedata2ly::                 
+* mup2ly::                      
+@end menu
+
+@node midi2ly
+@section midi2ly
+
+Midi2ly translates a MIDI input file to a LilyPond source file. MIDI
+(Music Instrument Digital Interface) is a standard for digital
+instruments: it specifies cabling, a serial protocol and a file format.
+
+It is possible to record a MIDI file using a digital keyboard, and then
+convert it to @file{.ly}. However, human players can not rhythmically
+exact enough to make a MIDI to .ly conversion trivial.  midi2ly tries to
+compensate for these timing errors, but is not very good at this. It is
+therefore not recommended to use midi2ly for human-generated midi
+files. Correcting the quantization mistakes of the human player takes a
+lot of time.
+
+Hackers who know about signal processing are invited to write  a more
+robust midi2ly.
+
+MIDI is also a de facto standard format for exporting music from other
+programs, so this capability may come in useful when you want to import
+files from a program that has no converter for its native format.
+
+@subsection Invoking midi2ly
+
+@example
+        midi2ly [OPTION]... MIDI-FLIE
+@end example
+
+@unnumberedsubsec Options
+
+@table @code
+@item -b, --no-quantify,
+    Write exact durations, e.g.: `a4*385/384'.
+@item -D, --debug,
+    Print lots of debugging stuff.
+@item -h, --help,
+    Show a summary of usage.
+@item -I, --include=@file{DIR},
+    Add DIR to search path.
+@item -k, --key=ACC[:MINOR],
+    Set default key.  ACC > 0 sets number of sharps; ACC < 0 sets number 
+    of flats.  A minor key is indicated by ":1".
+@item -n, --no-silly,
+    Assume no plets or double dots, assume smallest (reciprocal) duration 16.
+@item -o, --output=@file{FILE},
+    Set @file{FILE} as default output.
+@item -p, --no-plets,
+    Assume no plets.
+@item -q, --quiet,
+    Be quiet.
+@item -s, --smallest=N,
+    Assume no shorter (reciprocal) durations than N.
+@item -v, --verbose,
+    Be verbose.
+@item -w, --warranty,
+    Show the warranty with which midi2ly comes. (It comes with @strong{NO WARRANTY}!)
+@item -x, --no-double-dots,
+    Assume no double dotted notes.
+@end table
+
+
+Report bugs to @email{bug-gnu-music@@gnu.org}.
+
+
+Written by @email{Jan Nieuwenhuizen, janneke@@gnu.org}.
+
+
+@node etf2ly
+@section etf2ly
+
+
+ETF (Enigma Transport Format) is a format used by Coda Music
+Technology's Finale product. This program will convert part of an ETF
+file to a ready-to-use LilyPond file.
+
+@subsection Invoking etf2ly
+Usage:
+
+@example
+        etf2ly [OPTION]... ETF-FILE
+@end example
+
+Convert ETF to LilyPond.
+
+@unnumberedsubsec Options
+@table @code
+@item   -h,--help
+this help
+@item  -o,--output=FILE
+set output filename to FILE
+@item  -v,--version
+version information
+@end table
+
+
+@refbugs
+
+Known: articulation scripts are buggy.  Empty measures confuse etf2ly.
+Report bugs to @email{bug-gnu-music@@gnu.org}.
+
+Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
+
+
+Report bugs to @email{bug-gnu-music@@gnu.org}.
+
+@node abc2ly
+@section abc2ly
+
+ABC is a fairly simple ASCII based format. It is described at
+@uref{http://www.gre.ac.uk/~c.walshaw/abc2mtex/abc.txt}.
+
+@subsection Invoking abc2ly
+
+@example
+        abc2ly [OPTION]... ABC-FILE
+@end example
+
+Convert ABC to LilyPond.
+
+@unnumberedsubsec Options
+@table @code
+@item   -h,--help
+this help
+@item  -o,--output=FILE
+set output filename to FILE
+@item  -v,--version
+version information
+@end table
+
+@refbugs
+
+The ABC standard is not very "standard". For extended features
+(eg. polyphonic music) different conventions exist. 
+
+
+Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
+
+
+Report bugs to @email{bug-gnu-music@@gnu.org}.
+
+@node pmx2ly
+@section pmx2ly
+
+PMX is a Musixtex preprocessor written by Don Simons, see
+@uref{http://www.gmd.de/Misc/Music/musixtex/software/pmx/}.
+
+Report bugs to @email{bug-gnu-music@@gnu.org}.
+
+@subsection Invoking pmx2ly
+
+@example
+        pmx2ly [OPTION]... PMX-FILE
+@end example
+
+Convert PMX to LilyPond.
+
+@unnumberedsubsec Options
+
+@table @code
+@item   -h,--help
+this help
+@item  -o,--output=FILE
+set output filename to FILE
+@item  -v,--version
+version information
+@end table
+
+Report bugs to @email{bug-gnu-music@@gnu.org}.
+
+Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
+
+
+@node musedata2ly
+@section musedata2ly
+
+ Musedata (@uref{http://www.musedata.org/}) is an electronic library of
+classical music scores, currently comprising about 800 composition
+dating from 1700 to 1825.  The music is encoded in so-called Musedata
+format
+(@uref{http://www.ccarh.org/publications/books/beyondmidi/online/musedata}).
+musedata2ly converts a set of musedata files to one .ly file, and will
+include a \header field if a .ref file is supplied
+
+@subsection Invoking musedata2ly
+
+@example
+        musedata2ly [OPTION]... MUSEDATA-FILE
+@end example
+
+Convert Musedata to LilyPond.
+
+@unnumberedsubsec Options
+
+@table @code
+@item   -h,--help
+print help
+@item  -o,--output=@var{file}
+set output filename to @var{file}
+@item  -v,--version
+version information
+@item  -r,--ref=@var{reffile}
+ read background information from ref-file
+@var{REFFILE}
+@end table
+
+Report bugs to @email{bug-gnu-music@@gnu.org}.
+
+Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
+
+
+@node mup2ly
+@section mup2ly
+
+MUP (Music Publisher) is a shareware music notation program by Arkkra
+Enterprises.  It is also the name of the input format.  Mup2ly will
+convert part of a Mup file to a ready-to-use LilyPond file.
+
+@subsection Invoking mup2ly
+
+@example
+        mup2ly [OPTION]... MUP-FILE
+@end example
+
+Convert Mup to LilyPond.
+
+@unnumberedsubsec Options
+
+@table @code
+@item   -d,--debug
+show what constructs are not converted, but skipped.
+@item D, --define=@var{NAME}[=@code{EXP}]
+define macro @var{NAME} with opt expansion @code{EXP}
+@item   -E,--pre-process
+only run the pre-processor
+@item   -h,--help
+print help
+@item  -o,--output=FILE
+write output to @var{FILE}
+@item  -v,--version
+version information
+@item  -w,--warranty
+print warranty and copyright.  Mup2ly comes with absolutlely @strong{NO WARRANTY}.
+@end table
+
+
+@refbugs
+
+Currently, only plain notes (pitches, durations), voices and staffs are
+converted.
+
+Written by @email{Jan Nieuwenhuizen,janneke@@gnu.org}, based on pmx2ly.
+
+Report bugs to @email{bug-gnu-music@@gnu.org}.
+
+
+
diff --git a/Documentation/user/convertors.itely b/Documentation/user/convertors.itely
deleted file mode 100644 (file)
index 6e41604..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-@c -*-texinfo-*-
-
-@node Conversion tools
-@chapter Converting to LilyPond format.
-
-
-@menu
-* midi2ly::                     
-* etf2ly::                      
-* abc2ly::                      
-* pmx2ly::                      
-* musedata2ly::                 
-@end menu
-
-@node midi2ly
-@section midi2ly
-
-Midi2ly translates a MIDI input file to a LilyPond source file. MIDI
-(Music Instrument Digital Interface) is a standard for digital
-instruments: it specifies cabling, a serial protocol and a file format.
-
-It is possible to record a MIDI file using a digital keyboard, and then
-convert it to @file{.ly}. However, human players can not rhythmically
-exact enough to make a MIDI to .ly conversion trivial.  midi2ly tries to
-compensate for these timing errors, but is not very good at this. It is
-therefore not recommended to use midi2ly for human-generated midi
-files. Correcting the quantization mistakes of the human player takes a
-lot of time.
-
-Hackers who know about signal processing are invited to write  a more
-robust midi2ly.
-
-MIDI is also a de facto standard format for exporting music from other
-programs, so this capability may come in useful when you want to import
-files from a program that has no convertor for its native format.
-
-@subsection Invoking midi2ly
-
-@example
-        midi2ly [options] midi-file
-@end example
-
-@unnumberedsec Options
-
-@table @code
-@item -b, --no-quantify,
-    Write exact durations, e.g.: `a4*385/384'.
-@item -D, --debug,
-    Print lots of debugging stuff.
-@item -h, --help,
-    Show a summary of usage.
-@item -I, --include=@file{DIR},
-    Add DIR to search path.
-@item -k, --key=ACC[:MINOR],
-    Set default key.  ACC > 0 sets number of sharps; ACC < 0 sets number 
-    of flats.  A minor key is indicated by ":1".
-@item -n, --no-silly,
-    Assume no plets or double dots, assume smallest (reciprocal) duration 16.
-@item -o, --output=@file{FILE},
-    Set @file{FILE} as default output.
-@item -p, --no-plets,
-    Assume no plets.
-@item -q, --quiet,
-    Be quiet.
-@item -s, --smallest=N,
-    Assume no shorter (reciprocal) durations than N.
-@item -v, --verbose,
-    Be verbose.
-@item -w, --warranty,
-    Show the warranty with which midi2ly comes. (It comes with @strong{NO WARRANTY}!)
-@item -x, --no-double-dots,
-    Assume no double dotted notes.
-@end table
-
-@node etf2ly
-@section etf2ly
-
-
-ETF (Enigma Transport Format) is a format used by Coda Music
-Technology's Finale product. This program will convert part of an ETF
-file to a ready-to-use lilypond file.
-
-@subsection Invoking etf2ly
-Usage:
-
-@example
-        etf2ly [OPTION]... ETF-FILE
-@end example
-
-Convert ETF to LilyPond.
-
-Options:
-@table @code
-@item   -h,--help
-this help
-@item  -o,--output=FILE
-set output filename to FILE
-@item  -v,--version
-version information
-@end table
-
-
-Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
-
-
-@subsection Bugs
-
-Known: articulation scripts are buggy.  Empty measures confuse etf2ly.
-Report bugs to @email{bug-gnu-music@@gnu.org}.
-
-@node abc2ly
-@section abc2ly
-
-ABC is a fairly simple ASCII based format. It is described at
-@uref{http://www.gre.ac.uk/~c.walshaw/abc2mtex/abc.txt}.
-
-
-@example
-        abc2ly [OPTION]... ABC-FILE
-@end example
-
-Convert ABC to LilyPond.
-
-Options:
-@table @code
-@item   -h,--help
-this help
-@item  -o,--output=FILE
-set output filename to FILE
-@item  -v,--version
-version information
-@end table
-
-@subsection Bugs
-
-The ABC standard is not very "standard". For extended features
-(eg. polyphonic music) different conventions exist. 
-
-
-@node pmx2ly
-@section pmx2ly
-
-PMX is a Musixtex preprocessor written by Don Simons, see
-@uref{http://www.gmd.de/Misc/Music/musixtex/software/pmx/}.
-
-Report bugs to @email{bug-gnu-music@@gnu.org}.
-
-@example
-        pmx2ly [OPTION]... PMX-FILE
-@end example
-
-Convert PMX to LilyPond.
-
-Options:
-@table @code
-@item   -h,--help
-this help
-@item  -o,--output=FILE
-set output filename to FILE
-@item  -v,--version
-version information
-@end table
-
-
-@node musedata2ly
-@section musedata2ly
-
-PMX is a Musixtex preprocessor written by Don Simons, see
-@uref{http://www.gmd.de/Misc/Music/musixtex/software/pmx/}.
-
-Report bugs to @email{bug-gnu-music@@gnu.org}.
-
-@example
-        musedata2ly [OPTION]... MUSEDATA-FILE
-@end example
-
-Convert Musedata to LilyPond. Musedata (@uref{http://www.musedata.org/})
-is an electronic library of classical music scores, currently comprising
-about 800 composition dating from 1700 to 1825.  The music is encoded in
-so-called Musedata format
-(@uref{http://www.ccarh.org/publications/books/beyondmidi/online/musedata}).
-musedata2ly converts a set of musedata files to one .ly file, and will
-include a \header field if a .ref file is supplied
-
-Report bugs to @email{bug-gnu-music@@gnu.org}.
-
-Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
-
-
-Options:
-@table @code
-@item   -h,--help
-this help
-@item  -o,--output=@var{file}
-set output filename to @var{file}
-@item  -v,--version
-version information
-@item  -r,--ref=@var{reffile}
- read background information from ref-file
-@var{REFFILE}
-@end table
-
-
-
index b7a994b97cf63f1b296483847b4b737635a438df..99b1da69583b5eb3245c4d48b2e4c97ed48a8b36 100644 (file)
@@ -568,7 +568,7 @@ There are also numerous other interesting projects that are more or less
 related  to LilyPond
 
 @itemize @bullet
-@item Writing convertors, eg. from NIFF and MIDI (we tried writing one with
+@item Writing converters, eg. from NIFF and MIDI (we tried writing one with
 limited success: midi2ly, included with lilypond.)
 
 We found that writing them in Python is the easiest.
index 604aa0f67a6ca978209d2d27c2f05be3c2c84407..fde9aad3ef212c6161e0ddbad7ec92e8002743f3 100644 (file)
@@ -153,17 +153,17 @@ the duration of the long a. is proportionate to that of the main note.
 %\property Voice.textNonEmpty = ##f
 \property Voice.TextScript \set #'font-style = #'large
 \notes\relative c'' {
-\key d \major;
-\time 4/4;
+\key d \major
+\time 4/4
 <d4_"notation" a fis> r 
 { \property Grace.Stem \override #'flag-style = ##f
   \grace g16 }
 fis8 e16 fis 
 { \property Grace.Stem \override #'flag-style = ##f
   \grace a16 }
-g8 fis16 g | a4 \bar "||"; }
+g8 fis16 g | a4 \bar "||" }
 \notes\relative c'' {
-<d4_"performance" a fis> r g16 () fis e fis a () g fis g | a4 \bar "||"; }
+<d4_"performance" a fis> r g16 () fis e fis a () g fis g | a4 \bar "||" }
 @end lilypond
 
 An appoggiatura may have more notes preceding the main note.
@@ -174,15 +174,15 @@ An appoggiatura may have more notes preceding the main note.
 \emptyText
 \property Voice.TextScript \set #'font-style = #'large
 \notes\relative c'' {
-  \key as \major;
-  \time 2/4;
+  \key as \major
+  \time 2/4
   \grace { bes16 } as8_"notation" as16 bes as8 g |
   \grace { [as16 ( bes] } < ) c4 as > 
-  \grace { [as16 ( bes] } < ) c4 as > \bar "||";
+  \grace { [as16 ( bes] } < ) c4 as > \bar "||"
   \grace { bes16 } as8_"performance" as16 bes as8 g |
   < \context Voice = va { \stemUp as32 bes c8. as32 bes c8. }
     \context Voice = vb { \stemDown as16 ~ as8. as16 ~ as8. } >
-  \bar "||";
+  \bar "||"
 }
 @end lilypond
 
@@ -195,12 +195,12 @@ Akkord, NL: gebroken akoord, DK: arpeggio, akkordbrydning, S: arpeggio, N:
 @lilypond[13pt,eps]
   \notes \context PianoStaff <
   \context Staff = SA \relative c'' { 
-    \time 4/4;
-    \clef treble; 
+    \time 4/4
+    \clef treble 
     r8 g16 c e g, c e r8 g,16 c e g, c e |
-    r8 a,16 d f a, d f r8 a,16 d f a, d f \bar "||"; }
+    r8 a,16 d f a, d f r8 a,16 d f a, d f \bar "||" }
   \context Staff = SB \relative c' {
-    \clef bass; 
+    \clef bass 
     < \context Voice = va { 
         \stemUp 
         r16 e8. () e4 r16 e8. () e4 |
@@ -306,11 +306,11 @@ start of the music.
 @
 
 @lilypond[13pt,eps]
-\key g \major;
-\time 4/4;
-\notes\relative c'' { g4 c b a | g1 \bar "||";}
-\time 3/8;
-\notes\relative c'' { g8 d' c | b c a | g4. \bar "||";}
+\key g \major
+\time 4/4
+\notes\relative c'' { g4 c b a | g1 \bar "||"}
+\time 3/8
+\notes\relative c'' { g8 d' c | b c a | g4. \bar "||"}
 @end lilypond
 
 @item bind
@@ -327,15 +327,15 @@ orchestral or choral score.
 
 @lilypond[13pt,eps]
 \notes\context GrandStaff < 
-  \relative c''\context Staff = SA  { \clef treble; g4 e c2 }
-  \relative c \context Staff = SB { \clef bass; c1 \bar "|."; } > 
+  \relative c''\context Staff = SA  { \clef treble g4 e c2 }
+  \relative c \context Staff = SB { \clef bass c1 \bar "|." } > 
 @end lilypond
 
 @lilypond[13pt,eps] 
 \context StaffGroup < 
-%  \property StaffGroup.minVerticalAlign = 12
-  \notes\relative c'' \context Staff = SA { \clef treble; g4 e c2 }
-  \notes\relative c \context Staff = SB { \clef bass; c1 \bar "|."; } > 
+%  \property StaffGroup.minVerticalAlign = #12
+  \notes\relative c'' \context Staff = SA { \clef treble g4 e c2 }
+  \notes\relative c \context Staff = SB { \clef bass c1 \bar "|." } > 
 @end lilypond
 
 @item brass
@@ -384,11 +384,11 @@ lines.
 \property Score.LyricText \set #'font-style = #'large
 \addlyrics
 \context Staff \notes\relative c' { 
-  \clef soprano; c1 
-  \clef mezzosoprano; c 
-  \clef alto; c 
-  \clef tenor; c 
-  \clef baritone; c 
+  \clef soprano c1 
+  \clef mezzosoprano c 
+  \clef alto c 
+  \clef tenor c 
+  \clef baritone c 
 }
 \context Lyrics \lyrics { 
   Soprano Mezzosoprano Alto Tenor Baritone 
@@ -441,7 +441,7 @@ chords are denoted open chords
 \property Score.barNonAuto = ##t
 \property Voice.textNonEmpty = ##t
 \property Voice.TextScript \set #'font-style = #'large
-\time 4/4;
+\time 4/4
 \notes\relative c'' {
   <g1_"major" b d> 
   <g_"minor" bes d> 
@@ -516,8 +516,8 @@ Melody moving in the narrow steps of the scale;
 @
 
 @lilypond[13pt,eps] 
-\key g \major; \time 4/4;
-\notes\relative c'' { g4 g g a | b2 a | g4 b a a | g1 \bar "||"; }
+\key g \major \time 4/4
+\notes\relative c'' { g4 g g a | b2 a | g4 b a a | g1 \bar "||" }
 @end lilypond
 
 @item consonance
@@ -550,9 +550,9 @@ composition methods.
 \property Score.TimeSignature \override #'style = #'C2/2
 \notes\context PianoStaff <
   \context Staff = SA \relative c' { 
-    \key bes \major;
-    \time 4/4;
-    \clef treble; 
+    \key bes \major
+    \time 4/4
+    \clef treble 
     < \context Voice = rha {
         \stemUp
         r1 | r2 r8 g'8 bes d, | 
@@ -566,8 +566,8 @@ composition methods.
     >
   }
   \context Staff = SB \relative c' {
-    \clef bass; 
-    \key bes \major;
+    \clef bass 
+    \key bes \major
     < \context Voice = lha {
         \stemUp
         r8 d es g, fis4 g | r8 a16 bes c8 bes16 a bes4 g |
@@ -605,8 +605,8 @@ abbreviation "cresc.".
 @
 
 @lilypond[13pt,eps] 
-\key g \major; \time 4/4;
-\notes\relative c'' { g4 \< a b c | \! d1 \bar "|."; }
+\key g \major \time 4/4
+\notes\relative c'' { g4 \< a b c | \! d1 \bar "|." }
 @end lilypond
 
 @item cue-notes
@@ -637,8 +637,8 @@ frequently near the beginning marked by a sign:
 
 @lilypond[13pt,eps] 
 \property Voice.TextScript \set #'font-style = #'large
-\key g \major; \time 4/4;
-\notes\relative c'' { d1 | g,4^\segno  a b c | b a g2_"d.s." \bar "|."; }
+\key g \major \time 4/4
+\notes\relative c'' { d1 | g,4^\segno  a b c | b a g2_"d.s." \bar "|." }
 @end lilypond
 
 @item decrescendo
@@ -651,8 +651,8 @@ or the abbreviation "decresc.".
 @
 
 @lilypond[13pt,eps] 
-\context Staff \notes\relative c'' {\key g \major; \time 4/4;
- d4 \> c b a | \! g1 \bar "|."; }
+\context Staff \notes\relative c'' {\key g \major \time 4/4
+ d4 \> c b a | \! g1 \bar "|." }
 @end lilypond
 
 @item descending interval
@@ -864,11 +864,11 @@ scale. Opposite of @ar{}@strong{conjunct movement}.
 @
 
 @lilypond[13pt,eps]
-\key a \major;
-\time 4/4;
+\key a \major
+\time 4/4
 \notes\relative c' { 
-  \partial 8; e8 | a4. gis8 b a e cis |
-  fis2 d4. \bar "||"; }
+  \partial 8 e8 | a4. gis8 b a e cis |
+  fis2 d4. \bar "||" }
 @end lilypond
 
 @item dissonant interval; dissonance
@@ -1055,16 +1055,16 @@ octave lower (for example on double bass @w{@ar{}@strong{strings}}).
 \property Lyrics.LyricText \set #'font-style = #'large
 \addlyrics
 \notes\relative c { 
-%  \clef "F3";
-  \clef varbaritone;
+%  \clef "F3"
+  \clef varbaritone
   f1
-  \clef bass;
+  \clef bass
   f1
-  \clef subbass;
+  \clef subbass
   f1
-  \clef "F^8";
+  \clef "F^8"
   f1
-  \clef "F_8";
+  \clef "F_8"
   f1
 } 
 \context Lyrics \lyrics { 
@@ -1083,9 +1083,9 @@ Prolonged note or rest of indefinite duration.
 
 
 @lilypond[13pt,eps]
-\time 4/4;
+\time 4/4
 \notes\relative c'' {
-a4 b c2^\fermata \bar "|."; }
+a4 b c2^\fermata \bar "|." }
 @end lilypond
 
 @item fifth
@@ -1192,13 +1192,13 @@ that).
 \property Lyrics.LyricText \set #'font-style = #'large
 \addlyrics
 \notes\relative c'' { 
-  \clef french; 
+  \clef french 
   g1
-  \clef treble; 
+  \clef treble 
   g
-  \clef "G^8"; 
+  \clef "G^8" 
   g
-  \clef "G_8"; 
+  \clef "G_8" 
   g
 }
 \context Lyrics \lyrics { 
@@ -1260,15 +1260,15 @@ section. @ar{}@w{}@strong{functional harmony}
 @lilypond[13pt,eps] 
 \notes\context PianoStaff < 
   \context Staff = SA \relative c'' { 
-    \time 4/4;
-    \clef treble; 
-    \partial 4; < c4 g e > | < c a f > < b g d > < c2 g e > }
+    \time 4/4
+    \clef treble 
+    \partial 4 < c4 g e > | < c a f > < b g d > < c2 g e > }
   \property Lyrics.LyricText \set #'font-style = #'large
   \addlyrics
   \context Staff = SB \relative c { 
-    \clef bass; 
-    \partial 4; c4 | f, g c2
-    \bar "|."; } 
+    \clef bass 
+    \partial 4 c4 | f, g c2
+    \bar "|." } 
   \context Lyrics \lyrics { T S D T } > 
 @end lilypond
 
@@ -1405,9 +1405,9 @@ The difference between an interval and an octave.
 \property Score.barNonAuto = ##t
 \property Score.TextScript \set #'font-style = #'large
 \context Staff \notes\relative c'' {
-  < g1_"second" a > s < g'_"seventh" a, > s \bar "||"; 
-  < g,_"third" b > s < g'_"sixth" b, > s \bar "||";
-  < g,_"fourth" c > s < g'_"fifth" c, > s \bar "||";
+  < g1_"second" a > s < g'_"seventh" a, > s \bar "||" 
+  < g,_"third" b > s < g'_"sixth" b, > s \bar "||"
+  < g,_"fourth" c > s < g'_"fifth" c, > s \bar "||"
 }
 @end lilypond
 
@@ -1478,10 +1478,10 @@ unlike @emph{leggiero} or @emph{non-legato} (b), @emph{portato} (c) and
 \property Lyrics.LyricText \set #'font-style = #'large
 \addlyrics
 \notes\relative c'' { 
-  c4( d )e \bar "||"; 
-  c4-- d-- e-- \bar "||"; 
-  c4-.( d-. )e-. \bar "||"; 
-  c4-. d-. e-. \bar "||"; 
+  c4( d )e \bar "||" 
+  c4-- d-- e-- \bar "||" 
+  c4-.( d-. )e-. \bar "||" 
+  c4-. d-. e-. \bar "||" 
 }
 \context Lyrics \lyrics { a "" "" b "" "" c "" "" d  }
 @end lilypond
@@ -1580,25 +1580,25 @@ one speaks of @emph{duple} (2/2, 2/4, 2/8), @emph{triple} (3/2, 3/4, 3/8) or
 
 @lilypond[13pt,eps]
 \notes\relative c'' { 
-  \time 3/4;
-  \key f \major;
-  c es d | c bes8 a bes4 | c es d | c2 \bar "||";}
+  \time 3/4
+  \key f \major
+  c es d | c bes8 a bes4 | c es d | c2 \bar "||"}
 @end lilypond
 
 @lilypond[13pt,eps]
 \notes\relative c' { 
-  \time 6/8;
-  \key f \major;
+  \time 6/8
+  \key f \major
   f8 f f f a16 g a f | 
-  c'8 c c c e16 d e c \bar "||";}
+  c'8 c c c e16 d e c \bar "||"}
 @end lilypond
 
 @lilypond[13pt,eps]
 \notes\relative c'' { 
-  \time 5/4;
-  \key g \major;
+  \time 5/4
+  \key g \major
   d4 b8 g b d d c a4 | 
-  g8 g16 g g8 g16 g g8 fis16 g a8 fis16 e d4 \bar "||";}
+  g8 g16 g g8 g16 g g8 fis16 g a8 fis16 e d4 \bar "||"}
 @end lilypond
 
 @item metronome
@@ -1634,9 +1634,9 @@ First C below the 440 Hz A.
 \property Score.barNonAuto = ##t 
 \property Staff.Clef \set #'full-size-change = ##t
 \notes\relative c' { 
-  \clef bass; c1 s
-  \clef alto; c s
-  \clef treble; c s
+  \clef bass c1 s
+  \clef alto c s
+  \clef treble c s
 } 
 @end lilypond
 
@@ -1685,9 +1685,9 @@ subject.
 \emptyText
 \property Voice.TextScript \set #'font-style = #'large
 \notes\relative c'' { 
-  \time 4/4;
-  \key g \major; 
-  \partial 8; g16_"------" fis |
+  \time 4/4
+  \key g \major 
+  \partial 8 g16_"------" fis |
   g8 d16_"------" c d8 g16 fis g8 b,16 a b8 g'16 fis |
   g8 g,16 a b8 cis d16 s 
 } 
@@ -1793,9 +1793,9 @@ half. Another dot adds yet a fourth of the duration.
 \emptyText
 \property Voice.TextScript \set #'font-style = #'large
 \notes\relative c'' { 
-  \time 4/4;
-  g4._"pointed" g8 g2 | g4 () g8 g g2 \bar "||"; 
-  g4.._"double pointed" g16 g2 | g4 () g8 () g16 g g2 \bar "||"; }
+  \time 4/4
+  g4._"pointed" g8 g2 | g4 () g8 g g2 \bar "||" 
+  g4.._"double pointed" g16 g2 | g4 () g8 () g16 g g2 \bar "||" }
 @end lilypond
 
 Alternatively note values may be subdivided by other ratios. Most common is
@@ -1809,14 +1809,14 @@ frequently used.
 \property Voice.TextScript \set #'font-style = #'large
 \emptyText
 \notes\relative c'' { 
-  \time 4/4;
-  \times 2/3 {g8_"triplets" g g} g4 g8 g g4 \bar "||"; 
-  \times 2/5 {g8_"quintuplets" g g g g} g4 g8 g g4 \bar "||";
-  \time 3/4;
+  \time 4/4
+  \times 2/3 {g8_"triplets" g g} g4 g8 g g4 \bar "||" 
+  \times 2/5 {g8_"quintuplets" g g g g} g4 g8 g g4 \bar "||"
+  \time 3/4
   \times 3/2 {g4_"duplets" g} |
-  g4 g g \bar "||";
+  g4 g g \bar "||"
   \times 6/4 {g8_"quadruplets" g g g} |
-  g8 g g g g4 \bar "||";}
+  g8 g g g g4 \bar "||"}
 @end lilypond
 
 @
@@ -1847,8 +1847,8 @@ the upper note is played first.
     \emptyText
     \property Voice.TextScript \set #'font-style = #'large
     \notes\relative c'' { 
-      c2._"pre-1850"  b4\trill | c1 \bar "||";
-      c2._"post-1850" b4\trill | c1 \bar "||";
+      c2._"pre-1850"  b4\trill | c1 \bar "||"
+      c2._"post-1850" b4\trill | c1 \bar "||"
     }
   }
   \notes\relative c'' {
@@ -1869,9 +1869,9 @@ Other frequently used ornaments are the @emph{turn}, the @emph{mordent} and the
     \emptyText
     \property Voice.TextScript \set #'font-style = #'large
     \notes\relative c'' { 
-      a4_"turn" b\turn c2 \bar "||";
-      g4_"mordent" a b\mordent a \bar "||";
-      e'4_"prall" d\prall c2 \bar "||";
+      a4_"turn" b\turn c2 \bar "||"
+      g4_"mordent" a b\mordent a \bar "||"
+      e'4_"prall" d\prall c2 \bar "||"
     } 
   }
   \notes\relative c'' { 
@@ -2014,11 +2014,11 @@ the same @w{@ar{}@strong{signature}}.
 \property Score.barNonAuto = ##t 
 \property Voice.TextScript \set #'font-style = #'large
 \notes\relative c' { 
-  \key es \major;
+  \key es \major
   es1_"e flat major" f g as bes c d es 
-  \bar "||"; s16 
-  \key es \major;
-  c,1_"c minor" d es f g a! b! c \bar "||";
+  \bar "||" s16 
+  \key es \major
+  c,1_"c minor" d es f g a! b! c \bar "||"
 }
 @end lilypond
 
@@ -2029,8 +2029,8 @@ gen@-ta@-gel@-se, S: repris, N: .
 @
 
 @lilypond[13pt,eps]
-\key g \major;
-\time 4/4;
+\key g \major
+\time 4/4
 \notes\relative c'' { 
   \repeat volta 2 {g4 g d' d | e e d2 | c4 c b b | a a g2 }
 }
@@ -2084,7 +2084,7 @@ sub@-do@-mi@-nant (S) and V = dominant (D).
 \emptyText
 \property Score.barNonAuto = ##t 
 \property Lyrics.LyricText \set #'font-style = #'large
-%\property Lyrics.minVerticalAlign = 8
+%\property Lyrics.minVerticalAlign = #8
 \addlyrics
 \notes\relative c' { 
   c1 d e f g a b c }
@@ -2243,12 +2243,12 @@ notehead.
 @
 
 @lilypond[13pt,eps]
-\key d \major;
-\time 4/4;
+\key d \major
+\time 4/4
 \notes\relative c'' { 
-  \partial 8; a8 | 
+  \partial 8 a8 | 
   d4-\staccato cis-\staccato b-\staccato cis-\staccato | 
-  d2. \bar "||"; }
+  d2. \bar "||" }
 @end lilypond
 
 @item staff
@@ -2348,9 +2348,9 @@ the underlaying (normal) pulse and the actual (abnormal) rhythm.
 @lilypond[13pt,eps]
 \emptyText
 \property Voice.TextScript \set #'font-style = #'large
-\time 4/4;
+\time 4/4
 \notes\relative c' {
-  \partial 4;
+  \partial 4
   d8 dis |
   e c'4 e,8 c'4 e,8 c' ( | ) c2
 }
@@ -2434,9 +2434,9 @@ with figures designating the chief @w{@ar{}@strong{interval}}s and
 @lilypond[13pt,eps]
 \context GrandStaff <
   \notes\relative c'' { 
-    \time 4/4;
-    \key es \major;
-    \clef treble; 
+    \time 4/4
+    \key es \major
+    \clef treble 
     < \context Voice = rha { 
         \stemUp
         es4 d c bes | bes } 
@@ -2447,11 +2447,11 @@ with figures designating the chief @w{@ar{}@strong{interval}}s and
   }
   \property Voice.TextScript \set #'font-style = #'large
   \property Lyrics.LyricText \set #'font-style = #'Large
-  \property Lyrics.minVerticalAlign = 6
+  \property Lyrics.minVerticalAlign = #6
   \addlyrics
     \notes\relative c' { 
-    \clef bass;
-    \key es \major;
+    \clef bass
+    \key es \major
     es8 c () c bes () bes as () as g16 f | es4 
   }
   \context Lyrics \lyrics { 
@@ -2508,13 +2508,13 @@ Shifting a melody up or down in pitch, while keeping the same relative pitches.
 
 @lilypond[13pt,eps]
 \context Staff {
-  \time 3/4;
+  \time 3/4
   \notes\relative c'' {
-    \key g \major;
-    d4 g,8 a b c | d4 g, g | e' c8 d e fis | g4 g, g \bar "|."; }
+    \key g \major
+    d4 g,8 a b c | d4 g, g | e' c8 d e fis | g4 g, g \bar "|." }
   \transpose bes\relative c'' {
-    \key g \major;
-    d4 g,8 a b c | d4 g, g | e' c8 d e fis | g4 g, g \bar "|."; }
+    \key g \major
+    d4 g,8 a b c | d4 g, g | e' c8 d e fis | g4 g, g \bar "|." }
 }
 @end lilypond
 
@@ -2608,11 +2608,11 @@ line. @w{@ar{}@strong{measure}} @w{@ar{}@strong{meter}}
 @
 
 @lilypond[13pt,eps]
-\key f \major;
-\time 4/4;
+\key f \major
+\time 4/4
 \notes\relative c' { 
-  \partial 4; f4 | bes4. a8 bes4 c | 
-  bes () a g f | bes4. a8 bes4 c | f,2. \bar "||"; }
+  \partial 4 f4 | bes4. a8 bes4 c | 
+  bes () a g f | bes4. a8 bes4 c | f,2. \bar "||" }
 @end lilypond
 
 @item voice
index 96f3ae35b609049d0811a75e0f633eedd6d3fd21..1c88efb3347faf465a491b07c90a336ef7094219 100644 (file)
@@ -79,7 +79,8 @@ this and other documentation.
 * Conversion tools::               Converting to lilypond source format.
 * lilypond-book::                  Interleaving text with music.
 * Internals::                      How it all works.
-* Literature::                     additional reading
+* Literature::                     Additional reading
+* Full Grob interface list::       Generated list of all Grob properties.
 * Index of internals:(lilypond-internals).  Auto generated detailed documentation.
 * Index::                          Unified index.
 * Function Index::                 Function index.
@@ -102,8 +103,9 @@ this and other documentation.
 @mbinclude ly2dvi.itexi
 @mbinclude convert-ly.itexi
 @mbinclude lilypond-book.itely
-@mbinclude convertors.itely
+@mbinclude converters.itely
 @mbinclude literature.itely
+@mbinclude interfaces.itexi
 
 @c FIXME: Index has two alphabetically sorted lists @code vs plain?
 @node Index
index a1613ad5f43118314e33f5e40ca1df0b2d998287..abb6dc2f2b63e17a1f0770b11a5e1c7d98ca97de 100644 (file)
@@ -115,6 +115,7 @@ read from the @code{\paper} block, if set.
 
 @subsection Environment variables
 
+@table @code
 @item LANG
 selects the language for the warning messages of Ly2dvi and LilyPond.
 @end table
index 9211d00fa3eeb40021f6e032de54ee1fbd52f6cb..20a85a9ce364ab62a9244536a296db7c2b54ed33 100644 (file)
@@ -22,10 +22,11 @@ flexibility and good documentation.  We hope you will have as much fun
 in using LilyPond as we have when hacking it.
 
 This manual was written to help you learn LilyPond, but as you might
-imagine, we don't have much to learn about it.  Therefore, we can't
-really judge whether the manual is clear for a newbie, but maybe you
-can!  So, should you find any part of the manual vague or outdated,
-please tell us your suggestions: if you don't, we'll never know.
+imagine, we ourselves don't have much to learn about it.  Therefore,
+we can't really judge whether the manual is clear for a newbie, but
+maybe you can!  So, should you find any part of the manual vague or
+outdated, please tell us your suggestions: if you don't, we'll never
+know.
 
 Han-Wen and Jan
 
index e7a3d60a7f43e312eafea00d2ad43d5093f485b3..c1bf8f60a12b4f89cf846fdd17fcb9444311217e 100644 (file)
@@ -235,7 +235,7 @@ r1 r2 r4 r8 r16 r32 r64 r64
 @lilypond[]
 \score {
   \notes \relative c'' {
-    a\longa a\breve  \autoBeamOff
+        a\breve  \autoBeamOff
     a1 a2 a4 a8 a16 a32 a64 a64 
     r\longa r\breve  
     r1 r2 r4 r8 r16 r32 r64 r64 
@@ -243,10 +243,10 @@ r1 r2 r4 r8 r16 r32 r64 r64
   \paper {
     \translator {
       \StaffContext
-        \remove "Clef_engraver";
-        \remove "Staff_symbol_engraver";
-        \remove "Time_signature_engraver";
-        \consists "Pitch_squash_engraver";
+        \remove "Clef_engraver"
+        \remove "Staff_symbol_engraver"
+        \remove "Time_signature_engraver"
+        \consists "Pitch_squash_engraver"
     }
   }
 }
@@ -443,7 +443,7 @@ Rests are entered like notes, with note name `@code{r}'. The grob is
 
 
 @example
-  \skip @var{duration} @code{;}
+  \skip @var{duration} 
   s@var{duration}
 @end example
 @cindex @code{\skip}
@@ -476,7 +476,7 @@ printed.  The shorthand is only available in Note and Chord mode.
 
 Changing the key signature is done with the @code{\key} command.
 @example
-  @code{\key} @var{pitch} @var{type} @code{;}
+  @code{\key} @var{pitch} @var{type}
 @end example
 
 @cindex @code{\minor}
@@ -581,7 +581,7 @@ Editio XXX.''
 
 The time signature is changed by the @code{\time} command. Syntax:
 @example
-  \time @var{numerator}@code{/}@var{denominator} @code{;}
+  \time @var{numerator}@code{/}@var{denominator} 
 @end example
 Internally, this is a shortcut for doing
 @example
@@ -645,7 +645,7 @@ achieve the same effect.
 @cindex repeat bars
 
 @example
-  \bar @var{bartype};
+  \bar @var{bartype}
 @end example
 
 This is a shortcut for doing
@@ -671,7 +671,7 @@ automatically: at the start of a measure it is set to
 override default measure bars. 
 
 @code{whichBar} can also be set directly, using @code{\property} or
-@code{\bar ; }.  These settings take precedence over automatic @code{whichBar}
+@code{\bar  }.  These settings take precedence over automatic @code{whichBar}
 settings. 
 
 @code{Bar_engraver} creates @code{BarLine} grobs.
@@ -843,7 +843,7 @@ durations, ie, you'll have to specify manual beams to get:
 @lilypond[fragment,singleline,relative]
   \property Voice.autoBeamSettings
   \override #'(end * * * *) = #(make-moment 3 8)
-  \time 12/8; c'8 c c c16 c c c c c [c c c c] c8 c c4
+  \time 12/8 c'8 c c c16 c c c c c [c c c c] c8 c c4
 @end lilypond
 
 It is not possible to specify beaming parameters that act differently in
@@ -994,7 +994,7 @@ indicate a musical sentence. It is entered using @code{\(} and
 @code{\)}.
 
 @lilypond[fragment,verbatim,center,relative]
-  \time 6/4; c''\((d)e f(e)\)d
+  \time 6/4 c''\((d)e f(e)\)d
 @end lilypond
 
 Typographically, the phrasing slur behaves almost exactly like a normal
@@ -1124,8 +1124,8 @@ name of the corresponding symbol appearing underneath.
       }
     >
     \paper {
-      linewidth = 5.875\in;          
-      indent    = 0.0;
+      linewidth = 5.875\in
+      indent    = 0.0
     }
   }
 @end lilypond
@@ -1482,7 +1482,7 @@ the specified number of repeats.
 @lilypond[fragment,verbatim]
 \context Staff {
   \relative c' {
-    \partial 4;
+    \partial 4
     \repeat volta 3 { e | c2 d2 | e2 f2 | }
     \alternative { { g4 g g } { a | a a a a | b2. } }
   }
@@ -1624,7 +1624,7 @@ are squashed, and the  staff itself  looks has  a single staff line:
 
 @lilypond[fragment,relative ]
   \context RhythmicStaff {
-      \time 4/4
+      \time 4/4
       c4 e8 f  g2 | r4 g r2 | g1:32 | r1 |
   }
 @end lilypond
@@ -1671,7 +1671,7 @@ over rests to switch rests in advance.
     \autochange Staff \context Voice = VA < \relative c' {
        g4 a  b c d r4 a g } > }
   \context Staff = "down" {
-       \clef bass
+       \clef bass
        s1*2
 } > }
 @end lilypond
@@ -1755,7 +1755,7 @@ to the chords in both staffs, and set
   \context PianoStaff <
     \property PianoStaff.connectArpeggios = ##t
     \context Voice = one  { <c''\arpeggio e g c> }
-    \context Voice = other { \clef bass;  <c,,\arpeggio e g>}
+    \context Voice = other { \clef bass  <c,,\arpeggio e g>}
   >  
 @end lilypond
 
@@ -1790,7 +1790,7 @@ can be printed automatically. This is enabled if the property
       \translator Staff=two
       b2 a
     }
-    \context Staff=two {\clef bass; \skip 1*2;}
+    \context Staff=two {\clef bass \skip 1*2 }
   >  
 @end lilypond
 
@@ -1855,7 +1855,7 @@ interpreted as melismata. Lyric syllables must be interpreted within a
 
 @lilypond[verbatim,singleline]
 \addlyrics \notes \relative c' {
-        \time 7/4;
+        \time 7/4
         \property Staff.automaticMelismata = ##t
         d'2 c4 b2 a2
        b2 c4 b4 ()  a4 g2 }
@@ -1970,7 +1970,7 @@ identity is @code{duet}, and the identities of the LyricsVoices are
 @lilypond[singleline,verbatim]
 \score {
 \addlyrics
-  \notes \relative c'' \context Voice = duet { \time 3/4;
+  \notes \relative c'' \context Voice = duet { \time 3/4
      g2 e4 a2 f4 g2.  }
   \lyrics \context Lyrics <
   \context LyricsVoice = "duet-1" {
@@ -2266,9 +2266,9 @@ problems in orchestral music.
 @cindex @code{Mark_engraver}
 
 @example
-  \mark @var{unsigned};
-  \mark @var{string};
-  \mark 
+  \mark @var{unsigned}
+  \mark @var{string}
+  \mark \default
 @end example
 
 With this command, you can print a rehearsal mark above the system. You
@@ -2278,11 +2278,11 @@ incremented.
 
 @lilypond[fragment,verbatim]
 \relative c'' {
-  c1 \mark "A2";
-  c1 \mark 
-  c1 \mark ; 
-  c1 \mark "12";
-  c1 \mark #'(music "scripts-segno") ;
+  c1 \mark "A2"
+  c1 \mark \default
+  c1 \mark \default 
+  c1 \mark "12"
+  c1 \mark #'(music "scripts-segno") 
   c1
 }
 @end lilypond
@@ -2312,7 +2312,7 @@ used, for the next ones @code{instr} is used.
   \property Staff.instrument = "ploink " { c''4 } }
   \paper { 
     \translator { \StaffContext
-    \consists "Instrument_name_engraver"; } } }
+    \consists "Instrument_name_engraver" } } }
 @end lilypond
 
 This requires  that you add the @code{Instrument_name_engraver} to the
@@ -2330,7 +2330,7 @@ complicated instrument names:
     c'' 4 }
   \paper { 
     \translator { \StaffContext
-    \consists "Instrument_name_engraver"; } } }
+    \consists "Instrument_name_engraver" } } }
 @end lilypond
 
 
@@ -2364,11 +2364,11 @@ will print flats.
 
 @lilypond[fragment,verbatim]
 \context Staff {
-  \clef "F";
-  { \key e \major; c d e f }
-  \clef "G";
-  \transpose des'' { \key e \major; c d e f }
-  \transpose cis'' { \key e \major; c d e f }
+  \clef "F"
+  { \key e \major c d e f }
+  \clef "G"
+  \transpose des'' { \key e \major c d e f }
+  \transpose cis'' { \key e \major c d e f }
 }
 @end lilypond
 
@@ -2407,7 +2407,7 @@ Lily will not expand empty measures, and the appropriate number is added
 automatically.
 
 @lilypond[fragment,verbatim]
- \time 3/4; R2.*2 \property Score.skipBars = ##t R2.*17  R2.*4
+ \time 3/4 R2.*2 \property Score.skipBars = ##t R2.*17  R2.*4
 @end lilypond
 
 Currently, there is  no way to condense multiple rests into a single
@@ -2525,7 +2525,7 @@ line.
     \context Staff = SB { c4 d e f \break R1 }
   >
   \paper {
-    linewidth = 6.\cm 
+    linewidth = 6.\cm 
     \translator { \HaraKiriStaffContext }
   }
 }
@@ -2551,8 +2551,8 @@ performance, thus enhancing readability of a score.
   \paper {
     \translator {
       \StaffContext
-      \consists Custos_engraver;
-      Custos \override #'style = #'mensural;
+      \consists Custos_engraver
+      Custos \override #'style = #'mensural
     }
   }
 }
@@ -2575,8 +2575,8 @@ are @code{vaticana}, @code{medicaea}, @code{hufnagel} and
 \paper @{
   \translator @{
       \StaffContext
-      \consists Custos_engraver;
-      Custos \override #'style = #'mensural;
+      \consists Custos_engraver
+      Custos \override #'style = #'mensural
   @}
 @}
 @end example
@@ -2999,7 +2999,7 @@ marking:
     a1^#`((rows (font-relative-size . -1)) ,dotted-eight-note " = 64")
   }
   \paper {
-    linewidth = -1.;
+    linewidth = -1.
     \translator{
       \ScoreContext
       TextScript \override #'font-shape = #'upright
@@ -3046,7 +3046,7 @@ unblanknotes = {
 
 \score {
   \notes\relative c'' {
-    \time 6/4;
+    \time 6/4
     a b c b \blanknotes c \unblanknotes d
   }
 }
@@ -3057,13 +3057,13 @@ Some grobs require a special treatment.
 Rhythm exercise: make staff invisible and squash pitches:
 @lilypond[singleline,verbatim]
 \score {
-  \notes { \time 3/4; c4 c c8 c | c4 c c8 c }
+  \notes { \time 3/4 c4 c c8 c | c4 c c8 c }
   \paper {
     \translator {
       \StaffContext
-      \remove Staff_symbol_engraver;
-      \consists Pitch_squash_engraver;
-      \remove Clef_engraver;
+      \remove Staff_symbol_engraver
+      \consists Pitch_squash_engraver
+      \remove Clef_engraver
     }
   }
 }
@@ -3080,7 +3080,7 @@ Some modern music does not show bar lines:
     \translator {
       \StaffContext
       whichBar = #""
-      \remove "Time_signature_engraver";
+      \remove "Time_signature_engraver"
     }
   }
 }
@@ -3121,7 +3121,7 @@ use are in @code{staff-space}s.
     s2
     a'1
   }
-  \paper { linewidth = 70 * \staffspace; }
+  \paper { linewidth = 70*\staffspace }
 }
 @end lilypond
 
@@ -3156,8 +3156,7 @@ music notation.  The syntax is
 where each of the items is one of
 
 @itemize @bullet
-  @item  An assignment.  The assignment must be terminated by a
-       semicolon.  
+  @item  An assignment.
 
   @item  A context definition.  See @ref{Notation Contexts} for
        more information on context definitions.
@@ -3303,7 +3302,7 @@ Occasionally you might want to override the automatic breaks; you can do
 this by specifying @code{\break}. This will force a line break at this
 point. Do remember that line breaks can only occur at places where there
 are barlines.  If you want to have a line break where there is no
-barline, you can force an invisible barline by entering @code{\bar "";}.
+barline, you can force an invisible barline by entering @code{\bar ""}.
 
 Similarly, @code{\noBreak} forbids a  line break at a certain point.
 
@@ -4000,7 +3999,7 @@ system.
         c'4 c'4 }
   \paper {
     \translator  { \StaffContext
-        \remove Clef_engraver;
+        \remove Clef_engraver
        } } }
 @end lilypond
 
@@ -4042,12 +4041,12 @@ following extra information:
 This is an example:
 @example
 \translator @code{
-  \type "Engraver_group_engraver";
-  \name "SimpleStaff";
-  \alias "Staff";
-  \consists "Staff_symbol_engraver";
-  \consists "Note_head_engraver";
-  \consistsend "Axis_group_engraver";
+  \type "Engraver_group_engraver"
+  \name "SimpleStaff"
+  \alias "Staff"
+  \consists "Staff_symbol_engraver"
+  \consists "Note_head_engraver"
+  \consistsend "Axis_group_engraver"
 }@
 @end example
 
@@ -4080,11 +4079,11 @@ and only the toplevel context.
 Other modifiers   are
 
 @itemize @bullet
-  @item @code{\alias} @var{alternate-name} @code{;}
+  @item @code{\alias} @var{alternate-name}
     This specifies a different name. In the above example,
 @code{\property Staff.X = Y} will also work on @code{SimpleStaff}s
 
-  @item  @code{\consistsend} @var{engravername} @code{;}  
+  @item  @code{\consistsend} @var{engravername} 
     Analogous to @code{\consists}, but makes sure that
     @var{engravername} is always added to the end of the list of
     engravers.
@@ -4094,7 +4093,7 @@ Other modifiers   are
     removes engravers.  This command is usually not needed for
     end-users.
     
-  @item  @code{\accepts} @var{contextname} @code{;}  
+  @item  @code{\accepts} @var{contextname}
     Add @var{contextname} to the list of  context this context can
     contain.  The first listed context is the context to create by
     default.
@@ -4103,7 +4102,7 @@ Other modifiers   are
 completeness, but is never used in practice.
  
   
-  @item  @code{\name} @var{contextname} @code{;}  
+  @item  @code{\name} @var{contextname} 
     This sets name of the context, e.g. @code{Staff}, @code{Voice}.  If
     the name is not specified, the translator won't do anything.
 @end itemize
@@ -4203,8 +4202,8 @@ metre, arranger, piece and tagline.
 
 The syntax is
 @example
-  \header @{ @var{key1} = @var{val1};
-             @var{key2} = @var{val2}; @dots{} @}
+  \header @{ @var{key1} = @var{val1}
+             @var{key2} = @var{val2} @dots{} @}
 @end example
 
 It is customary to put the @code{\header} at the top of the file.
@@ -4429,11 +4428,6 @@ and to refer to an identifier, you preceed its name with a backslash:
 the input-types listed above.  Identifier assignments can appear at top
 level in the LilyPond file, but also in @code{\paper} blocks.
 
-Semicolons are forbidden after top level assignments, but mandatory in
-other places. The rules about semicolons and assignments are very
-confusing, but when LilyPond input evolves more towards Scheme, we hope
-that this problem will grow smaller.
-
 An identifier can be created with any string for its name, but you will
 only be able to refer to identifiers whose names begin with a letter,
 being entirely alphabetical.  It is impossible to refer to an identifier
@@ -4506,23 +4500,13 @@ some time.
 @itemize @bullet
   @item  The assignment
 
-         @example 
+@example 
 foo = bar 
 @end example 
-
-       can be interpreted as making a string identifier @code{\foo}
+         is interpreted as the string identifier assignment. However,
+it can also  be interpreted as making a string identifier @code{\foo}
        containing @code{"bar"}, or a music identifier @code{\foo}
-       containing the syllable `bar'.
-
-  @item  The assignment
-
-         @example 
-foo = -6 
-@end example 
-
-       can be interpreted as making an integer identifier
-       containing -6, or a Request identifier containing the
-       fingering `6' (with neutral direction).
+       containing the syllable `bar'.  
 
   @item  If you do a nested repeat like
 
@@ -4540,7 +4524,12 @@ foo = -6
        @code{\alternative} belongs.  This is the classic if-then-else
        dilemma.  It may be solved by using braces.
 
-  @item  (an as yet unidentified ambiguity :-)
+  @item The parser is not sophisticated enough to distinguish at the
+right time between
+        @code{c4*2 / 3 } and @code{c4*2 / g} (in chord mode).
+
+[checkme]
+
 @end itemize
 
 
@@ -4708,7 +4697,7 @@ filename including the @file{.ly} extension must be given,
 @subsection Version information 
 @cindex @code{\version}
 @example
-  \version @var{string} ;
+  \version @var{string} 
 @end example
 
 Specify the version of LilyPond that a file was written for.  The
index 4a6f5f11a8a584ff76a8a174e1790df0dcaf8e7b..09d60d1ed2f601c6b5c3efcbd02633957d70fa83 100644 (file)
@@ -2,6 +2,9 @@
 
 @c TODO: LilyPond Lilypond lilypond
 
+FIXME: choose one of: notation context/interpretation context.
+
+
 @node Tutorial
 @chapter Tutorial
   
@@ -32,7 +35,7 @@ yourself, to get a feel for how the program behaves.
 * More movements ::             
 * A piano excerpt::             Piano music
 * An orchestral score::         
-* Part extraction::             
+* Other ways to run LilyPond::  
 * Latex and texinfo integration::  
 * end of tutorial::             The end
 @end menu
@@ -41,8 +44,6 @@ yourself, to get a feel for how the program behaves.
 @node Running LilyPond
 @section Running LilyPond
 
-[FIXME refman: describe all programs involved in one list.]
-
 Before we dive into describing the input language of LilyPond, we first
 show you through the procedure for getting notes on your screen and out
 of your printer.
@@ -119,64 +120,27 @@ You should see the following in  a window next to some buttons.
 } 
 @end lilypond
 
-When you're satisfied with the result, you can print the PostScript
-file.
+When you're satisfied with the result, you can print the
+PostScript file:
 
-@cindex PostScript
-@cindex Printing output
-@cindex .ps
-@cindex GhostScript
-@cindex @code{lpr}
-PostScript is a page description language, similar to PDF. Some printers
-can understand a postscript file directly, but the cheaper ones need the
-intervention of GhostScript, an emulator that runs PostScript on your
-computer instead of your printer. Most Linux distributions nowadays have
-GhostScript running ``in the background'', so any configured printer
-will act as a PostScript printer.  Assuming this, the following command
-will print the file
 @example
 lpr test.ps
 @end example
-If this does not make your printer produce a page of music, then you
-should look into installing and configuring ghostscript.  Refer to
-GhostScript's website at @uref{http://www.ghostscript.com}.  
-
-There are three other routes.  Firstly, there is a script called
-@code{lilypond-book}, that allows you to freely mix LilyPond input with
-Texinfo or LaTeX input. For example, this manual was written using
-@code{lilypond-book}. It is discussed in @ref{lilypond-book}.
-
-@c FIXME: ly2dvi option?
-Secondly, you can generate PostScript directly. This is useful if you
-can not or do not want to run @TeX{} on your system.  To obtain direct
-PostScript output, invoke LilyPond as follows:
-@cindex PostScript output
-@example
-lilypond -f ps test.ly
-@end example
-You have to set some environment variables to view or print this
-output. More information can be found in @ref{Invoking
-LilyPond}.
-
-@c FIXME: ly2dvi option?
-Thirdly, if you want to do special things with your output, you can run
-invoke lilypond directly:
-@example
-lilypond test.ly
-@end example
-to produce plain @TeX{}@footnote{@TeX{} is a text-typesetting system
-that is especially suited for typesetting mathematics.}  output.  Note
-that you must run @TeX{} on the resulting @file{test.tex}, ie, not
-LaTeX.
-@cindex @TeX{}
-
+If this does not make your printer produce a page of music, you should
+look into installing and configuring ghostscript.  Refer to
+GhostScript's website at @uref{http://www.ghostscript.com}.
+@cindex GhostScript
+@cindex @code{lpr}
+@cindex Printing output
 
+@cindex PostScript
+@cindex .ps
 
 @unnumberedsubsec Windows
 
 @strong{[TODO]}
 
-* setting of env vars (TFMINPUTS,MFINPUTS,TEXINPUTS)
+* setting of env vars (TFMFONTS,MFINPUTS,TEXINPUTS)
 
 * dvi viewer doesn't display postscript
 
@@ -192,19 +156,19 @@ is included in the distribution as  @file{menuet.ly}.
 @cindex Bach, Johann Sebastian 
 
 @lilypond[verbatim]
-% text preceded by a percent sign is a comment
+% all text after a percent sign is a comment
 % and is ignored by Lilypond
 \include "paper16.ly"
 \score {
     \notes                        
-    \relative c'' \sequential{                
-            \time 3/4;                
-            \key g \major;
+    \relative c'' \sequential {
+            \time 3/4                
+            \key g \major
 
         \repeat "volta" 2 {
             d4 g,8 a b c d4 g, g |
             e'4 c8 d e fis g4 g, g |
-            c4 d8()c b a( )b4 c8 b a g |
+            c4 d8( )c b a( )b4 c8 b a g |
             a4 [b8 a] [g fis] g2.  |
         }
 
@@ -215,11 +179,11 @@ is included in the distribution as  @file{menuet.ly}.
         g4 fis e |
         fis a,  r8 cis8
         d2.-\fermata
-        \bar "|.";
+        \bar "|."
     }
     \paper {
        % standard settings are too wide for a book
-       linewidth = 14.0 \cm;
+       linewidth = 14.0 \cm
    }
 }
 @end lilypond
@@ -227,12 +191,12 @@ is included in the distribution as  @file{menuet.ly}.
 We will analyse the input, line by line.
 @separate
 @example
-        % text preceded by a percent sign is a comment
-        % and is ignored by LilyPond
+        % all text after a percent sign is a comment
+        % and is ignored by Lilypond
 @end example 
-The percent sign, @code{%}, introduces a line comment.  If you want to
-make a comment that use several lines, you can use block comments. These
-are delimited by @code{%@{} and @code{%@}}
+The percent sign, @code{%}, introduces a line comment.  You can also
+comment out a block of several lines, by enclosing them in
+@code{%@{} and @code{%@}}.
 @cindex comment
 @cindex block comment
 @cindex line comment
@@ -256,7 +220,7 @@ size, which is done here.
         \score @{
  
 @end example 
-Music is printed by combining a chunk of music with directions for
+Music is printed by combining a piece of music with directions for
 outputting it.  This combination is formed in the @code{\score} block.
 @separate
 @example 
@@ -264,32 +228,32 @@ outputting it.  This combination is formed in the @code{\score} block.
         \notes                
  
 @end example 
- This makes LilyPond ready for accepting notes.
+Prepare LilyPond for accepting notes.
+@cindex octaves, choosing
+@cindex pitch
 @separate
 @example 
 
         \relative c''
  
 @end example
-
-@cindex octaves, choosing
-@cindex pitch
-As we will see, each note is described by its note name, duration,
-octave and possibly a chromatic alteration.  In this scheme, the 
-octave is indicated by using raised quotes (@code{'}) and ``lowered'' 
-quotes (commas: @code{,}).  The central C is denoted by @code{c'}.  
-The C one octave higher is @code{c''}.  One and two octaves below 
-the central C is denoted by @code{c} and @code{c,} respectively.
-
 @cindex relative
-Even though a piece of music often spans a range of several octaves, 
-it mostly moves in small intervals. LilyPond has a special entry
-mode to save typing in this situation.  In this ``relative'' octave 
-mode, octaves of notes
-without quotes are chosen such that a note is as close as possible
-(graphically, on the staff) to the preceding note.  If you add a
-high-quote an extra octave is added.  The lowered quote (a comma) will
-subtract an extra octave.  Because the first note has no predecessor,
+As we will see, each note is described by its note name, duration,
+octave and possibly a chromatic alteration.  In this setup, the octave
+is indicated by using high quotes (@code{'}) and ``lowered quotes''
+(commas: @code{,}).  The central C is denoted by @code{c'}.  The C one
+octave higher is @code{c''}.  One and two octaves below the central C is
+denoted by @code{c} and @code{c,} respectively.
+
+Even though a piece of music often spans a range of several octaves, it
+mostly moves in small intervals.  LilyPond has a special entry mode to
+save typing in this situation.  In this ``relative'' octave mode,
+octaves of notes without quotes are chosen such that a note is as close
+as possible (graphically, on the staff) to the preceding note.  If you
+add a high-quote an extra octave is added.  A lowered quote (a comma)
+will subtract an extra octave.
+
+Because the first note has no predecessor,
 you have to give the (absolute) pitch of the note to start with.
 @separate
 @example 
@@ -303,36 +267,37 @@ notes that are to be played and printed after each other.
 @separate
 @example 
 
-        \time 3/4;
+        \time 3/4
  
 @end example
 @cindex time signature, setting
 @cindex @code{\time}
-  This command sets or changes the time signature of the current piece: 
-a 3/4  sign is printed.  The time signature setting is also used to generate
-bar lines at the right spots.
+Set (or change) the time signature of the current piece: a 3/4 sign is
+printed.  The time signature setting is also used to generate bar lines
+at the right spots.
 @separate
 @example 
 
-        \key g \major;
+        \key g \major
  
 @end example
 @cindex key signature, setting
 @cindex @code{\key}
-  This command changes the current key signature to G-major.  Although this
-command comes after the @code{\time} command, the key signature comes
-before the time signature in the output; LilyPond knows about music
-typesetting conventions.
+Set (or change) the current key signature to G-major.  Although in this
+example, the @code{\key} command happened to be entered after the
+@code{\time} command, in the output the time signature will be printed
+after the key signature; LilyPond knows about music typesetting
+conventions.
 @separate
 @example 
 
         \repeat "volta" 2
  
 @end example 
-  This command tells LilyPond that the following piece of music is
-played twice. The first argument indicates the type of repeat. In this
-case, @code{"volta"} means that prima volta/secunda volta brackets are
-used for the alternative endings---if there were any.
+The following piece of music is played twice.  The first argument
+indicates the type of repeat.  In this case, @code{"volta"} means that
+prima volta/secunda volta brackets are used for the alternative
+endings---if there were any.
 @separate
 @example 
 
@@ -345,21 +310,25 @@ just leave off @code{\sequential}, and the result is the same.
 @separate
 @example 
 
-        d4
+        d4 g,8
  
 @end example 
- This is a note with pitch @code{d} (determined up to the octave). The
-relative music was started with a @code{c''}, so the real pitch of this
-note is @code{d''}.  A number designates the duration of the note, so
-the @code{4} here represents a quarter note.
+Two notes.  The first note is a quarter note with relative pitch
+@code{d}.  The relative music was started with a @code{c''}, so the real
+pitch of this note is @code{d''}.  The duration of a note is designated
+by a number; the @code{4} here represents a quarter note.
+
+The second note is an eight note with relative pitch @code{g,}.  The
+pitch is taken relative to the previous @code{d''}, making this
+note have real pitch @code{g'}.  The @code{8} represents an eight note.
 @separate
 @example 
 
         a b
  
 @end example 
-These are notes with pitch @code{a} and @code{b}.  Because their
-duration is the same as the @code{g}, there is no need to enter the
+Two more notes, with pitch @code{a} and @code{b}.  Because their
+duration is the same as the @code{g,8}, there is no need to enter the
 duration, but you may enter it anyway, i.e., @code{a4 b4}
 @separate
 @example 
@@ -370,43 +339,48 @@ duration, but you may enter it anyway, i.e., @code{a4 b4}
 @cindex bar check
 @cindex @code{|}
 @cindex errors, finding 
- Three more notes.  The @code{|} character is a `bar check'.  When
-processing the music, LilyPond will verify that bar checks are found at
-the start of a measure.  This can help you track down typing errors.
+Three more notes.  The @code{|} character is a ``bar check''.  LilyPond
+will verify that bar checks are found at the start of a measure.  This can
+help you track down typing errors.
 
 @cindex alteration, chromatic
 @cindex chromatic alteration
-So far, no notes were chromatically altered.  Here is the first one
-that is: @code{fis}. Lilypond by default uses Dutch note names, and
-``Fis'' is the Dutch note name for ``F sharp''.  However, there is no
-sharp sign in the output. The program keeps track of key signatures,
-and will only print accidentals if they are needed.
 @separate
 @example 
 
         c8 d e fis
+
 @end example 
-LilyPond guesses were beams can be added to eighth and shorter notes.
-In this case, a beam is added over the 4 eights.
+So far, no notes were chromatically altered.  Here is the first one that
+is: @code{fis}.  Lilypond by default uses Dutch@footnote{Note names are
+available in several languages, but we find the Dutch names quite
+convenient.} note names, and ``Fis'' is the Dutch note name for ``F
+sharp''.  However, there is no sharp sign in the output. The program
+keeps track of key signatures, and will only print accidentals if they
+are needed.
+
+For groups of eighth notes and shorter, LilyPond can determine how the
+notes should form a beam.  In this case, the 4 eights are automatically
+printed as a beam.
 @separate
 @example 
 
         c4 d8( )c b a( )b4 c8 b a g |
  
 @end example 
-  The next line shows how to make a slur: the beginning and ending note
-of the slur is marked with an opening and closing parenthesis
-respectively.  In the line shown above, this is done for two slurs.
-Slur markers (parentheses) are entered between the slurred notes.
+The beginning and ending notes of a slur are marked with parentheses,
+@code{(} and @code{)} for start and end respectively.  The line above
+indicates two slurs.  These slur markers (parentheses) are entered
+between the slurred notes.
 @separate
 @example 
 
         a4 [b8 a] [g fis] 
  
 @end example 
-Automatic beaming can be overridden by inserting beam marks
-(brackets).  Brackets are put around the notes you want beamed.
+Automatic beaming can be overridden by inserting beam marks, @code{[}
+and @code{]}.  These beam markers (brackets) are put around the notes
+you want beamed.
 @separate
 @example 
 
@@ -422,17 +396,16 @@ A period adds an augmentation dot to the note.
         @}
  
 @end example 
-  This ends the sequential music to be repeated.  LilyPond will typeset
-repeat bar.
+The end of the sequential music to be repeated.  LilyPond will typeset a
+repeat bar.
 @separate
 @example 
 
         cis'4 b8 cis a4 |
  
 @end example 
- This line shows that Lily will print an accidental if necessary: 
-the first C sharp of the bar will be printed with an accidental,
-the second one without.
+Accidentals are printed whenever necessary: the first C sharp of the bar
+will be printed with an accidental, the second one without.
 @separate
 @example 
 
@@ -458,7 +431,7 @@ Rests are denoted by the special notename @code{r}.
         d2.-\fermata
  
 @end example 
- All articulations have a verbose form, like @code{\fermata}.  The
+All articulations have a verbose form, like @code{\fermata}.  The
 command @code{\fermata} is not part of the core of the language, but it
 is a shorthand for a more complicated description of a fermata symbol.
 @code{\fermata} names that description and is therefore called an
@@ -467,28 +440,25 @@ identifier.
 @cindex @code{\fermata}
 @separate
 @example
-        \bar "|.";
-@end example 
-@separate
-@example 
+        \bar "|."
         @}
 @end example 
-Here the music ends.
-
+Here the music ends.  LilyPond does not automatically typeset and end
+bar, we must explicitely request one, using @code{"|."}.
+@c FIXME: Why not?!  better to override \bar "" if not wanted?
 @separate
 @example 
 
         \paper @{
-                linewidth = 14.0\cm;
+                linewidth = 14.0\cm
         @}
  
 @end example 
-This specifies how the entered music should be converted to notation
-output.  Most of the details of the conversion (font sizes, dimensions,
-etc.) have 
-been taken care of, but  to fit the output  in this document, it has
-to be narrower.  We do this by setting the line width to 14 centimeters
-(approximately 5.5 inches).
+The @code{\paper} block specifies how entered music should be converted
+to notation output.  Most of the details of the conversion (font sizes,
+dimensions, etc.) have been taken care of, but to fit the output in this
+document, it has to be narrower.  We do this by setting the line width
+to 14 centimeters (approximately 5.5 inches).
 @separate
 @example 
 
@@ -508,17 +478,17 @@ included as @file{flowing.ly}.
 
 @example 
 \header @{
-        title = "The river is flowing";
-        composer = "Traditional";
+        title = "The river is flowing"
+        composer = "Traditional"
 @}
 \include "paper16.ly"
 melody = \notes \relative c' @{
-        \partial 8;
-        \key c \minor;
+        \partial 8
+        \key c \minor
         g8 |
         c4 c8 d [es () d] c4 | f4 f8 g [es() d] c g |
         c4 c8 d [es () d] c4 | d4 es8 d c4.
-        \bar "|.";
+        \bar "|."
 @}
 
 text = \lyrics @{
@@ -533,7 +503,7 @@ accompaniment =\chords @{
 
 \score @{
         \simultaneous @{
-%         \accompaniment
+          %\accompaniment
           \context ChordNames \accompaniment
 
           \addlyrics
@@ -544,8 +514,8 @@ accompaniment =\chords @{
             @}
             \context Lyrics \text
         @}
-        \midi  @{ \tempo 4=72;@}
-        \paper @{ linewidth = 10.0\cm; @}
+        \midi  @{ \tempo 4=72 @}
+        \paper @{ linewidth = 10.0\cm @}
 @} 
 @end example 
 
@@ -559,17 +529,17 @@ may differ, since the titling in this document is not generated by
 
 @lilypond[center]
 \header {
-        title = "The river is flowing";
-        composer = "Traditional";
+        title = "The river is flowing"
+        composer = "Traditional"
 }
 \include "paper16.ly"
 melody = \notes \relative c' {
-        \partial 8;
-        \key c \minor;
+        \partial 8
+        \key c \minor
         g8 |
         c4 c8 d [es () d] c4 | f4 f8 g [es() d] c g |
         c4 c8 d [es () d] c4 | d4 es8 d c4.
-        \bar "|.";
+        \bar "|."
 }
 
 text = \lyrics {
@@ -584,7 +554,7 @@ accompaniment =\chords {
 
 \score {
         \simultaneous {
-%         \accompaniment
+          %\accompaniment
           \context ChordNames \accompaniment
 
           \addlyrics
@@ -595,8 +565,8 @@ accompaniment =\chords {
             }
             \context Lyrics \text
         }
-        \midi  { \tempo 4=72;}
-        \paper { linewidth = 10.0\cm; }
+        \midi  { \tempo 4=72 }
+        \paper { linewidth = 10.0\cm }
 }
 @end lilypond
 
@@ -615,8 +585,8 @@ information to print titles above the music.
 @separate
 @example 
 
-        title = "The river is flowing";
-        composer = "Traditional (?)"
+        title = "The river is flowing"
+        composer = "Traditional (?)"
 @end example
 @cindex assignments
 @cindex identifier assignment
@@ -645,7 +615,7 @@ construct the music within the score block.
 
 @separate
 @example 
-        \partial 8;
+        \partial 8
 @end example 
 
 @cindex @code{\partial}
@@ -653,7 +623,7 @@ construct the music within the score block.
 The piece starts with an anacrusis of one eighth.
 @separate
 @example
-        \key c \minor;
+        \key c \minor
 @end example
 The key is C minor: we have three flats.
 
@@ -662,7 +632,7 @@ The key is C minor: we have three flats.
 
         c4 c8 d [es () d] c4 | f4 f8 g [es() d] c g |
         c4 c8 d [es () d] c4 | d4 es8 d c4.
-        \bar "|.";
+        \bar "|."
  
 @end example 
 
@@ -678,6 +648,9 @@ beams off, and use explicit beaming where needed.
 @end example 
 This ends the definition of @code{melody}.  Note that there are no
 semicolons after assignments at the top level.
+
+[FIXME: no longer true for 146?]
+
 @separate
 @example 
 
@@ -835,12 +808,12 @@ silly.
  
 @end example
 
-This is the argument of @code{\addlyrics}.  We instantiate a
-@code{Staff} context explicitly: should you chose to remove the comment
-before the ``note heads'' version of the accompaniment, the
-accompaniment will be on a nameless staff.  The melody has to be on a
-different staff as the accompaniment.  This is accomplished by giving
-the melody staff a different name.
+The second argument of @code{\addlyrics} is the melody.  We instantiate
+a @code{Staff} context explicitly: should you choose to remove the
+comment before the ``note heads'' version of the accompaniment, the
+accompaniment will be on a nameless staff.  The melody has to be on
+staff different from the accompaniment.  This is accomplished by giving
+the melody and accompaniment staffs different names.
 @separate
 @example 
 
@@ -851,11 +824,9 @@ the melody staff a different name.
 @cindex context variables
 @cindex setting context variables
 An interpretation context has variables, called properties, that tune
-its behaviour.  One of 
-the variables is @code{noAutoBeaming}.  If set to @code{##t}, which is
-the boolean value @var{true}, LilyPond will not try to put automatic beaming
-on the current staff.
-
+its behaviour.  One of the variables is @code{noAutoBeaming}.  Setting
+this Staff's property to @code{##t}, which is the boolean value @var{true},
+turns the automatic beaming mechanism off for the current staff.
 @cindex GUILE
 @cindex Scheme
 @cindex accessing Scheme
@@ -911,14 +882,7 @@ Lyrics.
 @separate
 @example 
 
-        @}
-@end example 
-This ends @code{\simultaneous}.
-@separate
-@example 
-
-        \midi  @{ \tempo 4=72;@}
+        \midi  @{ \tempo 4=72@}
  
 @end example 
 MIDI (Musical Instrument Digital Interface) is a standard for
@@ -935,7 +899,7 @@ also specifies an output method. You can specify the tempo using the
 @separate
 @example 
 
-        \paper @{ linewidth = 10.0\cm; @}
+        \paper @{ linewidth = 10.0\cm @}
  
 @end example 
 We also want notation output.  The linewidth is short so the piece
@@ -944,6 +908,8 @@ will be set in two lines.
 @node More movements 
 @section More movements
 
+[FIXME: merge here with, or move this to: Other ways to run LilyPond]
+
 You probably ran @file{ly2dvi} on the last example, and ended up with a
 viewable @file{.dvi} file.  However, between there are a few steps of
 which LilyPond is only one. To enhance your understanding of what's
@@ -958,26 +924,25 @@ of this file are very  low-level instructions.
 For example,  the following file (@file{miniatures.ly}) 
 
 @example
-  \version "1.3.124";
-  \header @{ title = "Two miniatures";  @}
-  
-  #(set! point-and-click line-column-location)
-  
-  \paper @{
-        linewidth = -1.0; @}
+\version "1.3.124"
+\header @{ title = "Two miniatures"  @}
 
-  \score @{
+#(set! point-and-click line-column-location)
+
+\paper @{ linewidth = -1.0 @}
+
+\score @{
     \notes @{ c'4 d'4 @}
     \header @{
-        opus = "Opus 1.";
-        piece = "Up"; @}
-  @}
-  \score @{
-    \notes @{ d'4 c'4  @}
+        opus = "Opus 1."
+        piece = "Up" @}
+@}
+\score @{
+    \notes @{ d'4 c'4 @}
     \header @{
-        opus = "Opus 2.";
-        piece = "Down"; @}
-  @}
+        opus = "Opus 2."
+        piece = "Down" @}
+@}
 @end example
 
 The titling in this manual was not generated by ly2dvi, so we can't
@@ -993,8 +958,7 @@ Opus 1.
 @lilypond
   \score {
     \notes { c'4 d'4 }
-    \paper {
-        linewidth = -1.0; }
+    \paper { linewidth = -1.0 }
   }
 @end lilypond
 @flushright
@@ -1006,8 +970,7 @@ Opus 2.
 @lilypond
   \score {
     \notes { d'4 c'4 }
-    \paper {
-        linewidth = -1.0; }
+    \paper { linewidth = -1.0 }
   }
 @end lilypond
 
@@ -1050,7 +1013,7 @@ Next, now we'll look at the example line by line to explain new things.
 
 @separate
 @example 
-\version "1.3.124";
+\version "1.3.124"
 @end example 
 Lilypond and its language are still under development, and occasionally,
 details of the syntax are changed. This fragment indicates for which
@@ -1064,7 +1027,7 @@ version.
 
 @separate
 @example
-  \header @{ title = "Two miniatures";  @}
+  \header @{ title = "Two miniatures"  @}
 @end example
 This sets the titling information for the entire file.
 
@@ -1073,16 +1036,17 @@ This sets the titling information for the entire file.
         #(set! point-and-click line-column-location)
 @end example
 
-This is Scheme code. It sets the variable @code{point-and-click} to the
-value @var{line-column-location} (which itself is a Scheme procedure). 
+This piece of Scheme code sets the Scheme variable
+@code{point-and-click} to the value @var{line-column-location} (which
+itself is a Scheme procedure).
 
 Editing input files can be quite complicated if you're working with
 large files: if you're digitizing existing music, you have to
 synchronize the .ly file, the sheet music on your lap and the sheet
 music on the screen.  The point-and-click mechanism makes it easy to
 find the origin of an error in the .ly file: when you view the file with
-Xdvi and click on a note , your editor will jump to the spot where that
-note was entered. More information is in @ref{Point and click}
+Xdvi and click on a note, your editor will jump to the spot where that
+note was entered.  For more information, see @ref{Point and click}.
 
 @separate
 @example
@@ -1096,7 +1060,7 @@ default page layout.
 
 @separate
 @example
-  linewidth = -1.0; @}
+  linewidth = -1.0 @}
 @end example
 
 
@@ -1141,8 +1105,8 @@ files into a big document. The contents of \header blocks specified
 within each score, are used for the titling of each movement.
 @separate
 @example
-        opus = "Opus 1.";
-        piece = "Up"; @}
+        opus = "Opus 1."
+        piece = "Up" @}
 @end example
 For example, the Opus number is put at the right, and the piece string
 will be at the left.
@@ -1152,84 +1116,81 @@ will be at the left.
 @node A piano excerpt
 @section A piano excerpt
 
-Our third subject is a piece of piano music.  The fragment in the input
+Our fourth subject is a piece of piano music.  The fragment in the input
 file is a piano reduction of the G major Sinfonia by Giovanni Battista
 Sammartini.  It was composed around 1740.  It's in the source package
 under  the name @file{sammartini.ly}.
 
 @lilypond[verbatim]
-\include "paper16.ly";
+\include "paper16.ly"
 
 stemDown = \property Voice.Stem \override #'direction = #-1
 stemUp = \property Voice.Stem \override #'direction = #1
 stemBoth = \property Voice.Stem \revert #'direction  
 
 viola = \notes \relative c' \context Voice = viola {
-        <c4-\f-\arpeggio g' c>
-        \stemDown g'8. b,16
-        s1 s2. r4
-        g
+    <c4-\f-\arpeggio g' c>
+    \stemDown g'8. b,16
+    s1 s2. r4
+    g
 }
 
 oboes = \notes \relative c'' \context Voice = oboe {
-        \stemUp s4  g8. b,16 c8 r <e'8.^\p g> <f16 a>
-        \grace <e8( g> <d4 )f> <c2 e> \times 2/3 { <d8 \< f> <e g> <f a> }
-        <
-          { \times 2/3 { a8 g c } \! c2 }
-          \context Voice = oboeTwo {
-               \stemDown
-               \grace {
-                 \property Grace.Stem \override #'direction = #-1
-                 [f,16 g] }
-               f8 e e2
-        } >
-        \stemBoth
-        \grace <c,8( e> <)b8. d8.-\trill> <c16 e> | 
-        [<d ( f> < )f8. a>] <)b,8 d> r [<d16( f> <f8. )a>] <b,8 d> r  |
-        [<c16( e>  < )e8. g>] <c8 e,>
+    \stemUp s4  g8. b,16 c8 r <e'8.^\p g> <f16 a>
+    \grace <e8( g> <d4 )f> <c2 e>
+    \times 2/3 { <d8 \< f> <e g> <f a> }
+    <
+        { \times 2/3 { a8 g c } \! c2 }
+        \context Voice = oboeTwo {
+            \stemDown
+            \grace {
+                \property Grace.Stem \override #'direction = #-1
+                [f,16 g] }
+            f8 e e2
+        }
+    >
+    \stemBoth
+    \grace <c,8( e> <)b8. d8.-\trill> <c16 e> | 
+    [<d ( f> < )f8. a>] <)b,8 d> r [<d16( f> <f8. )a>] <b,8 d> r  |
+    [<c16( e>  < )e8. g>] <c8 e,>
 }
 
-hoomPah  =  \repeat unfold 8
-  \notes \transpose c' { \stemUp c8 \stemBoth \stemDown c'8 \stemBoth }
+hoomPah = \repeat unfold 8 \notes
+    \transpose c' { \stemUp c8 \stemBoth \stemDown c'8 \stemBoth }
 
 bassvoices = \notes \relative c' {
-        c4 g8. b,16
-        \autochange Staff \hoomPah
-        \translator Staff = down
-        \stemDown [c8 c'8] r4
-        <g d'> r4
-        < {\stemUp r2 <e4 c'> <c8 g'> }
-          \context Voice = reallyLow  {\stemDown g2 ~ | g4 c8 } >
+    c4 g8. b,16
+    \autochange Staff \hoomPah
+    \translator Staff = down
+    \stemDown [c8 c'8] r4
+    <g d'> r4
+    < {\stemUp r2 <e4 c'> <c8 g'> }
+        \context Voice = reallyLow  {\stemDown g2 ~ | g4 c8 } >
 }
 
 \score {
-        \context PianoStaff \notes <
-               \context Staff = up < \time 2/2;
-                       \viola
-                       \oboes
-               >
-               \context Staff = down < \time 2/2; \clef bass;
-                       \bassvoices
-               >
+    \context PianoStaff \notes <
+        \context Staff = up < \time 2/2
+            \viola
+            \oboes
         >
-        \midi { }
-        \paper {
-          indent = 0.0;
-          linewidth = 15.0 \cm; }
+        \context Staff = down < \time 2/2 \clef bass
+            \bassvoices
+        >
+    >
+    \midi { }
+    \paper {
+        indent = 0.0
+        linewidth = 15.0 \cm }
 }
 @end lilypond
 
-If it looks like incomprehensible gibberish to you, then you are right.
+If this looks like incomprehensible gibberish to you, you are right.
 This example has been doctored to have as many quirks as possible.
 
-@separate
-@example
- stemDown =  \property Voice.Stem \override #'direction = #-1
-@end example
-
-As you can see, this example features more voices on one staff. To make
-room for those voices, their notes have to be stemmed in opposite
-directions. These are the commands to make that happen.
+As you can see, this example features multiple voices on one staff.  To
+make room for those voices, their notes have to be stemmed in opposite
+directions.
 
 Printed symbols are internally represented by so-called Graphical
 Objects (more colloquially: Grobs).  These statements concern the
@@ -1238,17 +1199,22 @@ setting determine the fonts, offsets, sub-routines to be called on the
 grob, etc.  The initial values of these settings are set in the Scheme
 file @file{scm/grob-description.scm}.
 
-This statement adds a setting for all Stem grobs in the current
-Voice: @code{direction} is set to @code{-1}, which encodes down. The
-setting remains in effect until it is reverted.  
+@separate
+@example
+  stemDown = \property Voice.Stem \override #'direction = #-1
+@end example
+
+Set a proprerty for all Stem grobs in the current Voice:
+@code{direction} is set to @code{-1}, which encodes down.  The setting
+remains in effect until it is reverted.
 
 @separate
 @example
  \property Voice.Stem \revert #'direction  
 @end example
 
-This statement reverts the old setting. If you do this, the effect of
-precisely one @code{\stemDown} or @code{\stemUp} is neutralised.
+Revert the to the previous setting.  The effect of precisely one
+@code{\stemDown} or @code{\stemUp} is neutralised.
 
 
 LilyPond includes the identifiers @code{\stemUp}, @code{\stemDown} along
@@ -1286,8 +1252,8 @@ the whole chord, but the syntax requires that commands like forte and
 arpeggio are attached to a note, so here we attach them to the first
 note.
 
-@code{\arpeggio} draws an vertical wavy line before the chord,
-signifying an arpeggio.
+@code{\arpeggio} typesets an arpeggio sign (a wavy vertical line) before
+the chord.
 
 @separate
 @example 
@@ -1448,7 +1414,7 @@ written out in full eight times.
 @cindex transposing
 @cindex relative mode and transposing
 
-Transposing can be done with @code{\transpose}.  It takes two arguments;
+Transposing can be done with @code{\transpose}.  It takes two arguments
 the first specifies what central C should be transposed to.  The second
 is the to-be-transposed music.  As you can see, in this case, the
 transposition has no effect, as central C stays at central C.
@@ -1470,15 +1436,15 @@ c4 g8. b,16
 Voices can switch between staffs. The easiest way to get this, is to use
 @code{\autochange}. This command looks at the pitch of each note, and if
 necessary, will cross to the other staff. For this to work, the two
-staffs must be called @code{"up"} and @code{"down"}. 
+staffs must be called @code{"up"} and @code{"down"}.
 @separate
 @example
         \translator Staff = down
 @end example
 @cindex staff switch
 @cindex cross staff voice
-The rest of this melody must be in the lower staff, so we do a manual
-staff switch here.
+We want the remaining part of this melody on the lower staff, so we do a
+manual staff switch here.
 
 
 @separate
@@ -1500,12 +1466,12 @@ with one curve.
 context is called @code{PianoStaff}.
 @separate
 @example 
-\context Staff = bottom < \time 2/2; \clef bass; 
+\context Staff = bottom < \time 2/2 \clef bass 
 @end example 
 The bottom staff must have a different clef.
 @separate
 @example 
-indent = 0.0; 
+indent = 0.0 
 @end example 
 To make some more room on the line, the first (in this case the only)
 line is not indented.  The line still looks very cramped, but that is due
@@ -1520,34 +1486,47 @@ to the page layout of this document.
 * Simple part combining in a Hymn
 @end ignore
 
+
 @node An orchestral score
 @section An orchestral score
 
-[explain why declarative nature of lily makes making scores rel. easy]
+@menu
+* The full score::              
+* Extracting an individual part::  
+@end menu
+
+
+Our last two examples show a way to setup the music for an orchestral
+score.  When typesetting a piece for several instruments, you'll want to
+create a conductor's full score, alongside several individual parts.
 
-We will not go through the
-input line by line, but only indicate and explain the new elements.
+LilyPond is well suited for this task.  We will declare the music for
+each instrument individually, giving the music of each instrument its
+own name.  These pieces of music are then combined in different
+@code{\score} blocks to produce different combinations of the score.
 
 This orchestral score example consists of three input files.  In the
 first file, @file{os-music.ly}, we define the music for all instruments.
 This file will be used both for producing the score and the separate
-parts.  If you run lilypond on this file, no output will be produced.
+parts.
 
+If you were to run lilypond on this file, no printable output would be
+produced.
 
 @example
 % os-music.ly
 \header @{
-  title = "Zo, goed lieverd?";
-  subtitle = "How's, this babe?";
-  composer = "JCN";
-  opus = "1";
-  piece = "Laid back";
+  title = "Zo, goed lieverd?"
+  subtitle = "How's, this babe?"
+  composer = "JCN"
+  opus = "1"
+  piece = "Laid back"
 @}
 global = @{
-  \time 2/4;
-  \skip 2*4; \bar "|.";
+  \time 2/4
+  \skip 2*4 \bar "|."
 @}
-Key = \notes \key as \major;
+Key = \notes \key as \major
 flautoI = \notes\relative c'' @{
   f8 g f g f g f g
   bes as bes as bes as bes as
@@ -1556,7 +1535,7 @@ flautoII = \notes\relative c'' @{
   as8 bes as bes R1 d4 ~ d
 @}
 tromboI = \notes\relative c'' @{
-  c4. c8 c8 c4. es4 R1*1/2 es4
+  c4. c8 c8 c4. es4 r as, r
 @}
 tromboII = \notes\relative c'' @{
   as4. as8 as8 as4. R1*1/2 as4 es'
@@ -1571,19 +1550,44 @@ corno = \notes\relative c' @{
 @}
 @end example
 
-Things to note here are the definition of @code{\global} where we define
-the time signature, and set the end bar.  And the separate definition of
-@code{\Key} that we will use for all staffs except those for transposing
-instruments.
+We will not go through the input line by line, but only indicate and
+explain the new elements.
+
+
+@separate
+@example
+global = @{
+  \time 2/4
+  \skip 2*4 \bar "|.";
+@}
+@end example
+
+Declare setting to be used globally.  The @code{\skip} command produces
+no output, but moves forward in time: in this case, the duration of a
+half note (@code{2}), and that four times (@code{*4}).  This brings us
+to the end of the piece, and we can set the end bar.
+
+@separate
+@example
+Key = \notes \key as \major
+@end example
+Declare the key signature of the piece and assign it to the identifier
+@var{Key}.  Lateron, we'll use @code{\Key} for all staffs except those
+for transposing instruments.
+
+@node The full score
+@subsection The full score
+
 
 The second file, @file{os-score.ly} reads the definitions of the first
 (@file{os-music.ly}), and defines the @code{\score} block for the full
 conductor's score.
 
+
 @example
 % os-score.ly
-\include "os-music.ly";
-\include "paper13.ly";
+\include "os-music.ly"
+\include "paper13.ly"
 
 #(set! point-and-click line-column-location)
 #(define text-flat '((font-relative-size . -2)
@@ -1592,6 +1596,7 @@ conductor's score.
 \score @{
   <
     \global
+    \property Score.BarNumber \override #'padding = #3
     \context StaffGroup = woodwind <
       \context Staff = flauti <
         \property Staff.midiInstrument = #"flute"
@@ -1607,7 +1612,7 @@ conductor's score.
         \property Staff.midiInstrument = #"timpani"
         \property Staff.instrument = #'(lines "Timpani" "(C-G)")
         \property Staff.instr = #"Timp."
-        \clef bass;
+        \clef bass
         \Key
         \timpani
       >
@@ -1629,37 +1634,26 @@ conductor's score.
         \property Staff.instr = #`(lines "Cor."
           (rows "(E" ,text-flat ")"))
         \property Staff.transposing = #3
-        \notes \key bes \major;
+        \notes \key bes \major
         \context Voice=one \corno
       >
     >
   >
   \paper @{
-    indent = 15 * \staffspace;
-    linewidth = 60 * \staffspace;
-    textheight = 90 * \staffspace;
-    \translator@{
-      \ThreadContext
-      \consists "Rest_engraver";
-    @}
+    indent = 15 * \staffspace
+    linewidth = 60 * \staffspace
+    textheight = 90 * \staffspace
     \translator@{
       \VoiceContext
-      \remove "Rest_engraver";
-      \consists "Multi_measure_rest_engraver";
-      \consists "Bar_engraver";
+      \consists "Multi_measure_rest_engraver"
     @}
     \translator@{
       \HaraKiriStaffContext
-      \remove "Multi_measure_rest_engraver";
-      \remove "Bar_engraver";
-    @}
-    \translator @{
-      \OrchestralScoreContext
-      BarNumber \override #'padding = #3
+      \remove "Multi_measure_rest_engraver"
     @}
   @}
   \midi @{
-    \tempo 4 = 75;
+    \tempo 4 = 75
   @}
 @}
 @end example
@@ -1678,7 +1672,7 @@ Opus 1.
 
 @separate
 @example
-\include "os-music.ly";
+\include "os-music.ly"
 @end example
 First, we need to include the music definitions we made in
 @file{os-music.ly}.
@@ -1696,10 +1690,13 @@ editing.
 #(define text-flat '((font-relative-size . -2)
          (music "accidentals--1")))
 @end example
-[FIXME: what is markup text?] 
 
-We need a flat sign in text to name the tuning of the french horn, so we
-predefine it with bit of scheme markup text (See @ref{Text markup}).
+When naming the tuning of the french horn, we'll need a piece of text
+with a flat sign.  LilyPond has a mechanism for font selection and
+kerning called Scheme markup text (See @ref{Text markup}).  The flat
+sign is taken from the music font, and its name is @code{accidentals--1}
+(The sharp sign is called @code{accidentals-+1}).  The default font is
+too big for text, so we select a relative size of @code{-2}.
 
 @separate
 @example
@@ -1708,20 +1705,43 @@ predefine it with bit of scheme markup text (See @ref{Text markup}).
 @end example
 Of course, all staffs are simultaneous and use the same global settings.
 
+@separate
+@example
+    \property Score.BarNumber \override #'padding = #3
+@end example
+LilyPond prints bar numbers at the start of each line, but
+unfortunately, they end up a bit too close to the staff in this example.
+A bar number internally is a Grob called @var{BarNumber}.  BarNumber
+Grobs can be manipulated through their @var{side-position-interface}.  One
+of the properties of a @var{side-position-interface} that can be tweaked
+is the @var{padding}: the amount of extra space that is put between this
+Grob and other Grobs.  We set the padding to three staff spaces.
+
+You can find all this kind of information in LilyPond's automatically
+generated documentation in
+@ifnottex
+@ref{ (lilypond-internals)lilypond-internals, LilyPond Internals}.
+@end ifnottex
+@iftex
+the online documentation.
+@end iftex
+
 @separate
 @example
     \context StaffGroup = woodwind <
       \context Staff = flauti <
 @end example
-Then, we start a new staff group for the woodwind section (just the
-flutes in this case).  Immediately after that, we start the staff for
-the two flutes, that also play simultaneously.
+A new notation context: the StaffGroup.  StaffGroup can hold one or more
+Staffs, and will print a big bracket at the left of the score.  Start a
+new staff group for the woodwind section (just the flutes in this case).
+Immediately after that, we start the staff for the two flutes, that also
+play simultaneously.
 
 @separate
 @example
         \property Staff.midiInstrument = #"flute"
 @end example
-We specify the instrument for MIDI output (see @ref{MIDI instrument
+Specify the instrument for MIDI output (see @ref{MIDI instrument
 names}).
 
 @separate
@@ -1756,7 +1776,7 @@ directions down.
       >
     >
 @end example
-We close the flutes staff and woodwind staff group.
+Close the flutes staff and woodwind staff group.
 
 @separate
 @example
@@ -1771,7 +1791,10 @@ lines of text.
           \context Thread=one \tromboI
           \context Thread=two \tromboII
 @end example
-[FIXME: what is thread, why is distinction thread/voice necessary?] 
+You have seen the notation contexts Staff and Voice, but here's a new
+one: Thread.  One or more Threads can be part of a Voice.  The Thread
+takes care of note heads and rests, the Voice combine note heads onto a
+stem.
 
 For the trumpets we use the automatic part combiner (see @ref{Automatic
 part combining}) to combine the two simultaneous trumpet parts onto the
@@ -1796,117 +1819,75 @@ and the flat sign @code{text-flat} that we defined before.
 The french horn is to be tuned in E-flat, so we tell the MIDI backend to
 transpose this staff by three steps.
 
-[FIXME: note how we can choose different tuning for entering, printing and
-playing, using \transpose and transposing.]
+Note how we can choose different tuning for entering, printing and
+playing, using @code{\transpose} and the MIDI Staff proprerty
+@var{transposing}.
 
 @separate
 @example
-        \notes \key bes \major;
+        \notes \key bes \major
 @end example
 Therefore, it has a different key.
 
 @separate
 @example
-    indent = 15 * \staffspace;
-    linewidth = 60 * \staffspace;
+    indent = 15 * \staffspace
+    linewidth = 60 * \staffspace
 @end example
 We specify a big indent for the first line and a small linewidth for this
 tutorial.
 
 @separate
 @example
-    \translator@{
-      \ThreadContext
-      \consists "Rest_engraver";
-    @}
     \translator@{
       \VoiceContext
-      \remove "Rest_engraver";    
-      \consists "Multi_measure_rest_engraver";
-      \consists "Bar_engraver";
+      \consists "Multi_measure_rest_engraver"
     @}
-@end example
-[FIXME: explain about overriding contexts.]
-
-Because we have a Thread representing one instrument, we need to move
-the @code{Rest_engraver} from Voice to Thread level.  Similarly, we need
-to move the @code{Multi_measure_rest_engraver} from Staff to Voice
-level.
-
-[FIXME: should put Rest_engraver in threadcontext by default.]
-
-@separate
-@example
     \translator@{
       \HaraKiriStaffContext
-      \remove "Multi_measure_rest_engraver";
-      \remove "Bar_engraver";
+      \remove "Multi_measure_rest_engraver"
     @}
 @end example
+[FIXME: ignoring mmrest moving for now, assuming we'll do that in
+engraver.ly]
+
+Usually, LilyPond's predefined setup of notation contexts (Thread,
+Voice, Staff, Staffgroup, Score) is just fine.  But in this case, we
+want a different type of Staff context.
+
 In orchestral scores, it often happens that one instrument has only
 rests during one line of the score.  The @code{HaraKiriStaffContext} can
 be used as a regular @code{StaffContext} drop-in and will take care of
 the automatic removing of empty staffs.
 
-@ignore
-[note how you can use \override in \translator]
-[explain what padding is.]
-
-[note that : (ly/engraver.ly) OrchestralScoreContext is for compatibility.
-
-OrchestralScoreContext= \translator {
-       \ScoreContext
-}
-
-]
-
-@end ignore
-
-
-@separate
-@example
-    \translator @{
-      \OrchestralScoreContext
-      BarNumber \override #'padding = #3
-    @}
-@end example
-FIXME: use \property Score.BarNumber
-
-We want bar numbering at score level and want to move the bar number a
-few staff spaces up.
-
-
-@node Part extraction
-@section Part extraction
+@node Extracting an individual part
+@subsection Extracting an individual part
 
 The third file, @file{os-flute-2.ly} also reads the definitions of the
 first (@file{os-music.ly}), and defines the @code{\score} block for the
 second flute part.
 
 @example
-\include "os-music.ly";
-\include "paper16.ly";
+\include "os-music.ly"
+\include "paper16.ly"
 
 \score @{
   \context Staff <
+    \property Score.skipBars = ##t
     \property Staff.midiInstrument = #"flute"
     \global
     \Key
     \flautoII
   >
   \header @{
-    instrument = "Flauto II";
+    instrument = "Flauto II"
   @}
   \paper @{
-    linewidth = 80 * \staffspace;
-    textheight = 200 * \staffspace;
-    \translator @{
-      \OrchestralScoreContext %%%%FIXME
-      skipBars = ##t
-    @}
+    linewidth = 80 * \staffspace
+    textheight = 200 * \staffspace
   @}
   \midi @{
-    \tempo 4 = 75;
+    \tempo 4 = 75
   @}
 @}
 @end example
@@ -1939,7 +1920,7 @@ so we don't want to force stem or tie directions.
 @separate
 @example
   \header @{
-    instrument = "Flauto II";
+    instrument = "Flauto II"
   @}
 @end example
 The @code{\header} definitions were also read from @file{os-music.ly},
@@ -1947,14 +1928,50 @@ but we need to set the instrument for this particular score.
 
 @separate
 @example
-      skipBars = ##t
+    \property Score.skipBars = ##t
 @end example
 In the conductor's full score, all bars with rests are printed, but for
 the individual parts, we want to contract pieces of consecutive empty
-bars.
+bars.  LilyPond will do this if Score's @var{skipBars} property to
+true. 
+
+
+@node Other ways to run LilyPond
+@section Other ways to run LilyPond
+
+[FIXME: describe all programs involved in one list.]
+
+Until now, you have been using @file{ly2dvi} to invoke LilyPond.
+There are three other routes.  Firstly, there is a script called
+@code{lilypond-book}, that allows you to freely mix LilyPond input with
+Texinfo or LaTeX input. For example, this manual was written using
+@code{lilypond-book}. It is discussed in @ref{lilypond-book}.
+
+@c FIXME: ly2dvi option?
+Secondly, you can generate PostScript directly. This is useful if you
+can not or do not want to run @TeX{} on your system.  To obtain direct
+PostScript output, invoke LilyPond as follows:
+@cindex PostScript output
+@example
+lilypond -f ps test.ly
+@end example
+You have to set some environment variables to view or print this
+output. More information can be found in @ref{Invoking
+LilyPond}.
+
+@c FIXME: ly2dvi option?
+Thirdly, if you want to do special things with your output, you can run
+invoke lilypond directly:
+@example
+lilypond test.ly
+@end example
+to produce plain @TeX{}@footnote{@TeX{} is a text-typesetting system
+that is especially suited for typesetting mathematics.}  output.  Note
+that you must run @TeX{} on the resulting @file{test.tex}, ie, not
+LaTeX.
+@cindex @TeX{}
+
 
-[FIXME: Waarom moet skipBars in \translator, waarom niet \property
-Score.skipBars]
 
 
 
@@ -1973,7 +1990,7 @@ So what does this look like? Well, here is an example:
 @lilypond[veryverbatim, intertext="produces this music:"]
 \score{
   \notes\relative c'{
-    \time 5/8;
+    \time 5/8
     [e16( g b c a g][e a b d] | )e2 d,8 |
     [e16( g b c a g][e a b d] | )b2 [a16( f] |
     [e a b d] )e4 c8 | [es16( bes a as g es][d c b! )g] |
@@ -1989,13 +2006,11 @@ Notice that there is no @code{\paper} statement in the example
 above. Lilypond-book will insert some code for you that defines the
 linewidth and the font to use. If you don't want to change the default, 
 there is no need to put an empty @code{\paper@{@}} inside the @code{\score}.
-In the example above, something like
-this might be inserted before your code:
+In the example above, something like this might be inserted before your code:
 @example
 \include "paper16.ly"
 \paper@{ \paper_sixteen
-    linewidth = 390.\pt;
-    castingalgorithm = \Gourlay;
+    linewidth = 390.\pt
 @}
 @end example
 The actual values for linewidth will differ depending on papersize and
@@ -2008,13 +2023,13 @@ If you want to make the music not so wide, you can insert a
 @lilypond[veryverbatim, intertext="produces this music:"]
 \score{
   \notes\relative c'{
-    \time 5/8;
+    \time 5/8
     [e16( g b c a g][e a b d] | )e2 d,8 |
     [e16( g b c a g][e a b d] | )b2 [a16( f] |
     [e a b d] )e4 c8 | [es16( bes a as g es][d c b! )g] |
     [f( a b d b a][f a b d] | )e2
   }
-  \paper{linewidth = 10.\cm;}
+  \paper{linewidth = 10.\cm }
 }
 @end lilypond
 
@@ -2050,7 +2065,7 @@ lilypond source. This 5 cm long empty line,
 @lilypond[eps]
 \score{
   \notes{s}
-  \paper{ linewidth = 5.\cm;}
+  \paper{ linewidth = 5.\cm }
 }
 @end lilypond
 was created with this code:
@@ -2058,7 +2073,7 @@ was created with this code:
 @@lilypond[eps]
 \score@{
   \notes@{s@}
-  \paper@{ linewidth = 5.\cm;@}
+  \paper@{ linewidth = 5.\cm@}
 @}
 @@end lilypond
 @end example
@@ -2152,13 +2167,13 @@ as any other included eps graphics.
 @lilypond
 \score{
   \notes\relative c'{ 
-        \time 12/8;  
+        \time 12/8
         r4-\fermata [b16-.( )b-.] [f'8-- dis16-.( )dis-. gis8--]
         [f16-.( )f-. dis8-- gis16-.( )gis-.] cis4.-\fermata |
         
         r4.-\fermata [cis,16 cis g'8 f16 f b8][g16 g f8 b16 b] dis4.-\fermata
   }
-  \paper{linewidth = 7.\cm;}
+  \paper{linewidth = 7.\cm}
 }
 @end lilypond
 
@@ -2173,14 +2188,14 @@ to the same value. The code looks like this:
 @lilypond[verbatim]
 \score{
   \notes\relative c'{ 
-    \time 12/8;  
+    \time 12/8
     r4.-\fermata [b16-.( )b-.] [f'8-- dis16-.( )dis-. gis8--]
     [f16-.( )f-. dis8-- gis16-.( )gis-.] cis8.-\fermata |
         
     r4.-\fermata [cis,16 cis g'8 f16 f b8]
     [g16 g f8 b16 b] dis4.-\fermata
   }
-  \paper{linewidth = 7.\cm;}
+  \paper{linewidth = 7.\cm }
 }
 @end lilypond
 
@@ -2224,16 +2239,16 @@ just before the music fragment.
 
 \begin@{lilypond@}
 \header @{
-  title =      "Title";
-  subtitle =   "Subtitle";
-  subsubtitle =        "Subsubtitle";
-  opus =  "Opus 1";
-  piece = "Piece";
-  composer =    "Composer";
-  enteredby =   "JCN";
-  instrument = "instrument";
+  title =      "Title"
+  subtitle =   "Subtitle"
+  subsubtitle =        "Subsubtitle"
+  opus =  "Opus 1"
+  piece = "Piece"
+  composer =    "Composer"
+  enteredby =   "JCN"
+  instrument = "instrument"
 @}
-\paper @{ linewidth = -1.; @}
+\paper @{ linewidth = -1. @}
 \score @{
   \notes \relative c'' @{ a b c d @}
 @}
index 42da1397ef756fab80a1d894d914eb70128d2233..81c9024e1c21adbbf53acbb1bd4639bb5e6c2d1c 100644 (file)
@@ -6,11 +6,13 @@
 depth = .
 #
 
-# descent order into subdirectories:
-#
-SUBDIRS = buildscripts scripts flower lily mf midi2ly po \
-       Documentation ly input tex make intl ps scm \
+# descent order into subdirectories
+# 
+SUBDIRS = buildscripts scripts flower lily \
+       mf ly tex ps scm \
+       midi2ly po make intl \
        debian $(builddir)/stepmake \
+       Documentation input \
        mutopia ports
 #
 
index 97f4d4d3593a786d17891dd1c8adaadc5caff4f2..411a5e943f38955be1e53d24baab5c8fdc04f32f 100644 (file)
@@ -326,6 +326,18 @@ your problems.  If you find bugs, please send bug reports to
 
    Bugs that are not fault of LilyPond are documented here.
 
+NetBSD
+******
+
+   * The flex precompiled in NetBSD-1.4.2 is broken.  Download
+     flex-2.5.4a, build, install.
+
+   * The configuration of Gcc (egcs-2.91.60 19981201 (egcs-1.1.1
+     release)) does not include `/usr/pkg' paths.  Configure using:
+
+          CFLAGS='-I /usr/pkg/include' LDFLAGS='-L/usr/pkg/lib' ./configure
+
+
 Solaris:
 ********
 
diff --git a/NEWS b/NEWS
index c80c4bc83e156e683a11528ec5859ffed0441dfc..aec5cbde5094e5e6c72ad2c13ebb2dfa171c8f4c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
 
 New features in 1.4
 
-* Finale (.etf), PMX (.pmx) and musedata import tools.
+* Finale (.etf), PMX, Musedata and Mup import tools.
 
 * Point and click functionality using emacs and Xdvi.
 
diff --git a/ROADMAP b/ROADMAP
index dfe496a678e4f4121b6d046e1215bc752b282b49..85a50d9ec8bfe4d4009be12f884bfe608ee3ee10 100644 (file)
--- a/ROADMAP
+++ b/ROADMAP
@@ -25,14 +25,12 @@ LilyPond's source files.
    midi2ly/                    midi2ly source code
      include/
    mutopia/                    Larger examples with full music pieces.
-     Coriolan/
-     D.Zipoli/
      E.Satie/
      F.Schubert/
-     Hymns/
      J.S.Bach/
    intl/                       library for gettext
    po/                         translations
+   ports/
    ps/                         postscript library files
    tex/                                TeX library files
    scripts/                    User scripts
diff --git a/VERSION b/VERSION
index 49651519b2bbf471b627fc049d00c1809eec8aaf..cbf28cdcc634aa7e07a0257ac0043bdaac2f3664 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,8 +1,8 @@
 PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=3
-PATCH_LEVEL=145
-MY_PATCH_LEVEL=jcn1
+PATCH_LEVEL=146
+MY_PATCH_LEVEL=
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index a1d371d0223fab3aaebcd5321a87ccc8a70b998d..71fc0d2a8247ab75ef057b712cbe431c28d72219 100755 (executable)
@@ -1,13 +1,19 @@
 # bin/Makefile
 
 depth = ..
-STEPMAKE_TEMPLATES=script install po
+STEPMAKE_TEMPLATES=script install install-out po
 
 include $(depth)/make/stepmake.make 
 
 INSTALLATION_FILES=$(outdir)/gettext.py
 INSTALLATION_DIR=$(datadir)/python
 
+# Should we install these? This should be handled by sysadmin or
+# packager but if she forgets...
+#INSTALLATION_OUT_SUFFIXES=1
+#INSTALLATION_OUT_DIR1=$(datadir)/scripts
+#INSTALLATION_OUT_FILES1=$(outdir)/lilypond-login $(outdir)/lilypond-profile
+
 all: $(outdir)/gettext.py
 
 
index 86c4906d5edc8974e58c156af992b8b0d5315e57..096ab5ddf732d7fb3ddb9fad770fd8c5aa207c28 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % ASCII Art output
 %
 % Process as:
 
 \score {
   \notes\relative c'' {
-    \time 3/8;
+    \time 3/8
     a8 a a 
-    \time 5/8;
+    \time 5/8
     a a a a a
     %a16 a  a a a a a a a a 
   }
   \paper {
-    linewidth = -1.;
+    linewidth = -1.
     \translator {
       \StaffContext
       StaffSymbol \override #'molecule-callback = #(lambda (x) '())
index 1bb50e2bef91701e808361ebd2d4de6b5755116c..0400f483765a4bbf67c81407b2e4003f42a6952b 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % ASCII Art output
 %
 % Process as:
@@ -9,7 +10,7 @@
 
 \score {
   \notes\relative c'' {
-    \time 4/4;
+    \time 4/4
     g1 a b c 
     g2 a b c
     g4 a b c
index c46e76115db4bcb9f559a557868fbe641e7bd8a2..b41ed9494c95c4437cb83ba1a27628f56356d1c8 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % ASCII Art output
 %
 % Process as:
@@ -9,7 +10,7 @@
 
 \score {
   \notes\relative c'' {
-    \time 4/4;
+    \time 4/4
     g1 a b c 
     g2 a b c
     g4 a b c
index 6acf102ddb75420f6815e95b3e373a3e38633ae4..e891ddf3c8fd760bece6c5bfb2c65775b43accb4 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % ASCII Art output
 %
 % Process as:
index a5e04b27e6b2cc689d92416703059d2ddcb2ed12..e1856ae7761b9bcafafb50e3326358678e132b6f 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % ASCII Art output
 %
 % Process as:
 \score {
   \context StaffGroup <
     \context Staff=upper \notes\relative c{
-      \key f \major;
-      \time 3/4;
+      \key f \major
+      \time 3/4
       r8^"Moderato" %\pp 
       <g'-. c-.> <c-. es-.> <g-. c-.> <c-. es-.> <g-. c-.> |
       r8 <as-. c-.> <c-. es-.>
     }
     \context Staff=lower \notes\relative c{
-      \key f \major;
-      \time 3/4;
-      \clef "bass";
+      \key f \major
+      \time 3/4
+      \clef "bass"
       <c,2 c'> r4 
       <as2 as'> r4
     }
   >
   \paper {
-    indent=4.0\char;
-    linewidth=78.0\char;
+    indent=4.0\char
+    linewidth=78.0\char
     \translator { \StaffContext Bar \override #'bar-size = #5 }
     \translator { 
       \VoiceContext 
index 9e7aabfe852d6e835b8568c0e3b51b7b7e11dcbb..a6faa6e28b79f6e953dc22ca4e6e5b38082c36af 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % ASCII Art output
 
 % Process as:
 \score {
   \context GrandStaff <
     \context Staff=upper \notes\relative c{
-      \key f \major;
-      \time 3/4;
+      \key f \major
+      \time 3/4
       r8^"Moderato" %\pp 
       <g'-. c-.> <c-. es-.> <g-. c-.> <c-. es-.> <g-. c-.> |
       r8 <as-. c-.> <c-. es-.>
     }
     \context Staff=lower \notes\relative c{
-      \key f \major;
-      \time 3/4;
-      \clef "bass";
+      \key f \major
+      \time 3/4
+      \clef "bass"
       <c,2 c'> r4 
       <as2 as'> r4
     }
   >
   \paper {
-    indent=4.0\char;
-    linewidth=78.0\char;
+    indent=4.0\char
+    linewidth=78.0\char
     \translator { 
       \VoiceContext 
       % horizontal beams
index ecfbeee0b8754f99f1d6041c1ec3d554755681ae..479ed35b2bc0962f47df29e7226eab2b4ec8f03e 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % ASCII Art output
 %
 % Process as:
@@ -7,11 +8,11 @@
 
 
 \header{
-filename =     "twinkle.ly";
-title =                "Twinkle Twinkle Little Star";
-composer =     "Traditional";
-enteredby =    "hwn and jcn";
-copyright =    "public domain";
+filename =     "twinkle.ly"
+title =                "Twinkle Twinkle Little Star"
+composer =     "Traditional"
+enteredby =    "hwn and jcn"
+copyright =    "public domain"
 }
 
 
@@ -19,7 +20,7 @@ copyright =   "public domain";
 \include "paper-as5.ly"
 
 melody =  \notes \relative c'' {
-       \time 2/4;
+       \time 2/4
        c4 c | g' g | a a | g g |
 %{
        f f | e e | d d8.( e16 | )c2 |
@@ -33,8 +34,8 @@ melody =  \notes \relative c'' {
 }
 
 accompany =  \notes \relative c {
-       \clef "bass";
-       \time 2/4;
+       \clef "bass"
+       \time 2/4
        c4 c' | e c | f c | e c | 
 %{
        d b | c a | f g | c,2 | 
@@ -67,9 +68,9 @@ text =  \lyrics{
                \context Staff=lower \accompany 
        >
        \paper{
-               \translator { \GrandStaffContext \accepts "Lyrics"; }
-               indent=4.0\char;
-               linewidth=78.0\char;
+               \translator { \GrandStaffContext \accepts "Lyrics" }
+               indent=4.0\char
+               linewidth=78.0\char
        }
 }
 
diff --git a/input/bugs/lyrics-bar.ly b/input/bugs/lyrics-bar.ly
new file mode 100644 (file)
index 0000000..26a675c
--- /dev/null
@@ -0,0 +1,45 @@
+
+%
+% Lyrics with barline colliding is fine now, BUT
+% There's an horizontal gap between staff and end bar 
+%
+
+\header{
+texidoc="
+Adding a @code{Bar_engraver} to the LyricsVoice context makes sure that
+lyrics don't collide with barlines.
+";
+}
+
+\score {
+       \context StaffGroup <
+       \notes \context Staff {
+               b1 \bar "|:"; b1 \bar ":|";
+       }
+       \lyrics\context Lyrics <
+               \context LyricsVoiceWithBars {
+%                      thisContextHasBarEngraver1  added
+                       ThisContextCertainlyHasBarEngraverAddedButThereHasBeenSomethingFunnyBefore1.  Here.
+               }
+               \context LyricsVoice {
+                       this4 one has no BarEngraverAddedToContext1
+               }
+       >
+       \notes \context Staff = SB { b1 b1 }
+       >
+       \paper {
+               linewidth = -1.0\cm;
+               \translator {
+                       \LyricsContext
+                       \accepts "LyricsVoiceWithBars";
+               }
+               \translator {
+                       \LyricsVoiceContext
+                       \consists "Bar_engraver";
+                       \name "LyricsVoiceWithBars";
+               }
+               \translator {
+                       \LyricsVoiceContext
+               }
+       }
+}
index 92e05eaf042f333bcf923f8d61afccc05d2da4e9..8f55b57e772a541b6bab700801f7b5758afb0bae 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 
 one =  \notes\relative c{
        c'' d e f
 }
 
 two =  \notes\relative c{
-       \clef "bass";
+       \clef "bass"
        c'2 g2
 }
 
index e73326463fbf8cbe7c5cfb26f44a9ce15b410c4f..0f404178dd5f27c6e4eb8caace6e6e589d0819c2 100644 (file)
@@ -1,12 +1,13 @@
+\version "1.3.146"
 \header {
-  filename =    "just-friends.ly";
-  title =       "Just Friends";
-  description = "Jazz chords example with bar lines";
-  opus =        "";
-  source =      "mutex@gmd.de";
-  composer =    "";
-  enteredby =   "jcn";
-  copyright =   "Public Domain";
+  filename =    "just-friends.ly"
+  title =       "Just Friends"
+  description = "Jazz chords example with bar lines"
+  opus =        ""
+  source =      "mutex@gmd.de"
+  composer =    ""
+  enteredby =   "jcn"
+  copyright =   "Public Domain"
 }
 
 %{
@@ -45,13 +46,13 @@ of a certain tune (Jazz, Real Book, for example), like
                }
        }
        \paper{
-               indent = 0.0\mm;
-               linewidth = 100.0\mm;
+               indent = 0.0\mm
+               linewidth = 100.0\mm
                \translator{
                        \ChordNamesContext
-                       barNonAuto = ##f;
-                       \consists Bar_engraver;
-                       \consists "Volta_engraver";
+                       barNonAuto = ##f
+                       \consists Bar_engraver
+                       \consists "Volta_engraver"
                }
        }
 }
index 638e98d6fd3dce78806b802f9302f987d66c3982..c7c527571f1c03d9d3f2c425852456ffbf464c66 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 %{
 
 You should preprocess this file with the C preprocessor.  The one with
@@ -16,14 +17,14 @@ cpp -P -traditional -o l-fake.ly  -DFAKE_GRACE les-nereides.ly
 
 
 \header{
-    composer =   "ARTHUR GRAY";
-    title =      "LES N\\'ER\\'EIDES";
-    subtitle =   "THE NEREIDS";
-    enteredby =  "JCN";
-    %piece =      "Allegretto scherzando";
-    copyright =  "public domain";
-    description = "Nastiest piece of competition at http://www.orphee.com/comparison/study.html, see http://www.orphee.com/comparison/gray.pdf";
-    comment =     "LilyPond (1.3.93) can't really do this yet, I guess";
+    composer =   "ARTHUR GRAY"
+    title =      "LES N\\'ER\\'EIDES"
+    subtitle =   "THE NEREIDS"
+    enteredby =  "JCN"
+    %piece =      "Allegretto scherzando"
+    copyright =  "public domain"
+    description = "Nastiest piece of competition at http://www.orphee.com/comparison/study.html, see http://www.orphee.com/comparison/gray.pdf"
+    comment =     "LilyPond (1.3.93) can't really do this yet, I guess"
 }
 
 
@@ -34,26 +35,26 @@ cpp -P -traditional -o l-fake.ly  -DFAKE_GRACE les-nereides.ly
 %% cpp: don't start on first column
  #(define (make-text-checker text)
   (lambda (elt)
-     ;; huh, string-match undefined?
-     ;; (string-match text (ly-get-grob-property elt 'text))
+      huh, string-match undefined?
+      (string-match text (ly-get-grob-property elt 'text))
      (equal? text (ly-get-grob-property elt 'text))
     ))
 
 
 global =  \notes{
-    \partial 2;
-    \key a \major;
-    \skip 2;
-    \skip 1*2;
+    \partial 2
+    \key a \major
+    \skip 2
+    \skip 1*2
 
 #ifndef FAKE_GRACE  /* First run this through cpp.  See head les-nereides.ly */
-    \skip 1;
+    \skip 1
 #else % FAKE_GRACE
-    \skip 2.; \partial 32*24;
-    \skip 32*24;
+    \skip 2. \partial 32*24
+    \skip 32*24
 #endif % FAKE_GRACE
 
-    \bar "||";
+    \bar "||"
 }
 
 treble =  \context Voice=treble \notes\relative c''{
@@ -264,22 +265,22 @@ bass =  \context Voice=bass \notes\relative c{
     \property Voice.Stem \revert #'direction
     \property Voice.Stem \override #'direction = #-1
     <b,,4 b,>
-    \clef treble;
+    \clef treble
     \property Voice.Stem \revert #'direction
     \property Voice.Stem \override #'direction = #0
     <
         %urg: staff-change: ! on dis
         <cis''\arpeggio a fis dis!>
-%      { s8. \clef bass;}
+%      { s8. \clef bass}
     >
 
 #ifndef FAKE_GRACE
     %Hmm
-    %\grace { s16 s s s s32 s s s s \clef bass; s }
-    \clef bass;
+    %\grace { s16 s s s s32 s s s s \clef bass s }
+    \clef bass
     \grace { <e,,,32( e,> } <)gis'2 e>
 #else
-    s4 s8 s32 s  s \clef bass;
+    s4 s8 s32 s  s \clef bass
     \property Score.PaperColumn  \override #'space-factor = #0.6
     \property Score.PaperColumn  \override #'to-musical-spacing-factor = #0.1
     \property Voice.NoteHead \override #'font-relative-size = #-1
@@ -319,12 +320,12 @@ bass =  \context Voice=bass \notes\relative c{
 }
 
 bassTwo =  \context Voice=bassTwo \notes\relative c{
-    \skip 2;
-    \skip 1*2;
-    \skip 2;
+    \skip 2
+    \skip 1*2
+    \skip 2
 
 #ifdef FAKE_GRACE
-    \skip 32*16;
+    \skip 32*16
 #endif
 
     \property Voice.Stem \revert #'direction
@@ -415,7 +416,7 @@ lowerDynamics =  \context Dynamics=lower \notes{
            \middleDynamics
        >
         \context Staff=bass <
-           \clef bass;
+           \clef bass
            \global
            \bass
            \bassTwo
@@ -427,20 +428,20 @@ lowerDynamics =  \context Dynamics=lower \notes{
     >
     \paper {
        %%BURP
-       magnification_italic = 1.;
+       magnification_italic = 1.
        \translator {
            \ScoreContext
            TimeSignature \override #'style = #'C
            SpacingSpanner \override #'maximum-duration-for-spacing = #(make-moment 1 4)
 
-           \remove Bar_number_engraver;
+           \remove Bar_number_engraver
         }
        \translator {
-           \type "Engraver_group_engraver";
-           \name Dynamics;
-           \consists "Output_property_engraver";
+           \type "Engraver_group_engraver"
+           \name Dynamics
+           \consists "Output_property_engraver"
            Generic_property_list = #generic-voice-properties
-           \consists "Property_engraver";
+           \consists "Property_engraver"
            MinimumVerticalExtent = #(cons -3 -3)
            VerticalAlignment \override #'threshold = #'(9 . 9) 
 
@@ -450,22 +451,22 @@ lowerDynamics =  \context Dynamics=lower \notes{
            startUnaChorda = #"una chorda"
            stopUnaChorda = #"tre chorde"
            
-           \consists "Piano_pedal_engraver";
-           \consists "Script_engraver";
-           \consists "Dynamic_engraver";
-           \consists "Text_engraver";
+           \consists "Piano_pedal_engraver"
+           \consists "Script_engraver"
+           \consists "Dynamic_engraver"
+           \consists "Text_engraver"
            %GURGURGU, text is initialised using TextScript
            TextScript \override #'style = #"italic"
            %%% TextScript \override #'font-relative-size = #2
 
-           \consists "Skip_req_swallow_translator";
+           \consists "Skip_req_swallow_translator"
 
-           \consistsend "Axis_group_engraver";
+           \consistsend "Axis_group_engraver"
        }
 
        \translator {
            \PianoStaffContext
-           \accepts Dynamics;
+           \accepts Dynamics
            VerticalAlignment \override #'threshold = #'(7 . 7)
         }
        \translator {
index 3aaaf3a664b757d2691c270786551c521baa0832..4f324102f5b75bf6b699b437087edcd3df4476b0 100644 (file)
@@ -1,33 +1,34 @@
+\version "1.3.146"
 \header {
-  title =      "Title";
-  subtitle =   "Subtitle";
-  subsubtitle =        "Subsubtitle";
-  opus =  "Opus 1";
-  piece = "Piece";
-  composer =    "Composer";
-  enteredby =   "JCN";
-  instrument = \instrument;
+  title =      "Title"
+  subtitle =   "Subtitle"
+  subsubtitle =        "Subsubtitle"
+  opus =  "Opus 1"
+  piece = "Piece"
+  composer =    "Composer"
+  enteredby =   "JCN"
+  instrument = \instrument
 
   % mutopia headers.
-  mutopiatitle = "";
-  mutopiacomposer = "";
-  mutopiaopus = "";
-  mutopiainstrument = \instrument;
-  date = "1807";
+  mutopiatitle = ""
+  mutopiacomposer = ""
+  mutopiaopus = ""
+  mutopiainstrument = \instrument
+  date = "1807"
 
-  source = "Urtext edition";
+  source = "Urtext edition"
     
-  style = "Classical";
-  copyright = "Public Domain";
-  maintainer = "Jan Nieuwenhuizen";
-  maintainer_email = "janneke@gnu.org";
-  lastupdated =         "2001/Mar/19";
+  style = "Classical"
+  copyright = "Public Domain"
+  maintainer = "Jan Nieuwenhuizen"
+  maintainer_email = "janneke@gnu.org"
+  lastupdated =         "2001/Mar/19"
   mutopiapublicdomain = "\\parbox{\hsize}{\\thefooter\\quad\\small
     \\\\This music is part of the Mutopia project,
     \\texttt{http://www.mutopiaproject.org/}\\\\It has been typeset
     and placed in the public domain by " + \maintainer +
     ".\\\\Unrestricted modification and redistribution is permitted
-    and encouraged---copy this music and share it.}";
- tagline = \mutopiapublicdomain;
- footer = "pre-Mutopia-2001/mm/dd-nn";
+    and encouraged---copy this music and share it.}"
+ tagline = \mutopiapublicdomain
+ footer = "pre-Mutopia-2001/mm/dd-nn"
 }
index eae4c98e896e2dfe6312578c4fa8b4e2262d93bb..33de967a31d01da8b69f2ad67b146072c8eaa08a 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 \header{
-filename =      "opus-130.ly";
-title =         "Quartett";
-description =   "";
-composer =      "Ludwig van Beethoven (1770-1827)";
-opus = "130";
-enteredby =     "JCN";
-copyright =     "public domain";
+filename =      "opus-130.ly"
+title =         "Quartett"
+description =   ""
+composer =      "Ludwig van Beethoven (1770-1827)"
+opus = "130"
+enteredby =     "JCN"
+copyright =     "public domain"
 }
 
-% \;
+% \
 
 tempi = \notes {
        \property Voice.TextScript \set #'font-style = #'large
@@ -21,8 +22,8 @@ dynamics = \notes {
 }
 
 global = \notes {
-       \key g \major;
-       \time 3/8;
+       \key g \major
+       \time 3/8
        < 
                \dynamics
                s4. *  8
@@ -43,13 +44,13 @@ violineii = \notes\relative c'{
 }
 
 viola = \notes\relative c'{
-       \clef "alto";
+       \clef "alto"
        g8(b)g | b(e,)b' | c,(a')c, | c'(d,)c' | b(d)b | 
        e(g,)e' | e(e,<)a' c,> | < a(c,> <fis b,> )b, 
 }
 
 cello = \notes\relative c'{
-       \clef "bass";
+       \clef "bass"
        g4 r8 | e'4 r8 | c4 r8 | d4 r8 | g,,8 b g | b(e,)b' |
        c,(a')d, | d'(d,)g 
 }
@@ -66,6 +67,6 @@ cello = \notes\relative c'{
        \paper{
                \translator { \OrchestralScoreContext }
        }
-       \midi{ \tempo 4 = 160; }
+       \midi{ \tempo 4 = 160 }
 }
 
index bd43a715a143c039e070c8a8f530a292ad45da3d..34289d19bd1a6a40691571f3beb8182b450d844b 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header {
-  filename =    "praeludium-fuga-E.ly";
-  title =       "praeludium and fuga in E-major";
-  opus =        "BWV 566";
-  composer =    "Johann Sebastian Bach (1685-1750)";
-  enteredby =   "JCN";
-  copyright =   "public domain";
+  filename =    "praeludium-fuga-E.ly"
+  title =       "praeludium and fuga in E-major"
+  opus =        "BWV 566"
+  composer =    "Johann Sebastian Bach (1685-1750)"
+  enteredby =   "JCN"
+  copyright =   "public domain"
 }
 %{
   description
 
 
 praeludiumCommands =  \notes {
-  \time 4/4;
-   \key e \major;
+  \time 4/4
+   \key e \major
 }
 
 praeludiumRight =   \notes {
   \praeludiumCommands
-  \clef violin;
+  \clef violin
 
   % 13 -- how to type -- where to split -- this more neatly?
   \context Staff <
@@ -48,7 +49,7 @@ praeludiumRight =   \notes {
       %\stemUp
       %{
       this is a diversion from the Griepenkerl/Keller
-       edition; a hack to avoid collisions
+       edition a hack to avoid collisions
       %}
       \stemDown
       \shiftOn s4 gis }
@@ -65,7 +66,7 @@ praeludiumRight =   \notes {
 
 praeludiumLeft =  \notes \relative c {
   \praeludiumCommands
-  \clef bass;
+  \clef bass
 
   % 13
   \context Staff <
@@ -87,7 +88,7 @@ praeludiumLeft =  \notes \relative c {
 
 praeludiumPedal =  \notes \relative c{
   \praeludiumCommands  
-  \clef bass;
+  \clef bass
 
   %13
   r4 fis,4-\ltoe e4.-\lheel e'8-\rheel | 
@@ -98,13 +99,13 @@ praeludiumPedal =  \notes \relative c{
 
 
 fugaIICommands =  \notes{
-  \time3/4;
-  \key e \major;              % E-major
+  \time3/4
+  \key e \major              % E-major
 }
 
 fugaIIRight =  \notes   \relative c''   {
   \fugaIICommands
-  \clef violin;
+  \clef violin
 
   %15
   \context Staff <
@@ -152,7 +153,7 @@ fugaIIRight =  \notes   \relative c''   {
 
 fugaIILeft =  \notes {
   \fugaIICommands  
-  \clef bass;
+  \clef bass
 
   %15
   \context Staff < 
@@ -168,7 +169,7 @@ fugaIILeft =  \notes {
 
 fugaIIPedal =  \notes \relative c {
   \fugaIICommands  
-  \clef bass;
+  \clef bass
 
   %15
   dis4.-\ltoe e8-\rtoe cis4 |
@@ -179,7 +180,7 @@ fugaIIPedal =  \notes \relative c {
 }
 
 breakmusic =  \notes { 
-  %\time4/4;
+  %\time4/4
   r1
 }
 
@@ -204,5 +205,5 @@ breakmusic =  \notes {
   }
 
   \midi {
-    \tempo 4 =96; }
+    \tempo 4 =96 }
 }
index 65586dc312dc1387706da5d478cf2bb24f0d5a89..f7676f85caba78e35df1b767a8cb96aaf580252a 100644 (file)
@@ -1,19 +1,20 @@
+\version "1.3.146"
 \header{
 texidoc="
 A sharp sign after a double sharp sign, as well as a flat sign
 after a double flat sign is automatically prepended with a
 natural sign.
-";
+"
 }
 
 
 
-thenotes =  \notes \relative cis' { \time 4/4;
+thenotes =  \notes \relative cis' { \time 4/4
 gisis'4 gis gisis ges |
 geses ges geses gis |
 gisis g geses g |
 gis g ges g |
-\key a \major;
+\key a \major
 gisis4 gis gisis ges |
 geses ges geses gis |
 gisis g geses g |
index 24dda163ddf7d300c1b4a5fbf9612d6c99261c53..614995069da06ebbe5e8ac8aaedad4c965d23837 100644 (file)
@@ -1,12 +1,13 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Accidentals work: the second note does not get a sharp. The third and
 fourth show forced and courtesy accidentals.
-";
+"
 }
 
-foo = \notes\relative c''   {   \key as \major; dis4 dis dis! dis? }
+foo = \notes\relative c''   {   \key as \major dis4 dis dis! dis? }
 
 \score {
 
index 2f1ff104f000ca1c5144fdffe7223df65d4584c5..fcdae9bf5fd3fd95d15eda627e7d8b07a32e578e 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
@@ -5,14 +6,14 @@
 \score {  \notes
        \relative c'' \context Staff {
                \emptyText
-               \repeat volta 2 { \time 4/4; c4^"cuivr\\'e"_\fermata }
+               \repeat volta 2 { \time 4/4 c4^"cuivr\\'e"_\fermata }
                 \alternative {
                        { \property Voice.TextScript \set #'font-style = #'italic d-4_"cantabile" }
                        {  e }  } \grace { c16 }
                        \property Voice.TextScript \set #'font-style = #'large
-                        f4-\ff^""^"Largo" \mark "B"; g 
+                        f4-\ff^""^"Largo" \mark "B" g 
        }
-       \paper { linewidth = -1.0;
+       \paper { linewidth = -1.0
        % \translator {\BarNumberingStaffContext} }
        }
 }
index 82a4ff48dcfa30e986d7834f8fdbc75730304431..bf21f51b9962147bff1015b53b001f7a819649f4 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \header  {
 texidoc = "arpeggio stays clear of accidentals and flipped note heads.
-Since Arpeggio engraver is Voice, it does nothing for voice collisions.";
+Since Arpeggio engraver is Voice, it does nothing for voice collisions."
 }
 
 hairyChord = \context Staff \notes\relative c' <
@@ -39,7 +40,7 @@ hairyChord = \context Staff \notes\relative c' <
         \hairyChord
        }
     \paper {
-        linewidth = -1.;
+        linewidth = -1.
        \translator{
            \StaffContext
            connectArpeggios = ##t
index ed110a28e7578eb0d4117597cc97f2b8534711d3..1f956f90a070e5773a3ba3d8ed06c38629a91c2d 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 \header{
 texidoc="
 Arpeggios are supported, both cross-staff and broken single staff.
-";
+"
 }
 
 
@@ -15,7 +16,7 @@ Arpeggios are supported, both cross-staff and broken single staff.
             <fis,\arpeggio a c>
          }
         \context Staff=two \notes\relative c{
-            \clef bass;
+            \clef bass
            \context Voice < g b d-\arpeggio   >
             <g\arpeggio b d>
         }
index 6cfae818e6253bd06ad60864b392c9dc9c67c8fc..45775337631a8378d8fd070e5bd68cadd4fdd79e 100644 (file)
@@ -1,21 +1,22 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 The first two a8 notes should not be beamed.
 Also, no automatic beaming accross bar lines.
-";
+"
 }
 
 \score{
 \notes \notes\relative c'' {
-\time 2/8;
+\time 2/8
 a8 a
-\time 6/8;
+\time 6/8
 a16 cis d a bes g fis4 g8
 %a4. fis4 g8
 a16 g a bes c d % ees8 d c
 }
 \paper{
-   linewidth=-1.;
+   linewidth=-1.
 }
 }
index 733864f02d0b5f3ff24d4e1d752948e9fa77d1ee..0d1c58484841bd716087f9c212f3006863943cb7 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Auto change piano staff switches  voices  between up and down staffs
-automatically; rests are switched along with the coming note.
-";
+automatically rests are switched along with the coming note.
+"
 }
 
 \score {
@@ -12,7 +13,7 @@ automatically; rests are switched along with the coming note.
                \autochange Staff \context Voice = VA < \relative c' { g4 a  b c d r4 a g } >
        }
        \context Staff = "down" {
-               \clef bass; 
+               \clef bass 
                s1*2
        }
 
index 6e135acc49afeb7bbd4c210e59dc258ee239c593..0d6a56c2e2d4d45ee1f93df2d2e8e3a7d3919596 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 
 \header{
-texidoc="Two automatic knees";
+texidoc="Two automatic knees"
 }
 
 \score {
@@ -11,12 +12,12 @@ texidoc="Two automatic knees";
       [ b, \translator Staff="down" d ]
     }
     \context Staff = "down" {
-      \clef bass; 
+      \clef bass 
       s2.
     }
   >
   \paper{
-    linewidth = 40*\staffspace;
+    linewidth = 40*\staffspace
 % Now by default
 %    \translator{
 %      \VoiceContext
index 6c5c0f84c15f91fa9bcfb3040a055f199d6c7fb8..77f5051e93fb0d851823c46d6c6a946a1451f01d 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 
 \header{
-texidoc="One automatic knee";
+texidoc="One automatic knee"
 }
 
 \score {
@@ -8,7 +9,7 @@ texidoc="One automatic knee";
     [c'8 c,,] [c8 e']
   }
   \paper{
-    linewidth = 40*\staffspace;
+    linewidth = 40*\staffspace
 % Now by default
 %    \translator {
 %      \VoiceContext
index 9a3fd2a534f7d6fd37c03953a9adece521a5053d..488ff856ebfdb2b4896a150c851a266840be8630 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 
 \header {
-texidoc="Bar number settable and padding adjustable.";
+texidoc="Bar number settable and padding adjustable."
 }
 
 \score {
@@ -12,7 +13,7 @@ texidoc="Bar number settable and padding adjustable.";
      c1 c\break
   }
   \paper {
-    linewidth = 40*\staffspace;
+    linewidth = 40*\staffspace
     % \translator { \BarNumberingStaffContext }
   }
 }
index 91a9b3d4d184ebedf27cf091acabb285b3196b57..83ab77ae9909ff8210da1c67603d0853d6d4b9a9 100644 (file)
@@ -1,17 +1,18 @@
+\version "1.3.146"
 \header{
 texidoc="
 Markings that are attached to (invisible) barlines are 
 delicate: the are attached to the rest of the score without the score
 knowing it.  Consequently, they fall over  often.
-";
+"
 }
 
 
 
 onestaff =  \context Staff = foo\notes  {
        \property Staff.instr = instr
-       \property Staff.instrument = instrument \mark "B";
-        c1 \mark "A"; \break c2  c2 \break
+       \property Staff.instrument = instrument \mark "B"
+        c1 \mark "A" \break c2  c2 \break
 }
 
 grstaff =  \notes \context GrandStaff <
@@ -19,7 +20,7 @@ grstaff =  \notes \context GrandStaff <
 
        \property Staff.instr = instr
        
-        \mark "B"; \break c1 \mark "A"; c2  }
+        \mark "B" \break c1 \mark "A" c2  }
        \context Staff = bufl { c1 c2  }
 >
 
@@ -38,5 +39,5 @@ stscore =  \score { \onestaff \paper {
 
 %\score {\stscore}
 \score {\scscore
-\header { title = "bar scripts"; }
+\header { title = "bar scripts" }
 }
index 2d3449b0d98aceaedf983fc83bb1fdfb9450fcea..f1febee2b564d5a8277c00a8cc9eb67ab214f017 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 \header{
 texidoc="
 Beams can be typeset over fixed distance aligned staffs, beam
 beautification doesn't really work, but knees do. Beams should be
 behave well, wherever the switching point is.
-";
+"
 }
 \score{
        \context PianoStaff <
@@ -20,7 +21,7 @@ behave well, wherever the switching point is.
                r2
        }
        \context Staff=two \notes\relative c'{
-               \clef bass;
+               \clef bass
                s1
                s1
                s1
index 4a077562d319aed3c57a5dca52dbaa3e513fd67e..4d241f305ea6184245aff1e3d729120c1dcd88a5 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header{
 texidoc="
 Beams should behave reasonably well, even under extreme circumstances.
 Stems may be short, but noteheads should never touch the beam.  Note that
-under normal circumstances, these beams would get knees; here
+under normal circumstances, these beams would get knees here
 Beam.auto-knee-gap was set to false.
-";
+"
 }
 
 \score{
@@ -16,7 +17,7 @@ Beam.auto-knee-gap was set to false.
 
        }
        \paper{
-               linewidth=-1.;
+               linewidth=-1.
                \translator {
                        \VoiceContext
                        % If we want to test extreme beams,
index 5a6163ac049a0c7f77792facee63b05a7f094bfb..e1689107fc4d3e4a4cb8ac97f52c39be332eb472 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 beams should look the same
-";
+"
 }
     
 \score { 
index 6b5624029e85580a7a1e7265c30383aca64dc6b8..52f5dafeb6fab8e1c2a28e438aab2f023189aa49 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header{
 texidoc="
 Beams should always reach the middle staff line.  The second beam
 counting from the note head side, should never be lower than the
 second staff line.  This does not hold for grace note beams.
 Override with @code{noStemExtend}.
-";
+"
 }
 
 
@@ -16,7 +17,7 @@ Override with @code{noStemExtend}.
        
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index 6882707a4bc4be6d99677acb88c909176c7a084b..dd5796c76c4fe78704a02dd56761eb3b752bd0a5 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Beaming is generated automatically. Beams may cross bar lines. In that
 case, line breaks are forbidden.  Yet clef and key signatures are
 hidden just as with breakable bar lines.
-";
+"
 }
 
 \score { \context Staff \notes \relative c''  {
index 65ae97a1d560ed816ee61a60525b8280718ae8a5..23248222c030eba9cb28212cc6ef6de068041d71 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 The same mechanism can be  used  to force pagebreaks.
-";
+"
 }
 
 
index 1a0e1b63837fdb4dfa5bc4a6bde98eaf83ad06d8..32a48357b16faf9a47bf297e797f57a22b5107d0 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Breaks can be encouraged and discouraged using @code{\break} and
 @code{\noBreak}.  They are abbrevs for @code{\penalty} commands.
-";
+"
 }
 
 
@@ -14,5 +15,5 @@ Breaks can be encouraged and discouraged using @code{\break} and
          
          c1^"break after this" \break c1 c1 
        }
-       \paper { linewidth = 4.0\cm;}
+       \paper { linewidth = 4.0\cm}
 }
index 9c771281016176c0586ebeed625c66160e3876e8..5ad99b6e825535b1c9cf174c7fb0833b3611e124 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \header{
 texidoc="
 Breathing signs, also used for phrasing, do normally not influence
@@ -5,7 +6,7 @@ global spacing -- only if space gets tight, notes are shifted to make
 room for the breathing sign. Breathing signs break beams running
 through their voice. In the following example, the notes in the first
 two measures all have the same distance from each other:
-";
+"
 }
 
 
@@ -13,7 +14,7 @@ two measures all have the same distance from each other:
 
 \score {
   \notes \relative c' {
-    \key es \major; \time 3/4;
+    \key es \major \time 3/4
     < \context Voice = two { \stemDown es4 bes es }
       \context Voice = one { \stemUp g4 as g }
     > |
@@ -22,6 +23,6 @@ two measures all have the same distance from each other:
     > |
     es8 d es f g4 \breathe |
     es8 d \breathe es f g f |
-    es2 r4 \bar "||";
+    es2 r4 \bar "||"
   }
 }
index 274736c2d75d6b51fc3d26a773caa0f8e9bbadf6..70f85b30311438d59e7487e90d3afe954a405002 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="property chordChanges: only display chord names when
 there's a change in the chords scheme, but always display the
 chord name after a line break.
-";
+"
 }
 
 scheme = \chords {
@@ -21,6 +22,6 @@ settings = {
     \context Staff \transpose c'' \scheme
   >
   \paper{
-    linewidth = 40 * \staffspace;
+    linewidth = 40 * \staffspace
   }
 }
index b775cacea910528f1945c0f412ff35018c5503f0..ec9f8961b79110378b85d9e5294504fffade3c71 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 \header{
 texidoc="
 Chord names are generated from a list pitches, and are customisable
 from guile.  For some unlogical names, guile customisation is used
 by default.
-";
+"
 }
 
 chord =  \notes\transpose c''\chords{
index 6267949f9f7c9e99176ef13e4445281e80ee7b15..4b5cb2ca8d46ec76269d6b49143052e429d63b32 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -6,7 +7,7 @@ To avoid confusion, chord tremolo beams do not reach the stems, but
 leave a gap.  Chord tremolo beams on half notes are not ambiguous,
 as half notes cannot appear in a regular beam, and should reach the 
 stems.
-";
+"
 }
   
 \score { 
@@ -17,8 +18,8 @@ stems.
   }
   \paper {
     % ugh, wide
-    %linewidth = -1.0;
-    linewidth = 40*\staffspace;
+    %linewidth = -1.0
+    linewidth = 40*\staffspace
   }  
   \midi { }
 }
index 23d494e50aabeaa34cdc6cc09cf1cf1cee896f65..e14a7b18d03c53c30436d62fc5e6ef329111938b 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -6,7 +7,7 @@ The transparent clef should not occupy any space and with style
 size. For octaviated clefs, the ``8'' should appear closely above or
 below the clef respectively.  The ``8'' is processed in a convoluted
 way, so this is fragile as well.
-";
+"
 }
 
 
@@ -14,23 +15,23 @@ way, so this is fragile as well.
 \score {
        \notes{ 
        
-         \clef "treble"; c'1^"{treble}" \bar "||";
-         \clef "french";c'1^"{french}" \bar "||";
-         \clef "soprano";c'1^"{soprano}" \bar "||";
-         \clef "mezzosoprano";c'1^"{mezzosoprano}" \bar "||";
-         \clef "alto";c'1^"{alto}" \bar "||";
-         \clef "tenor";c'1^"{tenor}" \bar "||";
-         \clef "baritone";c'1^"{baritone}" \bar "||";
-         \clef "varbaritone";c'1^"{varbaritone}" \bar "||";
-         \clef "G_8";c'1^"{sub 8?}" c'1 \bar "||";
-         \clef "G^8";c'1^"{sup 8?}" c'1 \bar "||";
-         \clef "bass";c'1^"{bass}" \bar "||";
-         \clef "subbass";c'1^"{subbass}" \bar "||";
+         \clef "treble" c'1^"{treble}" \bar "||"
+         \clef "french"c'1^"{french}" \bar "||"
+         \clef "soprano"c'1^"{soprano}" \bar "||"
+         \clef "mezzosoprano"c'1^"{mezzosoprano}" \bar "||"
+         \clef "alto"c'1^"{alto}" \bar "||"
+         \clef "tenor"c'1^"{tenor}" \bar "||"
+         \clef "baritone"c'1^"{baritone}" \bar "||"
+         \clef "varbaritone"c'1^"{varbaritone}" \bar "||"
+         \clef "G_8"c'1^"{sub 8?}" c'1 \bar "||"
+         \clef "G^8"c'1^"{sup 8?}" c'1 \bar "||"
+         \clef "bass"c'1^"{bass}" \bar "||"
+         \clef "subbass"c'1^"{subbass}" \bar "||"
         \property Staff.Clef \override #'transparent = ##t
-         \clef "treble"; c'1^"transparent=\#t" \bar "||";
+         \clef "treble" c'1^"transparent=\#t" \bar "||"
         \property Staff.Clef \override #'transparent = ##f
         \context Staff \outputproperty #(make-type-checker 'clef-interface) #'full-size-change = ##t
-         \clef "french"; c'1^"full-size-change = \#t" \bar "|.";
+         \clef "french" c'1^"full-size-change = \#t" \bar "|."
          }
          \paper{
           \translator{
index 57193d7a6407746418171f119279c2efb16e0641..89332dee95dacc3ada55b3c879395351207dc547 100644 (file)
@@ -1,13 +1,14 @@
+\version "1.3.146"
 \header{
 texidoc="
 Normal collisions. We have support for polyphony, where the
 middle voices are horizontally shifted.
-";
-filename =      "collisions.ly";
-description =   "random counterpoint to test collisions";
-enteredby =     "HWN,JCN";
-copyright =     "public domain";
-Tested =        "test the Collision resolution ";
+"
+filename =      "collisions.ly"
+description =   "random counterpoint to test collisions"
+enteredby =     "HWN,JCN"
+copyright =     "public domain"
+Tested =        "test the Collision resolution "
 }
 
 
index c26e91b26da5ae595d64ade64e5c80900681b020..818d0cf0b2f710ad6db28ee867ced5a919f386a0 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \header{
 texidoc="
 Noteheads can have dots, and rests can too.  Augmentation dots should
@@ -5,14 +6,14 @@ never be printed on a staff line, but rather be shifted vertically. They
 should go up, but in case of multiple parts, the down stems have down
 shifted dots.  (Wanske p. 186) In case of chords, all dots should be in
 a column.  The dots go along as rests are shifted to avoid collisions.
-";
+"
 }
 
 
 
 \score { 
   \context Voice \notes\relative c'' {
-    \time 6/8;
+    \time 6/8
        d4. g,,
        <b''4. c d e>  <f g a b>
        <g b d> <c, g' d' a'>
index 2aef2493feb3d9d30e11dfcb494598af4d29f9f5..9016e5f46a642d57d72a195ee59aa7cfa027bf5f 100644 (file)
@@ -1,12 +1,13 @@
+\version "1.3.146"
 \header{
-texidoc = "Broken crescendi should look be open on one side.";
+texidoc = "Broken crescendi should look be open on one side."
 }
 
 \score { \notes \relative c'' { 
     c1 \< \break \! c1  \> \break \! c1 
   }
   \paper {
-    linewidth = 10.\cm;
+    linewidth = 10.\cm
   }
 }
   
index 9ab480cb625766396e4686941bd880b9384bfec4..32054340cf111e3e1ecfc5743a9fa0469382949a 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 \header{
 texidoc=" Dynamics appear below or above the staff.  If multiple
 dynamics are linked with (de)crescendi, they should be on the same
 line. Isolated dynamics may be forced up or down.
- ";
+ "
 }
 
 
@@ -25,6 +26,6 @@ a
 \paper{
 }
 \midi{
-\tempo 1 = 60;
+\tempo 1 = 60
 }
 }
index f7b1e995155d6f9e6edfe4ca9baae0624126fa3e..ef328cffaee092861cf0517d010c8d520213a183 100644 (file)
@@ -1,11 +1,12 @@
+\version "1.3.146"
 
 \header {
-texidoc = "Crescendi may start off-notes. In that case, they should  not collapse into flat lines.";
+texidoc = "Crescendi may start off-notes. In that case, they should  not collapse into flat lines."
 }
 
 \score { \notes { \context  Voice { 
   < f''1 { s4 s4 \< \! s4 \> \! s4 } >
 }}
 
-\paper { linewidth = -1. ;}
+\paper { linewidth = -1. }
 }
index d91693adde9d6ecc997c81dbba8a27bfd1db0356..348aff0cbe050f8bfb25239a73c8b44355043f42 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header {
-texidoc  = " Ez-notation prints names in note heads.";
+texidoc  = " Ez-notation prints names in note heads."
 }
 
-\include "paper26.ly";
+\include "paper26.ly"
 \paper { \paperTwentysix }
 
 \score {
index 6ef8eaf79419432b5bdf9109a351e0cd844951e6..ef8de3287f265d0c69aad182ee8a71b0f2eb08a3 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 As a last resort, the placement of grobs can be adjusted manually, by
 setting the @code{extra-offset} of a grob.
-";
+"
 }
 
 \score{
@@ -16,12 +17,12 @@ setting the @code{extra-offset} of a grob.
                \outputproperty #(make-type-checker 'mark-interface) 
                #'extra-offset = #'(-1 . 4)
        }
-       \mark A;
+       \mark A
        d1
-       \mark;
+       \mark \default
        e
 }
 \paper{
-       linewidth=-1.0;
+       linewidth=-1.0
 }
 }
index 990c40be4c10221fa565d95cb0c312ca7a400523..60e533cd0b4bd160c8894ce4298bfda9c124a7fd 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 \header{
 texidoc="
 More specific settings take precendence over less specific settings. The
 second slur has slurDirection set to down, overriding the stemup  setting.
-";
+"
 }
 
 
@@ -13,5 +14,5 @@ second slur has slurDirection set to down, overriding the stemup  setting.
        \slurDown
        c4 ( )c4 
  }
- \paper { linewidth = -1.0; }
+ \paper { linewidth = -1.0 }
 }
index 2d981f7d5db74ce4e1948ad0f2b3d100148c448f..6611bf6e8b77df0acab99f8bd42abaa48b209c1e 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 
@@ -7,7 +8,7 @@ The first two glissandi are not consecutive.
 The engraver does no time-keeping, so it involves some trickery to get
 < @{ s8 s8 s4 @} @{ c4 \\gliss d4 @} > working correctly.
 
-";
+"
 }
 
 \score{
@@ -21,11 +22,11 @@ The engraver does no time-keeping, so it involves some trickery to get
             
     }
     \paper{
-        linewidth = 70.\mm;
+        linewidth = 70.\mm
        \translator{
               \StaffContext
               % makes for handier debugging
-              % \remove Clef_engraver;
+              % \remove Clef_engraver
        }
     }
 }
index 14d8aef43a62853cfab26b250de8ff6a03ff4b0a..903d3462a3f008227fd177f1743b149c8fefee5d 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -13,7 +14,7 @@ main note.  Grace notes can also be positioned after the main note.
 Grace notes without beams should have a slash, if @code{flagStyle} is
 not set.  Main note scripts don't end up on the grace note.
 
-";
+"
 }
 
 \score {\notes \context Voice = VA \relative c'' {
@@ -26,6 +27,6 @@ not set.  Main note scripts don't end up on the grace note.
 %      \grace  c16 [c8 c8]
        \grace  { \property Grace.graceAlignPosition = \right c16} c4
 }
-\paper {linewidth = -1.;}
+\paper {linewidth = -1.}
 \midi{ }
 }
index 3d510d1275f7a3857c7a358cc339c20daaeb1ce5..58569324d4d812c17e592fef78dbc8402e863a50 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 
 \header {
 
 texidoc = "Hairpin dynamics start under notes if there are
 no text-dynamics. If there are text dynamics, the hairpin does not run
-into them.";
+into them."
 
 }
 
 
 \score {
 \notes \relative c'' { c4 \> c4 \! c4 c4_\ff \> c4 \! c4 \p }
-\paper { linewidth = -1.;
+\paper { linewidth = -1.} 
 }
index a759a591d7c03a1fbcb2f79947323d97563ed0a5..ecf8f21d5481016b4876ac6be6380225755642c0 100644 (file)
@@ -1,20 +1,21 @@
+\version "1.3.146"
 \header{
 texidoc="
 Hara kiri staffs kill themselves if they are empty.  This example really
 contains two staffs, but the second contains only spaces, and is
 therefore removed.  Also, any staff brackets and braces are removed.
-";
+"
 }
 
 
 zager =  \context Staff = zager \notes \relative c'' {
-       \clef treble;
+       \clef treble
        c1
 }
 
 zoger =  \context Staff = zoger \notes \relative c'' {
-       \clef treble;
-       \skip 1* 1;
+       \clef treble
+       \skip 1* 1
 }
 
 zagers =  \context GrandStaff <
@@ -29,7 +30,7 @@ zagers =  \context GrandStaff <
                >
        >
        \paper{
-               linewidth = 80.0\mm;
+               linewidth = 80.0\mm
 
                \translator { \HaraKiriStaffContext }
 %uh?
index cdc0e96a210d146d7a38e6ceb4a48496674ee3f9..ccb522f432897ec56f5d9a01cb83c7c9a7326812 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \header { texidoc = "Key signatures can be set per pitch
 individually. This can be done bby setting @code{Staff.keySignature}
-directly.";
+directly."
 
 }
 \score { \notes
index 999df4c4a53ab1665cf9c74f0d332df1e5a9e884..f9f4525420d6a6db198873625685582dd96c1cb7 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header{
 texidoc="
 Key signatures appear on key  changes. They may also
 appear without barlines.  The restoration accidentals are not printed at
 the start of the line. If @code{createKeyOnClefChange} is set, they're
 also created on a clef change.
-";
+"
 }
 
 
@@ -13,13 +14,13 @@ also created on a clef change.
   \notes \relative c''
   {
        \property Staff. createKeyOnClefChange = ##t  
-    \key bes \major; c2
-%    \key c \major; %  \minor;
-    \key es \major; %  \minor;
+    \key bes \major c2
+%    \key c \major %  \minor
+    \key es \major %  \minor
     c2
     \break
-    \key bes \major; % \major;
-    c2 \clef alto; c2   \key d \major; \clef treble; c2
+    \key bes \major % \major
+    c2 \clef alto c2   \key d \major \clef treble c2
        \property Staff. keySignature = #'((2 . -1)  (6 . -1) (4 . -1))
        e2
   }
index 871557e2e537afe3a193a25c4bb865a8cd817197..874d5aac1afa162c32f478b2972b8f4ccc55718d 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \header{
 texidoc="
 Lyrics can be set to a melody automatically.  Excess lyrics will be
@@ -9,15 +10,15 @@ precook a chord of staffs/lyrics and label those.  Of course
 @code{\rhythm} ignores any other rhythms in the piece.  Hyphens and
 extenders do not assume anything about lyric lengths, so they continue
 to work.
-";
+"
 
 
-filename =      "twinkle-pop.ly";
-xtitle =        "Ah, vous dirais-je, maman ";
-description =   "twinkle twinkle in pop-song-settings";
-composer =      "traditional";
-enteredby =     "HWN, chords by Johan Vromans";
-copyright =     "public domain";
+filename =      "twinkle-pop.ly"
+xtitle =        "Ah, vous dirais-je, maman "
+description =   "twinkle twinkle in pop-song-settings"
+composer =      "traditional"
+enteredby =     "HWN, chords by Johan Vromans"
+copyright =     "public domain"
 }
 
 
index ffa791cbddf377d883750aa7c2431cd8afc1234f..6a4da6320e522a3ec30318253020636e8bfb8021 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \header{
   texidoc="Lyric phrasing
 
 @end example
 
   Only lyrics that are followed by '__' while there's a melisma,
-  are left-aligned, in this case the third x.";
+  are left-aligned, in this case the third x."
 }
 
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
 \score {
   \addlyrics
     \context Voice = "v" \notes  \relative c'' {
index c4b98d58bcc8780d30a5f8ab035958fc997d94e6..9a3c359c38252e4c6649edfbb67469178ba2e94c 100644 (file)
@@ -1,15 +1,16 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Adding a @code{Bar_engraver} to the LyricsVoice context makes sure that
 lyrics don't collide with barlines.
-";
+"
 }
 
 \score {
        \context StaffGroup <
        \notes \context Staff {
-               b1 \bar "|:"; b1 \bar ":|";
+               b1 \bar "|:" b1 \bar ":|"
        }
        \lyrics\context Lyrics <
                \context LyricsVoiceWithBars {
@@ -23,15 +24,15 @@ lyrics don't collide with barlines.
        \notes \context Staff = SB { b1 b1 }
        >
        \paper {
-               linewidth = -1.0\cm;
+               linewidth = -1.0\cm
                \translator {
                        \LyricsContext
-                       \accepts "LyricsVoiceWithBars";
+                       \accepts "LyricsVoiceWithBars"
                }
                \translator {
                        \LyricsVoiceContext
-                       \consists "Bar_engraver";
-                       \name "LyricsVoiceWithBars";
+                       \consists "Bar_engraver"
+                       \name "LyricsVoiceWithBars"
                }
                \translator {
                        \LyricsVoiceContext
index 9aa98b4565f9c7a977b3eefc3a75e92027cab4f5..1af9baed140378aef7eb27c4c559cabadcdef2c9 100644 (file)
@@ -1,9 +1,14 @@
+\header {
 
+texidoc = "Lyrics syllables are aligned according to
+  punctuation. Stanza and stz set stanza numbers. "
+
+}
 
        
 \score {
 \addlyrics
-  \notes \relative c'' \context Voice = duetto { \time 3/4; g2 e4 a2 f4 g2.  }
+  \notes \relative c'' \context Voice = duetto { \time 3/4 g2 e4 a2 f4 g2.  }
   \lyrics \context Lyrics <
   \context LyricsVoice = "duet-1" {
     \property LyricsVoice . stanza = "Bert"
@@ -12,6 +17,6 @@
     \property LyricsVoice . stanza = "Ernie" 
     Ooooo, ch\'e -- ri, je t'aime. }
   >
-  \paper { linewidth = -1.0;}
+  \paper { linewidth = -1.0}
 }
 
index 4ed65a571f457098121a16b6ef4c4b3bafe0a237..4f4162e0b1f4b95675325a9ca958b4cb1964cc97 100644 (file)
@@ -1,5 +1,6 @@
+\version "1.3.146"
 \header {
-texidoc = "There is limited support for mensural notation: note head shapes are available. Mensural stems are centered on the note heads, both for up and down stems.";
+texidoc = "There is limited support for mensural notation: note head shapes are available. Mensural stems are centered on the note heads, both for up and down stems."
 }
 
 \score {\notes { \context Voice { 
index 97040a44ba9958df9d7500587782a2af8f16c86a..372f8e15527926a74d121ae455f190451018f39f 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -5,12 +6,12 @@ If @code{Score.skipBars} is set,
 the signs for four, two, and one measure rest are combined to
 produce the graphical representation of rests for up to 10 bars.
 The number of bars will be written above the sign.
-";
+"
 }
 
 thenotes = \notes \relative cis' {
 \property Score. skipBars = ##t
-\time 4/4;
+\time 4/4
 R1 |
 R1*1 |
 R1*2 |
index 49a9ce9f4f16d25f2bcb034ebef287a053cfde75..d677d2d903c8539f993e1502f605269242081842 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header { texidoc=" You can write molecule callbacks in Scheme, thus
 providing custom glyphs for notation elements.  A simple example is
@@ -6,7 +7,7 @@ adding parentheses to existing molecule callbacks.
 The parenthesized beam is less successful due to implementation of the
 Beam. The note head is also rather naive, since the extent of the
 parens are also not seen by accidentals.
-";
+"
        
         }
 
@@ -32,17 +33,17 @@ GROB.  The dimensions of the molecule is not affected.
            (popen (ly-find-glyph-by-name fn "accidentals-("))
            (subject (callback grob))
 
-           ;; remember old size
+           ; remember old size
            (subject-dims (ly-get-molecule-extent subject 0))
            )
 
-       ;; add parens
+        ; add parens
         (set! subject
             (ly-combine-molecule-at-edge 
              (ly-combine-molecule-at-edge subject 0 1 pclose 0.2)
              0 -1 popen  0.2))
 
-       ;; revert old size.
+       ; revert old size.
        (ly-set-molecule-extent! subject 0 subject-dims)
        subject
     )
@@ -68,6 +69,6 @@ GROB.  The dimensions of the molecule is not affected.
                    
                    }
 
-       \paper { linewidth = -1.; }
+       \paper { linewidth = -1. }
        }
 
index c99aa0a88e1ac1ea2046258b05bf4e6c30f76cdc..1392a639a51f9e40de5b3c70f7a782b5a814e740 100644 (file)
@@ -1,20 +1,22 @@
 \header{
+
 texidoc="
 Multiple measure rests do not collide with barlines and clefs.  They
 are not expanded when you set @code{Score.skipBars}.  Although the
 multi-measure-rest is a Spanner, minimum distances are set to keep it
 colliding from barlines. 
-";
+"
+
 }
 
 
-\score { \notes { \time 3/4; \key cis \major;
+\score { \notes { \time 3/4 \key cis \major
            R2.*15 R2. R2.*7 }
        \paper {
        \translator {
                \ScoreContext
                skipBars = ##t
        }
-       linewidth = -1.;        
+       linewidth = -1. 
        }
 }
index 03bdf52fe93966ca45e44eaed55cb1e072f6ff94..d3eee8bedce9bc19272745a0274cd9f6f97b47be 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Text is set with empty horizontal dimensions.  The boolean property
 textNonEmpty is used to respect the horizontal size of text.
-";
+"
 }
 \score { \notes {
 \property Voice.TextScript \override #'no-spacing-rods = ##f
@@ -11,6 +12,6 @@ c4_"very wide and long text" c4
 }
 
 \paper {
-  linewidth  = -1.0;
+  linewidth  = -1.0
   }
 }
index 32f660bd0882b6cb6a9a64cedab23d22449587a4..89bc9c64e45da3f618f38d4abd1c0394bb98663c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \header{
 texidoc="
 Note head shapes are settable.  The stem endings should be adjusted
@@ -7,30 +8,35 @@ you must create a special context called Thread.
 Harmonic notes have a different shape and different
 dimensions. Nevertheless, noteheads in both styles can be combined, on
 either up or down stems.
-";
+"
 }
 
 
+\include "paper23.ly"
 
-
-\score { \notes \relative c{
-
-c''4 c2 c8  c16 c16 c1 c\breve
+\score { \notes \relative c''{
+% \property Voice.Stem \override #'thickness = #5.0
+\property Voice.NoteHead \set #'style = #'default
+c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
 \property Voice.NoteHead \set #'style = #'diamond
-c4 c2 c8  c16 c16  c1 c\breve
+c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
 \property Voice.NoteHead \set #'style = #'transparent
-c4 c2 c8  c16 c16  c1 c\breve
+c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
 \property Voice.NoteHead \set #'style = #'cross
-c4 c2 c8  c16 c16  c1 c\breve
+c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
+\property Voice.NoteHead \set #'style = #'xcircle
+c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
+\property Voice.NoteHead \set #'style = #'slash
+c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
 \property Voice.NoteHead \set #'style = #'mensural
-c4 c2 c8  c16 c16  c1 c\breve c\longa
+c4 c2 c8  c16 c16  c1 c\breve c\longa b4 b2 b8  b16 b16 b1 b\breve b\longa \break
 \property Voice.NoteHead \set #'style = #'harmonic
-c4 c2 c8  c16 c16  c1 c\breve
+c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
 \property Voice.NoteHead \set #'style = #'baroque
-c4 c2 c8  c16 c16  c1 c\breve c\longa
+c4 c2 c8  c16 c16  c1 c\breve c\longa b4 b2 b8  b16 b16 b1 b\breve b\longa \break
 
 
-   \context Voice <
+   \context Voice = another <
     \context Thread = TA
       {
         \property Thread.NoteHead \set #'style = #'cross
@@ -46,18 +52,18 @@ c4 c2 c8  c16 c16  c1 c\breve c\longa
   >
 
 
-   \context Voice <\context Thread = TA {
-   \property Thread.NoteHead \set #'style = #'default
-   c4 c4 }
-\context Thread = TB {
-   \property Thread.NoteHead \set #'style = #'mensural
-  c'4 \stemDown c
+   \context Voice <
+     \context Thread = TA {
+       \property Thread.NoteHead \set #'style = #'cross
+       c4 c4 c4 c4 }
+     \context Thread = TB {
+       \property Thread.NoteHead \set #'style = #'mensural
+       c'4 \stemDown c
+       \property Thread.NoteHead \set #'style = #'slash
+       \stemUp c4 \stemDown c
 } >
 
 }
 
-    \paper {
-
-
-}
+    \paper {}
 }
index 8345ef200a57907645bed2476f4b64fc6e8f1fc9..3bc06521c8b164c94466b84e38cadc1086fcec70 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \header {
 texidoc = "Note head lines (eg glissando)
-run between centers of the note heads.";
+run between centers of the note heads."
 }
 
 \include "paper20.ly"
@@ -16,15 +17,15 @@ sd = \notes{ \translator Staff = down}
        \context Staff = up   {
             \property PianoStaff.connectArpeggios = ##t
            \showStaffSwitch
-           \clef F;
+           \clef F
            c4 d \sd h a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1
        }
        \context Staff = down {
-           \clef F; s1*4
+           \clef F s1*4
        }
     >
 \paper {
-    linewidth = 8.0 \cm;
+    linewidth = 8.0 \cm
 }
 }
 
index b7ee88fdc058e64a05ffaae4a17ea0ee4ee2eee7..8c05e3022556fa4aacdca667868f2e37894e6117 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 
 texidoc=" The number of stafflines of a staff can be set.  Ledger
 lines both on note heads and rests are adjusted.  Barlines also are
-adjusted.  ";
+adjusted.  "
 
 }
 
index 2080187b9919b07008cb08dd940c2d9a6ec78d37..0f2185e5786f2b8ff03d1824b39f0d6343c5876a 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 \header {
-texidoc = "Measure and beat repeats are supported.";
+texidoc = "Measure and beat repeats are supported."
 }
        
-\score { \notes \relative c' \context Voice { \time 4/4;
+\score { \notes \relative c' \context Voice { \time 4/4
    \repeat "percent" 2 { c2 }
 
    % the chairman dances
index c49a98a9838619c623a10007a277ad2cefd678e8..4f75ed9cab4890243cace3df1b68328cbe7784c7 100644 (file)
@@ -1,13 +1,14 @@
+\version "1.3.146"
 
 \header {
-texidoc="Slurs play well with phrasing slur.";
+texidoc="Slurs play well with phrasing slur."
 }
 
 \score {
   \notes\relative c'' {
-    \time 6/4; c\((d)e f(e)\)d
+    \time 6/4 c\((d)e f(e)\)d
   }
   \paper {
-    linewidth = -1.;
+    linewidth = -1.
   }
 }
index 189f5ae5689a86bbda729a672fb6115b5177ff2e..e6d88e91435118b06e7fb1457ea0f18035c58fa6 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Folded.  This doesn't make sense without alternatives, but it works.
-";
+"
 }
 
 \score {
index 7405d4797aea03ff713f9d7bda9f88d35ebfbc4b..b584df358583b58e76cca0782a0f32db0c496885 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Across linebreaks, the left edge of a first and second alternative
 bracket should be equal
-";
+"
 }
 
 \score  {
index 8f09b3812fb829c7ecc525f7a44eae54c66a3870..e1d8197bb79354832164b4db3961b086529d44df 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -11,7 +12,7 @@ alternatives is smaller, the first alternative is multiplied to get to
 the number of repeats.
 
 Unfolded behavior:
-";
+"
 }
 
 \score {
index 0f5304ed87e779bfedb2c225e91e8636c291e93d..d596e792be2057c85e65e9d7dec27f0e0de5cf8e 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score {  \notes \context Voice {
   \repeat volta 3 c1
index a59f9b20d7a466746bd8cb03b3bf804ca4c55991..0d667989a3fb360084ee379098377d5ba9d88eb7 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Volta (Semi folded) behavior.  Voltas can start on non-barline moments.
 If they don't barlines should still be shown.
-";
+"
 }
 
 %  no alts.
index f7a4852524f2b34f2c7a8bf991a623b12869e21f..3731a46918c348216f855ca3a97be5b000d1a5cf 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \header{
 texidoc="
 Rests should not collide with beams, stems and noteheads.  Rests may
@@ -5,7 +6,7 @@ be under beams.  Rests should be move by integral number of spaces
 inside the staff, and by half spaces outside.  Notice that the half
 and whole rests just outside the staff get ledger lines in different
 cases.
-";
+"
 }
 
 scale =  \notes \relative c' {
index 9e5894f0ba07dba3153c9a75c50936be4c87e2a9..54bf1784898f4b44ebad88008aeb6094b89cdcc7 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 \header {
 texidoc = "whole and half rests moving outside the staff should get
-ledger lines";
+ledger lines"
 }
 
 
index cc9e91ffdf806477cf6d3d5ba78219781cde6e2b..9b6b0545305deb81e6b8c2d624d0d4a5ae873d44 100644 (file)
@@ -1,17 +1,18 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Rests.  Note that the dot of 8th, 16th and 32nd rests rest should be
 next to the top of the rest.  All rests except the whole rest are
 centered on the middle staff line.
-";
+"
 }
 
 
        \score { \notes {
-       \time 4/4;
+       \time 4/4
 r \longa * 1/4  r\breve * 1/2 
 r1 r2 r4 r8 r16 r32 r64 r128 r128
-\time 6/4;
+\time 6/4
 r1. r2. r4. r8. r16. r32. r64. r128. r128.
 }}
index a7ebba1a1cd7ce4c45e1045d6b00742783c07470..d3a5ee412e19b4043f708d44e0e39656c73c4a1a 100644 (file)
@@ -1,11 +1,12 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Fonts are  available in a default set of sizes: 11, 13, 16, 20, 23 and
 26pt staffheight.  Sizes of the text fonts and symbol fonts are made
 to match the staff dimensions.    
-";
+"
 }
 
 \include "paper11.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
index e95aba97a3da8221a634309242af622d59a1e4f4..beaef69b3e6e080e54341174b59dcd60f4d60378 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \include "paper13.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
index 14a3abe27592f2535bc18dfe958c67731c6c89ea..15b09aad1b18aab8f8e2dab9720536bf102f8acb 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \include "paper16.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
index 2bdbb4816bdf1b0e887d3c3e068a2b67adef01da..c26dd79f21e4636a7fdc0ff41a7e934e784ffc04 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \include "paper20.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
index 16085a5aac6005df430e7cf97640c7ebe2154455..9f2a0460c198a45f822b08a90810966e341ac863 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \include "paper23.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
index 7d6e90177d227da7f43a836efdfad720e97ed8bb..47fbd755f3185b64aac3ae3d1f8d561f02b9a7a4 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \include "paper26.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
index c6fabda6a0a19f357665dd9fa2643ad4d67ea282..72bb070305252db020f57394092e8bcd0c19eddd 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Slurs should be attached to note heads, except when they would collide
 with beams.  Also see: ophee-slurs.
-";
+"
 }
 \score{
        \notes \relative c''{
@@ -14,7 +15,7 @@ with beams.  Also see: ophee-slurs.
                a4() a8 a
        }
        \paper{ 
-               indent = 0.0;
-               linewidth = 100.\mm;
+               indent = 0.0
+               linewidth = 100.\mm
        }
 }
index a727b9212a0d172c254d7170ad077a78b4b760a6..3f0430505b439aea2f7e5b01aba20cfdac039efd 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -5,18 +6,18 @@ Across line breaks, slurs behave nicely.  On the left, they extend to
 just after the preferatory matter, and on the right to the end of the
 staff.  A slur should follow the same vertical direction it would have
 in unbroken state.
-";
+"
 }
 \score{
        \notes \relative c''{
                e1( \break) a,
-               \time 2/4;
+               \time 2/4
                e'2( \break) a,(\break
                a2\break
                )e'2
        }
        \paper {
-               linewidth=40.\mm;
-               indent=0.;
+               linewidth=40.\mm
+               indent=0.
        }
 }
index 4a108abf3e508ea9965546f3f2bdfcbd5ce45d0c..24d77ae1104b88bfd60052b88ee235cb454d8415 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 \header{
 texidoc="
 The same goes for slurs. They behave decently when broken across
 linebreak.
-";
+"
 }
 
        
@@ -39,7 +40,7 @@ linebreak.
                r1
        }
        \context Staff=two \notes\relative c'{
-               \clef bass;
+               \clef bass
                s1 s1 s1 s1 s1 s1 s1 s1 s1 s1
        }
        >
index 69485a30052b4c00c86985056bf36a9e35f2fe0d..d8abaa3a878e743cd25f5d02a4dd36d286086859 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 \header{
 texidoc="
 Slurs should look nice and symmetric.  The curvature may increase
 only to avoid noteheads, and as little as possible.  Slurs never
 run through noteheads or stems.
-";
+"
 }
 
 \score{
        \notes\relative c''{
-               \time 3/4;
+               \time 3/4
                \slurUp
                \stemBoth a ( \stemDown a \stemBoth ) a a( c )a a( e' )a, a( g' )a,
                \stemUp a( e' )a,
@@ -18,6 +19,6 @@ run through noteheads or stems.
                \stemDown c( f, )c'
        }
        \paper{
-               linewidth = 120.\mm;
+               linewidth = 120.\mm
        }
 }
index ef9115f11620e232ef7a262f75bf80410e42061d..225abfc53dc498d36a6db937a46bbab20c853b6c 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c''<
-               \time 4/4;
+               \time 4/4
                \context Staff{
                        f8(f f)f f(g g)f f(a a)f f(b b)f
                }
@@ -10,6 +11,6 @@
                }
        >
        \paper{
-               linewidth=-1.;
+               linewidth=-1.
        }
 }
index c09ba9c61d4ff04c5beba9e491feec8d1b3dc492..1e6b5740ff186ac3111d76c538328f4c24563abe 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c'<
-               \time 6/8;
+               \time 6/8
                \context Staff{
                        e8(e)e e(d)e e(c)e e(b)e
                }
@@ -10,6 +11,6 @@
                }
        >
        \paper{
-               linewidth=-1.;
+               linewidth=-1.
        }
 }
index 4507c14979f1e3ec24315f18199c9a6bcd6434ab..b985fb458276cfd9cbfb743b229b167ba45c1f0d 100644 (file)
@@ -1,12 +1,13 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Loose:
-";
+"
 }
 \score {
-       \notes { \time 2/2; c'2 c'2 \time 2/2; }
-       \paper { linewidth = 5.0\cm;
-       indent = 0.0;
+       \notes { \time 2/2 c'2 c'2 \time 2/2 }
+       \paper { linewidth = 5.0\cm
+       indent = 0.0
        }
 }
index eae9e3126999c766ec110255fcf146fa160bef3a..b56b878920cbc4fcf89cf0ecb237f3d92b7eb87d 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Natural:
-";
+"
 }
 
 \score {
-       \notes { \time 2/2; c'2 c'2 \time 2/2; }
-       \paper { linewidth = -1.0 \cm;
-       indent = 0.0;
+       \notes { \time 2/2 c'2 c'2 \time 2/2 }
+       \paper { linewidth = -1.0 \cm
+       indent = 0.0
        }
 }
 
index d4845a2792687a3583fde18326a851ca1eb56380..4532696c9c139fbbaa1012dc35b331d2de06a0f0 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -12,11 +13,11 @@ prefatory is very rigid.  In contrast, the space before the barline
 must stretch like the space within the measure.
 
 Tight:
-";
+"
 }
 \score {
-       \notes { \time 2/2; f''2 c'2 \time 2/2; }
-       \paper { linewidth = 2.5 \cm;
-       indent = 0.0;
+       \notes { \time 2/2 f''2 c'2 \time 2/2 }
+       \paper { linewidth = 2.5 \cm
+       indent = 0.0
        }
 }
index ec84117adcaeaf87a6b457e685a97c73209cadde..38ff46b086c71f68651a5c5d74c77f608422ea9a 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 The staccato dot (and all scripts with follow-into-staff set), must
 not be on staff lines.
-";
+"
 }
 \score { 
   \context Voice \notes\relative c {
@@ -13,7 +14,7 @@ not be on staff lines.
        
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index 11f9f0fec8d7943ea3ba0ee1e15dbfd0e6ca386f..7d89536e93c8ef283a32ee9b00b99d6b805d78c9 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 \header{
 texidoc="
 Staff margins are also markings attached to barlines.  They should be
 left of the staff, and be centered vertically wrt the staff.  They may
 be on normal staffs, but also on compound staffs, like the PianoStaff
-";
+"
 }
 
        
@@ -15,14 +16,14 @@ be on normal staffs, but also on compound staffs, like the PianoStaff
     \context Staff = treble    {
       \property PianoStaff.instrument = "Piano "
       \property Staff.instrument = "Right " { c''4 }}
-    \context Staff = bass { \property Staff.instrument = "Left " \clef bass; c4 }>
+    \context Staff = bass { \property Staff.instrument = "Left " \clef bass c4 }>
 
 \paper {
-linewidth=-1.0;
+linewidth=-1.0
 \translator { \ScoreContext
        
        }
-\translator { \StaffContext \consists "Instrument_name_engraver"; }
-\translator { \PianoStaffContext \consists "Instrument_name_engraver"; }
+\translator { \StaffContext \consists "Instrument_name_engraver" }
+\translator { \PianoStaffContext \consists "Instrument_name_engraver" }
 }}
 
diff --git a/input/regression/stanza-number.ly b/input/regression/stanza-number.ly
new file mode 100644 (file)
index 0000000..bd56fc5
--- /dev/null
@@ -0,0 +1,13 @@
+\header {
+texidoc = "Stanza numbers may differ for the first and following systems."
+}
+
+\score {
+
+< \context LyricsVoice \lyrics {
+
+\property LyricsVoice . stanza =  "first"
+\property LyricsVoice . stz =  "2nd"
+Foo1 Bar1   }
+
+\notes { c''1 \break c''1 }>} 
index b9bed6ec7cf3a681934f9b763c7c5143acfa9170..b7706cc60ec0f907a2b5dea49d98c5706ca3c563 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 @c FIXME
 Similarly, if @code{stem_default_neutral_direction} is set to @code{-1}.
-";
+"
 }
 
 \score{
@@ -11,6 +12,6 @@ Similarly, if @code{stem_default_neutral_direction} is set to @code{-1}.
            b''4 ~ b8()b8 e4 e,
        }
        \paper{
-               stem_default_neutral_direction=-1.0;
+               stem_default_neutral_direction=-1.0
        }
 }
index d8b3fa8cfa85d7b056183e180831bf3a11b82363..08890b3846d2acb5c516b9db9ff59d84cca69525 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -8,7 +9,7 @@ point) are mixed.
 Stems, beams, ties and slurs should behave similarly, when placed
 on the middle staff line. Of course stem-direction is down for high
 notes, and up for low notes.
-";
+"
 }
 
 
@@ -18,7 +19,7 @@ notes, and up for low notes.
        
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index cc51d18a169f555f6100ee2d152a84ae072968b6..989c43c530f68c688d6b4f39f1efa5e84427b56c 100644 (file)
@@ -1,18 +1,19 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 In a limited number of cases, LilyPond corrects for optical spacing
 effects.  In this example, space for opposite pointed stems is adjuste
-";
+"
 }
 \score { 
   \context Voice \notes\relative c {
     
-       \time 12/4;  c''4 c c c  a f' f, a 
+       \time 12/4  c''4 c c c  a f' f, a 
        
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index 7afaf52fb4bbd4b199e726c979bc57d38d3c983e..c4ca3f706c4630c900d179d949344baaa6b1913e 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header{
 texidoc="
 Stem tremolos or rolls are tremolo signs that look like beam segments
 crossing stems.  If the stem is in a beam, the tremolo must be parallel
 to the beam.  If the stem is invisible (eg. on a whole note), the
 tremolo must be centered on the note.
-";
+"
 }
 
 
index 5068a652444c3b626e0caa0c3ce88b5c73d52ca4..815914073e9be2816f97bf4d1e19d265da89c0d3 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -10,11 +11,11 @@ natural).  Slurring a accidentaled note to a natural one across bar
 boundaries should be explicit.
 
 Pitches can be verified by printing them  with the @code{NoteNames} context.
-";
+"
 }
 
 thenotes = \notes \relative cis' {
-  \time 4/4;
+  \time 4/4
   g'2 g ~ |
   g g4 gis |
   gis2 gis ~ |
@@ -24,7 +25,7 @@ thenotes = \notes \relative cis' {
   g2 gis( |
   )g! gis4 gis |
   \break
-  \key a \major;
+  \key a \major
   gis2 gis ~ |
   gis4 gis8 ~ gis g4 gis |
   gis2 g ~ |
@@ -39,7 +40,7 @@ thenotes = \notes \relative cis' {
   % Btw: I don't even know what the rule is for the second note in the
   % next bar, if a reminder accidental was printed.  These are really
   % not very common cases.  Technically, if it is not tied, it
-  % should get an accidental; but it looks a bit silly and redundant.
+  % should get an accidental but it looks a bit silly and redundant.
   % See last g.
   
   )g! gis4 gis ~ | \break
index 650ddddf42922551cc89cb8633efa9374302cba5..ce2557b0fcf4029ccbb8f9feb562ec3b07daca90 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 \header{
 texidoc="
 When tieing chords, the outer slurs point outwards, the inner slurs
 point away from the center of the staff.  Override with
 @code{tieVerticalDirection}.
-";
+"
 }
 
 
index 297a2bd26298357fe91893867c740e2ba0be14c8..023a191129dc53357c25e77594522e7a4142fef7 100644 (file)
@@ -1,11 +1,12 @@
+\version "1.3.146"
 \header {
-texidoc = "Ties should not collide with dots.";
+texidoc = "Ties should not collide with dots."
 }
 
-\score{\notes{\time 9/8; \key f \major;\clef bass;
-  g4 d8 bes4.  ~    bes4    a8    \bar "|";
-  a8    gis8    d8 f4.    gis,4.    \bar "|";
-  a,4.   ~    a,4    r8   r4   r8   \bar "|";
+\score{\notes{\time 9/8 \key f \major\clef bass
+  g4 d8 bes4.  ~    bes4    a8    \bar "|"
+  a8    gis8    d8 f4.    gis,4.    \bar "|"
+  a,4.   ~    a,4    r8   r4   r8   \bar "|"
   c4.   ~    c8    a8    g8    f8
 }}
 
index 6bd1c09872b7eb08189cc5c2cd19c06dbe1e5e34..da4bd5af7545604f5de2d397d9adda3fbeb3dc68 100644 (file)
@@ -1,20 +1,21 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Ties are strictly horizontal.  They are placed in between note heads.
 The horizontal middle should not overlap with a staffline.
-";
+"
 }
 \score{
        \notes\relative c''{
                %b2~b4~b8~b16~b32~b64 r64\break
                %a2~a4~a8~a16~a32~a64 r64
-               \time 8/4;
+               \time 8/4
                d1 ~ d2~d4~d8~d16~d32~d64 r64\break
                a1~ a2~a4~a8~a16~a32~a64 r64
                %c2~c4~c8~c16~c32~c64 r64
        }
        \paper{
-               linewidth=0.;
+               linewidth=0.
        }
 }
index 322311405d07e89b0413fe4d68aa4a443a3ff647..2b50f23e8a015e3a41b0b87ebfa4cba1aee2cd2b 100644 (file)
@@ -1,13 +1,14 @@
+\version "1.3.146"
 
 \header {
 texidoc="Simple beams.  This broke somewhere < 1.3.110
-";
-  title = "Gammes Chromatiques";
-  composer = "";
-  filename = "gammes_chromatiques.ly";
+"
+  title = "Gammes Chromatiques"
+  composer = ""
+  filename = "gammes_chromatiques.ly"
 }
 
-linebreak = \penalty -1000;
+linebreak = \penalty #-1000
 
 ex = \notes \relative c' {
   \repeat "volta" 2 {
index 955c18b3f21de796551f7f377aeb821a534c5be6..9df691672b2e27bc5d7baa353250dbaaecaf7516 100644 (file)
@@ -1,16 +1,17 @@
+\version "1.3.146"
 \header{
 texidoc="
 Tuplets are indicated by a bracket with a number.  There should be no
 bracket if there is one beam that matches  the length of the tuplet.
 The bracket does not interfere with the stafflines, and the number is
 centered in the gap in the bracket.
-";
+"
 }
 \score{
        \notes \context Voice \relative c'' {
                 \times 2/3 { \times 2/3 { a8 b c}  c }
                 \times 3/4 { c4 c4 c4 c4 }
-                \time 6/8;
+                \time 6/8
                 \times 6/9 { c8 c c c c c c c c }
 
                 }
index f0998be1ed851c63c15349637e9fa34d2568d68d..6515426ad69025da7504956aeb022556d6aab747 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 
 \header {
-texidoc ="Broken volta spanners behave correctly at left edge in all cases.";
+texidoc ="Broken volta spanners behave correctly at left edge in all cases."
 
 }
 
@@ -39,11 +40,11 @@ Bar 23      Perfect
 %}
 
 voiceB = \notes {
-    \clef bass;
+    \clef bass
      \property Staff.instrument = "Bass"
      \property Staff.instr = "B"
-     \key f \minor; 
-     \time 4/4;  
+     \key f \minor 
+     \time 4/4  
     f,2 (   ) f,8    r8   f8    e8    
     \repeat  volta 2
     {
@@ -129,10 +130,10 @@ voiceE = \notes {
 
     >
        \paper {
-           font_normal = 12.;
+           font_normal = 12.
            \translator {
                 \StaffContext 
-                \consists Instrument_name_engraver;
+                \consists Instrument_name_engraver
            }
        }
 }
index f8654604b3858085e381c051db8d64fcb05eab4e..d7e336c25208e09e1aff99c6bd16837ade70b48c 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 \header{
-filename =      "rhythm.ly";
-enteredby =     "HWN";
-copyright =     "public domain";
-TestedFeatures =        "multiple meters, beaming, unsynced bars, userdefd engravers";
+filename =      "rhythm.ly"
+enteredby =     "HWN"
+copyright =     "public domain"
+TestedFeatures =        "multiple meters, beaming, unsynced bars, userdefd engravers"
 }
 
 
@@ -10,22 +11,22 @@ TestedFeatures =     "multiple meters, beaming, unsynced bars, userdefd engravers"
 
 
 ritme =  \notes\transpose c'' {
-       \time  4/4;
-       \partial 8;
+       \time  4/4
+       \partial 8
        c8                                      |
        
        [a8~  a8. a8 a16 a16 a16] c4.           |       % watch the beams!
         r32 r32 r16 r8 r4 r2                   |
-       \time   5/16;
+       \time   5/16
 
        % divide measure in 5 equal parts. Usually it 2+3 or 3+2
                
        [c8 c16 c8 ]                            |       % watch THIS!
         \times 5/4 { [ c16 c16 c16 c16] } |
-       \time   2/8;
+       \time   2/8
        c4                              |
        c4      c4      c4      c4
-       \time 4/4;
+       \time 4/4
        c1 c1 c1
        
 %      [c16 c16 c16 c16 ]                      |
@@ -36,13 +37,13 @@ ritme =  \notes\transpose c'' {
        
 
 another =  
-       \notes \relative c'' { \time 6/4; 
-               c1.  c1. \time 4/4;c4 c4 c4 c4  c1 c1 c1
+       \notes \relative c'' { \time 6/4 
+               c1.  c1. \time 4/4c4 c4 c4 c4  c1 c1 c1
         }
 
 
 yanother =  
-       \notes{ \time 4/4; 
+       \notes{ \time 4/4 
                c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
         }
 
@@ -61,15 +62,15 @@ yanother =
        %% remove Timing_engraver and Bar_number_engraver
  \translator {
  \ScoreContext
- \remove "Timing_engraver";
+ \remove "Timing_engraver"
   }
   \translator {
   \RhythmicStaffContext
-  \consists "Timing_engraver";
+  \consists "Timing_engraver"
   }
   \translator{
   \StaffContext
-  \consists "Timing_engraver";
+  \consists "Timing_engraver"
   }
        }
 }
index 30569232783e18ae2fcd6fa2ef4df5619d21fbc8..6840d979be28688d6df999c134080637beee53a0 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \paper{
-       indent=0.;
-       linewidth=188.\mm;
+       indent=0.
+       linewidth=188.\mm
 
        \translator{
                \PianoStaffContext
index 988f0f92ad489444c48870f89291fcc8b0bca424..eec0faa0f0ca783b306023d7c1196c5ce7148ba5 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 %K000.ly LilyPond 1.2.16
 
 
@@ -8,7 +9,7 @@
 \paper {
 \translator{\VoiceContext
   %% huh?
-  %%beamAutoBegin=0;
+  %%beamAutoBegin=0
   autoBeamSettings \override #'(end 1 8 * *) = #(make-moment 3 8)
   autoBeamSettings \override #'(end 1 16 * *) = #(make-moment 3 8)
   autoBeamSettings \override #'(end 1 24 * *) = #(make-moment 1 8)
@@ -37,9 +38,9 @@ xb={\property Voice.noAutoBeaming=##t}
 \score{
 \context PianoStaff \notes<
 \context Staff=up<
-  \key d \major ;
-\time 3/8;
-\clef treble;
+  \key d \major 
+\time 3/8
+\clef treble
 \autochange Staff
 \context Voice=va< \zs
 \su
@@ -54,8 +55,8 @@ a'8 s \lh d''|
 %a5
 s8 \rh fis'' s|
 %a6
-a''32 s fis'' s d'' s a' s d' s a s \bar "||";
-\key f \major; 
+a''32 s fis'' s d'' s a' s d' s a s \bar "||"
+\key f \major 
 %a7
 r16 a' f'8. d'16~
 %a8
@@ -63,8 +64,8 @@ d'16 g' e'8. cis'16|
 %a9
 r16 a' f'8. d'16~
 %a10
-d'16 g' e'8. cis'16 \bar "||";
-\key d \major;
+d'16 g' e'8. cis'16 \bar "||"
+\key d \major
 %a11
 r16 fis' d'8. g'16~
 %a12
@@ -116,8 +117,8 @@ s8 gis''4|
 %a35
 s32 e' cis' a s a' e' cis' s cis'' a' e'|
 %a36
-\lh a'32 \rh[e'' cis'' a']\lh cis'' \rh[a'' e'' cis'']\lh a' \rh[a cis' e']\bar "||";
-\time 6/8;
+\lh a'32 \rh[e'' cis'' a']\lh cis'' \rh[a'' e'' cis'']\lh a' \rh[a cis' e']\bar "||"
+\time 6/8
 %a37
 gis''8 a'' gis'' a'' gis'' a''|
 }
@@ -337,8 +338,8 @@ s4.*6
 }>
 >
 \context Staff=down<
-\clef bass;
-\key d \major;
+\clef bass
+\key d \major
 s4.*38
 >>
 } 
index c72646beff84e56c4be35d04cacef5282fb55884..739d47ec4242eb4d7076418cbef5f59ad1e7af28 100644 (file)
@@ -1,25 +1,26 @@
+\version "1.3.146"
 %{
 Converted from star.mup with the aid of mup2ly.py
-http://www.Arkkra.com/doc/star.html
-http://www.Arkkra.com/doc/star.ps
+http://www.arkkra.com/doc/star.html
+http://www.arkkra.com/doc/star.ps
 %}
 
 
 
 \header{
-       title="The Star Spangled Banner";
-       subtitle="The United States National Anthem";
-       poet="Text by Francis Scott Key";
-       composer="J. S. Smith";
-       arranger="Arranged by William J. Krauss";
-       enteredby="jcn";
-       copyright="public domain";
+       title="The Star Spangled Banner"
+       subtitle="The United States National Anthem"
+       poet="Text by Francis Scott Key"
+       composer="J. S. Smith"
+       arranger="Arranged by William J. Krauss"
+       enteredby="jcn"
+       copyright="public domain"
 }
 
 global =  \notes {
-  \time 3/4; 
-  \key d \major;
-  \partial 4;
+  \time 3/4 
+  \key d \major
+  \partial 4
 }
 
 staffBVoiceB =  \notes {
@@ -95,7 +96,7 @@ text =  \lyrics {
       % Ah, it seems that this context stops to exist just before
       % the :| barline is set, and doesn't see its width?
       % Ugly fix:
-      Whose broad \bar "|.";
+      Whose broad \bar "|."
     }
     \context LyricsVoice = "one-2" 
     { 
@@ -112,19 +113,19 @@ text =  \lyrics {
   }
 }
 
-\include "paper16.ly";
+\include "paper16.ly"
 
 \score{ 
        \context GrandStaff \notes < 
                \addlyrics
                \context Staff=upper <
                        \global
-                       \clef treble;
+                       \clef treble
                        \property Staff.automaticMelismata = ##t
                        \context Voice = one \transpose c'' {
                                \voiceOne
                                \staffBVoiceB
-                               \bar "|.";
+                               \bar "|."
                        } 
                        \context Voice = two \transpose c'' {
                                \voiceTwo
@@ -134,7 +135,7 @@ text =  \lyrics {
                \context LyricsVoice = "one-1" \text
                \context Staff=lower <
                        \global
-                       \clef bass;
+                       \clef bass
                        \property Staff.VoltaBracket = \turnOff
                        \context Voice = three {
                                \voiceOne
@@ -148,19 +149,19 @@ text =  \lyrics {
        >
        \paper{
                \paperSixteen
-               textheight = 230.\mm;
-               linewidth= 180.\mm;
+               textheight = 230.\mm
+               linewidth= 180.\mm
                \translator {
                        \GrandStaffContext
-                       \accepts "Lyrics";
+                       \accepts "Lyrics"
                }
                \translator {
                        \LyricsVoiceContext
-                       \consists "Bar_engraver";
+                       \consists "Bar_engraver"
                }
        }
        \midi {
-               \tempo 4 = 60;
+               \tempo 4 = 60
        }
 }
 
diff --git a/input/test/Cc-chords.ly b/input/test/Cc-chords.ly
new file mode 100644 (file)
index 0000000..b92cb37
--- /dev/null
@@ -0,0 +1,25 @@
+\header {
+  texidoc="Jazz chord names, but with lower case names for minor chords";
+}
+
+#(assoc-set! chord::names-alist-jazz
+  '((0 . 0) (2 . -1)) '(""))
+
+#(assoc-set! chord::names-alist-jazz
+   '((0 . 0) (2 . -1) (4 . 0) (6 . -1)) '("7"))
+
+#(define (pitch->chord-name-text-banter pitch additions)
+  (let ((name (pitch->text-banter pitch)))
+    (if (member '(2 . -1) (map pitch->note-name additions))
+       (cons (string-append
+              (string-downcase (substring (car name) 0 1))
+              (substring (car name) 1))
+              (cdr name))
+       name)))
+
+\score {
+  <
+    \property ChordNames.ChordName \set #'style = #'jazz
+    \context ChordNames \chords { c1 c:m c:m7 }
+  >
+}
index e56c69269e7a77c7b9d3608dab5d91c760d93c78..e9dfd27b88bbc7a81ba8f60d88c1ac3ba9665cac 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
 \notes\relative c''{
@@ -15,6 +16,6 @@ a\sf
 \paper{
 }
 \midi{
-\tempo 1 = 60;
+\tempo 1 = 60
 }
 }
index 07277383f7f3846efa01e64b130e713bb3a58fd2..1a5c061a2bcd3c2e18284acf73437882cd48def9 100644 (file)
@@ -1,13 +1,14 @@
+\version "1.3.146"
 %
 % TODO: what's this?
 %
 
 
 global =  \notes {
-       \key a \minor;
-       \time 6/4;
-%      \skip 1.*34;
-%      \bar ".|";
+       \key a \minor
+       \time 6/4
+%      \skip 1.*34
+%      \bar ".|"
 }
 
 melody =  \notes\relative c''{
@@ -40,14 +41,14 @@ accompany =  \notes \relative c{
                >
                \context Staff=down <
                        \global
-                       \clef bass;
+                       \clef bass
                        \autochange Staff \context Voice \accompany
                >
        >
 
        \paper {
-               indent = 8.\mm;
-               textheight = 295.\mm;
+               indent = 8.\mm
+               textheight = 295.\mm
 
                \translator{ 
                        \PianoStaffContext
@@ -56,10 +57,10 @@ accompany =  \notes \relative c{
                \translator{ 
                        \StaffContext
                        % don't auto-generate bars: not a good idea: -> no breakpoints
-                       % barAuto = "0";
+                       % barAuto = "0"
                        % urg defaultBarType = #""
                        defaultBarType = #"" 
-                       \remove "Time_signature_engraver";
+                       \remove "Time_signature_engraver"
 
                        Slur \override #'direction = #1
 
@@ -68,7 +69,7 @@ accompany =  \notes \relative c{
                }
        }
        \midi {
-               \tempo 4 = 54;
+               \tempo 4 = 54
        }
 }
 
index 884fafd8655a5a818a2e116e89a32f93438d0ec3..9faedd80b31fafc7eefd198e7b3bffb16ffca1bd 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
-    \time 3/4;
+    \time 3/4
        cisis'' cisis! cisis? |
        cis cis! cis? | 
        c c! c? |
index 3884b75747d7988bd8e31612c7cc7df064d6a3ba..4193ce765ac5c14d60427243967b665f48826f2a 100644 (file)
@@ -1,11 +1,12 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
-    c''4 c4 cis4 cis  [c8 c \clef "bass"; f,, f]
+    c''4 c4 cis4 cis  [c8 c \clef "bass" f,, f]
        
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index 43ef4c68451bf5b87fb65f647afad87e3cf4d73b..e3cca2fab9c1fbfd07abb9471fddf705da58c6f1 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header {
 texidoc= "Using make-music, you can add
 various stuff to notes. Here is an example
 how to add an extra fingering. 
 
 In general, first do a display of the music you want ot
-create, then write a function that will build the structure for you.";
+create, then write a function that will build the structure for you."
 } 
 
 #(define (make-script x) 
index 6adc6167d30042643222e73bcd743844b0c85120..10bc55226e99eac7bb92d2413b76334fe606e030 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %{
   See scm/chord-names.scm: chord::names-alist-american
@@ -8,7 +9,7 @@
 #(set! chord::names-alist-american
       (append 
       '(
-       ;; any changes here, see scm/chord-name.scm
+        any changes here, see scm/chord-name.scm
 
        )
       chord::names-alist-american))
index 608810ada40a02fddc4de821650ae49ab9d03e62..faa6ce1b702fe5025971ada3822efac53d189ccf 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 \header {
-    title      = "ancient font test";
-    date       = "2000";
+    title      = "ancient font test"
+    date       = "2000"
 }
 
 
@@ -19,36 +20,36 @@ upperVoice =  \context Staff = upperVoice <
        \property Voice.NoteHead \override #'style = #'mensural
        \property Voice.Stem \override #'stem-centered = ##t
        \property Staff.Custos \override #'style = #'vaticana
-       \clef "vaticana_fa2";
+       \clef "vaticana_fa2"
        c2 d e f g
 
 %      \property Staff.clefGlyph = #"clefs-vaticana_do"
 %      \property Staff.clefPosition = #1
 %      \property Staff.clefOctavation = #0 
-       \clef "vaticana_do2";
+       \clef "vaticana_do2"
 
        a b c'
        b a g f
-       \clef "vaticana_fa1";
-       e d c1 \bar "|";
+       \clef "vaticana_fa1"
+       e d c1 \bar "|"
 
        \property Staff.Custos \override #'style = #'medicaea
-       \clef "medicaea_fa2";
+       \clef "medicaea_fa2"
        c2 d e f g
-       \clef "medicaea_do2";
+       \clef "medicaea_do2"
        a b c'
        b a g f
-       \clef "medicaea_fa1";
-       e d c1 \bar "|";
+       \clef "medicaea_fa1"
+       e d c1 \bar "|"
 
        \property Staff.Custos \override #'style = #'hufnagel
-       \clef "hufnagel_fa2";
+       \clef "hufnagel_fa2"
        c2 d e f g
-       \clef "hufnagel_do2";
+       \clef "hufnagel_do2"
        a b c'
        b a g f
-       \clef "hufnagel_fa1";
-       e d c1 \bar "||";
+       \clef "hufnagel_fa1"
+       e d c1 \bar "||"
     }
 >
 
@@ -59,52 +60,52 @@ lowerVoice =  \context Staff = lowerNotes <
         \property Voice.NoteHead \override #'style = #'mensural
        \property Voice.Stem \override #'stem-centered = ##t
        \property Staff.Custos \override #'style = #'mensural
-       \clef "mensural1_c2";
+       \clef "mensural1_c2"
        c2 d e f g
         \property Staff.forceClef = ##t
-       \clef "mensural1_c2";
+       \clef "mensural1_c2"
        a b c'
        b a g f
-       \clef "mensural2_c2";
-       e d c1 \bar "|";
+       \clef "mensural2_c2"
+       e d c1 \bar "|"
 
-       \clef "mensural2_c2";
+       \clef "mensural2_c2"
        c2 d e f g
         \property Staff.forceClef = ##t
-       \clef "mensural3_c2";
+       \clef "mensural3_c2"
        a b c'
        b a g f
-       \clef "mensural3_c2";
-       e d c1 \bar "|";
+       \clef "mensural3_c2"
+       e d c1 \bar "|"
 
-       \clef "mensural1_f";
+       \clef "mensural1_f"
        c2 d e f g
         \property Staff.forceClef = ##t
-       \clef "mensural1_f";
+       \clef "mensural1_f"
        a b c'
        b a g f
-       \clef "mensural2_f";
-       e d c1 \bar "|";
+       \clef "mensural2_f"
+       e d c1 \bar "|"
 
         \property Staff.forceClef = ##t
-       \clef "mensural2_f";
+       \clef "mensural2_f"
        c2 d e f g
-       \clef "mensural_g";
+       \clef "mensural_g"
        a' b' c''
        b' a' g' f'
         \property Staff.forceClef = ##t
-       \clef "mensural_g";
-       e' d' c'1 \bar "|";
+       \clef "mensural_g"
+       e' d' c'1 \bar "|"
 
         \property Staff.forceClef = ##t
-       \clef "mensural_g";
+       \clef "mensural_g"
        c'2 d' e' f' g'
-       \clef "hufnagel_do_fa";
+       \clef "hufnagel_do_fa"
        a b c'
        b a g f
         \property Staff.forceClef = ##t
-       \clef "hufnagel_do_fa";
-       e d c1 \bar "||";
+       \clef "hufnagel_do_fa"
+       e d c1 \bar "||"
     }
 >
 
@@ -115,14 +116,14 @@ lowerVoice =  \context Staff = lowerNotes <
     >
     \paper {
 %      \paperTwentysix
-       linewidth = 17.25\cm;
-       textheight = 26.0\cm;
-       indent = 0.0;
+       linewidth = 17.25\cm
+       textheight = 26.0\cm
+       indent = 0.0
        \translator {
            \StaffContext
-           \consists Custos_engraver;
-%          Custos \override #'style = #'mensural;
-           \remove Time_signature_engraver;
+           \consists Custos_engraver
+%          Custos \override #'style = #'mensural
+           \remove Time_signature_engraver
 %          StaffSymbol \override #'line-count = #4
        }
     }
index 3d45eb331d3d2c4bd8340e5a0f7a4e1a97f8962a..39644dc10654928050fcabefb5e9f99162059833 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
-    \time 4/4;
+    \time 4/4
        g''1 a2 b4. c8
        
   }
index f26aebabb1354f88656382da49e835799ab3dc5a..6c669f3b5ffba619b16604a6929f52197c3bbf9d 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
-    \time 4/4;
+    \time 4/4
        g''1 a2 b4. c8
        \repeat "volta" 2 { a4 b c d } \alternative { { c c c c } { d2 d4 [d8 d] } }
        
index 71995c12dcaf13a283da2357026fd4af3f060173..48663627048a28ec05558719f258b5c52c8a265a 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 % test for ascii-art output
 
@@ -5,13 +6,13 @@
 
 \score {
        \notes\relative c'{
-               \time 4/4;
+               \time 4/4
                c8( e g )b
                d( d d )d
-               \bar "|.";
+               \bar "|."
        }
        \paper {
-               linewidth=65.0\char;
+               linewidth=65.0\char
                \translator { \StaffContext barSize = #9 }
                %\translator { \VoiceContext beamHeight = #0 }
                \translator { \VoiceContext beamHeight = ##f }
index d315c3957fd64f450316454b0bab11be63e613cb..0bf0d5aa91d23460e42c20523de52754da2301ff 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 
 
 \score{
    \notes\relative c''{
-     \time 4/8;
+     \time 4/8
 
 %{
     the default for 4/8 (see scm/auto-beam.scm)
index c99c614770df75d5faa7d66799e2be727513dc40..89400e23af3574fe98970d15036007d8dd8db326 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
@@ -15,7 +16,7 @@
        
 \score{
     \notes \relative c''{
-       \time 2/4;
+       \time 2/4
        % one beam per measure
        c8 c c c
        c16 c c c c c c c
index a8798b0bf37a86eda7f001d08978210d8475e87b..cfd3cfa4626948ec062bb0c84305062031f1cc33 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c''{
@@ -8,7 +9,7 @@
                % urg, avoid crash
                \translator{
                        \VoiceContext
-                       \remove Tuplet_engraver;
+                       \remove Tuplet_engraver
                }
        }
 }
index d24a1ff20d163a817c3fbf74c0cc6d6fb1eab427..e7d5ae9e1c63d848a88551316001e64876fbac75 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %{
   The auto-beam engraver has presets for common time signatures.
@@ -6,55 +7,55 @@
 \score{
     \notes \relative c''{
 %{
-       % urg: something breaks in grouping ; see input/bugs/time-grouping.ly
-       \time 1/2;
+       % urg: something breaks in grouping  see input/bugs/time-grouping.ly
+       \time 1/2
        c8 c c c
        c16 c c c c c c c
        c32 c c c c c c c c c c c c c c c
-       \time 1/4;
+       \time 1/4
        c8 c 
        c16 c c c
        c32 c c c c c c c
-       \time 1/8;
+       \time 1/8
        c8
        c16 c
        c32 c c c
 %}
-       \time 2/2;
+       \time 2/2
        c8 c c c c c c c
        c16 c c c c c c c c c c c c c c c
        c32 c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c
-       \time 2/4;
+       \time 2/4
        c8 c c c
        c16 c c c c c c c
        c32 c c c c c c c c c c c c c c c
-       \time 2/8;
+       \time 2/8
        c8 c
        c16 c c c
        c32 c c c c c c c
-       \time 3/2;
+       \time 3/2
        c8 c c c c c c c c c c c
        c16 c c c c c c c c c c c c c c c c c c c c c c c
-       \time 3/4;
+       \time 3/4
        c8 c c c c c
        c16 c c c c c c c c c c c
        c32 c c c c c c c c c c c c c c c c c c c c c c c
-       \time 3/8;
+       \time 3/8
        c8 c c
        c16 c c c c c
        c32 c c c c c c c c c c c
-       \time 4/4;
+       \time 4/4
        c8 c c c c c c c
        c16 c c c c c c c c c c c c c c c
        c32 c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c
-       \time 4/8;
+       \time 4/8
        c8 c c c
        c16 c c c c c c c
        c32 c c c c c c c c c c c c c c c
-       \time 6/8;
+       \time 6/8
        c8 c c c c c
        c16 c c c c c c c c c c c
-       \time 9/8;
+       \time 9/8
        c8 c c c c c c c c
        c16 c c c c c c c c c c c c c c c c c
     }
index 6bea16c5cef211fcbf9c1bde69d34f995b338a20..7ebbad9f0d3055475d9931a503ce29119fd13331 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 
 % bagpipe music.
 
 \header
 {
- title="Flower of Scotland";
+ title="Flower of Scotland"
 }
 
 \paper {
-  linewidth = 14.0 \cm;
-  indent = 0.0 \cm;
+  linewidth = 14.0 \cm
+  indent = 0.0 \cm
   \translator {
        \GraceContext
 
@@ -71,7 +72,7 @@ gcdg =  \notes{ \grace { [g'32 c d]}}
 
 % 
 \score {
-  \notes { \time 6/8; \partial 4;
+  \notes { \time 6/8 \partial 4
   \tieUp
   \slurUp
 f4 |
@@ -81,16 +82,16 @@ f4 |
 )e8 d4 \gg d4 e8 |
 
 \break
-\time 9/8;
+\time 9/8
 \dblf f2.( )f4 d8 |
-\time 6/8;
+\time 6/8
 \dblg g'4 a'8 \gg a'4. |
 \thrd d4.( )d4 \eg a8 |
-\time 9/8;
+\time 9/8
 \dble e4 \lag e8 \gg [e16 d8. e8] \gg f4 g'8 |
 
 \break
-\time 6/8;
+\time 6/8
 \gg f4 e8 \thrd d4. |
 \eg a4.( )a4 d8 |
 \dblg g'4 a'8 \gg a'4. |
index 1dcbe9077d369f39a287efc4f5f6db7edb020539..a79f52b0b8b27ea04466af6442719880be347a3d 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 
 \header{
-enteredby =     "jcn";
-copyright =     "public domain";
-TestedFeatures =        "Banter named chords";
+enteredby =     "jcn"
+copyright =     "public domain"
+TestedFeatures =        "Banter named chords"
 }
 
 % test German (Banter) naming
@@ -17,12 +18,12 @@ TestedFeatures =     "Banter named chords";
 
 % {
 
-#;(define chord::names-alist-banter '())
+#(define chord::names-alist-banter '())
 #(set! chord::names-alist-banter
       (append 
       '(
         (((0 . 0) (2 . -1) (4 . -1)) . (("m" ("5-" . (type . "super")))))
-       ; Co iso Cm5-7-
+        Co iso Cm5-7-
         (((0 . 0) (2 . -1) (4 . -1) (6 . -2)) . ("o" (type "super")))
        )))
 
index 3c1894780c0b400373c71c8fe4483af13a647054..013bd21e6877be8199c4f06ab02ccb211e17f366 100644 (file)
@@ -1,15 +1,16 @@
+\version "1.3.146"
 
 
 \score
 {
 \notes \relative c'' {
 c4
-\bar "|."; c
-\bar "|:";c
-\bar "||";c
-\bar ":|" ; c
-\bar ".|"; c
-\bar ".|."; c
-\bar "|";  c
+\bar "|." c
+\bar "|:"c
+\bar "||"c
+\bar ":|"  c
+\bar ".|" c
+\bar ".|." c
+\bar "|"  c
 } 
 }
index 26f96aabecd99797a9fb3618e334438fec89f1cd..a59c1c329624d07b17124c3539ee33ecd73f517d 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score {
@@ -6,7 +7,7 @@
 
 \translator{
        \StaffContext
-       \consists Bar_number_engraver;
+       \consists Bar_number_engraver
        barNumberVisibilityFunction = #end-of-line-invisible
 }
 }
index bf1d184a4b8edbfc76b7c177ac23e28fb1cb4bf8..4606a7146a407a817aefae1397d34768f5d7ec9e 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index ae67cfee1e2c0766a2f101aae1c7f9b57f5a1bef..2df51c0b506dc2b7fe7d72382058bdfbdd978f8b 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score{
@@ -13,6 +14,6 @@
        }
        \paper{
 
-               linewidth = 60.0\mm;
+               linewidth = 60.0\mm
        }
 }
index 1853cabe8b41fc9324c17646d6b06f109d951947..ce8f13e055af0d495587ceba50314bb503f08530 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index 8258679872986c53a14b08de7a17fbc5ff82254d..169d98cb79bc6fbd5e3a4ff0f77e982d9edb5586 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 fragment = \notes {
@@ -13,7 +14,7 @@ fragment = \notes {
   a g f
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 1cd572507f530413b90ecd09f4d003e94cbd3b25..9c0c67bc66457197d78f0a4069c9cd0a811f7431 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \score{
        \notes\relative c''{
 %              \stemUp
@@ -14,7 +15,7 @@
                [a b c d]
        }
        \paper{
-               linewidth=-1.;
+               linewidth=-1.
        }
 }
 
index ef044f8e2f821313557c049eb8add1cb69167ce0..faed716f6e46e7e690d951cf385828b14a9a609c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -17,7 +18,7 @@ We should see:
   up down down
 
   up up down
-";
+"
 }
 
 \score {
@@ -31,7 +32,7 @@ We should see:
     [d a]
     
     \property Voice.Beam \set #'dir-function = #beam-dir-majority
-    \time 3/8;
+    \time 3/8
     [d8 a a]
     \property Voice.Beam \set #'dir-function = #beam-dir-mean
     [d a a] 
index 613eec4d510c548ad499567573e316f1186e6bfb..5611939a61ea952559d85ef0b1291b57f2db152c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \header {
 texidoc = "
 
@@ -16,10 +17,10 @@ examples:
 
 These beam direction functions are defined in @file{scm/beam.scm}.  If
 your favourite algorithm isn't one of these, you can hook up your own.
-";
+"
 }
 
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
 \score { \notes \relative c { 
   [d''8 a]
   \property Voice.Beam \set #'dir-function = #beam-dir-mean
@@ -28,7 +29,7 @@ your favourite algorithm isn't one of these, you can hook up your own.
   [d a]
 }}
 \score { \notes \relative c {
-  \time 3/8;
+  \time 3/8
   [d''8 a a]
   \property Voice.Beam \set #'dir-function = #beam-dir-mean
   [d a a] 
index 1dd3dc9fb80e6b5b1ea07f7e8675b17daa6cf18d..be2b33de83115abdf0a6a2df21c8f4461e373015 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index a3a7e4dc1d2755e6a796b765a5aa44352c992243..f12c3feff4c1fb519ec458420e452d8d63c99f1a 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \score{
        \context PianoStaff <
        \context Staff=one \notes\relative c'{
                s1
        }
        \context Staff=two \notes\relative c'{
-               \clef bass;
+               \clef bass
 % no knee
                \stemUp [c8 \translator Staff=one \stemDown g'16 f]
                s8
@@ -12,7 +13,7 @@
        }
        >
        \paper{
-               linewidth=-1.;
+               linewidth=-1.
        }
 }
 
index 41187d8aa21c28c4e95114bf533a5a34e8bdf900..2e41028339574c8d2335f32c13f1d1f9b8a706a4 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 fragment = \notes {
@@ -6,7 +7,7 @@ fragment = \notes {
   [b b]
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 3bb6876830f55e14a74a28797385e709c4a15a19..14b92742d8ef05abb28cdf705f8ece07b073ecca 100644 (file)
@@ -1,11 +1,12 @@
+\version "1.3.146"
 
 \header{
-filename =      "beam-pos.ly";
-composer =      "jcn";
-enteredby =     "jcn";
-copyright =     "PD";
+filename =      "beam-pos.ly"
+composer =      "jcn"
+enteredby =     "jcn"
+copyright =     "PD"
 
-TestedFeatures =        "beam quant positions";
+TestedFeatures =        "beam quant positions"
 }
 
 \score{
index 19c49223533577329c72bfc1eaf025fc0ca38b88..33726b736c88e1f4e1f8b38c2c57275571fccffd 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 fragment = \notes {
@@ -6,7 +7,7 @@ fragment = \notes {
   [c'8 c]
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index e608a71addbf1c587bbd111b0517e85545fac017..977ed5b283db1c92323d89d86789674767d0bf87 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %{
 Have some fun beam quanting
index bcdfe5b9521785b91bb1ec1f8755ce8982e1ca81..7cf4b81c299428c17d512df4d70082f05ef38b30 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Beams over rests.
-";
+"
 }
 
 \score{
@@ -13,6 +14,6 @@ Beams over rests.
     }
 
     \paper{
-        linewidth =-1;
+        linewidth =-1
     }
 }
index a31582b76afd26048431df2bdb8113ff61a04451..02a358846362c8df6130f617218294d23f7cfa9d 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 fragment = \notes {
@@ -6,7 +7,7 @@ fragment = \notes {
   [a''8 e' d c]
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index e29d27780d09c307b8407fd5cf6b8c25784518e9..c3aecc05a2f34964a84296d957f1d9033eaea225 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c'{
@@ -12,6 +13,6 @@
                [g16 a b c]
        }
        \paper{
-               linewidth=-1.;
+               linewidth=-1.
        }
 }
index 16814d8605acfbd6929486fc40ab8ef26050b746..bd3e4624bf7418f5e64cc8f8f3eafa5684655c70 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c'{
@@ -5,6 +6,6 @@
                [f8 a' g f]
        }
        \paper{
-               linewidth=-1.;
+               linewidth=-1.
        }
 }
index 54c1accf0705a5915007aea2baf2d45d4e7e049b..04944edf288a7d9f543ad3b53cdd49d895112c59 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c''{
@@ -7,6 +8,6 @@
                [g16 e f g]
        }
        \paper{
-               linewidth = -1.;
+               linewidth = -1.
        }
 }
index 1f082c0b5a65f2b7abfa7e5615a44721f038f007..368fe3e8087defaa1fcd67f8c5e4095379a836f3 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes \relative c''{
@@ -19,7 +20,7 @@
 
        }
        \paper{
-               indent = 0.0;
-               linewidth = 60.0\mm;
+               indent = 0.0
+               linewidth = 60.0\mm
        }
 }
index c1172a46c61a6b363940de47ca9ee621b94c1594..0c965477724917b6015aaa2fa5915ce69201a6c7 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header{
-filename =      "beams.ly";
-composer =      "heu";
-enteredby =     "jcn";
-copyright =     "PD";
+filename =      "beams.ly"
+composer =      "heu"
+enteredby =     "jcn"
+copyright =     "PD"
 
-TestedFeatures =        "beams and beamflags";
+TestedFeatures =        "beams and beamflags"
 }
 
 
@@ -14,7 +15,7 @@ TestedFeatures =       "beams and beamflags";
                \context GrandStaff < 
                \notes\transpose c' { 
 
-                       \time 8/4;
+                       \time 8/4
                        \stemUp [c8 c'' a' f']
                        \stemUp [c16 c'' a' f']
                        \stemUp [c32 c'' a' f']
@@ -40,7 +41,7 @@ TestedFeatures =       "beams and beamflags";
        <       
                \notes { 
 \transpose c' {
-                       \time 8/4;
+                       \time 8/4
                        \stemDown [a'8 a, c e]
                        \stemDown [a'16 a, c e]
                        \stemDown [a'32 a, c e]
index 1dc8cb0fd3ccd194c5ff316ca7c45c3ce68b16c9..e4b660d41d09a4326417ba9c21cf1dc2aa63b802 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \header {
 
 texidoc = "overriding the molecule callback can also be used to draw a
@@ -5,7 +6,7 @@ texidoc = "overriding the molecule callback can also be used to draw a
 
  TODO: check whether the corners are really correct.
  
- ";
+ "
 }
 #(define (box-molecule xext yext)
   (ly-make-molecule
index 597e2e6163a4d9dbba2fbc86aa95d342a5f794e9..348d88e6e8ccb38608684cfe9b127790dbc56ee7 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
            a,
 
        }
-       \context Staff=two { \clef bass; \skip 1*2; }
+       \context Staff=two { \clef bass \skip 1*2 }
     >
     \paper{
-        linewidth = 70.\mm;
+        linewidth = 70.\mm
        \translator {
            \ScoreContext
            followVoice = ##t
index 38387f31fb455326e96fe02a7cfec57c9866cdfd..fe4c519149a4606967e1a52a32a4a9ad973cda3d 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 \header{
-enteredby =     "jcn";
-copyright =     "PD";
+enteredby =     "jcn"
+copyright =     "PD"
 TestedFeatures =        "This file tests Feta embedded slurs" +
-        "(Feta definitively is not an abbreviation of Font-En-TjA)";
+        "(Feta definitively is not an abbreviation of Font-En-TjA)"
 }
 
 
@@ -35,9 +36,9 @@ broken =  \notes\transpose c''{
                \broken
        }
        \paper{ 
-             indent = 0.0\pt;
+             indent = 0.0\pt
                %for broken!
-               linewidth= 30.\mm;
+               linewidth= 30.\mm
 
        }
 }
index fc2ec02d081e03a3193f8e9a38ac2563069ffce2..81e3caff17134f5194f749e6f56f9d029850fcad 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 \header {
 texidoc =  " Small caps is available as font-shape caps.
 
-       "; }
+       " }
 shapeSC   = \property Lyrics.LyricText \override #'font-shape = #'caps
  shapeNorm = \property Lyrics.LyricText \revert   #'font-shape
 
@@ -9,5 +10,5 @@ shapeSC   = \property Lyrics.LyricText \override #'font-shape = #'caps
  \notes \relative c'' { c4 c4 c8 c8 }
 \lyrics \context Lyrics { 
   what4 is4 \shapeSC Bud8 -- dha?8 }>
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
   }
index f7552843bba379b3ffc2ad204cd8b5d45df24135..ffa0647b5b75fe8a3de4058d4d5303238d8c8a0a 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 \header{
 texidoc="property chordChanges: only display chord names when
 there's a change in the chords scheme, but always display the
 chord name after a line break.
-";
+"
 }
 
 scheme = \chords {
@@ -18,7 +19,7 @@ scheme = \chords {
     \context Staff \transpose c'' \scheme
   >
   \paper{
-    linewidth = 40 * \staffspace;
+    linewidth = 40 * \staffspace
     \translator {
       \ChordNamesContext
       chordChanges = ##t
index 4794dc55fd83be1490c869dc2f9138e7bf0fe7a5..986d99506ab68e35cad466c5dad08a16cbb2bbc7 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 \header{
-enteredby =     "jcn";
-copyright =     "public domain";
-TestedFeatures =        "chord inversions";
+enteredby =     "jcn"
+copyright =     "public domain"
+TestedFeatures =        "chord inversions"
 }
 
 inversions =  \notes\transpose c''\chords{
index fdb855e3ce676449b031a999635522e0d0e7baf2..1eaf987daeba15c1dde2684c933cb1556108b63b 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 \header{
-filename =     "chord-table.ly";
-copyright =    "public domain";
-enteredby =    "jcn";
+filename =     "chord-table.ly"
+copyright =    "public domain"
+enteredby =    "jcn"
 }
 
 tab =  \notes\transpose c'''\chords{
@@ -36,7 +37,7 @@ tab =  \notes\transpose c'''\chords{
                \context ChordNames=b \notes\transpose b,\tab
        >
        \paper{
-               textheight = \vsize - 4.0 * \staffheight;
+               textheight = \vsize - 4.0 * \staffheight
        }
 
 }
index 14669e7a00a57eac85829636b06710dd5d000a3a..c78316464e4e536fa35791937a276340253dbad2 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 %{
@@ -7,12 +8,12 @@ Would this be acceptable/good enough/convenient for entry?
    
    C#                     cis
    Cb                     ces
-   Cm; Cmin               c:3-; c:m; c:min
-   Caug                   c:5+; c:aug;
-   Cdim                   c:3-.5-; c:dim
-   Cmaj7                  c:7+; c:maj
+   Cm Cmin               c:3- c:m c:min
+   Caug                   c:5+ c:aug
+   Cdim                   c:3-.5- c:dim
+   Cmaj7                  c:7+ c:maj
    C7                     c:7
-   Csus; Csus4            c:4; c:sus
+   Csus Csus4            c:4 c:sus
 
 %}
 
@@ -37,21 +38,21 @@ keys =  \notes{
                 s1 s1 s1
                 s1 s1
                 s1
-                \key g \major; s1
-                \key d \major; s1 
-                \key a \major; s1 
-                \key e \major; s1 
-                \key b \major; s1 
-                \key fis \major; s1
-                \key c \major; s1 
-                \key f \major; s1 
-                \key bes \major; s1
-                \key es \major; s1
-                \key as \major; s1
-                \key des \major; s1
-                \key ges \major; s1
-                \key c \major; s1*2
-                \key c \major; s1*6
+                \key g \major s1
+                \key d \major s1 
+                \key a \major s1 
+                \key e \major s1 
+                \key b \major s1 
+                \key fis \major s1
+                \key c \major s1 
+                \key f \major s1 
+                \key bes \major s1
+                \key es \major s1
+                \key as \major s1
+                \key des \major s1
+                \key ges \major s1
+                \key c \major s1*2
+                \key c \major s1*6
        }
 
 \score{
index 7f6af2578c081d453dae281ee6d4385289adaac7..15a9a75d0f3233f0ba580322a10f53a82cde484d 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
-\clef "bass_8"; c4
+\clef "bass_8" c4
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index 9518c931bb3939aab31212d8c33516a9c299f942..2239acad07767d75318054826c08c3a1b571719f 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % The volta texts should read: 1-4  and  5
 % Not 1 and 2
 % (see 1.2.17)
@@ -55,4 +56,4 @@ Hi,
 }
 
 
-%; 
+% 
index 2d53c3d00b094e6957945f543b9108a9f92e8c16..6fb616823ccf6cca1b449da5e4c3dee13106f0f5 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index 39bf14ef69fe45dd2320b162df1262a7fbb6cfb6..6f5b0e20de2165a47e30cc34354bf7b4a136885a 100644 (file)
@@ -1,26 +1,27 @@
+\version "1.3.146"
 
 
 % Ugh, we need to override some LaTeX titling stuff
 \header {
-  title =      "Ouvertüre\\vrule width0pt height 0pt depth 1ex";
-  subtitle =   "\\normalsize Zu Heinrich Joseph v. Collins Trauerspiel\\vrule width0pt height 0pt depth 1ex";
-  subsubtitle =        "\\Large\\bf Coriolan";
-  opus =  "Op. 62";
-  piece = "\\hspace*{30mm}\\normalfont\\large Allegro con brio";
-  composer =    "Ludwig van Beethoven (1770-1827)";
-  enteredby =   "JCN";
+  title =      "Ouvertüre\\vrule width0pt height 0pt depth 1ex"
+  subtitle =   "\\normalsize Zu Heinrich Joseph v. Collins Trauerspiel\\vrule width0pt height 0pt depth 1ex"
+  subsubtitle =        "\\Large\\bf Coriolan"
+  opus =  "Op. 62"
+  piece = "\\hspace*{30mm}\\normalfont\\large Allegro con brio"
+  composer =    "Ludwig van Beethoven (1770-1827)"
+  enteredby =   "JCN"
 }
 #(define raisedflat '((raise . 0.4) (music (named "accidentals--1"))))
 
 flauti = \notes \relative c' {
   \property Staff.instrument   = #"2 Flauti"
   \property Staff.instr                = #"Fl."
-  \time 4/4;
+  \time 4/4
   c1 
   \break c
 %  \break c
 %  \break c
-  \bar"|.";
+  \bar"|."
 }
 
 oboi = \notes \relative c' {
@@ -106,7 +107,7 @@ violoncello = \notes \relative c' {
     \context StaffGroup ="timpani" <
       \context Staff ="timpani" \timpani
      { 
-       \skip 1; 
+       \skip 1 
        % Hmm: this forces a staff-bracket, that's good!
        % However, I can't find where is decided on staff-bracket yes/no
      }
@@ -122,8 +123,8 @@ violoncello = \notes \relative c' {
   >
   \paper {
        \paperSixteen
-       indent=100.0\mm;
-       linewidth=150.0\mm;
+       indent=100.0\mm
+       linewidth=150.0\mm
     \translator {
       \HaraKiriStaffContext
     }
index ba7238f6e0f7e95d1fdcb081da7ef5a3bc738e63..846fee70970a600ff421ee330beb1e6ad93d7bae 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
 \notes\relative c''{
@@ -11,6 +12,6 @@ a\< \!a
 \paper{
 }
 \midi{
-\tempo 1 = 60;
+\tempo 1 = 60
 }
 }
index fea7996def7af5afa3a36ba8ceb699cc89a4509d..9aa29f76ffdbc5b933160a0d4dd45d633a3e8691 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 fragment = \notes {
@@ -8,7 +9,7 @@ fragment = \notes {
   }
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 1694b42c08f8867740e78938c391e2837d7c3cda..d4cf5b5f3d1462b701ad7e42b13a77d1cadd762f 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
@@ -6,29 +7,29 @@
 \paper {
        CueVoiceContext = \translator {
             \VoiceContext
-            \name CueVoice;
+            \name CueVoice
             NoteHead \override #'font-relative-size = #-1
             Stem \override #'font-relative-size = #-1
             Beam \override #'font-relative-size = #-1
             TextScript \override #'font-relative-size = #-1
             Slur \override #'font-relative-size = #-1
             Accidentals \override #'font-relative-size = #-1
-       };
+       }
        \translator{ \CueVoiceContext }
        StaffContext = \translator{\StaffContext
-               \accepts "CueVoice";
-       }; 
+               \accepts "CueVoice"
+       } 
 }
 
 \paper {
     StaffContext = \translator{
        \StaffContext
-       \remove "Time_signature_engraver";
-    };
+       \remove "Time_signature_engraver"
+    }
     \translator { \StaffContext }   
     \translator{
       \VoiceContext
-      \remove "Auto_beam_engraver";
+      \remove "Auto_beam_engraver"
      }
      \translator {
          \ScoreContext
index 4de138736b606a8257a9b8aded3001da183f0d71..da22f529ce1342e504434ffe73a3e427bdc03a80 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 
 \score { \notes { c'1 \break < d'1 f' a'>  }
 \paper {\translator { \StaffContext
-\consists Custos_engraver;
+\consists Custos_engraver
 }}
 
 }
index 5aeb134b12dea8f6cd218b1f39bb21f47940612a..2bbfff601a10bf6926997768fba50e1f397bb553 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header { texidoc = "
 The direction of a perfectly centred beams can be
 controlled through @code{Voice.Beam}'s grob-property
 @code{default-neutral-direction}
-";}
+"}
 
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
 \score {\notes \relative c {
   [b''8 b]
   \property Voice.Beam \set #'default-neutral-direction = #-1
index 9bbc4502f5f8c779aa3b26e36f7d6a4e4b03134b..b3af46fc60e2ca29034149b91e3b5d1f2d0a169f 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
index b4a04ae5e209b0b5e88ff7025d635b07ef94babc..f665ead287068fe1f7c51e8c14a331a6f0c4295d 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 % barline spacing  disrupts visual rhythm.
     >
 
     \paper{
-       linewidth = -1.0\cm;
+       linewidth = -1.0\cm
        \translator{
            \ScoreContext
            BreakAlignment \override #'space-alist = #nbal
-           \remove Timing_engraver;
+           \remove Timing_engraver
        }
        \translator{
            \StaffContext
-           \consists Timing_engraver;
+           \consists Timing_engraver
        }
     }
 }
index eaed7652f6d1cf9ddb09a3c9a478f97bb286baea..070d7aa243bfd5271b4d62c1f886ec8e0b5a65cf 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 
 % a few 32nds shouldn't stretch spacing enormously.
 \score {
-\notes { \time 3/4;
+\notes { \time 3/4
 \relative c'{ 
   g'8. c16 es8. d16 c8. bes32 as g8. c,16
   es4 r8 es |
@@ -11,5 +12,5 @@
 }
 
 }
-\paper  { linewidth = -1.0; }
+\paper  { linewidth = -1.0 }
 }
index 663856a909ba2b1a80c5120ecfee40d3dac26f38..2dfb0c732d69f6e2accd69c36990f59b2431c705 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 Slurs can be forced to always attach to note heads.
-";
+"
 }
 
 fragment = \notes {
@@ -11,7 +12,7 @@ fragment = \notes {
   g''16()g()g()g()d'()d()d()d
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 8d16f8b42098fe9baf8388b7bd1d447da5bcdbf1..f6ac17c1838896036f993bdd7ffadac7a3983025 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \score {
   \context Staff \notes <
-    \time 3/8;
+    \time 3/8
     \context Voice=one \relative c'' {
       \property Voice.Stem \set #'direction = #1
       \property Voice.Tie \set #'direction = #1
@@ -17,5 +18,5 @@
       a8()a~a  
     }
   >
-  \paper { linewidth = 40*\staffspace; } 
+  \paper { linewidth = 40*\staffspace } 
 }
index ae4ac8148781dcbeb062fc81066b21f7696699cc..4285d18bfbef26908ac771690d1b6970c59e1a60 100644 (file)
@@ -2,9 +2,9 @@
 % see ly/drumpitch.ly for list of instruments and paper-kits.
 %     scm/midi.scm for list of midi-drumkits.
 
-\include "drumpitch.ly";
+\include "drumpitch.ly"
 
-\version "1.3.142"
+\version "1.3.146"
 
 drh = \notes { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
 drl = \notes {\repeat "unfold" 3 {bd4 sn8 bd bd4 <bd ss>} bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
@@ -14,12 +14,12 @@ timb = \notes \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8
  <
   \context TwoLineStaff=timbst \notes <
     \property Staff.instrument="timbales"
-    \clef "percussion";
+    \clef "percussion"
     \apply #(drums->paper 'timbales) \timb
   >
   \context Staff=drumst \notes <
     \property Staff.instrument="drums"
-    \clef "percussion";
+    \clef "percussion"
     \apply #(drums->paper 'drums) <
       \context Voice=voa {\stemUp \drh }
       \context Voice=vob {\stemDown \drl }
@@ -29,20 +29,20 @@ timb = \notes \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8
  \paper {
    \translator {
       \StaffContext
-      \consists Instrument_name_engraver;
+      \consists Instrument_name_engraver
       Script \override #'padding = #0.5
    }
    \translator {
       \StaffContext
-      \name TwoLineStaff;
-      \alias Staff;
-      \consists Instrument_name_engraver;
-      StaffSymbol \override #'line-count = #2;
-      BarLine \override #'bar-size = #2;
+      \name TwoLineStaff
+      \alias Staff
+      \consists Instrument_name_engraver
+      StaffSymbol \override #'line-count = #2
+      BarLine \override #'bar-size = #2
    }
    \translator {
       \ScoreContext
-      \accepts TwoLineStaff;
+      \accepts TwoLineStaff
    }
  }
 }
@@ -54,6 +54,6 @@ timb = \notes \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8
     \drh
     \drl
   >
-  \midi{ \tempo 4=120; }
+  \midi{ \tempo 4=120 }
 }
 
index 8134fb9cbe83a61433612a78633352998d2fb939..c637cb22535b626d39ba22c8d5455033c4ca6dc9 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %non of the dynamics properties work anymore
 
index 557c9ba403cafa62adacd5a493f3e9469ad01e84..fdc58b04c275d5ce8a85f3448c14226d0a16867f 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 \header {
   texidoc = "By inserting the @TeX{} command \embeddedps, you can
 insert postscript directly into the output.
 
 TODO: make molecule-callback to do this. 
-  ";
+  "
 }
 
 \score {
@@ -14,5 +15,5 @@ TODO: make molecule-callback to do this.
     s2
     a'1
   }
-  \paper { linewidth = 70 * \staffspace; }
+  \paper { linewidth = 70 * \staffspace }
 }
index 977b3adfce7506ac56fc24aa6e67e25e9c7a3e84..58b327d7fc5dbe8333db3b32bf45222007303e70 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 #(begin (newline)(display "hello world")(newline))\score{
        \notes\relative c'{ c }
index 8a6e0465b62f8e7cc3861f154cf65f7fd13e8994..6acd414dc11f85ae7d9e2cde7515772e3c1f9b69 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 
 
 fragment = \notes {
   a''^"3 $\\times$ \\`a deux"
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 68533109b896f150a99d30809d8b8ab2949112c7..6e7657fcba308e311a52efaa98364d667d0a941e 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 %
 % TODO: junkme.
 %
@@ -109,7 +110,7 @@ violoncello = \notes \relative c' {
     \context StaffGroup ="timpani" <
       \context Staff ="timpani" \timpani
      { 
-       \skip 1; 
+       \skip 1 
        % Hmm: this forces a staff-bracket, that's good!
        % However, I can't find where is decided on staff-bracket yes/no
      }
@@ -124,24 +125,24 @@ violoncello = \notes \relative c' {
     >
   >
  \header{
-               title = "Coriolan";
-               subtitle = "Ouverture"; 
-               opus = "Opus 62";
-               composer = "Ludwig van Beethoven (1770-1827)";
-               enteredby = "JCN";
-               copyright = "public domain";
+               title = "Coriolan"
+               subtitle = "Ouverture" 
+               opus = "Opus 62"
+               composer = "Ludwig van Beethoven (1770-1827)"
+               enteredby = "JCN"
+               copyright = "public domain"
        }
 
   \paper {
        \paperSixteen
-       indent=100.0\mm;
-       linewidth=150.0\mm;
+       indent=100.0\mm
+       linewidth=150.0\mm
     \translator {
       \HaraKiriStaffContext
     }
   }
   \midi {
-       \tempo 1 = 60;
+       \tempo 1 = 60
   }
 }
 
index 7757a93caa7457c82a14c5f30cbd987ad696f5c1..4b42442650c6f24b415effc714d79905493fbaa4 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 
 \header{
-texidoc="Explicit pitches and durations.";
+texidoc="Explicit pitches and durations."
 }
 \score {
   \notes {
index 83d986483c256e94a32bfb011217f362cd0392ae..be86a4b1212a6baf6e1bef8d052477d886619e35 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 %{
 (Message vers:9)
 To: Adrian Mariano <adrian@cam.cornell.edu>
@@ -33,7 +34,7 @@ extra-staff.ly:
                }
        >
        \paper {
-               linewidth = -1.;
+               linewidth = -1.
                \translator{
                        \ScoreContext
 
index cebfdf4fb2890a6e0dc164fa1b9bac62cbf01d5c..de17c2aae1ca43f73bb87b0dac10d5dba18c5ca6 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \score { 
   \context Voice \notes\relative c {
     % to see the magic: uncomment size stuff in init/paper20.ly
index 0f6368114dda0454041d64520413a1d8f6b2a545..c087742691136c959ebbbbbe37f8223d3b5c83ec 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % Example of figured bass, using text scripts.
 % (An alternative is to use a lyrics line if you want the figures
 % aligned vertically.)
@@ -14,7 +15,7 @@
 
 \score{
   \notes \relative c'{
-    \clef bass;
+    \clef bass
 
       c^"5" d^#natural g,^"7 6" [a8 e] |
       fis4^"7 6" [g8 d] e4^"7 6" [f?8 c] |
index 1d949a51461d58c325b2b6e8a0417e01d41a533e..f76f82427988b68281b92c7ca19e87c38bc3fb53 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %
 % test file to get a4 paper really filled,
 % at a reasonably (small) value.  -- jcn
 %
 \header{
-tagline="Ligly";
+tagline="Ligly"
 }
-\include "paper13.ly";
+\include "paper13.ly"
 \score{
        \context Voice \notes\relative c'{
-               \clef alto;
+               \clef alto
                \repeat "unfold" 36 c1
        }
        \paper{
                \paperThirteen
-               indent = 0.0\mm;
+               indent = 0.0\mm
                % URG
                % Vertical space is rather precious when typesetting
                % music.  But we can only set textheight here, and must
@@ -27,9 +28,9 @@ tagline="Ligly";
                % footers.  If we want a header or footer on some page,
                % all other pages suffer shortened `textheight'.
                % Try the maximum for a4, without loosing footers:
-               textheight = 297.0\mm - 7.0\mm;
-               papersize = "a4";
-               linewidth = 15.0\mm;
+               textheight = 297.0\mm - 7.0\mm
+               papersize = "a4"
+               linewidth = 15.0\mm
                \translator {
                        \StaffContext
                        MinimumVerticalExtent = #(cons 0 0)
index 38095ef78bc34dfe7663565c36964f637a10db57..eb238d59a0b20c67a46b7ea8e6ec46d949778295 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
@@ -5,4 +6,4 @@
 \notes \context Voice = VA \relative c'' {
        \grace {[b8^1 c^2]} d4^3
 }
-\paper {linewidth = -1. ; }}
+\paper {linewidth = -1.  }}
index 2771cb871b310aeb826525fca90f882de4d3e264..aa9de31a8c8d9d39bef874410727b0295f3ee71a 100644 (file)
@@ -3,10 +3,10 @@
 texidoc="
 Theads can be traced automagically when they switch staffs by setting
 property @code{followVoice}.
-";
+"
 }
 
-\version "1.3.139"
+\version "1.3.146"
 % followVoice: connect note heads with line when thread switches staff 
 
 fragment = \notes {
@@ -18,11 +18,11 @@ fragment = \notes {
       \translator Staff=two
       b2 a
     }
-    \context Staff=two {\clef bass; \skip 1*2;}
+    \context Staff=two {\clef bass \skip 1*2}
   >
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 157531acbacccb93b325fbc0a2442fb3df3d4084..2907ad66b9c936ac118f8a6a08832263ae761846 100644 (file)
@@ -1,17 +1,18 @@
+\version "1.3.146"
 
 % body for the font test. Does not work standalone
 
 
 FontBody=      \notes\transpose c''{ 
-               \bar "|:";
-               \time 4/4;
+               \bar "|:"
+               \time 4/4
                \context Staff  < \context Voice = VB { \stemUp e'\longa a\breve | }
                \context Voice = VA { \stemDown
-               c1 \clef "bass"; b,, \clef "violin"; c' a'
-               c2 \clef "alto"; g c' \clef "violin"; a'
+               c1 \clef "bass" b,, \clef "violin" c' a'
+               c2 \clef "alto" g c' \clef "violin" a'
                } >
                \stemBoth
-               c4 g c' a' \bar ":|";
+               c4 g c' a' \bar ":|"
                a\ppp-\upbow a\pp-\downbow a\p^\turn a\mp^\fermata |
                a\mf_\fermata a\f-\stopped a\ff-\open a\fff^\trill|
                a\fp-\reverseturn a4.\sf a4.\sfz |  a4\fz % a\rf
@@ -19,13 +20,13 @@ FontBody=   \notes\transpose c''{
                [c8-\upprall a'8-\downprall] [a'-\segno c-\coda] |
                [c \< d e f] [as' ges' f' e']
                [cis' dis' c' des'] [cisis' disis' \! ceses' deses'] |
-               \clef "bass";
+               \clef "bass"
                  r\longa * 1/4 r\breve *1/2
                  r1 r2 r4 r8 r16 r32 r64 r128 r128 |
                \context Staff < \context Voice = VA { \stemUp r2 c'2 c,,,1 }
                                \context Voice = VB {\stemDown r2 c2  r1 }>
                        \stemBoth
-               \clef "violin";
+               \clef "violin"
                e8_. g'8-> e16^^ g'16_^ 
                e32 _| g'32^| g''32-\ltoe g''32-\lheel
                e64-\rtoe g'64-\rheel c4... |
@@ -38,7 +39,7 @@ c\longa*1/4 c\breve*1/2 c1 c2 c4 c8
                        \property Voice . noteHeadStyle = #'harmonic
 
                \transpose c'{
-                       \time 4/4;
+                       \time 4/4
                        \property Voice . TextScript \override #'font-style =  #'Finger
                        \property Voice . noteHeadStyle = #'diamond
                        c1^"1" d2^"2" e4^"3"
@@ -52,17 +53,17 @@ c\longa*1/4 c\breve*1/2 c1 c2 c4 c8
 
                        a'^\flageolet
                        \property Voice . TextScript \override #'font-style =  #'roman
-                       \time 1/2; a2 |
-                       \time 3/2; < a1.
+                       \time 1/2 a2 |
+                       \time 3/2 < a1.
                        { s4 \ppp \< s4 \! s4 \fff  s4 \> s4 \! s4\ppp} >
                        |
-                       \time 2/4; a2 |
-                       \time 5/4; a1.. |
-                       \time 6/8; a2. |
-                       \time 7/8; a2.. |
-                       \time 9/8; a1... |
-                       \time 12/8; a1. |
-                       \time 12/4;
+                       \time 2/4 a2 |
+                       \time 5/4 a1.. |
+                       \time 6/8 a2. |
+                       \time 7/8 a2.. |
+                       \time 9/8 a1... |
+                       \time 12/8 a1. |
+                       \time 12/4
                        r1. r2. r4. r8. r16. r32. r64. r64. |
                        c2\sustainDown c\sustainUp |
                }
index c978c0aa9932296eb2b8700ab082c2e252d7c39f..46a9b27ba3d881ffe746fda89922550329bd2c0b 100644 (file)
@@ -1,12 +1,13 @@
+\version "1.3.146"
 
 
 \header{
-title= "The Feta Font";
-subtitle = "proofsheet"; 
-enteredby =     "jcn & hwn";
-copyright =     "public domain";
-description = "This file tests the Feta music font, 11pt";
-% "(Feta definitively is not an abbreviation of Font-En-TjA)";
+title= "The Feta Font"
+subtitle = "proofsheet" 
+enteredby =     "jcn & hwn"
+copyright =     "public domain"
+description = "This file tests the Feta music font, 11pt"
+% "(Feta definitively is not an abbreviation of Font-En-TjA)"
 }
 
 
@@ -16,7 +17,7 @@ description = "This file tests the Feta music font, 11pt";
        \FontBody
        \paper{
            \paperEleven
-           linewidth = 17.5 \cm;
+           linewidth = 17.5 \cm
 
        }
 }
index 47e38188f7bd098ba465d660f8900e7e21107c35..a01a0a959e2fb2f98f94129b4085e4c8b1f3666a 100644 (file)
@@ -1,16 +1,17 @@
+\version "1.3.146"
 \header{
-title= "The Feta Font";
-subtitle = "proofsheet"; 
-enteredby =     "jcn & hwn";
-copyright =     "public domain";
-description = "This file tests the Feta music font, 11pt";
-% "(Feta definitively is not an abbreviation of Font-En-TjA)";
+title= "The Feta Font"
+subtitle = "proofsheet" 
+enteredby =     "jcn & hwn"
+copyright =     "public domain"
+description = "This file tests the Feta music font, 11pt"
+% "(Feta definitively is not an abbreviation of Font-En-TjA)"
 }
 
 
 \include "paper13.ly"
 \paper{
-linewidth = 17.5 \cm;
+linewidth = 17.5 \cm
 }
 \include "font-body.ly"
 
index 9ef98f46e4be1bd65a10a86eebea8063945953eb..cf204945e0fdbf865d3d3cc2d33bbd49a922763d 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header{
-title= "The Feta Font";
-subtitle =  "proofsheet"; 
-enteredby =     "jcn & hwn";
-copyright =     "public domain";
-description =  "This file tests the Feta music font";
-% "(Feta definitively is not an abbreviation of Font-En-TjA)";
+title= "The Feta Font"
+subtitle =  "proofsheet" 
+enteredby =     "jcn & hwn"
+copyright =     "public domain"
+description =  "This file tests the Feta music font"
+% "(Feta definitively is not an abbreviation of Font-En-TjA)"
 }
 
 
@@ -13,6 +14,6 @@ description =  "This file tests the Feta music font";
            % don't change this.
            % otherwise 16pt and 20pt layouts differ.
            
-           linewidth = 12.5 \cm;}
+           linewidth = 12.5 \cm}
            
            \include "font-body.ly"
index 7ee14b33d441d7be1cee6de6e88c84d12b83878e..f3a46a2aae6501e0634a6f6d8537aa07abb2df24 100644 (file)
@@ -1,15 +1,16 @@
+\version "1.3.146"
 \header{
-title= "The Feta font";
-subtitle =  "proofsheet"; 
-enteredby =     "jcn";
-copyright =     "public domain";
-description =  "This file tests the Feta music-font in the 20pt version";
+title= "The Feta font"
+subtitle =  "proofsheet" 
+enteredby =     "jcn"
+copyright =     "public domain"
+description =  "This file tests the Feta music-font in the 20pt version"
 TestedFeatures =        
-        "(Feta definitively is not an abbreviation of Font-En-TjA)";
+        "(Feta definitively is not an abbreviation of Font-En-TjA)"
 }
 
        \paper{
-           linewidth = 17.5 \cm;
+           linewidth = 17.5 \cm
        }
 
 \include "font-body.ly"
index 69aaede9843e53e2e10d0e8c66845c3f6ad6ea81..783cd2cdaddeb3982675503de44ceb67a07d3d71 100644 (file)
@@ -1,17 +1,18 @@
+\version "1.3.146"
 
 \header{
-title= "The Feta Font";
-subtitle = "proofsheet"; 
-enteredby =     "jcn & hwn";
-copyright =     "public domain";
-description = "This file tests the Feta music font";
-% "(Feta definitively is not an abbreviation of Font-En-TjA)";
+title= "The Feta Font"
+subtitle = "proofsheet" 
+enteredby =     "jcn & hwn"
+copyright =     "public domain"
+description = "This file tests the Feta music font"
+% "(Feta definitively is not an abbreviation of Font-En-TjA)"
 }
 
 \include "paper26.ly"
        \paper{
        
-           linewidth = 17.5 \cm;
+           linewidth = 17.5 \cm
 
        }
 
index a70006b1520391b8cc03f56b38e25b8ad32e8371..8557c48cb5ffd4089879f494d2be604701716471 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
@@ -18,7 +19,7 @@
        >
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index 06d503963023c674dcb2c7082d742bf13bc639bc..a556c11de76fcfa691a37c5bd0f1d1eb2e861a41 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % the Gm7sus4/D chord prints as Gm/4/7/D
 % it took me quite a while by experiment to work out how to enter it -- PC
 
index bee50d8103b82a23f439a57d0e7ad535f1480319..432a551158de10cf96ad8043d3a14acc1d13dac5 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 %{
@@ -12,7 +13,7 @@ This is taken from [Gourlay]'s paper on breaking lines
               \context Voice = VB { \stemDown g4 g g g | \times 2/3 { g2 g2 g2 } | g4. g8 g2 | c1 }
                >
        \paper{
-           linewidth = 9.\cm;
+           linewidth = 9.\cm
        }
 }
 
index 969e9cfbb6be43c6073cc0bb200165bfde7337f0..8b138df0626fcf8bdc6a0a39eeda91506a941b06 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index e14a6e3897e2a5a6f9860c938831eea80a45f4c4..f687c765e2c5a45bb58a729aeecce5153e3eff92 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 voiceOne =  \notes \relative c'' {
@@ -41,11 +42,11 @@ grandstaff =  \context GrandStaff = one <
 \score{
        \grandstaff
        \paper{
-               linewidth=80.0\mm;
+               linewidth=80.0\mm
 
-               \translator { \VoiceContext noAutoBeaming = ##t; }
+               \translator { \VoiceContext noAutoBeaming = ##t }
                \translator { \HaraKiriStaffContext }
-               \translator { \OrchestralScoreContext skipBars = 1; }
+               \translator { \OrchestralScoreContext skipBars = 1 }
        }
 }
 
index 579935774021218e55191f23211bf0aae419f149..978c98ff00654705039b570d65d5bae3db9404a0 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 
 \header {
-texidoc = "Hara kiri staffs disappear when empty ";
+texidoc = "Hara kiri staffs disappear when empty "
 }
 
 
@@ -40,7 +41,7 @@ toeters =  \context Staff = toeters <
 >
  
 zager =  \context Staff = zager \notes \relative c'' {
-       \clef treble;
+       \clef treble
        \property Staff.instrument = #"Zager"
        \property Staff.instr = #"Zag."
        c4^"zag" d e f 
@@ -55,18 +56,18 @@ zager =  \context Staff = zager \notes \relative c'' {
 }
 
 zoger =  \context Staff = zoger \notes \relative c'' {
-       \clef treble;
+       \clef treble
        \property Staff.instrument = #"Zoger"
        \property Staff.instr = #"Zog."
        c4^"zog" d e f 
-       \skip 1*2;
+       \skip 1*2
 
        \translator Staff=zager
        \stemDown 
        c2 g2
        
        a4 b c d 
-       \skip 1*1;
+       \skip 1*1
 }
 
 zagers =  \context GrandStaff <
@@ -84,7 +85,7 @@ zagers =  \context GrandStaff <
                >
        >
        \paper{
-               linewidth = 80.0\mm;
+               linewidth = 80.0\mm
                \translator { \HaraKiriStaffContext }
 %uh?
                \translator { \OrchestralScoreContext }
index 74b47f543942def764e04754254f3b2f60083445..8bbc1298e4a039cfd67879947d2292fa9e9a07f0 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
index 5cd0c3675797749bff0472f2e732766886ea6e1c..7b5cd4c21684a39ca5a4e2c460781225b726bfa7 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \score{
        \context Staff <
-               \time 4/4;
+               \time 4/4
                \context Voice=one \partcombine Voice
                        \context Thread=one \notes\relative c'' {
                                a4 c4.()g8 a4 |
@@ -15,7 +16,7 @@
                        }
        >
        \paper{
-               linewidth=140.\mm;
+               linewidth=140.\mm
                \translator {
                        \VoiceContext
                        soloADue = ##f
index ff350187ec6995bba63c0d8921240376178fb8b6..a09105069fd6748bfd1ac7684cab951baf93eb41 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 improOn = \notes {\translator Voice = impro }
 improOff = \notes {\translator SquashVoice = melo }
 
-global = \notes { s1*3 \bar "|."; }
+global = \notes { s1*3 \bar "|." }
 
 \score {
   <
@@ -19,28 +20,28 @@ global = \notes { s1*3 \bar "|."; }
   \paper { 
     \translator {
       \VoiceContext
-      \name SquashVoice;
-      \alias Voice;
-      \consists Pitch_squash_engraver;
-      \consists Local_key_engraver;
-      squashedPosition = 6;
+      \name SquashVoice
+      \alias Voice
+      \consists Pitch_squash_engraver
+      \consists Local_key_engraver
+      squashedPosition = 6
       NoteHead \override #'style = #'slash
       Accidentals \override #'transparent = ##t
     }
     \translator {
       \VoiceContext
-      \alias SquashVoice;
-      \consists Local_key_engraver;
+      \alias SquashVoice
+      \consists Local_key_engraver
     }
     \translator {
       \ScoreContext
-      \accepts SquashVoice;
+      \accepts SquashVoice
     }
     \translator {
       \StaffContext
-      \remove Local_key_engraver;
-      \accepts SquashVoice;
+      \remove Local_key_engraver
+      \accepts SquashVoice
     }
-    linewidth = -1;
+    linewidth = -1
   }
 }
index 61edcd7bfb841f78e3f94d5be34e22d187b276f7..08193f588f12542bad2b75cf937a91b0b0f07432 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 %{
  Test of how to make an ``incipit'' to indicate scordatora 
  tuning of a violin part, using the clefStyle property.
@@ -9,8 +10,8 @@
 
 
 violinincipit =  \notes\relative c''{
-  \clef "french";
-  \time 2/2;
+  \clef "french"
+  \time 2/2
   \property Staff.TimeSignature \override #'style = #'old
   a4. b8 c4 fis |
 %  <b1 fis' b d>
@@ -18,7 +19,7 @@ violinincipit =  \notes\relative c''{
 }
 
 bcincipit =  \notes\relative c{
-  \clef bass;
+  \clef bass
   \property Staff.TimeSignature \override #'style = #'old
   b2. cis4 | 
   \property Staff.TimeSignature \override #'style = #'C
@@ -27,21 +28,21 @@ bcincipit =  \notes\relative c{
 violin =  \notes\relative c''{
 % Key signatures with different alterations in different octaves
 % are broken since 1.3.58!
-%  \specialkey \keysignature f' fis'' g' gis'';
-  \key d \major;
-  \time 2/2;
-  \clef treble;
+%  \specialkey \keysignature f' fis'' g' gis''
+  \key d \major
+  \time 2/2
+  \clef treble
 
   a4. b8 c4 fis |
   gis~ gis8 fis16^\trill ()e b8 c \context Staff<{\voiceOne a d}{\voiceTwo es,4}>|
 }
 
 BC  = \notes\relative c{
-  \key d \major;
-  \time 2/2;
-  \clef "bass";
+  \key d \major
+  \time 2/2
+  \clef "bass"
 
- \key;
+ \key \default
   b2. cis4 | 
   d e fis g |
 }
@@ -50,14 +51,14 @@ BC  = \notes\relative c{
   <
     \context Staff = violin {\notes{
       \property Staff.Clef \override #'transparent = ##t
-      \violinincipit \bar ".|"; 
+      \violinincipit \bar ".|" 
       \property Staff.Clef \revert #'transparent 
       \endincipit
       \violin
     }}
     \context Staff = BC{\notes{
       \property Staff.Clef \override #'transparent = ##t
-      \bcincipit \bar ".|"; 
+      \bcincipit \bar ".|" 
       \property Staff.Clef \revert #'transparent 
       \endincipit
       \BC
index b93302b28586c85dad7eb5993f42b12fa03cd9ee..3f7fce957f494972b9fd22113ae548b2f175160c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score {
@@ -10,9 +11,9 @@
 
 
 \paper {
-linewidth=-1.0;
+linewidth=-1.0
 \translator { \StaffContext
-  \consists "Instrument_name_engraver";
+  \consists "Instrument_name_engraver"
   }
-\translator { \GrandStaffContext \consists "Instrument_name_engraver"; }
+\translator { \GrandStaffContext \consists "Instrument_name_engraver" }
 }}
index 4cea19a1771bd51d77b47010ddcbf5ba07ea39a6..a1c838c4880ef6d3117216d812be5b309929c7c0 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %{
 
@@ -15,7 +16,7 @@ interesting bug in 1.3.98)
            >
         \paper {
            \translator { \StaffContext
-           \consists Instrument_name_engraver;
+           \consists Instrument_name_engraver
 
            }
          }
index 35a363d70541bef0ed4ca5afbffb96f3fc584556..cd648112a0708eb3703201157e99610537b8dcd1 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score {
@@ -6,7 +7,7 @@
       \property Staff.instrument = "instr " { c''4 }}
 
 \paper {
-linewidth=-1.0;
-\translator { \StaffContext \consists "Instrument_name_engraver"; }
+linewidth=-1.0
+\translator { \StaffContext \consists "Instrument_name_engraver" }
 }}
 
index 9ff4455d7f14cd48a56c305c296ab5076fc534c3..f43805c9a31a966c391c7c41c49dce465fea9ed4 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
index fc216de533f089aaf56605a9f2e7d0b6ba9c4ec9..ce7489c1e0b7028e5f51adafe02612052701d868 100644 (file)
@@ -1,24 +1,25 @@
+\version "1.3.146"
 
 \include "paper16.ly"
 
 \score { \notes
   \relative cis' {
 
-% \clef french; % same as octaviated bass
-\clef violin;
-\key cis \major; cis1  \key ces \major; ces
-\clef soprano;
-\key cis \major; cis \key ces \major; ces
-\clef mezzosoprano;
-\key cis \major; cis \key ces \major; ces
-\clef alto;
-\key cis \major; cis \key ces \major; ces
-\clef tenor;
-\key cis \major; cis \key ces \major; ces
-\clef baritone;
-\key cis \major; cis \key ces \major; ces
-\clef bass;
-\key cis \major; cis \key ces \major;  ces
+% \clef french % same as octaviated bass
+\clef violin
+\key cis \major cis1  \key ces \major ces
+\clef soprano
+\key cis \major cis \key ces \major ces
+\clef mezzosoprano
+\key cis \major cis \key ces \major ces
+\clef alto
+\key cis \major cis \key ces \major ces
+\clef tenor
+\key cis \major cis \key ces \major ces
+\clef baritone
+\key cis \major cis \key ces \major ces
+\clef bass
+\key cis \major cis \key ces \major  ces
 }
 
        \paper{\paperSixteen}
index b28b04f643122b019e912540f228c8ed20be9eeb..b25cb5f625c7788646cbaf2ce76cfc8481c60dd9 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
index 8c3c320b3a3ae0b2e1f5f6478c5a5c46f6e7f206..ed2c402a4a9d78308f1b7b5c4f6d8dfd96c74926 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \score{
        \context PianoStaff <
        \context Staff=one \notes\relative c'{
                s1
        }
        \context Staff=two \notes\relative c'{
-               \clef bass;
+               \clef bass
 % no knee
                \stemUp [c8 \translator Staff=one \stemDown g'16 f]
                s8
@@ -12,7 +13,7 @@
        }
        >
        \paper{
-               linewidth=-1.;
+               linewidth=-1.
        }
 }
 
index 453f0050506855455923c0465e01d6bc59702895..8ab530b85dc2a73c6f12e4389e58d8c132c79ae4 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c'{
index 31bead8aedb558b64870f2fd39fc57708fdcc27e..c621dfbf4eb333d9fedf659d654c48cc6ff50a73 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \header {
 texidoc="
 Draw abritrary lines.  This brings LilyPond on par with Mup.
-";
+"
 }
 
 \score {
@@ -17,6 +18,6 @@ Draw abritrary lines.  This brings LilyPond on par with Mup.
     a'1
   }
   \paper {
-    linewidth = 70.0*\staffspace;
+    linewidth = 70.0*\staffspace
   }
 }
index 5efd3b63712bd0c12450232891a55f53317b4337..51ae62aa9900e47e42bafd7bf9fc5e7f9706c2a7 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 %{
@@ -5,16 +6,16 @@
 %}
 
 \header {
-copyright = "copyright";
-title = "title";
-subtitle = "subtitle";
-composer = "composer";
-arranger = "arranger";
-instrument = "instrument";
-metre = "metre";
-opus = "opus";
-piece = "piece";
-poet = "poet";
+copyright = "copyright"
+title = "title"
+subtitle = "subtitle"
+composer = "composer"
+arranger = "arranger"
+instrument = "instrument"
+metre = "metre"
+opus = "opus"
+piece = "piece"
+poet = "poet"
 }
 
 
@@ -27,15 +28,15 @@ poet = "poet";
        
        \header {
 
-       title = "localtitle";
-       subtitle = "localsubtitle";
-       composer = "localcomposer";
-       arranger = "localarranger";
-       instrument = "localinstrument";
-       metre = "localmetre";
-       opus = "localopus";
-       piece = "localpiece";
-       poet = "localpoet";
-       copyright = "localcopyright";
+       title = "localtitle"
+       subtitle = "localsubtitle"
+       composer = "localcomposer"
+       arranger = "localarranger"
+       instrument = "localinstrument"
+       metre = "localmetre"
+       opus = "localopus"
+       piece = "localpiece"
+       poet = "localpoet"
+       copyright = "localcopyright"
        }
 }
index 64cfcb97aaa13503b81195f240430513e0fd9ca2..0048f45278692fe1c383223a19c07c8cee6237d4 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \score{
        <
        \context Staff \notes { c () c () c c }
index 91132c11f7e377b7ea594f1afac782cf6e0814b4..569786f707e5ae8dff916966994e72797535b213 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \score{
        <
        \context Staff \notes { c' () c' () c' c' }
index a9dbba6b41e77c1ea4821ad5fa6c1160f55c9679..4a54d5dfc6d2064a3ca4bbe4b48b7caaa45c1cc3 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header{
-filename =      "twinkle-pop.ly";
-xtitle =        "Ah, vous dirais-je, maman ";
-description =   "twinkle twinkle in pop-song-settings";
-composer =      "traditional";
-enteredby =     "HWN, chords by Johan Vromans";
-copyright =     "public domain";
+filename =      "twinkle-pop.ly"
+xtitle =        "Ah, vous dirais-je, maman "
+description =   "twinkle twinkle in pop-song-settings"
+composer =      "traditional"
+enteredby =     "HWN, chords by Johan Vromans"
+copyright =     "public domain"
 }
 
 
@@ -19,8 +20,8 @@ m = \notes  \relative c'' {
        b c d e }
 
 textI =   \lyrics  { la4 __ la -- la  I, la dargh la dargh.  }
-textII =   \lyrics  { dar -- dargh __ dargh dargh; dargh la dargh loo.  }
-textIII =   \lyrics  { la -- da __ doo dah; dargh la dargh loo.  }
+textII =   \lyrics  { dar -- dargh __ dargh dargh dargh la dargh loo.  }
+textIII =   \lyrics  { la -- da __ doo dah dargh la dargh loo.  }
 
 \score {
 
index e19086252c933162bfb8c1f0b4d9b2075c8203c2..0129a9411e92d563f82c8a28701915032ac35312 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 somewhatLong =  \lyrics{
index 994937d6ec816ecad3d4dcd8c730d06e99970bc9..e98494de37af121ae4c693aed268b0dfbc47c7cb 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 %{
@@ -20,7 +21,7 @@ Test clef engraver by setting \property directly. \clef is merely a front-end  t
        \property Staff.clefOctavation = #0 
        \property Staff.clefPosition = #0
   c'4
-       \clef "bla";
+       \clef "bla"
   c'4
 
 }}
index a00d2e2fcfb705f8b8dce786a40db64070bf0b8b..ecb3ad4186cb71515a2ae8f01f54b23c3dd86ab0 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score { \notes {
index 27093fb019c312767236b05f041bcf9ac188f29f..b8fc9061980568acc6538810673bb24e25924750 100644 (file)
@@ -1,13 +1,14 @@
+\version "1.3.146"
 
 
 global =  \notes {
-  s1 | \mark "A";
-  s1 | \mark ; 
-  s1 | \mark ; 
-  s1 | \mark "12";
-  s1 | \mark ; 
-  s1 | \mark "A2";
-  s1 | \mark #'(music "scripts-segno") ; 
+  s1 | \mark "A"
+  s1 | \mark \default 
+  s1 | \mark \default 
+  s1 | \mark "12"
+  s1 | \mark \default 
+  s1 | \mark "A2"
+  s1 | \mark #'(music "scripts-segno")  
   s1
 }
 
index b1436200d804a5eb39bdfaf83392c2249b1573fa..ab20df77810bef2edc7cdc60ad23d6ddddf04373 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
@@ -27,7 +28,7 @@
                e-#'(((baselineskip . 0) (kern . 1.5) lines) "Violoncello" "    e" "Contrabasso")
                }
        \paper{
-               linewidth = -1.\mm;
+               linewidth = -1.\mm
                \translator{
                        \ScoreContext
                        TextScript \override #'font-family = #'roman
index 0a2b392414bf287f39a7532302798e790b2250e2..691fa25c09d719eada25d6f239c570c271e53f15 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
 \context Staff \notes\relative c''<
@@ -35,6 +36,6 @@
 \paper{
 }
 \midi{
-\tempo 1 = 60;
+\tempo 1 = 60
 }
 }
index 3760d4364e661248450a1cb243b3f8dc134b7c9a..d288ae6233182829364c91b9b6ee4931ed824368 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 %{
 do a  memory stress test.
 %}
@@ -9,7 +10,7 @@ bla =  \notes {
 \score { \context Score <
        \bla    \bla    \bla    \bla    \bla    \bla    \bla
        >
-       \paper { Gourlay_maxmeaures = 2.; }
+       \paper { Gourlay_maxmeaures = 2. }
 }
 
 
index d712999f7744b4b787f4c7e7e24f6ed01ad063df..d20eb577c6cebd2ce9a97779209728139fc254ff 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
@@ -21,7 +22,7 @@
     a1^#`((rows (font-relative-size . -1)) ,dotted-eight-note " = 64")
   }
   \paper {
-    linewidth = -1.;
+    linewidth = -1.
     \translator{
       \ScoreContext
       TextScript \override #'font-shape = #'upright
index 0fd96e72e8598b08a652218ff5766e292335a112..395cafadd550a39fa8371b30587231a678d208d3 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score {
   \context Staff \notes <
   \paper {
     \translator {
       \StaffContext
-      \remove Multi_measure_rest_engraver;
-      \remove Bar_engraver;
+      \remove Multi_measure_rest_engraver
+      \remove Bar_engraver
     }
     \translator {
       \VoiceContext
-      \consists Multi_measure_rest_engraver;
-      \consists Bar_engraver;
+      \consists Multi_measure_rest_engraver
+      \consists Bar_engraver
     }
   }
 }
index 1257d62b408aa7f2763d70582be018b132465f3d..91cc1d90adc1aa4250010f9ae8630c6949d12bd2 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 %% Chord gurus, is this ok now??
@@ -18,6 +19,6 @@ monstrous= \chords{
        \context Staff \monstrous
     >
     \paper{
-       linelength=-1.0\mm;
+       linelength=-1.0\mm
     }
 }
index 695be4a214a37c430d139bf48738322510f97a13..ca8ea2f3b973e04e98904cb0fc155f1342f69a51 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
 \context Staff \notes\relative c''{
@@ -6,16 +7,16 @@
                \outputproperty #(make-type-checker 'Mark) 
                #'extra-offset = #'(-1 . 4)
        }
-       \mark A;
+       \mark A
        d
-       \mark ;
+       \mark \default
        e
 }
 \paper{
-       linewidth=-1.0;
+       linewidth=-1.0
        \translator {
                \ScoreContext
-               \consists "Mark_engraver";
+               \consists "Mark_engraver"
        }
 }
 }
index 87deb18689f6150d79d4615c35dbb80dfb03d8f9..74e5cfcdd2bb9a8a661bdcac5fc5d8ec9015ce68 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 fragment = \notes {
@@ -6,7 +7,7 @@ fragment = \notes {
     c''2 c
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 2fe4a7152333dc75eb8025e2ba34d72f024cc41f..80b4256bb4896f6ad2ed6607d7291773d962bb0c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 #(define (make-text-checker text)
    (lambda (grob) (equal? text (ly-get-grob-property grob 'text))))
@@ -9,5 +10,5 @@
       #'extra-offset = #'(-3.5 . -4.5)
     a^2^"m.d."
   }
-  \paper { linewidth = -1.; }
+  \paper { linewidth = -1. }
 }
index ab3dcecb73fbee4ab67c8d494b0409effbf8266a..d2bab8c80b89dd7f7b760b16b30ebb6c8464210f 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index cc58b96b82a15b02678957d7e7cd8d95dd0d116e..51a8717aff18d6bc8036f05e3f3115349e07abed 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 \header {
 
  texidoc = "You can create music expressions from Scheme.  The
- mechanism for this is rather clumsy to use, so avoid if possible.";
+ mechanism for this is rather clumsy to use, so avoid if possible."
 
  }
  
index 07858bbbf53c41cf820d9a9f699d15e716ea5a51..69e289a477af3009b9e42540c731a61507426f55 100644 (file)
@@ -1,15 +1,15 @@
 \header{
 texidoc="
 In InnerStaffGroup and InnerChoirStaff, the brackets should be shiftet leftwards.
-";
-filename =      "nested-groups.ly";
-description =   "Test of nested staff groups and choirstaffs";
-enteredby =     "RZ";
-copyright =     "public domain";
-Tested =        "Nested StaffGroups";
+"
+filename =      "nested-groups.ly"
+description =   "Test of nested staff groups and choirstaffs"
+enteredby =     "RZ"
+copyright =     "public domain"
+Tested =        "Nested StaffGroups"
 }
 
-\version "1.3.140" % rz1
+\version "1.3.146" % rz1
 
 \score { \notes
 <
@@ -42,5 +42,5 @@ Tested =       "Nested StaffGroups";
 
 >
 
- \paper { linewidth = -1; }
+ \paper { linewidth = -1 }
 }
index 1cd7f3cba5a9a1f25bdad19da6f450f5a00cc672..a35f7727009133eb4d9922b12280381ff23d63ea 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score {
   \notes \relative c'' {
@@ -5,11 +6,11 @@
     d c b a
   }
   \paper {
-    linewidth = -1.;
+    linewidth = -1.
     \translator {
       \StaffContext
       whichBar = #""
-      \remove "Time_signature_engraver";
+      \remove "Time_signature_engraver"
     }
   }
 }
index 5385aa24d179c802564822cb360dd85c816329bd..d6a0185b0030c6b18518bdc6f18c49150f7edc28 100644 (file)
@@ -1,13 +1,14 @@
+\version "1.3.146"
 
 \score {
   \notes { c4 c4 c8 c8 }
   \paper {
-    linewidth = -1.;
+    linewidth = -1.
     \translator {
       \StaffContext
-      \remove Staff_symbol_engraver;
-      \consists Pitch_squash_engraver;
-      \remove Clef_engraver;
+      \remove Staff_symbol_engraver
+      \consists Pitch_squash_engraver
+      \remove Clef_engraver
     }
   }
 }
index 36966f2d516b3b0a8f539397a593c6d48377dfbf..51fcba0af3a3b34b9dc68738c5777a7e603e24ba 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index 662c235ced0ce7bb65526789770de551f6fd9f6b..a19cff09dcfcd17a317f95f03cc93150e66432a4 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 scheme = \notes {
   <c'1 e' g'>
@@ -10,5 +11,5 @@ scheme = \notes {
     \context ChordNamesVoice \scheme
     \context Staff \scheme
   >
-  \paper { linewidth = -1.; }
+  \paper { linewidth = -1. }
 }
index 49a0a04db121334db3ea8cb32432cbe547d6e3d1..a9b2fc9e8d1bcc44d4b745a25f0c3ee0e8ea545d 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
@@ -27,7 +28,7 @@
        
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index 62136719cac2ce8d522da7bde34acc5197ce4d7b..ee51bc29797fd2beca390e72b79b9f6794449162 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 
 \score{
        \notes \transpose c''{
 % 1.1.53: @x@ syntax dropped
-% if you want fingering, write chord explicitily; eg < c1-1 e-2 g-3 >
+% if you want fingering, write chord explicitily eg < c1-1 e-2 g-3 >
 %              @c1@ @c-7@ @c-7^5@-1-3
                \chords { c1 c:7 c:7^5 }
        }
index 139765cc7e6e8c4cc0210d1588f81fa6d2c64f64..044d9f7072b7ccec1b8d0d6c4ee84448b0792835 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score
index 5e372200ae706a467b5c9cf66e0483d1493f66c5..e4ce479f13f1f8dfb008b90abf48eadf6bf614b1 100644 (file)
@@ -1,5 +1,6 @@
+\version "1.3.146"
 \header{
-  latexpackages="graphicx";
+  latexpackages="graphicx"
 }
 
 
@@ -96,9 +97,9 @@ c1 | c2 c | c c | R1*5
   >
 >
  \paper {
-%    \paperSixteen;
-    linewidth = 185.\mm;
-    textheight = 260.\mm;
+%    \paperSixteen
+    linewidth = 185.\mm
+    textheight = 260.\mm
     \translator {
       \OrchestralScoreContext
       skipBars = ##t 
index 2ce3d45a4589eadb7f20418598df26f4286ace68..4ceec25d70a75a190631e701c214b0c83c9b7c1b 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 
 
 \score {
 
-\notes { c1 c1 < {\clef "treble"; c1 c1 } \context Staff=stb{ c1 c1}>}
+\notes { c1 c1 < {\clef "treble" c1 c1 } \context Staff=stb{ c1 c1}>}
 }
index 590bd730a851f38868c5a523072d8520e80ecc3f..f9f14670b8eef511eb91f4e0f4292b0b4e6aa1a9 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 fragment = \notes {
@@ -9,7 +10,7 @@ fragment = \notes {
   a\spanrequest \start "text" b c a \spanrequest \stop "text"
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index f4eab0628916fa802027465892d9508373d0fe4d..d0834790b1a8991992b52fd376f473f718fd3b8f 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \score{
        \context PianoStaff <
-               \context StaffCombineStaff=one \skip 1*2;
-               \context StaffCombineStaff=two \skip 1*2;
+               \context StaffCombineStaff=one \skip 1*2
+               \context StaffCombineStaff=two \skip 1*2
                \context StaffCombineStaff=one \partcombine StaffCombineStaff
                        \context StaffCombineVoice=one \notes\relative c''
                                {
@@ -17,8 +18,8 @@
                >
        \paper {
 
-               textheight = 295.0\mm;
-               linewidth = 180.0\mm;
+               textheight = 295.0\mm
+               linewidth = 180.0\mm
 
                \translator{ \HaraKiriStaffContext }
                %
                %
                \translator{
                        \ThreadContext
-                       \name "VoiceCombineThread";
-                       \consists "Rest_engraver";
+                       \name "VoiceCombineThread"
+                       \consists "Rest_engraver"
                }
                \translator{
                        \VoiceContext
-                       \name "VoiceCombineVoice";
+                       \name "VoiceCombineVoice"
                        soloText = #"I."
                        soloIIText = #"II."
-                       \remove "Rest_engraver";
-                       \accepts "VoiceCombineThread";
+                       \remove "Rest_engraver"
+                       \accepts "VoiceCombineThread"
                }
                \translator{
                        \HaraKiriStaffContext
-                       \consists "Mark_engraver";
-                       \name "VoiceCombineStaff";
-                       \accepts "VoiceCombineVoice";
+                       \consists "Mark_engraver"
+                       \name "VoiceCombineStaff"
+                       \accepts "VoiceCombineVoice"
                }
 
                %
                %
                \translator{
                        \ThreadContext
-                       \name "StaffCombineThread";
+                       \name "StaffCombineThread"
                }
                \translator{
                        \VoiceContext
-                       \name "StaffCombineVoice";
-                       \accepts "StaffCombineThread";
-                       \consists "Thread_devnull_engraver";
+                       \name "StaffCombineVoice"
+                       \accepts "StaffCombineThread"
+                       \consists "Thread_devnull_engraver"
                }
                \translator {
                        \HaraKiriStaffContext
-                       \name "StaffCombineStaff";
-                       \accepts "StaffCombineVoice";
+                       \name "StaffCombineStaff"
+                       \accepts "StaffCombineVoice"
 
                        soloADue = ##t
                        soloText = #""
                }
                \translator {
                        \StaffGroupContext
-                       \accepts "VoiceCombineStaff";
-                       \accepts "StaffCombineStaff";
+                       \accepts "VoiceCombineStaff"
+                       \accepts "StaffCombineStaff"
                }
                \translator{ \HaraKiriStaffContext }
 
                \translator {
                        \ScoreContext
-                       \accepts "VoiceCombineStaff";
-                       \accepts "StaffCombineStaff";
+                       \accepts "VoiceCombineStaff"
+                       \accepts "StaffCombineStaff"
                        skipBars = ##t 
 
                        barScriptPadding = #2.0 % dimension \pt
index 551357882e5893bfcc285a8e90dc4dabfcc22b9b..ca51a9ea664e777937c9ff017affc1aaaeb86458 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 
 \header {
-texidoc="Template for part-combining orchestral scores";
+texidoc="Template for part-combining orchestral scores"
 }
   
-\include "paper16.ly"; 
-% \include "mutopia/Coriolan/coriolan-paper.ly";
+\include "paper16.ly" 
+% \include "mutopia/Coriolan/coriolan-paper.ly"
 
 #(define text-flat '((font-relative-size . -2 ) (music "accidentals--1")))
 
-End = { \skip 1*9; \bar "|."; }
+End = { \skip 1*9 \bar "|." }
 
 flautoI = \notes\relative c'' {
   c4\pp d e f
@@ -97,7 +98,7 @@ violinoIStaff =  \context Staff = oneViolini <
 
 violinoIIStaff =  \context Staff = twoViolini <
   % MIDI hoort geeneens verschil tussen een
-  % eerste en tweede viool ;-)
+  % eerste en tweede viool -)
   \property Staff.midiInstrument = #"violin"
   \property Staff.instrument = #"Violino II"
   \property Staff.instr = #"Vl. II"
@@ -113,11 +114,11 @@ violeGroup =  \notes \context VoiceCombineStaff = oneViole <
   \property VoiceCombineStaff.midiInstrument = #"viola"
   \property VoiceCombineStaff.instrument = #"Viola"
   \property VoiceCombineStaff.instr = #"Vla."
-  %\clef "alto";
+  %\clef "alto"
   % Ugh, clef broken in 1.3.125
   \property VoiceCombineStaff.clefGlyph = #"clefs-C"
   \property VoiceCombineStaff.clefPosition = #0
-  \key f \major;
+  \key f \major
   \End
 
   \context VoiceCombineVoice=oneViole \partcombine VoiceCombineVoice
@@ -152,12 +153,12 @@ bassiGroup =  \context PianoStaff = bassi_group \notes <
 
     \property StaffCombineStaff.instr = #"Vc."
     
-    %\clef "bass";
+    %\clef "bass"
     % Ugh, clef broken in 1.3.125
     \property StaffCombineStaff.clefGlyph = #"clefs-F"
     \property StaffCombineStaff.clefPosition = #2
 
-    \key es \major;
+    \key es \major
     \End
   }
   \context StaffCombineStaff=twoBassi {
@@ -165,12 +166,12 @@ bassiGroup =  \context PianoStaff = bassi_group \notes <
     \property StaffCombineStaff.instrument = #"Contrabasso"
     \property StaffCombineStaff.instr = #"Cb."
     
-    %\clef "bass";
+    %\clef "bass"
     % Ugh, clef broken in 1.3.125
     \property StaffCombineStaff.clefGlyph = #"clefs-F"
     \property StaffCombineStaff.clefPosition = #2
     
-    \key as \major;
+    \key as \major
     \End
   }
 
@@ -200,20 +201,20 @@ archiGroup =  \context StaffGroup = archi_group <
     \archiGroup
   >
   \header {
-    title = "Coriolan";
-    subtitle = "Ouverture"; 
-    opus = "Opus 62";
-    composer = "Ludwig van Beethoven (1770-1827)";
-    enteredby = "JCN";
-    copyright = "public domain";
+    title = "Coriolan"
+    subtitle = "Ouverture" 
+    opus = "Opus 62"
+    composer = "Ludwig van Beethoven (1770-1827)"
+    enteredby = "JCN"
+    copyright = "public domain"
   }
   \paper{
     \paperSixteen
 
-    %textheight = 290.0\mm;
-    %linewidth = 195.0\mm;
-    textheight = 285.0\mm;
-    linewidth = 190.0\mm;
+    %textheight = 290.0\mm
+    %linewidth = 195.0\mm
+    textheight = 285.0\mm
+    linewidth = 190.0\mm
 
     \translator{ \HaraKiriStaffContext }
     %
@@ -221,22 +222,22 @@ archiGroup =  \context StaffGroup = archi_group <
     %
     \translator{
       \ThreadContext
-      \name "VoiceCombineThread";
-      \consists "Rest_engraver";
+      \name "VoiceCombineThread"
+      \consists "Rest_engraver"
     }
     \translator{
       \VoiceContext
-      \name "VoiceCombineVoice";
+      \name "VoiceCombineVoice"
       soloText = #"I."
       soloIIText = #"II."
-      \remove "Rest_engraver";
-      \accepts "VoiceCombineThread";
+      \remove "Rest_engraver"
+      \accepts "VoiceCombineThread"
     }
     \translator{
       \HaraKiriStaffContext
-      \consists "Mark_engraver";
-      \name "VoiceCombineStaff";
-      \accepts "VoiceCombineVoice";
+      \consists "Mark_engraver"
+      \name "VoiceCombineStaff"
+      \accepts "VoiceCombineVoice"
     }
 
     %
@@ -244,18 +245,18 @@ archiGroup =  \context StaffGroup = archi_group <
     %
     \translator{
       \ThreadContext
-      \name "StaffCombineThread";
+      \name "StaffCombineThread"
     }
     \translator{
       \VoiceContext
-      \name "StaffCombineVoice";
-      \accepts "StaffCombineThread";
-      \consists "Thread_devnull_engraver";
+      \name "StaffCombineVoice"
+      \accepts "StaffCombineThread"
+      \consists "Thread_devnull_engraver"
     }
     \translator {
       \HaraKiriStaffContext
-      \name "StaffCombineStaff";
-      \accepts "StaffCombineVoice";
+      \name "StaffCombineStaff"
+      \accepts "StaffCombineVoice"
 
       soloADue = ##t
       soloText = #""
@@ -268,16 +269,16 @@ archiGroup =  \context StaffGroup = archi_group <
     }
     \translator {
       \StaffGroupContext
-      \accepts "VoiceCombineStaff";
-      \accepts "StaffCombineStaff";
+      \accepts "VoiceCombineStaff"
+      \accepts "StaffCombineStaff"
     }
     \translator{ \HaraKiriStaffContext }
 
     \translator {
       %\ScoreContext
       \OrchestralScoreContext
-      \accepts "VoiceCombineStaff";
-      \accepts "StaffCombineStaff";
+      \accepts "VoiceCombineStaff"
+      \accepts "StaffCombineStaff"
       TimeSignature \override #'style = #'C
       skipBars = ##t 
       BarNumber \override #'padding = #3
index 728df55c1777883ddf96e5b90b9ea8fadec97673..168d5f0d042b51147257c3558115c201cf14410a 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \score{
        \context PianoStaff <
-               \context StaffCombineStaff=one \skip 1*7;
-               \context StaffCombineStaff=two \skip 1*7;
+               \context StaffCombineStaff=one \skip 1*7
+               \context StaffCombineStaff=two \skip 1*7
                \context StaffCombineStaff=one \partcombine StaffCombineStaff
                        \context StaffCombineVoice=one \notes\relative c''
                                {
@@ -27,8 +28,8 @@
                >
        \paper {
 
-               textheight = 295.0\mm;
-               linewidth = 180.0\mm;
+               textheight = 295.0\mm
+               linewidth = 180.0\mm
 
                \translator{ \HaraKiriStaffContext }
                %
                %
                \translator{
                        \ThreadContext
-                       \name "VoiceCombineThread";
-                       \consists "Rest_engraver";
+                       \name "VoiceCombineThread"
+                       \consists "Rest_engraver"
                }
                \translator{
                        \VoiceContext
-                       \name "VoiceCombineVoice";
+                       \name "VoiceCombineVoice"
                        soloText = #"I."
                        soloIIText = #"II."
-                       \remove "Rest_engraver";
-                       \accepts "VoiceCombineThread";
+                       \remove "Rest_engraver"
+                       \accepts "VoiceCombineThread"
                }
                \translator{
                        \HaraKiriStaffContext
-                       \consists "Mark_engraver";
-                       \name "VoiceCombineStaff";
-                       \accepts "VoiceCombineVoice";
+                       \consists "Mark_engraver"
+                       \name "VoiceCombineStaff"
+                       \accepts "VoiceCombineVoice"
                }
 
                %
                %
                \translator{
                        \ThreadContext
-                       \name "StaffCombineThread";
+                       \name "StaffCombineThread"
                }
                \translator{
                        \VoiceContext
-                       \name "StaffCombineVoice";
-                       \accepts "StaffCombineThread";
-                       \consists "Thread_devnull_engraver";
+                       \name "StaffCombineVoice"
+                       \accepts "StaffCombineThread"
+                       \consists "Thread_devnull_engraver"
                }
                \translator {
                        \HaraKiriStaffContext
-                       \name "StaffCombineStaff";
-                       \accepts "StaffCombineVoice";
+                       \name "StaffCombineStaff"
+                       \accepts "StaffCombineVoice"
 
                        soloADue = ##t
                        soloText = #""
                }
                \translator {
                        \StaffGroupContext
-                       \accepts "VoiceCombineStaff";
-                       \accepts "StaffCombineStaff";
+                       \accepts "VoiceCombineStaff"
+                       \accepts "StaffCombineStaff"
                }
                \translator{ \HaraKiriStaffContext }
 
                \translator {
                        \ScoreContext
-                       \accepts "VoiceCombineStaff";
-                       \accepts "StaffCombineStaff";
+                       \accepts "VoiceCombineStaff"
+                       \accepts "StaffCombineStaff"
                        skipBars = ##t 
 
                        barScriptPadding = #2.0 % dimension \pt
index 3e04e524b3c8011eb4700c0dc7bf4745e66dac47..98ab7f1221bb7fe92fb66ae422735cb7b741f5bf 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header{
 texidoc="
@@ -5,12 +6,12 @@ In orchestral scores and hymns, voices are traditionally combined onto
 one staff.  LilyPond has a part combiner, that combines or separates two
 voices according to actual rhythm and pitch.  User-defined texts such as
 ``solo'' and ``@`a2'' are typeset automagically, as appropriate.
-";
+"
 }
 
 \score{
   \context Staff = flauti <
-    \time 4/4;
+    \time 4/4
     \context Voice=one \partcombine Voice
     \context Thread=one \notes\relative c'' {
       c4 d e f | b,4 d c d | r2 e4 f | c4 d e f |
@@ -24,14 +25,14 @@ voices according to actual rhythm and pitch.  User-defined texts such as
     }
   >
   \paper{
-    linewidth = 80 * \staffspace;
+    linewidth = 80 * \staffspace
     \translator{
       \ThreadContext
-      \consists Rest_engraver;
+      \consists Rest_engraver
     }
     \translator{
       \VoiceContext
-      \remove Rest_engraver;
+      \remove Rest_engraver
     }
   }
 }
index 9b15bde29db2b4027128002a01aa194b1d179288..f986a9bbd04a18de5a1f8ffc79ad2675ef40696c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %{  When entering half music (I.e. for students to complete by hand)
     you need the spacing to correspond to the timing - all measures same length, etc.
@@ -13,7 +14,7 @@ mel = \notes \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
 \score {
 \context PianoStaff \notes <
   \context Staff = v <
-    \clef G;
+    \clef G
     \context Voice=melo {\mel}
     \context Voice=invisible {
        \property Voice.NoteHead \override #'transparent = ##t
@@ -22,7 +23,7 @@ mel = \notes \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
         \repeat unfold 4 \quickmeasure
     }
   >
-  \context Staff = empty \notes {\clef F; s1*4}
+  \context Staff = empty \notes {\clef F s1*4}
 >
 \paper {}
 }
index 490ecbfd86c1718415c9548a5c1e29415376495f..3b21563bbcb63a711ba44dea8f7340bafe878dda 100644 (file)
@@ -1,5 +1,6 @@
+\version "1.3.146"
 \header{
-texidoc = "Piano pedal symbols merge stop and start.  The strings are configurable. ";
+texidoc = "Piano pedal symbols merge stop and start.  The strings are configurable. "
 }
 
 
@@ -17,6 +18,6 @@ c, \sustainUp\sustainDown d e f
 \paper{
 }
 \midi{
-\tempo 4 = 60;
+\tempo 4 = 60
 }
 }
index 518661f9d1e8d3d58293c4c0d547b966acf1862a..aa679ad0ee60fa171deddf41e5e72c0c982934ee 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index 4b68eeee6a458ed576b8910957f3e769bfd66453..be0b5fc67276c2d4c7d29efcd7fb80e925ec4d96 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index 09ab543a35966dcebc349515d021c150b736af43..40adf5991b4399828383ad48b51de7cfded498a5 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        <
index 5eca6dcd59320aa8cad7d3c5f8cf8042e751328f..859a6fd7f8961c476b7c9a9857986ff35a5285c8 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index d93a8ec5428c91110411adf5536632afcb0c8fab..8f40c63a40bde2b8e68a4915e05359e002ec783e 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \header {
 texidoc="
 Simple customised music apply.
-";
+"
 }
 
 music = \notes { c'4 d'4( e'4 f'4 }
@@ -26,6 +27,6 @@ music = \notes { c'4 d'4( e'4 f'4 }
     \music
     \apply #reverse-music \music
   }
-  \paper { linewidth = -1.; }
+  \paper { linewidth = -1. }
 }
 
index 60cd162575ff4939a79439d78de274f22e794f25..3c3f30fd9771032704a395c704d97dd5f45785af 100644 (file)
@@ -1,17 +1,18 @@
+\version "1.3.146"
 
 
 \score{
   \context RhythmicStaff {
     \notes\relative c''{ 
-      \clef "percussion";
-      \time 4/4; 
+      \clef "percussion"
+      \time 4/4 
       r4 r g2 | r4 g r2 | g1:32 | r1 |
     }
   }
   \paper{
     \translator{
       \RhythmicStaffContext
-      \consists "Clef_engraver";
+      \consists "Clef_engraver"
     }
   }
 }
index 2eea44d390dee3a0abb55d89866b97290ae5d2c6..76c23eecfbf5f554455209dc229ccd8d2e1dff33 100644 (file)
@@ -1,32 +1,33 @@
+\version "1.3.146"
 
 \header {
-       crossRefNumber = "1";
-       tagline = "Lily was here 1.3.98 -- automatically converted from ABC";
-       title = "Scales";
+       crossRefNumber = "1"
+       tagline = "Lily was here 1.3.98 -- automatically converted from ABC"
+       title = "Scales"
 }
 voicedefault = \notes {
 \property Score.defaultBarType="empty"
 
-\key c \major;     c'8 -"major"   d'8    e'8    f'8    g'8    a'8    b'8    
-c''8    \key c \ionian;     c'8 -"ionian"   d'8    e'8    f'8    g'8    a'8    
-b'8    c''8    \key d \dorian;     c'8 -"dorian"   d'8    e'8    f'8    g'8    
-a'8    b'8    c''8    \key e \phrygian;     c'8 -"phrygian"   d'8    e'8    f'8 
-   g'8    a'8    b'8    c''8    \key f \lydian;     c'8 -"lydian"   d'8    e'8  
-  f'8    g'8    a'8    b'8    c''8    \key g \mixolydian;     c'8 -"mixolydian" 
-  d'8    e'8    f'8    g'8    a'8    b'8    c''8    \key a \minor;     c'8 
--"minor"   d'8    e'8    f'8    g'8    a'8    b'8    c''8    \key a \aeolian;   
+\key c \major     c'8 -"major"   d'8    e'8    f'8    g'8    a'8    b'8    
+c''8    \key c \ionian     c'8 -"ionian"   d'8    e'8    f'8    g'8    a'8    
+b'8    c''8    \key d \dorian     c'8 -"dorian"   d'8    e'8    f'8    g'8    
+a'8    b'8    c''8    \key e \phrygian     c'8 -"phrygian"   d'8    e'8    f'8 
+   g'8    a'8    b'8    c''8    \key f \lydian     c'8 -"lydian"   d'8    e'8  
+  f'8    g'8    a'8    b'8    c''8    \key g \mixolydian     c'8 -"mixolydian" 
+  d'8    e'8    f'8    g'8    a'8    b'8    c''8    \key a \minor     c'8 
+-"minor"   d'8    e'8    f'8    g'8    a'8    b'8    c''8    \key a \aeolian   
   c'8 -"aeolian"   d'8    e'8    f'8    g'8    a'8    b'8    c''8    
-\key b \locrian;     c'8 -"locrian"   d'8    e'8    f'8    g'8    a'8    b'8    
-c''8    \key f \major;     c'8 -"major"   d'8    e'8    f'8    g'8    a'8    
-bes'8    c''8    \key f \ionian;     c'8 -"ionian"   d'8    e'8    f'8    g'8   
- a'8    bes'8    c''8    \key g \dorian;     c'8 -"dorian"   d'8    e'8    f'8  
-  g'8    a'8    bes'8    c''8    \key a \phrygian;     c'8 -"phrygian"   d'8    
-e'8    f'8    g'8    a'8    bes'8    c''8    \key bes \lydian;     c'8 
+\key b \locrian     c'8 -"locrian"   d'8    e'8    f'8    g'8    a'8    b'8    
+c''8    \key f \major     c'8 -"major"   d'8    e'8    f'8    g'8    a'8    
+bes'8    c''8    \key f \ionian     c'8 -"ionian"   d'8    e'8    f'8    g'8   
+ a'8    bes'8    c''8    \key g \dorian     c'8 -"dorian"   d'8    e'8    f'8  
+  g'8    a'8    bes'8    c''8    \key a \phrygian     c'8 -"phrygian"   d'8    
+e'8    f'8    g'8    a'8    bes'8    c''8    \key bes \lydian     c'8 
 -"lydian"   d'8    e'8    f'8    g'8    a'8    bes'8    c''8    
-\key c \mixolydian;     c'8 -"mixolydian"   d'8    e'8    f'8    g'8    a'8    
-bes'8    c''8    \key d \aeolian;     c'8 -"aeolian"   d'8    e'8    f'8    g'8 
-   a'8    bes'8    c''8    \key d \minor;     c'8 -"minor"   d'8    e'8    f'8  
-  g'8    a'8    bes'8    c''8    \key e \locrian;     c'8 -"locrian"   d'8    
+\key c \mixolydian     c'8 -"mixolydian"   d'8    e'8    f'8    g'8    a'8    
+bes'8    c''8    \key d \aeolian     c'8 -"aeolian"   d'8    e'8    f'8    g'8 
+   a'8    bes'8    c''8    \key d \minor     c'8 -"minor"   d'8    e'8    f'8  
+  g'8    a'8    bes'8    c''8    \key e \locrian     c'8 -"locrian"   d'8    
 e'8    f'8    g'8    a'8    bes'8    c''8    
 }\score{
         \notes <
index 38f747cbdcc114907272fdeb826f36d0b29f3ab3..151c9e10cebbd091067e31d07017d5816f783934 100644 (file)
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
     % sharp-major 
        % c g d a e b fis cis
        
-       \key c \major;
+       \key c \major
        c' d e f g a b c
        
-       \key g\major;
+       \key g\major
        g a b c d e fis g
        
-       \key d\major;
+       \key d\major
        d, e fis g a b cis d
        
-       \key a\major;
+       \key a\major
        a b cis d e fis gis a
        
-       \key e\major;
+       \key e\major
        e, fis gis a b cis dis e
        
-       \key b\major;
+       \key b\major
        b cis dis e fis gis ais b
        
-       \key fis\major;
+       \key fis\major
        fis, gis ais b cis dis eis fis
        
-       \key cis\major;
+       \key cis\major
        cis, dis eis fis gis ais bis cis
        
        % sharp-minor
        % a e b fis cis gis dis ais
        
-       \key a\minor;
+       \key a\minor
        a b c d e f gis a
        
-       \key e\minor;
+       \key e\minor
        e, fis g a b c dis e
        
-       \key b\minor;
+       \key b\minor
        b cis d e fis g ais b
        
-       \key fis\minor;
+       \key fis\minor
        fis, gis a b cis d eis fis
        
-       \key cis\minor;
+       \key cis\minor
        cis, dis e fis gis a bis cis
        
-       \key gis\minor;
+       \key gis\minor
        gis ais b cis dis e fisis gis
        
-       \key dis\minor;
+       \key dis\minor
        dis, eis fis gis ais b cisis dis
        
-       \key ais\minor;
+       \key ais\minor
        ais bis cis dis eis fis gisis ais
        
        % flat-major 
        % c f bes es as des ges ces
        
-       \key f\major;
+       \key f\major
        f, g a bes c d e f
        
-       \key bes\major;
+       \key bes\major
        bes, c d es f g a bes
        
-       \key es\major;
+       \key es\major
        es,, f g as bes c d es 
        
-       \key as\major;
+       \key as\major
        as, bes c des es f g as
        
-       \key des\major;
+       \key des\major
        des,, es f ges as bes c des
        
-       \key ges\major;
+       \key ges\major
        ges, as bes ces des es f ges
        
-       \key ces\major;
+       \key ces\major
        ces,, des es fes ges as bes ces
        
        % flat-minor 
        % a d g c f bes es as
        
-       \key d\minor;
+       \key d\minor
        d, e f g a bes cis d 
        
-       \key g\minor;
+       \key g\minor
        g, a bes c d es fis g
        
-       \key c\minor;
+       \key c\minor
        c,, d es f g as b c
        
-       \key f\minor;
+       \key f\minor
        f, g as bes c des e f
        
-       \key bes\minor;
+       \key bes\minor
        bes, c des es f ges a bes
        
-       \key es\minor;
+       \key es\minor
        es,, f ges as bes ces d es
        
-       \key as\minor;
+       \key as\minor
        as, bes ces des es fes g as}
 
   \paper { }  
index 551d139a7a4aa5a69b9a52e24a36b6bf7e5fb89e..7c0ca4527db8179f9fd9df468a1aab3d1b22ff6e 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 %{
 
 Please don't use this Scheme hacking unless you have a good reason.
@@ -17,13 +18,13 @@ Please don't use this Scheme hacking unless you have a good reason.
        
        \paper { \translator {
                \VoiceContext
-               \remove Script_engraver;
-               \remove Text_engraver;
+               \remove Script_engraver
+               \remove Text_engraver
                }
                \translator {
                \ThreadContext
-               \consists Script_engraver;
-               \consists Text_engraver;                
+               \consists Script_engraver
+               \consists Text_engraver         
                }
        }
 }
index 694e6c8353185d04269927987db8a8c479889126..4d0b429dcf73ed49f853da497f48e88d1e628589 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
        
 
 
@@ -43,7 +44,7 @@ blah =        \notes{ \transpose c'' {
        \stemUp
        b,---. c---. d---. e---. f---. g---. a---. b---. c'---.
        \stemBoth
-      \time 4/4;
+      \time 4/4
        [c8 \< d e \! f][d' \> e' f' \! g'] 
        [c-> \< d-> e-> \! f->][d'-> \> e'-> f'-> \! g'->] 
        [c-^ \< d-^ e-^ \! f-^][d'-^ \> e'-^ f'-^ \! g'-^] 
index 806f1fcdf9b0fbe95c6183cf443a354acda5b727..781ceb18930e8125783776d646b380372ca25683 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \context Staff <
index 500008620e411db00da9a89ef3bb26382fef5217..9b6a470d268d38fdf52d5c99ad87fcbfb82ff1c0 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes \relative c''{
@@ -8,7 +9,7 @@
                \slurDown a()c d()g,\break
        }
        \paper{
-               indent = 0.0;
-               linewidth = 60.0\mm;
+               indent = 0.0
+               linewidth = 60.0\mm
        }
 }
index 16a8a7243d9787931b01015378276032582023d6..f85a4365500e5204f4a98297bcc60464d24d0661 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 \header{
-enteredby =     "jcn";
-copyright =     "public domain";
+enteredby =     "jcn"
+copyright =     "public domain"
 TestedFeatures =        "This file tests Feta embedded slurs" +
-        "(Feta definitively is not an abbreviation of Font-En-TjA)";
+        "(Feta definitively is not an abbreviation of Font-En-TjA)"
 }
 
 
@@ -168,7 +169,7 @@ clipping =  \notes\transpose c'{
 
 \score{
        \context Staff \notes{ 
-%              \property Voice.pletvisibility = 0;
+%              \property Voice.pletvisibility = 0
                % use blend for fast check
                \blend
 % {
@@ -187,9 +188,9 @@ clipping =  \notes\transpose c'{
                %\broken
        }
        \paper{ 
-             indent = 0.0\pt;
+             indent = 0.0\pt
                %for broken!
-               % linewidth= 30.\mm;
+               % linewidth= 30.\mm
        }
 }
 
index cbe360f7737080540cbee8dbe4da858a0786e273..9893ad3e444c284685cde94244dcd2b3c10c63aa 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
 \notes\relative c''{
@@ -22,6 +23,6 @@ a8(a a a a a a)a
 
 }
 \paper{
-indent=0.0\mm;
+indent=0.0\mm
 }
 }
index 90f91188d1991acd7dbab793b0d6add00b779402..bf48d0bdaa9c91295d15159cd50517b140452f8f 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \header{
 texidoc="
 In some cases, you may want to set slur attachments by hand.
-";
+"
 }
 
 
@@ -14,7 +15,7 @@ fragment = \notes {
   d,32( d'4 )d8..
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 3b1ea943e2682bbb6056fc1ef30da4b4d35c2626..d72892c5c6fef6ca81f97e3be04b5d28e26c3a93 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 fragment = \notes {
@@ -10,7 +11,7 @@ fragment = \notes {
   g4(g8)g
 }
 
-\paper { linewidth = -1.; } 
+\paper { linewidth = -1. } 
 
 \score {
   \notes\relative c \fragment
index 0570ed95a66aaea6a1aca82080b2efbc648e9147..528a6da97fcbe45c7d5888aef3f1c7bae609e427 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 \header{
 texidoc="
 The same goes for slurs. They behave decently when broken across
 linebreak.
-";
+"
 }
 
        
@@ -42,11 +43,11 @@ linebreak.
 %}
        }
        \context Staff=two \notes\relative c'{
-               \clef bass;
+               \clef bass
                s1 s1 %s1 s1 s1 s1 s1 s1 s1 s1
        }
        >
-       \paper { indent = 0.; linewidth = 40.*\staffspace; }
+       \paper { indent = 0. linewidth = 40.*\staffspace }
 }
 
 
index 0d76b37c76f0bb91204000e970c05429dbcb299b..39fc39cc07405e4b29e974dd68b84f0203f67d78 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c''{
-               \time 2/4;
+               \time 2/4
                e2(
                \break
                )e4 f,(\break
@@ -10,6 +11,6 @@
                )e'2
        }
        \paper{
-               linewidth = 60.\mm;
+               linewidth = 60.\mm
        }
 }
index 511b46a24acf03f28258f93b7a6b6b9aa456a829..98cde016c80aebd05e5d73f2352e3f2553bf8dda 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % test damping
 
 
index aa33b0d44a2ff2e2e1f7e750bfe2da9f592b9d21..66a8890c95ead72e72fe9f86a594c9a1f9fd419c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score{
@@ -13,9 +14,9 @@
                c( d e )c |
        }
        \paper{ 
-             indent = 0.0\pt;
+             indent = 0.0\pt
                %for broken!
-               % linewidth= 30.\mm;
+               % linewidth= 30.\mm
 
        }
 }
index 3f8891d5128b48516be606892d2ca38d15c1c12c..c77ce8210481f8d5f6c5e1880f6a3fd2ebb40dad 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
@@ -19,7 +20,7 @@
        
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index 83a153caa57273c42c8c2efc3b69513619f21a62..2fb98a72ce9eccc667daf91e7b0a02f4cb9adbed 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header {
-texidoc = "" ;
+texidoc = "" 
 }
 
 \score{
        \notes\relative c''{
-               \time 2/4;
+               \time 2/4
                \property Voice.Slur \set #'minimum-length = #40
                c()c
                c~c\break
index 1ebbf4fce17b15d8b9e912d441309dae2e1e8300..1e97d2c4454f6b9f37d6a9e32f039c3ac5e039a8 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes\relative c''{
@@ -12,7 +13,7 @@
 
        }
        \paper{
-               linewidth=-1.\mm;
+               linewidth=-1.\mm
        }
 }
 
index 3629d691386c7a72e59776758d99c677b4a267a4..501315da80c5095073f15d53f9a697bc4289e40b 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 x = {
@@ -36,8 +37,8 @@ x = {
     \context Voice=wa { \x d(s4*26)d }
   >
   \paper {
-    indent=0.0\mm;
-    linewidth=-1.0\mm;
+    indent=0.0\mm
+    linewidth=-1.0\mm
     \translator{
       \VoiceContext
       Slur \override #'direction = #1
index 1da057b1689e256211ebddadeaa27e51cbd5c6df..cee8911bc0481a7c6e01377de23d4b25aa2ec049 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \header{
 % should look the same
-title="symmetry";
+title="symmetry"
 }
 \score{
        \notes\relative c'{
@@ -12,6 +13,6 @@ title="symmetry";
        }
        \paper{
 
-               linewidth = 50.0\mm;
+               linewidth = 50.0\mm
        }
 }
index 9d345db716fa084abea57cd5fb6997ee38496815..22d944ab6d6d7a312cfd3839696dca90bb8fd8ee 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \header{
 % should look the same
-title="symmetry";
+title="symmetry"
 }
 \score{
        \notes\relative c'{
@@ -11,6 +12,6 @@ title="symmetry";
        }
        \paper{
 
-               linewidth = 50.0\mm;
+               linewidth = 50.0\mm
        }
 }
index 5e021dd19911398eaff6bc078847f1e8f780e352..307b1d7c14e9a12adfb90dc0ee18642f11db2a2f 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \header {
 texidoc="You can get ugly slurs, if you want.
-";
+"
 }
 
 baseWalk = \notes \relative c {
@@ -10,15 +11,15 @@ baseWalk = \notes \relative c {
 
 \score {
   \notes \context PianoStaff <
-    \time 6/4;
+    \time 6/4
     \context Staff=up { s1 * 6/4 }
     \context Staff=down <
-      \clef bass;
+      \clef bass
       \autochange Staff \context Voice \baseWalk
     >
   >
   \paper {
-    linewidth = -1.;
+    linewidth = -1.
     \translator {
       \VoiceContext
       Slur \override #'beautiful = #5.0
index 06927c256d226cd95835aa42165a23f85b94b698..dc7a9da7224ce34e40b6b0101195a58eba977220 100644 (file)
@@ -1,32 +1 @@
-
-
-
-\score{
-       \notes\transpose c'{
-
-               c,4 ~ c, c'' ~ c'' ~ g ~ c ~
-               d ~ e ~ f ~ g ~
-               a ~ b ~ c, ~ c
-
-               < c e ( > <)d f> 
-               \transpose c''
-               < c e ( > <)d f>
-               \transpose c'
-               < c e ( > <)d' f'>
-               < { c ~ d }
-                 { e ~ f }
-               >
-%      \context Staff <
-%      { \stemUp c'8 ~g ~e( ~c~ [c'~ g' e' )c'] c'' ~ c'' c~c }
-%      { \stemDown c (e g )c'~( [b a g )d]     r2 } 
-%      >
-
-       {
-
-               c4()c( c c  |
-               c c c c |
-               c c c c |
-               c c c )c |
-       }
-       }
-}
+\version "1.3.146"
index 05170116f21a0f2cb8ac72924ee96ee6948ec168..81e1945cefe223d7519e4823a580f6dc486a7f73 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \header {
 texidoc="
@@ -12,7 +13,7 @@ texidoc="
 
 You mean like this. (Sorry 'bout the nuked indentation.)
 @end example
-";
+"
 }
 
 #(define  (unhair-pitch p)
@@ -78,6 +79,6 @@ music = \notes \relative c' { c4 d  e f g a b  c }
     \apply #(lambda (x) (smart-transpose x (make-pitch 0 5 1)))
       \music
   }
-  \paper { linewidth = -1.; }
+  \paper { linewidth = -1. }
 }
 
index b886c7a9c47ad646978058da0770debf610e0a9f..83c2f70697d5ad17407ac80906904b461647b024 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \score{
        \context Staff = one <
-               \context Voice=one { \skip 1; }
-               \context Voice=two { \skip 1; }
+               \context Voice=one { \skip 1 }
+               \context Voice=two { \skip 1 }
 
                \context Voice=one \partcombine Voice
                        \context Thread=one \notes\relative c''
@@ -15,6 +16,6 @@
                                }
                >
        \paper{
-               linewidth = 100.\mm;
+               linewidth = 100.\mm
        }
 }
index f9f03b217399c5cabaa8af76f593cf20f7f5f57e..262282bfd47518581718f7b76911613be9a7d7e2 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 \header {
-opus =  "BWV 937 (prelude)";
-composer =  "J. S. Bach";
-source =  "Petits Preludes et Fugues.  Urtext. Editions Henry Lemoine, Paris.";
+opus =  "BWV 937 (prelude)"
+composer =  "J. S. Bach"
+source =  "Petits Preludes et Fugues.  Urtext. Editions Henry Lemoine, Paris."
 }
 
 %{
@@ -18,18 +19,18 @@ source =  "Petits Preludes et Fugues.  Urtext. Editions Henry Lemoine, Paris.";
                        e4 dis4 e2 }
                \context Voice = VB { \stemDown\slurDown\tieDown
                        [cis8 a] [fis b] gis2 }
-               {\key e \major; }
+               {\key e \major }
                >
-       \context Staff = SB { \clef "bass"; \key e \major;
+       \context Staff = SB { \clef "bass" \key e \major
                [a,,16 e dis e] [b'8 b,] [e16 e, gis b] e4
        } 
 > 
 
 \paper 
 {
-%      linewidth = 5.0 \cm; % ly2dvi barfs on -1
-       linewidth = 8.0 \cm;
-%      linewidth = 12.0 \cm;   
+%      linewidth = 5.0 \cm % ly2dvi barfs on -1
+       linewidth = 8.0 \cm
+%      linewidth = 12.0 \cm    
 }
 }
 
index 809dc44a26a511dd801653279f816b730760aaef..f5b5e315d6e780e5c28de7ef2ae00d774270a19b 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 \header{
-title= "Spacing";
-subtitle =  "proofsheet"; 
-enteredby =     "jcn";
-copyright =     "public domain";
-TestedFeatures =        "This file tests various spacings";
+title= "Spacing"
+subtitle =  "proofsheet" 
+enteredby =     "jcn"
+copyright =     "public domain"
+TestedFeatures =        "This file tests various spacings"
 }
 
 
@@ -90,7 +91,7 @@ singlepart =  \notes{
        \multipart 
     }
     \paper {
-%    linewidth= 18.\cm;
+%    linewidth= 18.\cm
 
     }
 }
index 1e21d1559ed075d53b1a1f3c7d08b0b296d8bc73..e4ca8b079fc0969aa54ea1592b72baeb91348160 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 nt =  \notes { c1 \break c1 c1 } 
index e43495ef1c1c7dab154fac6057e7f3d0ba00e003..c1cde48db9b5cb2841c25e7637c1808e57c4bcdf 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \score {
        \notes {
                c2_"geen gedonder"_"jij gaat onder"
                c2^^^.^|^"down"^"up"
         }
-       \paper { linewidth = -1. ; }
+       \paper { linewidth = -1.  }
 }
index 69bce2efdac4cd0f8963be405ca85aafb2c964e8..4b7b118c65d8dc6ef64dee36d871f9d925ee7460 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score
 {
   >
 
   \paper {
-       indent=100.0\mm;
-       linewidth=150.0\mm;
+       indent=100.0\mm
+       linewidth=150.0\mm
     \translator
     {
       \StaffContext
-      \consists Instrument_name_engraver;
+      \consists Instrument_name_engraver
        numberOfStaffLines  = #1
       
     }
index baa7cd25187cc53c8e05992fc456e8fa8ad88643..f554745865b849416684efaafe78bde494c8fc11 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 
 
 \header {
 
  texidoc = "By splitting the grouping (Axis_group_engraver) and
 creation functionality into separate contexts, you can override
-interesting things. You can also drop the \consistsend feature.";
+interesting things. You can also drop the \consistsend feature."
 
 }
 
@@ -20,19 +21,19 @@ interesting things. You can also drop the \consistsend feature.";
 \paper {
        \translator {
                \ScoreContext
-               \accepts StaffContainer;
-               \denies Staff;
+               \accepts StaffContainer
+               \denies Staff
        }
        \translator {
-               \type Engraver_group_engraver;
-               \consists "Axis_group_engraver";
-               \accepts "Staff";
-               \name StaffContainer;
+               \type Engraver_group_engraver
+               \consists "Axis_group_engraver"
+               \accepts "Staff"
+               \name StaffContainer
 
        }
        \translator {
                \StaffContext
-               \remove Axis_group_engraver;
+               \remove Axis_group_engraver
        }
 }
 }
index 972a387e8160995869f8d0c8a69335355f8ec676..a68dd33893aea225c09acd82b22af751b116cee4 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \notes \relative c'' \context GrandStaff <
index bf67887c5e4c6f1c1bd9123d344b303ef9576049..935c657c358155cd9b0a6af6dc52a8cca4205171 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 % test staff margin with partial measure.
 
 
 
 \score {
-\notes { \property Staff.instrument = "foo" \partial 4; c4 c1 }
+\notes { \property Staff.instrument = "foo" \partial 4 c4 c1 }
   \paper {
-    \translator { \StaffContext \consists Instrument_name_engraver; }
+    \translator { \StaffContext \consists Instrument_name_engraver }
   }
 }
index 2958ac03efb20389a4c54d97816b08c8ab6fa223..b667e6d7a8ca9c8f08fe930272741724208499e6 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \score{
        \context Staff \notes\relative c''{
                \property Staff.instrument = "Toeters"
@@ -6,13 +7,13 @@
                c c c c\break
        }
        \paper{
-               linewidth=60.0\mm;
+               linewidth=60.0\mm
 %              \translator { \HaraKiriStaffContext }
                \translator { \OrchestralScoreContext }
                \translator {
                        \StaffContext
-                       \consists "Instrument_name_engraver";
-                       marginHangOnClef = 1;
+                       \consists "Instrument_name_engraver"
+                       marginHangOnClef = 1
                }
        }
 }
index 641ad37f3afbf577e43a19dcc6fccecd1d3ba15e..854d6cc4ab8959a3415b3618f2f81d0e4455a57d 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \score {
   \notes \relative c' < \context Voice {
        \property Staff.staffSpace = #10
@@ -5,13 +6,13 @@
        \property Voice.fontSize = #-1
        
        \property Voice . dynamicDirection = \up \stemDown
-%\key gis \major;
+%\key gis \major
        c8 d [e f g a] b c \ff
   }
 
 \context Staff = VB {  \property Voice . dynamicDirection = \down c,,4 \ff c c c  }
 
 >
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
 }
 
index 984eee93a74b24097fe8926bd78fa10ab961ae85..65096cc31a58633d8af6fbe10ad4c2be58d56bad 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score {
index 101e95ecfd3231921f4848f4b2d69a9e9ec43fc4..0f34a67e692a8c91e4bd6b2f6657551b5a89761b 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header { texidoc = "
 Conventionally, stems and beams extend to the middle staff line.  This
 extension can be controlled through @code{Voice.Stem}'s grob-property
 @code{no-stem-extend}:
-";}
+"}
 
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
 \score {\notes \relative c {
   \grace a'8 a4
   \property Voice.Stem \set #'no-stem-extend = ##t
index c27c72254d0f4209ca425b5133df485873acb6ea..dc9bb24db08254b7cf2222295730497c7ffdb8dd 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index 0831f3b074a161794eca9617947fbd48e3e37465..c42972be24a2dde5eb9c43b239cba81064348647 100644 (file)
@@ -1,17 +1,18 @@
+\version "1.3.146"
 \header{
-title= "Stems and Beams";
-subtitle =  "proofsheet"; 
-enteredby =     "jcn";
-copyright =     "public domain";
+title= "Stems and Beams"
+subtitle =  "proofsheet" 
+enteredby =     "jcn"
+copyright =     "public domain"
 TestedFeatures =        "This file tests the length of stems and placement 
-of beams";
+of beams"
        
 }
 
 
 
 beamintervals =  \notes{
-               \time 7/4;
+               \time 7/4
                \stemUp
 \transpose c'{
                [ c8 d ] [ c e ] [ c f ] [ c g ] [ c a ] [ c b ] [ c c' ] |
@@ -29,7 +30,7 @@ beamintervals =  \notes{
 \score{
        \notes\transpose c'{ 
                \stemUp
-               \time 17/4;
+               \time 17/4
                g,4 a, b, c d e f g a b c' d' e' f' g' a' b' |
                \stemDown
                b' a' g' f' e' d' c' b a g f e d c b, a, g, |
index a6880cc87d48fd106398a13be2c31d444a515223..977a507ed548ecfa102eeae99c430a7c304026a7 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score {
index 9f4510b99c7f389d93f8ef6a01517b844006247a..cf02f8525691a65257c74bcefa2d1414b089e759 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score {
index b440df1c8be71bf5c046f5b76127cc45204bbe0b..f39ffaff19e30041e5bddb7d305ec237909d8e59 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
@@ -19,11 +20,11 @@ bla =  \notes \relative c' { <c4 e g>  <c4. e g> <c8 f a> <c4 f a> <c1 e g> }
 \paper {
  \translator {
   \StaffContext
-  \name TabStaff;
+  \name TabStaff
   StaffSymbol \override #'line-count = #6
-  \remove "Clef_engraver";
-  \remove "Time_signature_engraver";
-  \consists "Pitch_squash_engraver";
+  \remove "Clef_engraver"
+  \remove "Time_signature_engraver"
+  \consists "Pitch_squash_engraver"
    NoteHead \override #'transparent = ##t
    Stem \override #'transparent = ##t
    NoteHead \override #'staff-position = #-6
@@ -33,7 +34,7 @@ bla =  \notes \relative c' { <c4 e g>  <c4. e g> <c8 f a> <c4 f a> <c1 e g> }
 }
 \translator {
 \ScoreContext
-\accepts TabStaff;
+\accepts TabStaff
 }
 }
 }
index 42387d2570d5f583e9ae6f56c45056b01422d3b8..20fcee20bb7430641ab100d5ecafcbac653d0fd0 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 \header{
-filename =     "tchaikovsky.ly";
-title =                "Extracts from 6th symphony";
-subtitle =     "Ist movement";
-composer=      "Pjotr Iljitsj Tchaikovsky";
-enteredby =    "Maarten Storm";
-instrument=    "Violoncello";
+filename =     "tchaikovsky.ly"
+title =                "Extracts from 6th symphony"
+subtitle =     "Ist movement"
+composer=      "Pjotr Iljitsj Tchaikovsky"
+enteredby =    "Maarten Storm"
+instrument=    "Violoncello"
 }
 
 
@@ -15,15 +16,15 @@ instrument= "Violoncello";
 \score{
        \notes
          \relative c{
-               \clef "bass";
-               \key d \major;
+               \clef "bass"
+               \key d \major
                <a2\ppp\cr d> <gis\rc\p\decr d'> | <a2\rced d> ~ <a8 d> r8 r4 |
                a2\ppp\cr a2\rc\p\decr | <a2\rced d> ~ <a8 d> r8 r4 |
                a2\pppp ~ a8 r8 r4 | a2\ppppp ~ a8 r8 r4 | r4 a8_"pizz"
                r8 r2^\fermata     
        }
        \header{
-       piece="example 1";
+       piece="example 1"
        }
 }
 
@@ -31,13 +32,13 @@ instrument= "Violoncello";
 \score{
        \notes
        \relative c{
-               \clef "bass";
-               \key c \major;
+               \clef "bass"
+               \key c \major
                <e1\sff cis'^\downbow> | <cis\sff a'^\downbow> | 
                <d,\ffff\decr g> | ~ <d2 g> ~ <d8\p\rced g> 
        }
        \header{ 
-       piece="example 2";
+       piece="example 2"
        }
 }
 
index 62fba8edb10901ecc0bb2116c68e17489e1f6e9b..3e574ee957c28778db9d69b0b5a4586838fdc03e 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \include "german-chords.ly"
 
 % #(set! german-Bb #t)
index 06d4682402fb1bf3cf03c0d6b327c5db5d7c9a25..89f0268955e36ad133e44b2657a6a4b412f8a86c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
index 92ec7d04f57b8baf035ff54ddf061f0cd693bbf3..24ccd550bcc0219adf5102bab09a2186c100c4f1 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 %
index 2fa32570225a9e1ec2082e4ee1d1f8eacb6d8fd5..f3da74aa8d0a2c54941c4f67936331417d519480 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 \header{
-       title="CELLO-THUMBS";
-       enteredby="Maarten Storm";
+       title="CELLO-THUMBS"
+       enteredby="Maarten Storm"
 }
 
 
@@ -14,7 +15,7 @@
                <c_\thumb c'-3(> <)d_\thumb d'-3>]
        }
        \paper{ 
-               linewidth = 80.\mm; 
+               linewidth = 80.\mm 
 
        }
 }
index 0235ec5aaf5b195e5b814c3bc0a78448cd7b4a6f..49a12048accb31a2615b8d46f60010248ab66b24 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score{
        \notes \relative c''{
@@ -6,13 +7,13 @@
                c c c c 
 
                c1~\break
-               \time 8/8; c
+               \time 8/8 c
                c4 c c c~\break
-               \time 4/4;
+               \time 4/4
                c c c c 
        }
        \paper {
-               linewidth=40.\mm;
-               indent=0.;
+               linewidth=40.\mm
+               indent=0.
        }
 }
index a63b26b9e45b587366771517ecf2e13f478f048c..e50139d6d7305da4e1f49b4466a5503be3c2fd1e 100644 (file)
@@ -1,14 +1,19 @@
+\version "1.3.146"
+\header {
 
+texidoc = "setting sparseTies causes only one tie to be
+generated per chord pair."
+
+}
+
+       
 \score { 
   \context Voice \notes\relative c {
-    
-       \context Voice {
        \property Voice.sparseTies = ##t
-       c''  <c e g> ~ <c e g>  }
-       
+       c''  <c e g> ~ <c e g> 
   }
   \paper {
-    linewidth=-1.0;
+    linewidth=-1.0
   }  
   \midi { }
 }
index a4f3357f474590033cab46b75c7326fe2287ee19..8d9dc9b865613788713b1cfd760549d3a9ccaf74 100644 (file)
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
     \property Staff.TimeSignature \override #'style = #'C
-    \time 1/1;
+    \time 1/1
     c''1^"TimeSignature style = \#'C" 
-    \time 2/2; 
+    \time 2/2 
     c1 
-    \time 2/4; 
+    \time 2/4 
     c2 
-    \time 3/4; 
+    \time 3/4 
     c2. 
-    \time 4/4; 
+    \time 4/4 
     c1 
-    \time 5/4; 
+    \time 5/4 
     c2. c2 
-    \time 6/4; 
+    \time 6/4 
     c1. 
-    \time 3/2; 
+    \time 3/2 
     c1. 
-    \time 7/4; 
+    \time 7/4 
     c1 c2. 
-    \time 8/4; 
+    \time 8/4 
     c\breve
-    \time 9/4; 
+    \time 9/4 
     c2. c2. c2. 
     \break
     \property Staff.TimeSignature \set #'style = #'old
-    \time 1/1; 
+    \time 1/1 
     c1^"TimeSignature style = \#'old" 
-    \time 2/2; 
+    \time 2/2 
     c1 
-    \time 2/4; 
+    \time 2/4 
     c2 
-    \time 3/4; 
+    \time 3/4 
     c2. 
-    \time 4/4; 
+    \time 4/4 
     c1 
-    \time 5/4; 
+    \time 5/4 
     c2. c2 
-    \time 6/4; 
+    \time 6/4 
     c1. 
-    \time 3/2; 
+    \time 3/2 
     c1. 
-    \time 7/4; 
+    \time 7/4 
     c1 c2. 
-    \time 8/4; 
+    \time 8/4 
     c\breve 
-    \time 9/4; 
+    \time 9/4 
     c2. c2. c2. 
-    \time 6/8; 
+    \time 6/8 
     c2. 
-    \time 9/8; 
+    \time 9/8 
     c4. c4. c4. 
     \break
     % Lilypond doesn't understand 'default => it does what you want
     \property Staff.TimeSignature \set #'style = #'default
-    \time 1/1; 
+    \time 1/1 
     c1^"TimeSignature style = \#'default"
-    \time 2/2; 
+    \time 2/2 
     c1
-    \time 2/4; 
+    \time 2/4 
     c2 
-    \time 3/4; 
+    \time 3/4 
     c2.
-    \time 4/4; 
+    \time 4/4 
     c1
-    \time 5/4; 
+    \time 5/4 
     c2. c2
-    \time 6/4; 
+    \time 6/4 
     c1.
-    \time 3/2; 
+    \time 3/2 
     c1.
-    \time 7/4; 
+    \time 7/4 
     c1 c2.
-    \time 8/4; 
+    \time 8/4 
     c\breve 
-    \time 9/4; 
+    \time 9/4 
     c2. c2. c2.
     \break
     % If the style starts with a '1', you get this style
     \property Staff.TimeSignature \set #'style = #'1style
-    \time 1/1; 
+    \time 1/1 
     c1^"TimeSignature style = \#'1xxx"
-    \time 2/2; 
+    \time 2/2 
     c1
-    \time 2/4; 
+    \time 2/4 
     c2 
-    \time 3/4; 
+    \time 3/4 
     c2.
-    \time 4/4; 
+    \time 4/4 
     c1
-    \time 5/4; 
+    \time 5/4 
     c2. c2
-    \time 6/4; 
+    \time 6/4 
     c1.
-    \time 3/2; 
+    \time 3/2 
     c1.
-    \time 7/4; 
+    \time 7/4 
     c1 c2.
-    \time 8/4; 
+    \time 8/4 
     c\breve 
-    \time 9/4; 
+    \time 9/4 
     c2. c2. c2. 
     \break
     \property Staff.TextScript \override #'self-alignment-X = #1
     \property Staff.TimeSignature \set #'style = #'old9/8
-    \time 1/1; 
+    \time 1/1 
     c1^"old9/8" 
     \property Staff.TimeSignature \set #'style = #'old6/8
-    \time 1/1; 
+    \time 1/1 
     c1^"old6/8" 
     \property Staff.TimeSignature \set #'style = #'old6/8alt
-    \time 1/1; 
+    \time 1/1 
     c1^"old6/8alt" 
     \property Staff.TimeSignature \set #'style = #'old9/4
-    \time 1/1; 
+    \time 1/1 
     c1^"old9/4" 
     \property Staff.TimeSignature \set #'style = #'old6/4
-    \time 1/1; 
+    \time 1/1 
     c1^"old6/4" 
     \property Staff.TimeSignature \set #'style = #'old3/2
-    \time 1/1; 
+    \time 1/1 
     c1^"old3/2" 
     \property Staff.TimeSignature \set #'style = #'old4/4
-    \time 1/1; 
+    \time 1/1 
     c1^"old4/4" 
     \property Staff.TimeSignature \set #'style = #'old2/2
-    \time 1/1; 
+    \time 1/1 
     c1^"old2/2"
     \property Staff.TimeSignature \set #'style = #'old2/4
-    \time 1/1; 
+    \time 1/1 
     c1^"old2/4" 
     \property Staff.TimeSignature \set #'style = #'old4/8
-    \time 1/1; 
+    \time 1/1 
     c1^"old4/8"
     \property Staff.TimeSignature \set #'style = #'C4/4
-    \time 1/1; 
+    \time 1/1 
     c1^"C4/4" 
     \property Staff.TimeSignature \set #'style = #'C2/2
-    \time 1/1; 
+    \time 1/1 
     c1^"C2/2" 
     
   }
index 86ea3d398504945969e2a2a2f15b89b96a8de680..c24f679c7049416abe7a70e6cd35f2629ab4eec5 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
     
        
        % \property Score. measurePosition = #(make-moment -1 4)
-       \partial 4;
+       \partial 4
        c''4 c4 c4 c2 c1
        \cadenzaOn [c8 d e f] [g a b c b c b c]
        \cadenzaOff
index ca66d36e331d0d7b5eb7cfd0d196b7557e001edf..10c4939ffec33763efe1f111a1ce89aa77e6f7f9 100644 (file)
@@ -1,13 +1,14 @@
+\version "1.3.146"
 \header{
-filename =     "title.ly";
-title =                "Title";
-subtitle =     "Subtitle";
-composer=      "Composer (xxxx-yyyy)";
-arranger =     "Arranger";
-copyright =    "public domain";
-enteredby =    "jcn";
-source =       "urtext";
-instrument=    "Instrument";
+filename =     "title.ly"
+title =                "Title"
+subtitle =     "Subtitle"
+composer=      "Composer (xxxx-yyyy)"
+arranger =     "Arranger"
+copyright =    "public domain"
+enteredby =    "jcn"
+source =       "urtext"
+instrument=    "Instrument"
 }
 
 
@@ -19,9 +20,9 @@ instrument=   "Instrument";
                c d e f f e d c
        }
        \header{
-       opus =          "Opus 0";
-       piece =         "Piece I";
-       override="Overdriven";
+       opus =          "Opus 0"
+       piece =         "Piece I"
+       override="Overdriven"
        }
 }
 
@@ -33,8 +34,8 @@ instrument=   "Instrument";
            f e d c c d e f
        }
        \header{ 
-       piece = "Piece II"; 
-       opus =          "Opus 1";
+       piece = "Piece II" 
+       opus =          "Opus 1"
        }
 }
 
index 676372b10a69ce4e72c0147f31eaccb94f86b8c9..a41d3f0d2b270d1d63207d9122d54018add78c29 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 \score { 
   \context Voice \notes\relative c {
index e0948ac17813db9a229d67a288ba7ac851ac9ba1..438c8dcdadff4cf90cf0e9ddbb085cb207efc550 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 %{
 Hi all,
 
 I have extend Mats' patches to allow accidental transposition:
-        \keysignature bes es fis;
+        \keysignature bes es fis
                = \transpose d =>
-        \keysignature gis;
+        \keysignature gis
 
 As you can see in output =  the example file "test.ly" there are a few problems left:
 - key undo (already in the Todo)
@@ -21,38 +22,38 @@ Eric
 %}
 
 \header{
-title =         "Test it";
-description =   "Transposition Test file";
-enteredby =     "Eric Bullinger";
-copyright =     "public domain";
+title =         "Test it"
+description =   "Transposition Test file"
+enteredby =     "Eric Bullinger"
+copyright =     "public domain"
 }
 
 
 
 
 vOne =  \notes \relative c''{
-        \clef"violin";
-        \key d \major;
-        \time 2/4 ;
+        \clef"violin"
+        \key d \major
+        \time 2/4 
         d4 d |       
-        \key fis \major;
+        \key fis \major
         fis4 fis |         
-        \key es \major;
+        \key es \major
         c4 c |
 }
 
 vTwo =  \notes \transpose d' { \vOne }
 
 vThree =  \notes \relative c''{
-        \clef"violin";
-%        \keysignature fis cis;
+        \clef"violin"
+%        \keysignature fis cis
        \property Staff.keySignature = #'((0 . 1)(3 . 1))
-        \time 2/4 ;
+        \time 2/4 
         d4 d |       
-%        \keysignature bes es fis;
+%        \keysignature bes es fis
        \property Staff.keySignature = #'((3 . 1)(2 . -1)(6 . -1))
         fis4 fis |         
-%        \keysignature fis cis gis dis ais eis;
+%        \keysignature fis cis gis dis ais eis
        \property Staff.keySignature = #'((2 . -1)(5 . -1)(1 . 1)(4 . 1)(0 . 1)(3 . 1))
         cis4 ais4 |
 }
@@ -66,7 +67,7 @@ vFour =  \notes \transpose d' \vThree
          \context Staff=vThree \vThree
          \context Staff=vFour \vFour
   >
-        \paper { linewidth= 130.\mm; }
+        \paper { linewidth= 130.\mm }
 }
 
 
index c93911005f484b7fd8419459788c692ddc8e8f97..2bfd726ad8e640df3178f38ea3bd27a31f221efb 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 
 
 \score {
   \context Voice \notes \relative c'' {
-    \time 2/4;
+    \time 2/4
     \times 2/3 { r c,,, c''' }
     \times 2/3 { r c c }
     \times 2/3 { r c r}
index 70f48cc2d56611d0bf85bf8719058a34c976dd73..cf590efaaef905d93009458344871d4f8bcaea74 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 
 \score
 {
 \context Voice \notes \relative c'' {
-\time 2/4;
+\time 2/4
 \times 2/3 { c8 c c c c c  }
 \property Voice . tupletSpannerDuration = #(make-moment 1 4)
 \times 2/3 { c8 c c c c c  }
index 4c56c8122887fa5f75a36b98fd356648b058faba..5191612043dc1f9540907815536a70db0e073f30 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 \score { 
index 4b4f2039c742f279f95705968a24e88105cb76a2..ceafc7f051836a5993628b967d5009233a5d1784 100644 (file)
@@ -1,13 +1,14 @@
+\version "1.3.146"
 \header {
 
 texidoc = "If you specify two different key sigs at one point, a
-  warning is printed.";
+  warning is printed."
 
 }
 
 \score { \notes
 \context Voice <
- { \key cis \major; cis4 \key bes \major; bes4 }
- { \key cis \major; fis4 \key es \major; g4 }  
+ { \key cis \major cis4 \key bes \major bes4 }
+ { \key cis \major fis4 \key es \major g4 }  
 >
 }
index 2e7e9ed58f2b9a29174d0c19abbc77dfaaa33b7d..7f1cd516c2aac3d9085936fb3d86f4d2824d9939 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %
 % We'd want to combine the stems, but have two slurs too...
@@ -15,6 +16,6 @@
                }
        >
        \paper{
-               linewidth=60.\mm;
+               linewidth=60.\mm
        }
 }
index b4eb46fd4c05c4810b9100e961f5e91ea7b7459e..57022b3fe9fe35911b1d1a9f6ae9cfd697ebe40b 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 %{
 Hmm, ik vraag me af of dit al helemaal koel is.
 
   return abs (this_one.force_f_) + abs (prev.force_f_ - this_one.force_f_)
-      + break_penalties;
+      + break_penalties
 
 Neem als voorbeeld iets dat lijkt op allemande: keuze tussen 2 of drie
 maten per regel.
@@ -105,8 +106,8 @@ Heb niet zomaar beter idee, nog.
 
        }
        \paper {
-               indent=0.0\mm;
-               linewidth=90.0\mm;
+               indent=0.0\mm
+               linewidth=90.0\mm
        }
 }
 
index ff8013c903081397d1db4f67885540e53adaeb16..4d247506989779983498d59bd6020592864b4aaa 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 
index f6bcfa949a5e4a80fc3a4c832c08b9bc58653ecf..485d7ab092b91efee5d25c69779f47cae6c2c97b 100644 (file)
@@ -4,26 +4,26 @@ VerticalExtent, VerticalExtent, VerticalExtent. These are
 normal property values, and are written itno the grob when the
 associated context finishes, so using it in \property works.
 
- "; }
-\version "1.3.145";
+ " }
+\version "1.3.146"
 
 \score {
   \notes  <
     \context Staff = upper {
       \property Staff.VerticalExtent = #'(-15.0 . 0.0)
-      \clef alto;
+      \clef alto
       c1 \break c1 
     }
     \context Staff = lower {
       \property Staff.VerticalExtent = #'(-0.0 . 15.0)
-      \clef alto;
+      \clef alto
       g1 \break g1 
     }
   >
   \paper{
-    interscoreline = 13.0\mm;
-    interscorelinefill = 0;
-    \translator{\ScoreContext \remove "Bar_number_engraver";}
+    interscoreline = 13.0\mm
+    interscorelinefill = 0
+    \translator{\ScoreContext \remove "Bar_number_engraver"}
     \translator{\StaffContext MinimumVerticalExtent = #'(-2.0 . 2.0)}
   }
 }
index bd091ac8f3dedd75155afa19aa6c5e02dc78e420..48e18256d00f5cce3510ac7c0f6a1f8a923c075c 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 \score{
        <
                \context Staff = o \notes\relative c,,, { 
index 0682bf80296e135d695a48353e5b5452ddfdc3ab..0d67033b9c174c12fd5308a6c83b467c91f30468 100644 (file)
@@ -1,8 +1,9 @@
+\version "1.3.146"
 
 \score{
        \context Staff <
-               \context Voice=one\skip 1;
-               \context Voice=two\skip 1;
+               \context Voice=one\skip 1
+               \context Voice=two\skip 1
                \context Voice=one \partcombine Voice
                        \context Thread=one \notes\relative c'' {
                                c2 c2
@@ -15,7 +16,7 @@
                        }
        >
        \paper{
-               linewidth=140.\mm;
+               linewidth=140.\mm
        }
 }
 
index 2e01d3c8d63e5f52605a125d894a439d1ee50c43..262c35e10b7d90e58a05af27141b3a18a769dc7e 100644 (file)
@@ -1,19 +1,20 @@
+\version "1.3.146"
 
 \header{
 
 texidoc =  " Volta braces are hung on barlines. At the start of the
-line, they should always start after the prefatory matter.  ";
+line, they should always start after the prefatory matter.  "
 
 }
 
 
 
 voiceB =  \notes {
-    \clef bass;
+    \clef bass
      \property Staff.instrument = "Bass"
      \property Staff.instr = "B"
-     \key f \minor; 
-     \time 4/4;  
+     \key f \minor 
+     \time 4/4  
     f,2 (   ) f,8    r8   f8    e8    
     \repeat  volta 2
     {
@@ -99,10 +100,10 @@ voiceE =  \notes {
 
     >
        \paper {
-           font_normal = 12.;
+           font_normal = 12.
            \translator {
                 \StaffContext 
-                \consists Instrument_name_engraver;
+                \consists Instrument_name_engraver
            }
        }
 }
index 5ff5265dd5139ffa257771eab56cb16e6724bdf4..e08f25beb2f96cf62ae5d927ceec6663ba45315c 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 
 
 
 
 voiceE =  \notes {
-\clef bass;
+\clef bass
  \property Staff.instrument = "Bass"
  \property Staff.instr = "B"
 % \property Staff.VoltaBracket = \turnOff
 
- \time 4/4;  f,2 (   ) f,8    r8   f8    e8    
+ \time 4/4  f,2 (   ) f,8    r8   f8    e8    
 \repeat  volta 2
 {
  d8.    d16    e8.    f16    f8    c8    c16    c8. 
@@ -22,8 +23,8 @@ voiceE =  \notes {
 }
 voicedefault =  \notes {
  
- \time 4/4; \key f \major ; 
- \tempo 4 = 200;
+ \time 4/4 \key f \major  
+ \tempo 4 = 200
 }
 \score{
         \notes <
@@ -37,11 +38,11 @@ voicedefault =  \notes {
 
     >
         \paper {
-            font_normal = 12.;
+            font_normal = 12.
             \translator {
                  \StaffContext
                 TimeSignature \override   #'style = #'C
-                 \consists Instrument_name_engraver;
+                 \consists Instrument_name_engraver
             }
         }
 }
index 34d64ff246919a782b277ee652e3ad4786098bf1..777ab0828961e46baac2617ebcb42e48ff1c5065 100644 (file)
@@ -1,10 +1,11 @@
+\version "1.3.146"
 
 \header {
 texidoc="Various warnings
-";
+"
 }
 
-linebreak = \penalty -1000;
+linebreak = \penalty #-1000
 
 \score {
   \notes {
index 51583b97cf97163b8a0e6590823d92cacc645d94..946dfb8601b2d1199fa2e08d57efa4494c4e43d1 100644 (file)
@@ -1,9 +1,11 @@
 \header {
-  title =       "Trip";
-  copyright =   "public domain";
+  title =       "Trip"
+  copyright =   "public domain"
 }
 
 
+\version "1.3.146"
+
 %{
 
 This file tests as much features of lily as possible. If there are any
@@ -23,8 +25,8 @@ TODO:
 
 
 praeludiumRight =   \notes {
-   \key e \major;
-  \clef violin;
+   \key e \major
+  \clef violin
 
   % 13 -- how to type -- where to split -- this more neatly?
   \context Staff <
@@ -49,8 +51,8 @@ praeludiumRight =   \notes {
 }
 
 praeludiumLeft =  \notes \relative c {
-   \key e \major;
-  \clef bass;
+   \key e \major
+  \clef bass
 
   % 13
   \context Staff <
@@ -88,9 +90,9 @@ praeludiumLeft =  \notes \relative c {
 
 
 fugaIIRight =  \notes   \relative c''   {
-  \key e \major;              % E-major
-  \clef violin;
-  \time3/4;
+  \key e \major              % E-major
+  \clef violin
+  \time3/4
 
   %15
   \context Staff <
@@ -139,8 +141,8 @@ fugaIIRight =  \notes   \relative c''   {
 gracetest =  \notes \grace { [c16 ( cis dis] }
 
 fugaIILeft =  \notes {
-  \key e \major;
-  \clef bass;
+  \key e \major
+  \clef bass
 
   %15
   \context Staff < 
@@ -151,14 +153,14 @@ fugaIILeft =  \notes {
     \context Voice = two { \stemDown s2 e4 |
       fis2 fis4 }
   >
-  \stemBoth cis2 [e16( fis a \clef "treble"; b] |
+  \stemBoth cis2 [e16( fis a \clef "treble" b] |
   d'4 ) b8 b8 b4 |
   %19
 }
 
 fugaIIPedal =  \notes \relative c {
-  \key e \major;
-  \clef bass;
+  \key e \major
+  \clef bass
 
   \repeat "volta" 2 { dis4.-\ltoe } \alternative { e8-\rtoe cis4 } |
   b4.-\lheel [cis8-\ltoe dis8-\rtoe e8-\rheel] |
@@ -180,7 +182,7 @@ fugaIIPedal =  \notes \relative c {
 
        \property Score.midiInstrument = "church organ"
         \praeludiumRight 
-        \times 4/3 {  c4 c4 c4 }  \mark "B";
+        \times 4/3 {  c4 c4 c4 }  \mark "B"
           \fugaIIRight }
       \context Staff = bass {
        \property Staff.instrument = #"left"
@@ -192,9 +194,9 @@ fugaIIPedal =  \notes \relative c {
         \property Staff.instrument = #"bass"
         \property Staff.instr = #"bs"  
 
-        \time 4/4;
-       \key e \major; 
-  \clef bass;
+        \time 4/4
+       \key e \major 
+  \clef bass
 
   %13
   r4 fis,4-\ltoe e4.-\lheel e'8-\rheel | 
@@ -210,9 +212,9 @@ fis8-\rtoe fis4-\rtoe [e8-\ltoe a-\rtoe] |
       g  r4.
     )
       c2^^^-^\f 
- \time 3/4;
+ \time 3/4
 
-  \fugaIIPedal \bar "|." ; }
+  \fugaIIPedal \bar "|."  }
       
     >
   >
@@ -223,13 +225,13 @@ fis8-\rtoe fis4-\rtoe [e8-\ltoe a-\rtoe] |
                \OrchestralScoreContext
        }
        \translator { \PianoStaffContext
-               \consists "Instrument_name_engraver";
+               \consists "Instrument_name_engraver"
        }
        \translator { \StaffContext
-               \consists "Instrument_name_engraver";
+               \consists "Instrument_name_engraver"
        }
   }
 
   \midi {
-    \tempo 4 =96; }
+    \tempo 4 =96 }
 }
index 9ef044063d1fa483fe74550988773d74c41830df..351f3b6944c7ec74cb052781f76a8fcc73128324 100644 (file)
@@ -1,17 +1,17 @@
 
 \header {
-        title = "The river is flowing";
-        composer = "Traditonal (?)";
+        title = "The river is flowing"
+        composer = "Traditonal (?)"
 }
 
 \include "paper16.ly"
 
 melody = \notes \relative c' {
-        \partial 8;
+        \partial 8
         g8 |
         c4 c8 d [es () d] c4 | f4 f8 g [es() d] c g |
         c4 c8 d [es () d] c4 | d4 es8 d c4.
-        \bar "|.";
+        \bar "|."
 }
 
 text = \lyrics {
@@ -37,5 +37,5 @@ accompaniment =\chords {
              \context Lyrics \text
         }
         \midi  { }
-        \paper { linewidth = 10.0\cm; }
+        \paper { linewidth = 10.0\cm }
 }
index 44e40c4e368623a4fa1df6eefb3eaadadbfbcfc7..1c6343a288750fa1501e4356b6f772619620f74c 100644 (file)
@@ -22,10 +22,10 @@ tenor = \notes \relative c' {
 
 \score {
        \context PianoStaff \notes <
-               \context Staff = top { \key d \major; \time 4/4;
+               \context Staff = top { \key d \major \time 4/4
                        \soprano
                }
-               \context Staff = bottom < \key d \major; \time 4/4; \clef bass;
+               \context Staff = bottom < \key d \major \time 4/4 \clef bass
                        \context Voice = up  { \tenor } 
                        \context Voice = down  { \bass }
                >
index a1bb68f7f38d69ee7fcf0892cda406d353ebb548..6fba5af310a06aac942b9cb45d6f09da604a187d 100644 (file)
@@ -2,16 +2,16 @@
 % lines preceded by a percent sign are comments.
 \include "paper16.ly"
 \score {
-    \notes                     
+    \notes
     \relative c''
-        \sequential {          
-           \key g \major;
-           \time 3/4;          
+        \sequential {
+           \key g \major
+           \time 3/4    
 
        \repeat "volta" 2 \sequential {
            d4 g,8 a b c d4 g, g |
            e'4 c8 d e fis g4 g, g |
-           c4 d8()c b a( )b4 c8 b a g |
+           c4 d8( )c b a( )b4 c8 b a g |
            a4 [b8 a] [g fis] g2.  |
        }
 
@@ -22,9 +22,9 @@
         g4 fis e |
         fis a,  r8 cis8
         d2.-\fermata
-        \bar "|.";
+        \bar "|."
     }
     \paper {
-       linewidth = 10.0 \cm; % standard settings are too wide for a book
+       linewidth = 10.0 \cm % standard settings are too wide for a book
    }
 }
index 1dd8aa064d47c3dea55bc5923d91d23a56eeab9a..79392324519f9a6fa5df5b54a945722c1a94d509 100644 (file)
@@ -1,24 +1,20 @@
-  \version "1.3.138";
-  \header {
-        title = "Two miniatures";
-  }
-  
-  #(set! point-and-click line-column-location)
-  
-  \paper { linewidth = -1.0; }
+\version "1.3.138"
+\header { title = "Two miniatures" }
 
-  \score {
+#(set! point-and-click line-column-location)
+
+\paper { linewidth = -1.0 }
+
+\score {
     \notes { c'4 d'4 }
     \header {
-       opus = "Opus 1.";
-       piece = "Up";
-    }
-  }
-  
-  \score {
-    \notes { d'4 c'4  }
+        opus = "Opus 1."
+        piece = "Up" }
+}
+
+\score {
+    \notes { d'4 c'4 }
     \header {
-       opus = "Opus 2.";
-       piece = "Down";
-    }
-  }
+        opus = "Opus 2."
+        piece = "Down" }
+}
index f89b07f2f5df859836c64ad8faab610332ce473e..11cf5fb3094be6bfd8d61da26f9e57169417f4f3 100644 (file)
@@ -1,31 +1,28 @@
 
-\include "os-music.ly";
-\include "paper16.ly";
+\include "os-music.ly"
+\include "paper16.ly"
 
 \score {
   \context Staff <
+    \property Score.skipBars = ##t
     \property Staff.midiInstrument = #"flute"
     \global
     \Key
     \flautoII
   >
   \header {
-    instrument = "flute I";
+    instrument = "flute I"
   }
   \paper {
-    linewidth = 80 * \staffspace;
-    textheight = 40 * \staffspace;
-    \translator {
-      \OrchestralScoreContext
-      skipBars = ##t
-    }
+    linewidth = 80 * \staffspace
+    textheight = 40 * \staffspace
   }
   \midi {
-    \tempo 4 = 75;
+    \tempo 4 = 75
   }
 }
 
 
 % switch off settings of -score file, so the rest of the
 % tutorial isn't \special
-#(set! point-and-click #f)
\ No newline at end of file
+#(set! point-and-click #f)
index b20a12288b9f9a56bf129e1ea5a1c7900115c372..b275b2c68167191ab5d7481aa4b9c55b7579dc7c 100644 (file)
@@ -1,17 +1,17 @@
 % include file for tutorial
 
 \header {
-  title = "Zo, goed lieverd?";
-  subtitle = "How's, this babe?";
-  composer = "JCN";
-  opus = "1";
-  piece = "Laid back";
+  title = "Zo, goed lieverd?"
+  subtitle = "How's, this babe?"
+  composer = "JCN"
+  opus = "1"
+  piece = "Laid back"
 }
 global = {
-  \time 2/4;
-  \skip 2*4; \bar "|.";
+  \time 2/4
+  \skip 2*4 \bar "|."
 }
-Key = \notes \key as \major;
+Key = \notes \key as \major
 flautoI = \notes\relative c'' {
   f8 g f g f g f g
   bes as bes as bes as bes as
@@ -20,7 +20,7 @@ flautoII = \notes\relative c'' {
   as8 bes as bes R1 d4 ~ d
 }
 tromboI = \notes\relative c'' {
-  c4. c8 c8 c4. es4 R1*1/2 es4
+  c4. c8 c8 c4. es4 r as, r
 }
 tromboII = \notes\relative c'' {
   as4. as8 as8 as4. R1*1/2 as4 es'
index 8c4fc4f4c6f2ce4b42ee6131e781a9a9652b26e9..db0e3b3938a9e122fb8b896506e9c0c79b8d8a5a 100644 (file)
@@ -1,8 +1,8 @@
 
-\version "1.3.138";
+\version "1.3.138"
 
-\include "os-music.ly";
-\include "paper13.ly";
+\include "os-music.ly"
+\include "paper13.ly"
 
 #(set! point-and-click line-column-location)
 #(define text-flat '((font-relative-size . -2) (music "accidentals--1")))
@@ -10,6 +10,7 @@
 \score {
   <
     \global
+    \property Score.BarNumber \override #'padding = #3
     \context StaffGroup = woodwind <
       \context Staff = flauti <
        \property Staff.midiInstrument = #"flute"
@@ -25,7 +26,7 @@
        \property Staff.midiInstrument = #"timpani"
        \property Staff.instrument = #'(lines "Timpani" "(C-G)")
        \property Staff.instr = #"Timp."
-       \clef bass;
+       \clef bass
         \Key
        \timpani
       >
        \property Staff.instrument = #`(lines "Corno" (rows "(E" ,text-flat ")"))
        \property Staff.instr = #`(lines "Cor."  (rows "(E" ,text-flat ")"))
        \property Staff.transposing = #3
-       \notes \key bes \major;
+       \notes \key bes \major
        \context Voice=one \corno
       >
     >
   >
   \paper {
-    indent = 15 * \staffspace;
-    linewidth = 60 * \staffspace;
-    textheight = 90 * \staffspace;
-    \translator{
-      \ThreadContext
-      \consists "Rest_engraver";
-    }
+    indent = 15 * \staffspace
+    linewidth = 60 * \staffspace
+    textheight = 90 * \staffspace
     \translator{
       \VoiceContext
-      \remove "Rest_engraver";    
-      \consists "Multi_measure_rest_engraver";
-      \consists "Bar_engraver";
+      \consists "Multi_measure_rest_engraver"
     }
     \translator{
       \HaraKiriStaffContext
-      \remove "Multi_measure_rest_engraver";
-      \remove "Bar_engraver";
-    }
-    \translator {
-      \OrchestralScoreContext
-      BarNumber \override #'padding = #3
+      \remove "Multi_measure_rest_engraver"
     }
   }
   \midi {
-    \tempo 4 = 75;
+    \tempo 4 = 75
   }
 }
 
index 653c26a6615a1df6864a9cbdc613420b0a8d64b0..9b96735fad5a070f2a03ffb1899f8c469e7b0959 100644 (file)
@@ -1,60 +1,62 @@
 
-\include "paper16.ly";
+\include "paper16.ly"
 
 stemdown = \property Voice.Stem \override #'direction = #-1
 stemup = \property Voice.Stem \override #'direction = #1
 stemboth = \property Voice.Stem \revert #'direction  
 
 viola = \notes \relative c' \context Voice = viola {
-       <c4-\f-\arpeggio g' c>
-       \stemDown g'8. b,16
-       s1 s2. r4
-       g
+    <c4-\f-\arpeggio g' c>
+    \stemDown g'8. b,16
+    s1 s2. r4
+    g
 }
 
 oboes = \notes \relative c'' \context Voice = oboe {
-       \stemUp s4  g8. b,16 c8 r <e'8.^\p g> <f16 a>
-       \grace <e8( g> <d4 f> <c2 e> \times 2/3 { <d8 \< f> <e g> <f a> }
-       <
-         { \times 2/3 { a8 g c } \! c2 }
-         \context Voice = oboeTwo {
-               \stemDown
-               \grace {
-                 \property Grace.Stem \override #'direction = #-1
-                 [f,16 g] }
-               f8 e e2
-       } >
-       \stemBoth
-       \grace <c,8( e> <)b8. d8.-\trill> <c16 e> | 
-       [<d ( f> < )f8. a>] <)b,8 d> r [<d16( f> <f8. )a>] <b,8 d> r  |
-       [<c16( e>  < )e8. g>] <c8 e,>
+    \stemUp s4  g8. b,16 c8 r <e'8.^\p g> <f16 a>
+    \grace <e8( g> <d4 f> <c2 e>
+    \times 2/3 { <d8 \< f> <e g> <f a> }
+    <
+        { \times 2/3 { a8 g c } \! c2 }
+        \context Voice = oboeTwo {
+            \stemDown
+            \grace {
+                \property Grace.Stem \override #'direction = #-1
+                [f,16 g] }
+                f8 e e2
+            }
+    >
+    \stemBoth
+    \grace <c,8( e> <)b8. d8.-\trill> <c16 e> | 
+    [<d ( f> < )f8. a>] <)b,8 d> r [<d16( f> <f8. )a>] <b,8 d> r  |
+    [<c16( e>  < )e8. g>] <c8 e,>
 }
 
-hoomPah  =  \repeat unfold 8
-  \notes  \transpose c' { c8 \stemDown c'8 \stemUp }
+hoomPah = \repeat unfold 8 \notes
+    \transpose c' { c8 \stemDown c'8 \stemUp }
 
 bassvoices = \notes \relative c' {
-       c4 g8. b,16
-       \autochange Staff \hoomPah
-       \translator Staff = down
-       \stemDown [c8 c'8] r4
-       <g d'> r4
-       < {\stemUp r2 <e4 c'> <c8 g'> }
-         \context Voice = reallyLow  {\stemDown g2 ~ | g4 c8 } >
+    c4 g8. b,16
+    \autochange Staff \hoomPah
+    \translator Staff = down
+    \stemDown [c8 c'8] r4
+    <g d'> r4
+    < {\stemUp r2 <e4 c'> <c8 g'> }
+        \context Voice = reallyLow  {\stemDown g2 ~ | g4 c8 } >
 }
 
 \score {
-       \context PianoStaff \notes <
-               \context Staff = up < \time 2/2;
-                       \viola
-                       \oboes
-               >
-               \context Staff = down < \time 2/2; \clef bass;
-                       \bassvoices
-               >
-       >
-       \midi { }
-       \paper {
-         indent = 0.0;
-         linewidth = 15.0 \cm; }
+    \context PianoStaff \notes <
+        \context Staff = up < \time 2/2
+             \viola
+             \oboes
+         >
+         \context Staff = down < \time 2/2 \clef bass;
+             \bassvoices
+         >
+    >
+    \midi { }
+    \paper {
+        indent = 0.0
+        linewidth = 15.0 \cm }
 }
index bd559550504d1326892a2fb90b3e00cb4534aa98..6bfc261f493ecf3ff9fb922eed73b4b7628e7804 100644 (file)
@@ -20,7 +20,7 @@ piano = \context PianoStaff  \notes <
      s1*2
      \accomp
    >
-  \context Staff = down { \clef bass; s1*2 }
+  \context Staff = down { \clef bass s1*2 }
 >
 
 saw = \context Staff \notes  {
index c1fc4dbff34e8bcab90decf0254ae9de96f646b3..a80f80cd0a1f7a0706079cda4eebae3c216abb43 100644 (file)
@@ -1,7 +1,7 @@
 
 
 \header {
- title = "Test";
+ title = "Test"
 }
 
 
index 43be947cc800b57a4d4d7a6e9aef396a3b663499..adee2dd170586fa7732b57b6c260f3d75f34865c 100644 (file)
@@ -1,16 +1,17 @@
+\version "1.3.146"
 \header{
-filename =      "twinkle-pop.ly";
-xtitle =        "Ah, vous dirais-je, maman ";
-description =   "twinkle twinkle in pop-song-settings";
-composer =      "traditional";
-enteredby =     "HWN, chords by Johan Vromans";
-copyright =     "public domain";
+filename =      "twinkle-pop.ly"
+xtitle =        "Ah, vous dirais-je, maman "
+description =   "twinkle twinkle in pop-song-settings"
+composer =      "traditional"
+enteredby =     "HWN, chords by Johan Vromans"
+copyright =     "public domain"
 }
 
 
 melodie =  \notes\relative c'' {
-        \clef "violin";
-        \time 2/4 ;
+        \clef "violin"
+        \time 2/4 
 
         c4 c  | g' g | a a | g2  |
         f4 f  | e e  | d d | c2  |
@@ -18,7 +19,7 @@ melodie =  \notes\relative c'' {
         g  g  | f f  | e e | d d |
        % copy 1-8
         c4 c  | g' g | a a | g2  |
-        f4 f  | e e  | d d | c2 \bar "|.";
+        f4 f  | e e  | d d | c2 \bar "|."
 }
 
 acc =  \chords {
@@ -51,7 +52,7 @@ text =  \lyrics{
            \context Lyrics \text
         >
        \header{
-               title = "Ah, vous dirais-je, maman ";
+               title = "Ah, vous dirais-je, maman "
        }
         \paper {  }
 }
@@ -63,7 +64,7 @@ text =  \lyrics{
            \lyrics \context Lyrics \text
         >
        \header{
-               piece = "clarinet in B\\textflat";
+               piece = "clarinet in B\\textflat"
        }
         \paper {  }
 }
index 9e9ff0faee67328fe728febe7ec3bec36ce4272a..c9cfc68f476b476cd409082b3db46254b942d575 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 \header{
-filename =     "twinkle.ly";
-title =                "Twinkle Twinkle Little Star";
-composer =     "Traditional";
-enteredby =    "hwn and jcn";
-copyright =    "public domain";
+filename =     "twinkle.ly"
+title =                "Twinkle Twinkle Little Star"
+composer =     "Traditional"
+enteredby =    "hwn and jcn"
+copyright =    "public domain"
 }
 
 %{
@@ -23,7 +24,7 @@ Tested Features: lyrics, interleaving lyrics and staffs, repeats,
 
 
 melody =  \notes \relative c'' {
-       \clef violin;
+       \clef violin
        \property Staff.instrument = "alto sax"
        
        c4 c | g' g | a a | g g |
@@ -37,7 +38,7 @@ melody =  \notes \relative c'' {
 }
 
 accompany =  \notes \relative c {
-       \clef "bass";
+       \clef "bass"
        c4 c' | e c | f c | e c | 
        d b | c a | f g | c,2 | 
 
@@ -104,7 +105,7 @@ textii =  \lyrics{
 
 textiii =  \lyrics{
        Then the tra -- veler in the dark " "
-       Thanks you for your ti -- ny  " " spark;
+       Thanks you for your ti -- ny  " " spark
        He could not see which way to go,
        If you did not twin -- kle  " " so. " "
        Twin -- kle, twin -- kle, lit -- tle star, " "
@@ -117,7 +118,7 @@ textiii =  \lyrics{
                \context Lyrics=top s1
                \context GrandStaff <
                        \context Staff=ii \repeat volta 2 <
-                         \time 2/4;
+                         \time 2/4
                          \melody >
                        \context Staff=iii \repeat volta 2 <
                          \accompany >
@@ -141,10 +142,10 @@ textiii =  \lyrics{
                        >
        >
        \paper{
-               gourlay_maxmeasures = 14.0;
+               gourlay_maxmeasures = 14.0
        }
        \midi{ 
-               \tempo 4 = 120 ;
+               \tempo 4 = 120 
        }
 }
 
index d8646ab67325d08da0f5a99cd8f8597dd9c3b257..7751f2b979bb0c468fd94194a1a73c18a0c1232d 100644 (file)
@@ -142,7 +142,7 @@ HYPHEN              --
 <INITIAL,chords,lyrics,notes>\\version{WHITE}* {
        yy_push_state (version);
 }
-<version>\"[^"]*\";?   { /* got the include file name */
+<version>\"[^"]*\"     { /* got the version number */
        String s (YYText ()+1);
        s = s.left_str (s.index_last_i ('"'));
 
@@ -202,8 +202,12 @@ HYPHEN             --
                new_input (ly_scm2string (sid), source_global_l);
                yy_pop_state ();
        } else { 
-           String msg (_f ("wrong or undefined identifier: `%s'", s ));        
+           String msg (_f ("wrong or undefined identifier: `%s'", s ));
+
            LexerError (msg.ch_C ());
+           SCM err = scm_current_error_port ();
+           scm_puts ("This value was found in the table: ", err);
+           scm_display (sid, err);
          }
 }
 <incl>\"[^"]*   { // backup rule
@@ -388,7 +392,7 @@ HYPHEN              --
        int cnv=sscanf (YYText (), "%lf", &r);
        assert (cnv == 1);
 
-       yylval.real = r;
+       yylval.scm = gh_double2scm (r);
        return REAL;
 }
 
index 37488771457f11ff0d503b0328f6497be8f869c1..3a41467abcf1bac7d78492a01159c4410cbdbf72 100644 (file)
@@ -45,6 +45,7 @@ static Keyword_ent the_key_tab[]={
   {"consists", CONSISTS},
   {"consistsend", CONSISTSEND},
   {"context", CONTEXT},
+  {"default", DEFAULT},
   {"denies", DENIES},
   {"duration", DURATION},
   {"dynamicscript", DYNAMICSCRIPT},
index 16e9c0ee2fe02c56babbdae02aed5c00908c7bad..33a75d50c89654c2728ae87f3cafb1746b9fa6cb 100644 (file)
@@ -96,16 +96,14 @@ print_lilypond_versions (ostream &os)
 %union {
 
     Link_array<Request> *reqvec;
-    String * string;
+
+    String *string; // needed by the lexer as temporary scratch area.
     Music *music;
     Score *score;
     Scope *scope;
     Scheme_hash_table *scmhash;
-    Musical_req* musreq;
     Music_output_def * outputdef;
 
-    Midi_def* midi;
-    Real real;
     Request * request;
 
     /* We use SCMs to do strings, because it saves us the trouble of
@@ -172,6 +170,7 @@ yylex (YYSTYPE *s,  void * v_l)
 %token MIDI
 %token MM_T
 %token PITCH
+%token DEFAULT
 %token NAME
 %token PITCHNAMES
 %token NOTES
@@ -224,10 +223,10 @@ yylex (YYSTYPE *s,  void * v_l)
 %token <scm>   MUSIC_IDENTIFIER TRANSLATOR_IDENTIFIER
 %token <scm>   STRING_IDENTIFIER SCM_IDENTIFIER 
 %token <scm>   RESTNAME
-%token <scm>   STRING 
+%token <scm>   STRING   
 %token <scm>   SCM_T
 %token <i>     UNSIGNED
-%token <real>   REAL
+%token <scm>   REAL
 
 %type <outputdef> output_def
 %type <scmhash>        lilypond_header lilypond_header_body
@@ -267,6 +266,7 @@ yylex (YYSTYPE *s,  void * v_l)
 %type <request>        extender_req
 %type <request> hyphen_req
 %type <scm>    string bare_number number_expression
+
 %type <score>  score_block score_body
 
 %type <scm>    translator_spec_block translator_spec_body
@@ -363,7 +363,7 @@ lilypond_header_body:
                Scope *sc = new Scope ($$);
                THIS->lexer_p_-> scope_l_arr_.push (sc);
        }
-       | lilypond_header_body assignment semicolon { 
+       | lilypond_header_body assignment  { 
 
        }
        ;
@@ -448,7 +448,7 @@ translator_spec_body:
                $$ = unsmob_translator_def ($1)->clone_scm ();
                unsmob_translator_def ($$)-> set_spot (THIS->here_input ());
        }
-       | TYPE STRING semicolon {
+       | TYPE STRING   {
                $$ = Translator_def::make_scm ();
                Translator_def*td =  unsmob_translator_def ($$);
                td->translator_group_type_ = $2;
@@ -465,23 +465,13 @@ translator_spec_body:
          unsmob_translator_def ($$)->add_pop_property (
                scm_string_to_symbol ($2), $4);
        }
-       | translator_spec_body STRING '=' identifier_init semicolon     { 
-               SCM v = gh_int2scm (0);
-               if (gh_string_p ($4) || gh_number_p ($4) || gh_boolean_p ($4))
-                       v = $4;
-               else 
-                       THIS->parser_error (_ ("Wrong type for property value"));
-
-               /* ugh*/
-               unsmob_translator_def ($$)->add_property_assign ($2, v);
-       }
-       | translator_spec_body NAME STRING semicolon {
+       | translator_spec_body NAME STRING  {
                unsmob_translator_def ($$)->type_name_ = $3;
        }
-       | translator_spec_body CONSISTS STRING semicolon {
+       | translator_spec_body CONSISTS STRING  {
                unsmob_translator_def ($$)->add_element ($3);
        }
-       | translator_spec_body ALIAS STRING semicolon {
+       | translator_spec_body ALIAS STRING  {
                Translator_def*td = unsmob_translator_def ($$);
                td->type_aliases_ = gh_cons ($3, td->type_aliases_);
        }
@@ -491,16 +481,16 @@ translator_spec_body:
                        ->add_property_assign (scm_symbol_to_string (gh_caar (p)), gh_cdar (p));
 
        }
-       | translator_spec_body CONSISTSEND STRING semicolon {
+       | translator_spec_body CONSISTSEND STRING  {
                unsmob_translator_def ($$)->add_last_element ( $3);
        }
-       | translator_spec_body ACCEPTS STRING semicolon {
+       | translator_spec_body ACCEPTS STRING  {
                unsmob_translator_def ($$)->set_acceptor ($3,true);
        }
-       | translator_spec_body DENIES STRING semicolon {
+       | translator_spec_body DENIES STRING  {
                unsmob_translator_def ($$)->set_acceptor ($3,false);
        }
-       | translator_spec_body REMOVE STRING semicolon {
+       | translator_spec_body REMOVE STRING  {
                unsmob_translator_def ($$)->remove_element ($3);
        }
        ;
@@ -597,7 +587,7 @@ music_output_def_body:
                THIS->lexer_p_->scope_l_arr_.push (p->scope_p_);
                $$ = p;
        }
-       | music_output_def_body assignment semicolon {
+       | music_output_def_body assignment  {
 
        }
        | music_output_def_body translator_spec_block   {
@@ -606,7 +596,7 @@ music_output_def_body:
        | music_output_def_body STYLESHEET embedded_scm {
                dynamic_cast<Paper_def*> ($$)-> style_sheet_ = $3;
        }
-       | music_output_def_body tempo_request semicolon {
+       | music_output_def_body tempo_request  {
                /*
                        junk this ? there already is tempo stuff in
                        music.
@@ -786,7 +776,7 @@ Composite_music:
                scm_unprotect_object ($2->self_scm ());
 
        }
-       | CONTEXT STRING '=' STRING Music {
+       | CONTEXT string '=' string Music {
                Context_specced_music *csm =  new Context_specced_music (SCM_EOL);
                csm->set_mus_property ("element", $5->self_scm ());
                scm_unprotect_object ($5->self_scm ());
@@ -1045,7 +1035,7 @@ command_element:
                $$-> set_spot (THIS->here_input ());
                $1-> set_spot (THIS->here_input ());
        }
-       | BAR STRING ';'                        {
+       | BAR STRING                    {
                Music *t = new Music (SCM_EOL);
 
                t->set_mus_property ("iterator-ctor",
@@ -1062,7 +1052,7 @@ command_element:
 
                csm->set_mus_property ("context-type", ly_str02scm ("Score"));
        }
-       | PARTIAL duration_length ';'   {
+       | PARTIAL duration_length       {
                Music * p = new Music (SCM_EOL);
                p->set_mus_property ("symbol", ly_symbol2scm ( "measurePosition"));
                p->set_mus_property ("iterator-ctor",
@@ -1078,7 +1068,7 @@ command_element:
                $$ =sp ;
                sp-> set_mus_property ("context-type", ly_str02scm ( "Score"));
        }
-       | CLEF STRING ';' {
+       | CLEF STRING  {
                SCM func = scm_eval2 (ly_symbol2scm ("clef-name-to-properties"), SCM_EOL);
                SCM result = gh_call1 (func, $2);
 
@@ -1099,7 +1089,7 @@ command_element:
                $$ =sp ;
                sp-> set_mus_property ("context-type", ly_str02scm ("Staff"));
        }
-       | TIME_T bare_unsigned '/' bare_unsigned ';' {
+       | TIME_T bare_unsigned '/' bare_unsigned  {
                Music * p = new Music (SCM_EOL);
                p->set_mus_property ("symbol",
                        ly_symbol2scm ( "timeSignatureFraction"));
@@ -1125,7 +1115,7 @@ command_element:
 
 command_req:
        shorthand_command_req   { $$ = $1; }
-       | verbose_command_req semicolon { $$ = $1; }
+       | verbose_command_req   { $$ = $1; }
        ;
 
 shorthand_command_req:
@@ -1167,7 +1157,7 @@ verbose_command_req:
                sp_p->set_spot (THIS->here_input ());
                $$ = sp_p;
        }
-       | MARK  {
+       | MARK DEFAULT  {
                Mark_req * m = new Mark_req;
                $$ = m;
        }
@@ -1177,9 +1167,15 @@ verbose_command_req:
                $$ = m;
 
        }
-       | PENALTY bare_int      {
+       | PENALTY SCM_T         {
+
+               
                Break_req * b = new Break_req;
-               b->set_mus_property ("penalty", gh_double2scm ( $2 / 100.0));
+               SCM s = $2;
+               if (!gh_number_p (s))
+                       s  =gh_int2scm (0);
+
+               b->set_mus_property ("penalty", s);
                b->set_spot (THIS->here_input ());
                $$ = b;
        }
@@ -1192,7 +1188,7 @@ verbose_command_req:
        | tempo_request {
                $$ = $1;
        }
-       | KEY {
+       | KEY DEFAULT {
                Key_change_req *key_p= new Key_change_req;
                $$ = key_p;
        }
@@ -1674,21 +1670,11 @@ FIXME: location is one off, since ptich & duration don't contain origin refs.
                $$ = new Sequential_music (SCM_EOL);
                $$->set_mus_property ("elements", ms);
        }
-       | STRING { 
-               THIS->remember_spot ();
-       } 
-       /* cont */
-       optional_notemode_duration      {
-               if (!THIS->lexer_p_->lyric_state_b ()) {
-                       THIS->pop_spot ().error (_ ("Have to be in Lyric mode for lyrics"));
-                       THIS->error_level_i_  = 1;
-                       THIS->parser_error (_ ("Giving up"));
-               } 
-               else
-                       THIS->pop_spot ();
+       | STRING optional_notemode_duration     {
+
                Lyric_req* lreq_p = new Lyric_req;
                 lreq_p->set_mus_property ("text", $1);
-               lreq_p->set_mus_property ("duration",$3);
+               lreq_p->set_mus_property ("duration",$2);
                lreq_p->set_spot (THIS->here_input ());
                Simultaneous_music* velt_p = new Request_chord (SCM_EOL);
                velt_p->set_mus_property ("elements", gh_list (lreq_p->self_scm (), SCM_UNDEFINED));
@@ -1828,49 +1814,39 @@ bare_number:
        UNSIGNED        {
                $$ = gh_int2scm ($1);
        }
-       | DIGIT         {
-               $$ = gh_int2scm ($1);
-       }
        | REAL          {
-               $$ = gh_double2scm ($1);
+               $$ = $1;
        }
        | NUMBER_IDENTIFIER             {
                $$ = $1;
        }
        | REAL CM_T     {
-               $$ = gh_double2scm ($1 CM);
+               $$ = gh_double2scm (gh_scm2double ($1) CM );
        }
        | REAL PT_T     {
-               $$ = gh_double2scm ($1 PT);
+               $$ = gh_double2scm (gh_scm2double ($1) PT);
        }
        | REAL IN_T     {
-               $$ = gh_double2scm ($1 INCH);
+               $$ = gh_double2scm (gh_scm2double ($1) INCH);
        }
        | REAL MM_T     {
-               $$ = gh_double2scm ($1 MM);
+               $$ = gh_double2scm (gh_scm2double ($1) MM);
        }
        | REAL CHAR_T   {
-               $$ = gh_double2scm ($1 CHAR);
+               $$ = gh_double2scm (gh_scm2double ($1) CHAR);
        }
        ;
 
 
 bare_unsigned:
-       bare_number {
-               if (scm_integer_p ($1) == SCM_BOOL_T) {
-                       $$ = gh_scm2int ($1);
-
-               } else {
-                       THIS->parser_error (_ ("need integer number arg"));
-                       $$ = 0;
-               }
-               if ($$ < 0) {
-                       THIS->parser_error (_ ("Must be positive integer"));
-                       $$ = -$$;
-                       }
-
+       UNSIGNED {
+                       $$ = $1;
+       }
+       | DIGIT {
+               $$ = $1;
        }
        ;
+
 bare_int:
        bare_number {
                if (scm_integer_p ($1) == SCM_BOOL_T)
@@ -1913,10 +1889,6 @@ questions:
        ;
 
 
-semicolon:
-       ';'
-       ;
-
 %%
 
 void
index a91e6bac79adf6acaa31adf8c5e1d4952d0c0997..db88dad85db10cae87686a0d2cc3c87dde5b1daa 100644 (file)
@@ -1,4 +1,3 @@
-
 /*   
   lyric-number-engraver.cc --  implement Stanza_number_engraver
   
@@ -41,27 +40,35 @@ Stanza_number_engraver::Stanza_number_engraver ()
 void
 Stanza_number_engraver::acknowledge_grob (Grob_info i)
 {
-  SCM s = get_property ("stanza");
+  if (gh_string_p (get_property ("whichBar")))
+    {
+      SCM s = get_property ("stanza");
       
-  if (now_mom () > Moment (0))
-    s = get_property ("stz");
+      if (now_mom () > Moment (0))
+       s = get_property ("stz");
   
-  if (gh_string_p (s))
-    {
-//       if (i.elem_l_->has_interface (symbol ("lyric-syllable-interface")))
-        // Tried catching lyric items to generate stanza numbers, but it spoils lyric spacing.
-       if (Bar::has_interface (i.elem_l_) || now_mom () == Moment (0))
-       // Works, but requires bar_engraver in LyricsVoice context apart from at beginning.
-       // Is there any score element we can catch that will do the trick?
-//       if (! i.elem_l_->has_interface (symbol ("lyric-syllable-interface")) ||
-//       now_mom () == Moment (0))
-       // What happens if we try anything at all EXCEPT a lyric? Is there anything else?
-        // Not sure what it's catching, but it still mucks up lyrics.
+      if (gh_string_p (s))
+
+       /*
+         if (i.elem_l_->has_interface (symbol ("lyric-syllable-interface")))
+
+         Tried catching lyric items to generate stanza numbers, but it
+         spoils lyric spacing.
+
+         Works, but requires bar_engraver in LyricsVoice context apart
+         from at beginning.  Is there any score element we can catch
+         that will do the trick?
+
+         What happens if we try anything at all EXCEPT a lyric? Is
+         there anything else?  Not sure what it's catching, but it
+         still mucks up lyrics.
+
+       */
+
        create_text (s);
     }
 }
 
-
 void
 Stanza_number_engraver::stop_translation_timestep ()
 {
index 2b965b1c25291c1c1cd3aa29bfa8d89fbc36f096..165848acd7d3e73c30581d305d1ed53f1f558500 100644 (file)
@@ -477,31 +477,6 @@ Stem::brew_molecule (SCM smob)
 
   Real dy = Staff_symbol_referencer::staff_space (me)/2.0;
   Real head_wid = 0;
-
-  /*
-TODO:
-
-    I don't really get the idea of the attachment-angle.
-    It seems like that you attach the Stem to the NoteHead at point
-    (1,tan(aa)/2), making it still nessesary to have special CENTER-STEMS
-    option - and if I would like to attach stem i.e. here:
-
-      |
-      |
-      |
-    XXX
-   XXXXX
-   XXXXX
-    XXX
-
-   That would be impossible.
-   Why haven't you just made ATTACHMENT-COORDINATES as a pair of reals,
-   with (0 . 0) meaning CENTER, (1 . 1) upper right, etc...?
-   
--Rune
-
-  */
     
   if (Grob *hed = support_head (me))
     {
@@ -511,7 +486,7 @@ TODO:
       Real y_attach = Note_head::stem_attachment_coordinate ( hed, Y_AXIS);
 
       y_attach = head_height.linear_combination (y_attach);
-      stem_y[Direction (-d)] += d * y_attach;
+      stem_y[Direction (-d)] += d * 2*y_attach;
     }
 
   
index 811a4171e35f7635e8a20743e55f4deef5aadb21..5ebe1920230bd258f6ada4118faf2d088fb643ee 100644 (file)
@@ -143,9 +143,13 @@ System_start_delimiter::staff_brace (Grob*me,Real y)
 {
 
   /*
-    FIXME: should look at afm/tfm file for dimensions.
+    FIXME:
+    * should look at afm/tfm file for dimensions.
+     (This breaks ascii-art output: it hasn't got 255 symbols)
     
-    (This breaks ascii-art output: it hasn't got 255 symbols)
+    * more glyphs (or maybe just better sized (fixed # of staff-spaces)),
+      the size mismatches with the staffs are very ugly
+         
    */
 
   // ugrhn
index 9c40d40e9e9b83b03334ddd9d30cbdbc60bc2b36..afd032dfedae97900ae80ef1877ee6f50114adf7 100644 (file)
@@ -38,7 +38,7 @@ Text_item::text2molecule (Grob *me, SCM text, SCM alist_chain)
 {
   if (gh_string_p (text))
     return string2molecule (me, text, alist_chain);
-  else if (gh_list_p (text))
+  else if (gh_list_p (text) && text != SCM_EOL && text != SCM_UNDEFINED)
     {
       if (!gh_pair_p (gh_car (text)) && gh_string_p (gh_car (text)))
        return string2molecule (me, gh_car (text), alist_chain);
index e42ee409844beba4a113f07e24b546821af4c3c6..8c729c5f5b620ce24947f509de37147fea9229fc 100644 (file)
--- a/ly/a4.ly
+++ b/ly/a4.ly
@@ -1,4 +1,5 @@
+\version "1.3.146"
 % a4.ly
 
-hsize = 210.0 \mm;
-vsize = 296.9 \mm;
+hsize = 210.0 \mm
+vsize = 296.9 \mm
index c8caeabfd459a5cd7b28a2693715a100523f1a0b..d5f9f6748898fdf5cf5e3c96d4358a4515455ed8 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 % Symbols needed to print accordion music
 % 
 %  2' = T
index ec8ab984bbb25349479ccc86ba831e48b1c5dcbd..b05101b73ac6b16e5f85566fa827452e85b2e306 100644 (file)
@@ -1,15 +1,15 @@
 % Toplevel initialisation file. 
        
-\version "1.3.120";
+\version "1.3.146"
 
 
 \include "declarations.ly"
 
 \include "paper16.ly"
   \paper { \paperSixteen
-    linewidth = -1.\cm;
-    castingalgorithm = \Wordwrap; 
-    "unusedentry" = "}\\def\\nolilyfooter{";
+    linewidth = -1.\cm
+    castingalgorithm = \Wordwrap 
+    "unusedentry" = "}\\def\\nolilyfooter{"
   }
 
 \score { 
index 7f268f5787cc9c2e46a707a8e5374b7d6a4e5e93..f6c865109d696ee874cf700d33720a5d0b16cb67 100644 (file)
@@ -1,9 +1,9 @@
 % Toplevel initialisation file. 
        
-\version "1.3.120";
+\version "1.3.146"
 
 
-\include "declarations.ly";
+\include "declarations.ly"
 \include "paper16.ly"
 
  \paper{
index fce6df63f4b6d7583d71f6cce693c59a27e36419..74d42851d1990510b2d2c2ecef1c4e023868841b 100644 (file)
@@ -71,4 +71,4 @@
 
 
 
-\version "1.3.110";
+\version "1.3.146"
index af0b413a5da5abb13297d3a4aab734049bf8f217..6366e6973af483194dfe9f0eb68975256a9f9fb3 100644 (file)
@@ -1,18 +1,18 @@
 % Toplevel initialisation file. 
        
 
-\version "1.3.120";
+\version "1.3.146"
 
 
 \include "declarations.ly"
 
-\include "paper16.ly";
+\include "paper16.ly"
 
  \paper { 
   \paperSixteen
-    linewidth = -1.0\cm;
-    castingalgorithm = \Wordwrap;
-   "unusedentry" = "}\\def\\nolilyfooter{"; 
+    linewidth = -1.0\cm
+    castingalgorithm = \Wordwrap
+   "unusedentry" = "}\\def\\nolilyfooter{" 
 }
 
 
index 53743596ebbb5b44a2a50fd655724084fa2aea98..c3730fbbe8d17abd27f485aaadf3de57348434f7 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.3.120";
+\version "1.3.146"
 
 
 \include "declarations.ly"
@@ -8,8 +8,8 @@
 
  \paper { 
   \paperSixteen
-%  linewidth = 7.\cm;
-  linewidth = 11.\cm;
+%  linewidth = 7.\cm
+  linewidth = 11.\cm
 }
 
 \maininput
index 5c61876a888d1b432c814e9c11f38290b775468e..308bd3bea7f80339a3b8af5bf1d7d07a4cdc1fcd 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 % urg!
 %
@@ -5,10 +6,10 @@
        (m . ,(make-pitch 0 2 -1 ))
        (min . ,(make-pitch 0 2 -1 ))
        (aug . ,(make-pitch 0 4 1 ))
-; (dim . ,(make-pitch -100 4 -1 ))     
+       (dim . ,(make-pitch -100 4 -1 ))        
        (dim . ,(make-pitch -100 2 -1 ))
 ; urg, not actually a chord-modifier, but it works
-; c7 -> <c bes>, c 7+ -> c b
+;  c7 -> <c bes>, c 7+ -> c b
        (maj . ,(make-pitch 0 6 1 ))
 ; sus4 should delete 2 too...
        (sus . ,(make-pitch 0 3 0 ))
index 0cc795c25e7e6a6281d8edbdd0e0b2599f6b3c8e..0bb5e95a6a369a2d412e25331e01a093243ec637 100644 (file)
@@ -1,3 +1,5 @@
+
+\version "1.3.146"
 breve = \duration #(make-duration -1 0)
 longa = \duration #(make-duration -2 0 )
 maxima = \duration #(make-duration -3 0)
@@ -17,30 +19,37 @@ smaller = -1
 bigger = 1
 center=0
 
-break =  \penalty  -1000000; 
-noBreak =  \penalty 1000000; 
+break =  \penalty  #-10000
+noBreak =  \penalty #10000
 \include "scale-definitions.ly"
 
 melisma = \property Staff.melismaBusy = ##t
 melismaEnd = \property Staff.melismaBusy = ##f
-papersize = "a4"
+
 
 \include "engraver.ly"
-\include "generic-paper.ly"
-\include "paper20.ly"
 
-singleLine = \paper { linewidth = 1.; }
+singleLine = \paper { linewidth = 1. }
 
 % ugh
 \include "midi.ly"
 
+papersize = "a4"
+paperfile = \papersize + ".ly"
+
+\include "generic-paper.ly"
+\include "paper20.ly"
+
+
 \include "dynamic-scripts.ly"
 \include "spanners.ly"
 
 \include "property.ly"
 
 
-unusedEntry = \notes { c4 }            % reset default duration
+
+% reset default duration
+unusedEntry = \notes { c4 }    
 
 % music = "\melodic\relative c"
 
index 7dc6a29b31ff448cc69be3e39f0d17db6edfaeba..cda93cf82a2bae1732a5ec196d2c75e522a0ab6b 100644 (file)
@@ -34,7 +34,7 @@
        (gis . ,(make-pitch -1 4 1 ))
        (gisis . ,(make-pitch -1 4 2 ))
        (asas . ,(make-pitch -1 5 -2 ))
-       (ases . ,(make-pitch -1 5 -2 ))  ; non-standard name for asas
+       (ases . ,(make-pitch -1 5 -2 ))   non-standard name for asas
        (as . ,(make-pitch -1 5 -1 ))
        (a . ,(make-pitch -1 5 0 ))
        (ais . ,(make-pitch -1 5 1 ))
@@ -49,4 +49,4 @@
 
 
 
-\version "1.3.110";
+\version "1.3.146"
index 928512c847d420ab9bef9ad3f9c61c4aea051846..addf137e3628d08abbef494bb709306ef6d8d792 100644 (file)
@@ -1,7 +1,7 @@
 % GM drum pitches.
 % I use different accidentals to distinguish drums at the same GM pitch.
 % Always accidental 0 (white keys) or 1 (black keys) to get the "correct" gm name.
-% i.e. fis, for closed highat ; ges, for highat.
+% i.e. fis, for closed highat  ges, for highat.
 
 % 2001/03/25 Rune Zedeler <rune@zedeler.dk>
 
@@ -64,7 +64,7 @@
        (mutetriangle     trim  ,(make-pitch 1 4 1))
        (triangle         tri   ,(make-pitch 1 4 2))
        (opentriangle     trio  ,(make-pitch 1 5 0))
-       ; "transposing" pitches:
+        "transposing" pitches:
        (oneup            ua    ,(make-pitch 0 1 0))
        (twoup            ub    ,(make-pitch 0 2 0))
        (threeup          uc    ,(make-pitch 0 3 0))
  )
 
 
-\version "1.3.142";
+\version "1.3.146"
index 94d9b9bab2e41d34dd145219d52f9b4b4e214b89..0f2f3e6b243dcde066810157e3c00322ca24c44f 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %
 % declare the standard dynamic identifiers.
index 4216d75b2671dd5c5b8c59598aa690ef916d6251..9afeff28f60ed48e5b784e05b22089c129be8268 100644 (file)
@@ -53,7 +53,8 @@
        (eff . ,(make-pitch -1 2 -2 ))
        (ef . ,(make-pitch -1 2 -1 ))
        (e . ,(make-pitch -1 2 0 ))
-       (es . ,(make-pitch -1 2 1 ))   ; es = E-flat in Dutch
+
+       (es . ,(make-pitch -1 2 1 ))    
        (ess . ,(make-pitch -1 2 2 ))
        (fff . ,(make-pitch -1 3 -2 ))
        (ff . ,(make-pitch -1 3 -1 ))
@@ -68,7 +69,7 @@
        (aff . ,(make-pitch -1 5 -2 ))
        (af . ,(make-pitch -1 5 -1 ))
        (a . ,(make-pitch -1 5 0 ))
-       (as . ,(make-pitch -1 5 1 ))   ; as = A-flat in Dutch
+       (as . ,(make-pitch -1 5 1 ))
        (ass . ,(make-pitch -1 5 2 ))
        (bff . ,(make-pitch -1 6 -2 ))
        (bf . ,(make-pitch -1 6 -1 ))
@@ -77,5 +78,5 @@
        (bss . ,(make-pitch -1 6 2 ))
 )
 
-\version "1.3.110";
+\version "1.3.146"
 
index 5a6c0eff0f78887c7f8a04d661e180cd89c6dcc6..8205f6c3df02f662a0406faca62a2faa90ddb19d 100644 (file)
@@ -1,49 +1,49 @@
-\version "1.3.140"
+\version "1.3.146"
 
 %
 % setup for Request->Element conversion. Guru-only
 %
 
 StaffContext=\translator {
-       \type "Engraver_group_engraver";
-       \name Staff ;
-       \consists "Output_property_engraver";   
+       \type "Engraver_group_engraver"
+       \name Staff 
+       \consists "Output_property_engraver"    
        Generic_property_list = #generic-staff-properties
-       \consists "Property_engraver";
+       \consists "Property_engraver"
        
-       \consists "Multi_measure_rest_engraver";
+       \consists "Multi_measure_rest_engraver"
 
-       \consists "Bar_engraver";
+       \consists "Bar_engraver"
  % Bar_engraver must be first so default bars aren't overwritten
 % with empty ones.
 
 
-%      \consists "Repeat_engraver";
-       \consists "Volta_engraver";
-       \consists "Separating_line_group_engraver";     
+%      \consists "Repeat_engraver"
+       \consists "Volta_engraver"
+       \consists "Separating_line_group_engraver"      
 
 
 
-       \consists "Clef_engraver";
-       \consists "Key_engraver";
-       \consists "Time_signature_engraver";
-       \consists "Staff_symbol_engraver";
-       \consists "Collision_engraver";
-       \consists "Rest_collision_engraver";
-       \consists "Local_key_engraver";
-       \consists "Piano_pedal_engraver";
+       \consists "Clef_engraver"
+       \consists "Key_engraver"
+       \consists "Time_signature_engraver"
+       \consists "Staff_symbol_engraver"
+       \consists "Collision_engraver"
+       \consists "Rest_collision_engraver"
+       \consists "Local_key_engraver"
+       \consists "Piano_pedal_engraver"
 
 %{
-       The Instrument_name_engraver puts the name of the instrument
-       (\property Staff.instrument; Staff.instr for subsequent lines)
+       The Instrument_name_engravei puts the name of the instrument
+       (\property Staff.instrument Staff.instr for subsequent lines)
        to the left of a staff.
 
        This is commented out, so you don't get funny things on the
        PianoStaff      
-       \consists "Instrument_name_engraver";
+       \consists "Instrument_name_engraver"
 %}
 
-       \consistsend "Axis_group_engraver";
+       \consistsend "Axis_group_engraver"
        
        MinimumVerticalExtent = ##f
        ExtraVerticalExtent = ##f
@@ -56,143 +56,143 @@ StaffContext=\translator {
        instrument = #""
        instr = #""
          
-       \accepts "Voice";
+       \accepts "Voice"
 }
 
 
 StaffContainerContext = \translator {
-       \type Engraver_group_engraver;
-       \consists "Axis_group_engraver";
+       \type Engraver_group_engraver
+       \consists "Axis_group_engraver"
        MinimumVerticalExtent = ##f
        ExtraVerticalExtent = ##f
        VerticalExtent = ##f 
        
-       \accepts Staff;
-       \name StaffContainer;
+       \accepts Staff
+       \name StaffContainer
 }
 
 InnerChoirStaffContext = \translator {
-       \type "Engraver_group_engraver";
-       \name InnerChoirStaff;
-       alignmentReference = \center;
-       \consists "System_start_delimiter_engraver";
+       \type "Engraver_group_engraver"
+       \name InnerChoirStaff
+       alignmentReference = #0
+       \consists "System_start_delimiter_engraver"
        SystemStartDelimiter \override #'glyph = #'bracket
 
-       \accepts "Staff";
-       \accepts "RhythmicStaff";
-       \accepts "GrandStaff";
-       \accepts "PianoStaff";
-       \accepts "Lyrics";
-       \accepts "ChordNames";
+       \accepts "Staff"
+       \accepts "RhythmicStaff"
+       \accepts "GrandStaff"
+       \accepts "PianoStaff"
+       \accepts "Lyrics"
+       \accepts "ChordNames"
 }
 ChoirStaffContext = \translator {
        \InnerChoirStaffContext
-       \name ChoirStaff;
-       \accepts "InnerChoirStaff";
-       \accepts "InnerStaffGroup";
+       \name ChoirStaff
+       \accepts "InnerChoirStaff"
+       \accepts "InnerStaffGroup"
 }
 
 
 RhythmicStaffContext=\translator{
-       \type "Engraver_group_engraver";
+       \type "Engraver_group_engraver"
        
-       \consists "Property_engraver";
-       \consists "Output_property_engraver";   
+       \consists "Property_engraver"
+       \consists "Output_property_engraver"    
 
        Generic_property_list = #generic-staff-properties
        MinimumVerticalExtent = ##f
        ExtraVerticalExtent = ##f
        VerticalExtent = ##f 
 
-       \consists "Pitch_squash_engraver";
-       \consists "Separating_line_group_engraver";     
-       \name RhythmicStaff;
-       \alias "Staff";
+       \consists "Pitch_squash_engraver"
+       \consists "Separating_line_group_engraver"      
+       \name RhythmicStaff
+       \alias "Staff"
        
        Bar \override #'bar-size = #4
        VoltaBracket \override #'minimum-space =  #15  % urg, in \pt
        VoltaBracket \override #'padding =  #5  % urg, in \pt
        StaffSymbol \override #'line-count = #1 
 
-%      \consists "Repeat_engraver";
-       \consists "Volta_engraver";
-       \consists "Bar_engraver";
-       \consists "Time_signature_engraver";
-       \consists "Staff_symbol_engraver";
-       \consistsend "Axis_group_engraver";
-       \accepts "Voice";
+%      \consists "Repeat_engraver"
+       \consists "Volta_engraver"
+       \consists "Bar_engraver"
+       \consists "Time_signature_engraver"
+       \consists "Staff_symbol_engraver"
+       \consistsend "Axis_group_engraver"
+       \accepts "Voice"
 }
 
 
 VoiceContext = \translator {
-       \type "Engraver_group_engraver";
-       \name Voice;
+       \type "Engraver_group_engraver"
+       \name Voice
 
        Generic_property_list = #generic-voice-properties
 
        % must come before all
-       \consists "Voice_devnull_engraver";
-       \consists "Output_property_engraver";   
-       \consists "Arpeggio_engraver";
+       \consists "Voice_devnull_engraver"
+       \consists "Output_property_engraver"    
+       \consists "Arpeggio_engraver"
 
-       \consists "Text_spanner_engraver";
-       \consists "Property_engraver";
+       \consists "Text_spanner_engraver"
+       \consists "Property_engraver"
        
-       \consists "Breathing_sign_engraver";
-       \consists "Rest_engraver";
-       \consists "Dot_column_engraver";
-       \consists "Stem_engraver";
-       \consists "Beam_engraver";
-       \consists "Auto_beam_engraver";
+       \consists "Breathing_sign_engraver"
+       % \consists "Rest_engraver"
+       \consists "Dot_column_engraver"
+       \consists "Stem_engraver"
+       \consists "Beam_engraver"
+       \consists "Auto_beam_engraver"
 
-       \consists "Chord_tremolo_engraver";
-       \consists "Percent_repeat_engraver";
-       \consists "Melisma_engraver";
+       \consists "Chord_tremolo_engraver"
+       \consists "Percent_repeat_engraver"
+       \consists "Melisma_engraver"
 
 %{
  Must come before text_engraver, but after note_column engraver.
 
 %}
-       \consists "Dynamic_engraver";
-       \consists "Text_engraver";
-
-       \consists "Script_engraver";
-       \consists "Script_column_engraver";
-       \consists "Rhythmic_column_engraver";
-       \consists "Phrasing_slur_engraver";
-       \consists "Slur_engraver";
-       \consists "Tie_engraver";
-       \consists "Tuplet_engraver";
-       \consists "Grace_position_engraver";
-       \consists "A2_engraver";
-
-       \consists "Skip_req_swallow_translator";
-       \accepts Thread; % bug if you leave out this!
-       \accepts Grace;
+       \consists "Dynamic_engraver"
+       \consists "Text_engraver"
+
+       \consists "Script_engraver"
+       \consists "Script_column_engraver"
+       \consists "Rhythmic_column_engraver"
+       \consists "Phrasing_slur_engraver"
+       \consists "Slur_engraver"
+       \consists "Tie_engraver"
+       \consists "Tuplet_engraver"
+       \consists "Grace_position_engraver"
+       \consists "A2_engraver"
+
+       \consists "Skip_req_swallow_translator"
+       \accepts Thread % bug if you leave out this!
+       \accepts Grace
 }
 
 GraceContext=\translator {
-       \type "Grace_engraver_group";
-       \name "Grace";
-       \consists "Output_property_engraver";   
+       \type "Grace_engraver_group"
+       \name "Grace"
+       \consists "Output_property_engraver"    
 
        Generic_property_list = #generic-grace-properties
        
-       \consists "Note_heads_engraver";
-       \consists "Local_key_engraver";
-       \consists "Stem_engraver";
-       \consists "Beam_engraver";
-       \consists "Slur_engraver";
+       \consists "Note_heads_engraver"
+       \consists "Local_key_engraver"
+       \consists "Stem_engraver"
+       \consists "Beam_engraver"
+       \consists "Slur_engraver"
 
-       \consists "Auto_beam_engraver";
-       \consists "Align_note_column_engraver";
+       \consists "Auto_beam_engraver"
+       \consists "Align_note_column_engraver"
 
-       \consists "Rhythmic_column_engraver";
+       \consists "Rhythmic_column_engraver"
 
-       \consists "Dynamic_engraver";% in Grace ???
-       \consists "Text_engraver"; % in Grace ???
+       \consists "Dynamic_engraver"% in Grace ???
+       \consists "Text_engraver" % in Grace ???
 
-       \consists "Property_engraver";
+       \consists "Property_engraver"
 
        Stem \override  #'flag-style = #"grace"
        Stem \override  #'stem-length = #6.0
@@ -215,131 +215,132 @@ GraceContext=\translator {
                 = #(map (lambda (x) (* 0.8 x)) '(0.0 2.5 2.0 1.5))
 
        weAreGraceContext = ##t   
-       graceAccidentalSpace= 1.5 ; % in staff space
+       graceAccidentalSpace= #1.5  % in staff space
 }
 
 ThreadContext = \translator{
-       \type Engraver_group_engraver;
-       \name Thread;
+       \type Engraver_group_engraver
+       \name Thread
        
-       \consists "Thread_devnull_engraver";
-       \consists "Note_heads_engraver";
-       \consists "Note_head_line_engraver";
-       \consists "Output_property_engraver";   
+       \consists "Thread_devnull_engraver"
+       \consists "Note_heads_engraver"
+       \consists "Rest_engraver"
+       \consists "Note_head_line_engraver"
+       \consists "Output_property_engraver"    
        Generic_property_list = #generic-thread-properties
-       \consists "Property_engraver";
+       \consists "Property_engraver"
 }
 
 GrandStaffContext=\translator{
-       \type "Engraver_group_engraver";
-       \name GrandStaff;
-       \consists "Span_bar_engraver";
-       \consists "Span_arpeggio_engraver";
-       \consists "System_start_delimiter_engraver";
+       \type "Engraver_group_engraver"
+       \name GrandStaff
+       \consists "Span_bar_engraver"
+       \consists "Span_arpeggio_engraver"
+       \consists "System_start_delimiter_engraver"
        SystemStartDelimiter \override #'glyph = #'brace
        
-       \consists "Property_engraver";  
+       \consists "Property_engraver"   
        Generic_property_list = #generic-grand-staff-properties
-       \accepts "Staff";
+       \accepts "Staff"
 }
 
 PianoStaffContext = \translator{
        \GrandStaffContext
-       \name "PianoStaff";
+       \name "PianoStaff"
 
-       \consists "Vertical_align_engraver";
+       \consists "Vertical_align_engraver"
 
-       alignmentReference = \center;
+       alignmentReference = #0
        verticalAlignmentChildCallback = #Align_interface::fixed_distance_alignment_callback
        VerticalAlignment \override #'forced-distance = #12
 
-%      \consistsend "Axis_group_engraver";
+%      \consistsend "Axis_group_engraver"
 }
 
 InnerStaffGroupContext= \translator {
-       \type "Engraver_group_engraver";
-       \name InnerStaffGroup;
+       \type "Engraver_group_engraver"
+       \name InnerStaffGroup
 
-       \consists "Span_bar_engraver";
-       \consists "Span_arpeggio_engraver";
-       \consists "Output_property_engraver";   
+       \consists "Span_bar_engraver"
+       \consists "Span_arpeggio_engraver"
+       \consists "Output_property_engraver"    
        SystemStartDelimiter \override #'glyph = #'bracket
 
-       \consists "System_start_delimiter_engraver";
-       \accepts "Staff";
-       \accepts "RhythmicStaff";
-       \accepts "GrandStaff";
-       \accepts "PianoStaff";
+       \consists "System_start_delimiter_engraver"
+       \accepts "Staff"
+       \accepts "RhythmicStaff"
+       \accepts "GrandStaff"
+       \accepts "PianoStaff"
        
-       \accepts "Lyrics";
-       \accepts "ChordNames";
+       \accepts "Lyrics"
+       \accepts "ChordNames"
 }
 StaffGroupContext = \translator {
        \InnerStaffGroupContext
-       \name StaffGroup;
-       \accepts "InnerChoirStaff";
-       \accepts "ChoirStaff";
-       \accepts "InnerStaffGroup";
+       \name StaffGroup
+       \accepts "InnerChoirStaff"
+       \accepts "ChoirStaff"
+       \accepts "InnerStaffGroup"
 }
 
 
 % UGH! JUNKME
 LyricsVoiceContext= \translator{
-       \type "Engraver_group_engraver";
-       \consistsend "Axis_group_engraver";
+       \type "Engraver_group_engraver"
+       \consistsend "Axis_group_engraver"
        MinimumVerticalExtent = #(cons -1.2 1.2)
        ExtraVerticalExtent = ##f
        VerticalExtent = ##f 
-       \name LyricsVoice ;
-       \consists "Separating_line_group_engraver";
-       \consists "Lyric_engraver";
-       \consists "Extender_engraver";
-       \consists "Hyphen_engraver";
-       \consists "Stanza_number_engraver";
-       phrasingPunctuation = #".,;:!?\""
+       \name LyricsVoice 
+       \consists "Separating_line_group_engraver"
+       \consists "Lyric_engraver"
+       \consists "Extender_engraver"
+       \consists "Hyphen_engraver"
+       \consists "Stanza_number_engraver"
+       phrasingPunctuation = #".,:!?\""
        
 }
 NoteNamesContext = \translator {
-       \type "Engraver_group_engraver";
-       \name NoteNames;
-       \consistsend "Axis_group_engraver";
+       \type "Engraver_group_engraver"
+       \name NoteNames
+       \consistsend "Axis_group_engraver"
 
        MinimumVerticalExtent = ##f
        ExtraVerticalExtent = ##f
        VerticalExtent = ##f 
 
        
-       \consists "Note_name_engraver";
-       \consists "Separating_line_group_engraver";
+       \consists "Note_name_engraver"
+       \consists "Separating_line_group_engraver"
 }
 
 LyricsContext = \translator {
-       \type "Engraver_group_engraver";
-       \name Lyrics;
-       \consists Vertical_align_engraver; %need this for getting folded repeats right.
+       \type "Engraver_group_engraver"
+       \name Lyrics
+       \consists Vertical_align_engraver %need this for getting folded repeats right.
        Generic_property_list = #generic-lyrics-properties
-       \consists "Property_engraver";
-       \consistsend "Axis_group_engraver";
+       \consists "Property_engraver"
+       \consistsend "Axis_group_engraver"
        MinimumVerticalExtent = ##f
        ExtraVerticalExtent = ##f
        VerticalExtent = ##f 
        
-       \accepts "LyricsVoice";
+       \accepts "LyricsVoice"
 }
 
 
 ChordNamesContext = \translator {
-       \type "Engraver_group_engraver";
-       \name ChordNames;
+       \type "Engraver_group_engraver"
+       \name ChordNames
 
        Generic_property_list = #generic-chord-staff-properties
 
-       \consists "Property_engraver";  
-       \consists "Output_property_engraver";   
-       \consists "Separating_line_group_engraver";
-       \consists "Chord_name_engraver";
-       \consists "Skip_req_swallow_translator";
-       \consistsend "Axis_group_engraver";
+       \consists "Property_engraver"   
+       \consists "Output_property_engraver"    
+       \consists "Separating_line_group_engraver"
+       \consists "Chord_name_engraver"
+       \consists "Skip_req_swallow_translator"
+       \consistsend "Axis_group_engraver"
        MinimumVerticalExtent = ##f
        ExtraVerticalExtent = ##f
        VerticalExtent = ##f 
@@ -350,9 +351,9 @@ ChordNamesContext = \translator {
 
 
 StupidScore = \translator {
-       \type "Score_engraver";
-       \name Score;
-       \consists "Note_heads_engraver";
+       \type "Score_engraver"
+       \name Score
+       \consists "Note_heads_engraver"
 }
 
 
@@ -360,10 +361,10 @@ StupidScore = \translator {
 
 HaraKiriStaffContext = \translator {
        \StaffContext
-       \remove "Axis_group_engraver";
-       \consistsend "Hara_kiri_engraver";        
-       \consists "Instrument_name_engraver";
-       \accepts "Voice";
+       \remove "Axis_group_engraver"
+       \consistsend "Hara_kiri_engraver"
+       \consists "Instrument_name_engraver"
+       \accepts "Voice"
 }
 %{
   The HaraKiriStaffContexts doesn't override \name,
@@ -376,33 +377,33 @@ HaraKiriStaffContext = \translator {
 
 
 ScoreContext = \translator {
-       \type Score_engraver;
-       \name Score;
+       \type Score_engraver
+       \name Score
        
 
-       \consists "Repeat_acknowledge_engraver";
-       \consists "Timing_engraver";
-       \consists "Output_property_engraver";   
-       \consists "System_start_delimiter_engraver";
-       \consists "Mark_engraver";      
-       \consists "Break_align_engraver";
-       \consists "Spacing_engraver";
-       \consists "Vertical_align_engraver";
-
-       \consists "Lyric_phrasing_engraver";
-       \consists "Bar_number_engraver";
-       \consists "Span_arpeggio_engraver";
-
-       \accepts "Staff";       
-       \accepts "StaffContainer";
-       \accepts "StaffGroup";
-       \accepts "RhythmicStaff";       
-       \accepts "Lyrics";
-       \accepts "ChordNames";
-       \accepts "GrandStaff";
-       \accepts "ChoirStaff";
-       \accepts "PianoStaff";
-       \accepts "NoteNames";
+       \consists "Repeat_acknowledge_engraver"
+       \consists "Timing_engraver"
+       \consists "Output_property_engraver"
+       \consists "System_start_delimiter_engraver"
+       \consists "Mark_engraver"       
+       \consists "Break_align_engraver"
+       \consists "Spacing_engraver"
+       \consists "Vertical_align_engraver"
+
+       \consists "Lyric_phrasing_engraver"
+       \consists "Bar_number_engraver"
+       \consists "Span_arpeggio_engraver"
+
+       \accepts "Staff"
+       \accepts "StaffContainer"
+       \accepts "StaffGroup"
+       \accepts "RhythmicStaff"        
+       \accepts "Lyrics"
+       \accepts "ChordNames"
+       \accepts "GrandStaff"
+       \accepts "ChoirStaff"
+       \accepts "PianoStaff"
+       \accepts "NoteNames"
 
        soloText = #"Solo"
        soloIIText = #"Solo II"
@@ -437,8 +438,8 @@ ScoreContext = \translator {
        clefGlyph = #"clefs-G"
        clefPosition = #-2
 
-        automaticPhrasing = ##t;
-       alignmentReference = \down;
+        automaticPhrasing = ##t
+       alignmentReference = #-1   % \down
        defaultBarType = #"|"
 
        explicitClefVisibility = #all-visible
@@ -468,7 +469,6 @@ ScoreContext = \translator {
          Staff_bar
          Time_signature
          Custos
-         Stanza_number
        )
 
 
index be841ce576ebca0fcd94d5c83450a74ce6dfecd8..e0b43d71d6384b2c989f9c2da469993fac0d9059 100644 (file)
@@ -1,17 +1,17 @@
 % Toplevel initialisation file. 
        
-\version "1.3.120";
+\version "1.3.146"
 
 
 \include "declarations.ly"
 
-\include "paper16.ly";
+\include "paper16.ly"
 
 \paper { 
   \paperSixteen
-    linewidth = -1.0\cm;
-    castingalgorithm = \Wordwrap;
-    "unusedentry" = "}\\def\\nolilyfooter{";
+    linewidth = -1.0\cm
+    castingalgorithm = \Wordwrap
+    "unusedentry" = "}\\def\\nolilyfooter{"
 }
 
 
index bc928994e8c07dd42c5f16974333b823af46c06c..104d57efeb84dd4b5a86b4334949e405909664f0 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %
 % Running LilyPond on this file generates the documentation
diff --git a/ly/generate-interface-doc.ly b/ly/generate-interface-doc.ly
new file mode 100644 (file)
index 0000000..a50eeaf
--- /dev/null
@@ -0,0 +1,5 @@
+
+%
+% Running LilyPond on this file generates the short interface doc
+%
+#(eval-string (ly-gulp-file "generate-interface-doc.scm"))
index d846d8680010eb39e59004fca652cc4cbc8eab9a..df96f2abcd603f32208a0a7bb868abbf5162c329 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 \paper {
-       texsetting = "";
-       pssetting = "";
-       scmsetting = "(lilyponddefs.ps) findlibfile {exch pop //systemdict /run get exec} { /undefinedfilename signalerror } ifelse;\n";% UGH. 
+       texsetting = ""
+       pssetting = ""
+       scmsetting = "(lilyponddefs.ps) findlibfile {exch pop //systemdict /run get exec} { /undefinedfilename signalerror } ifelse\n"% UGH. 
 
 }
index e158592b34cb63b8986f90f76fe20bea85663ae4..856340d12e6d17304f438b41532adbf7b3142947 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 %  german-chords.ly:
 % german/norwegian/danish?
index 826e840974d81dee75e610f8acb58d00d1e58bfb..757ca7c47e7fa5fffb2adedea8b0dbbfa159ad38 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel AsciiScript initialisation file. 
 
-\version "1.3.110";
+\version "1.3.146"
 
 \include "declarations-as.ly"
 
   }
   \paper {
     \paper_as_nine
-    %linewidth=-1.0;
-    %indent = 0.0;
-    \translator { \StaffContext barSize = \staffheight; }
+    %linewidth=-1.0
+    %indent = 0.0
+    \translator { \StaffContext barSize = \staffheight }
 
     % no beam-slope
-    %\translator { \VoiceContext beamHeight = #0; }
+    %\translator { \VoiceContext beamHeight = #0 }
   }  
   %\midi{ }
 }
index 32073dbab88a5c43f623c8ba91767a2b629b40a7..640f13692fa42fa17e3c12076c5c96a3e72c40e3 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.3.110";
+\version "1.3.146"
 
 
 \include "declarations.ly"
index a5df75caf9ea231d7617d3154abb3510780f9fa7..fea720a03c8be81be7a7ba09eadd0bc42bd329e0 100644 (file)
@@ -1,8 +1,8 @@
 % Toplevel initialisation file. 
 
 
-\version "1.3.110";
+\version "1.3.146"
 
-\include "declarations.ly";
+\include "declarations.ly"
 
 \maininput
index c05fa2c45634513bc6e690ab9519a69fdf9a1bcb..497dfd8daafc1360f8a8b0d173432dc0cb545567 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.3.110";
+\version "1.3.146"
 
 
 \include "declarations.ly"
@@ -11,7 +11,7 @@
   }
   \paper {
 
-       % indent = 0.0;
+       % indent = 0.0
   }  
   \midi{ }
 }
index 92be0119a01e124eb2ad4c6852f8e4b5492763ef..263d2bfab9358dd08937e0787e433bb75a00e1cc 100644 (file)
@@ -48,4 +48,4 @@
        (sidd . ,(make-pitch -1 6 2 ))
 )
 
-\version "1.3.110";
+\version "1.3.146"
index 8b137891791fe96927ad78e64b0aad7bded08bdc..4a0f597299f159b1a44fbf14ff2666e929841286 100644 (file)
--- a/ly/key.ly
+++ b/ly/key.ly
@@ -1 +1,2 @@
+\version "1.3.146"
 
index 6aee59cd7c27449273d528bf25bda039ed6e38dc..e1b774d343a23feb75df58c9baca2458db6cf630 100644 (file)
@@ -1,7 +1,8 @@
+\version "1.3.146"
 
 % ledger.ly
 
-hsize = 11.0 \in;
-vsize = 17.0 \in;
+hsize = 11.0 \in
+vsize = 17.0 \in
 
 
index 8ec3c9aaaaf135dcefb92d0a2d51174c95f668ef..4291b819f5e965913148fdba04ce77547b458cf6 100644 (file)
@@ -1,4 +1,5 @@
+\version "1.3.146"
 % legal.ly
 
-hsize = 8.5 \in;
-vsize = 14.0 \in;
+hsize = 8.5 \in
+vsize = 14.0 \in
index 9d7cf77b2370be35eb3192fec8a8e9d12e4c980b..c9be6592b5b1a31c1d71516ebb56230cc88da3de 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 % letter.ly
 
-hsize = 8.5 \in;
-vsize = 11.0 \in;
+hsize = 8.5 \in
+vsize = 11.0 \in
 
 
index c95aae830fce9529c44c07edab5a7be5c9dcbecb..a4283f4ccfae0eb26bb26402aa9ac3b1d3b67747 100644 (file)
@@ -1,6 +1,7 @@
+\version "1.3.146"
 \midi {
-        \tempo 4=60;
+        \tempo 4=60
        \include "performer.ly"
-%      unfold_all = "1";
+%      unfold_all = "1"
 }
 
index 8a8c53418a3d003a01cfb4afe17577bbba2637a4..bba3d0ad31ba604e185ecc45ed96a5b83cafd433 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 %{
  common dutch names for notes. es means flat, is means sharp
 %}
index 7142d40e3e54129c5171e6bcf6b5112e3ab5e42d..f6630bab930bc8da337b40f4983ca219b649c687 100644 (file)
@@ -1,5 +1,5 @@
 
-%      $Id: norsk.ly,v 1.1 1998/03/25 11:38:28 arvidg Exp arvidg $     
+%      Idx norsk.ly,v 1.1 1998/03/25 11:38:28 arvidg Exp arvidg $      
 
 %{
 
@@ -21,7 +21,7 @@
  duplicated all lines containing at least one "is" or "es", changed
  every other "is" into an "iss" and every other "es" into an "ess",
  added "ass" et al, and made some b->h-related changes.  There may be
- bugs in here; please tell me (or send patches) if you find any.
+ bugs in here please tell me (or send patches) if you find any.
 
                                   Arvid Gr=F8tting <arvidg@ifi.uio.no>
 
 
 
 
-\version "1.3.110";
+\version "1.3.146"
index 78959978dbd6912621c5a64649bd0bc34068dcbd..d325b9be52df280d761975cd222e72bf4c3ef5f3 100644 (file)
@@ -1,17 +1,17 @@
 % paper-as5.ly
 
-\version "1.3.120";
+\version "1.3.146"
 
 paperAsFive = \paper {
-       staffheight = 5.\char;
+       staffheight = 5.\char
 
        \stylesheet #(as-make-style-sheet 'as5)
        
-       \translator { \StaffContext barSize = \staffheight; }
+       \translator { \StaffContext barSize = #5 }
 
        % no beam-slope
-       %\translator { \VoiceContext beamHeight = #0; }
-       \include "params-as.ly";
+       %\translator { \VoiceContext beamHeight = #0 }
+       \include "params-as.ly"
 }
 
 \paper { \paperAsFive }
index 49e80c4b28084c950258dcf8933f69bdd658a299..d35590f5af70b50a658ca9398ee775fd502dbfd5 100644 (file)
@@ -1,15 +1,15 @@
 % paper-as9.ly
 
-\version "1.3.120";
+\version "1.3.146"
 
 paperAsNine = \paper {
-       staffheight = 9.\char;
+       staffheight = 9.\char
 
-       %\translator { \StaffContext barSize = \staffheight; }
+       %\translator { \StaffContext barSize = \staffheight }
 
        \stylesheet #(as-make-style-sheet 'as9)
 
-       \include "params-as.ly";
+       \include "params-as.ly"
        
 }
 
index 0a475b7350a07f96e740293680984e4d4319e76e..fb9aea728c009d1d444dbe69f03a03e9b0d06a33 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 % paper.ly
 
 %% Why som complicated?  /MB
-%linewidth20 = \hsize - 2.5 * \staffheight;
-%textheight20 = \vsize - 5.0 * \staffheight;
-%linewidth = \staffheight/20.0 * \linewidth20;
-%textheight = \staffheight/20.0 * \textheight20;
+%linewidth20 = \hsize - 2.5 * \staffheight
+%textheight20 = \vsize - 5.0 * \staffheight
+%linewidth = \staffheight/20.0 * \linewidth20
+%textheight = \staffheight/20.0 * \textheight20
 
-linewidth = \hsize - 2.\cm;
+linewidth = \hsize - 2.\cm
 % Leave the textheight calculation to the geometry package. /MB
-%textheight = \vsize - 4.\cm;
+%textheight = \vsize - 4.\cm
 
-indent = \linewidth / 14.0;
+indent = \linewidth / 14.0
 
index 6a87d8b2e8978df5dc621b99ea4ae51ca7e18296..61dbaf5e0885493b40e8ef0c04e5b97dad3cfd4c 100644 (file)
@@ -1,12 +1,12 @@
 % paper11.ly
 
-\version "1.3.120";
+\version "1.3.146"
 
 paperEleven = \paper {
-       staffheight = 11.0\pt;
+       staffheight = 11.0\pt
        \stylesheet #(make-style-sheet 'paper11)
 
-       \include "params.ly";
+       \include "params.ly"
 }
 
 \paper { \paperEleven }
index e5d03d652dec442c95178659a6c4ed07af64cdb5..445c37e929bae6be4aaef8fe7c0c1a8888415fbe 100644 (file)
@@ -1,13 +1,13 @@
 % paper13.ly
 
-\version "1.3.120";
+\version "1.3.146"
 
 paperThirteen = \paper {
-       staffheight = 13.0\pt;
+       staffheight = 13.0\pt
 
        \stylesheet #(make-style-sheet 'paper13)
        
-       \include "params.ly";
+       \include "params.ly"
 }
 
 \paper { \paperThirteen }
index 507e3ca5de9f21f225b8c0b404ced1f5472fa91e..a03bfdd3e72926f2bc2bf950f78ab6dae93fd085 100644 (file)
@@ -1,12 +1,12 @@
 % paper16.ly
 
-\version "1.3.120";
+\version "1.3.146"
 
 paperSixteen = \paper {
-       staffheight = 16.0\pt;
+       staffheight = 16.0\pt
        \stylesheet #(make-style-sheet 'paper16)
 
-       \include "params.ly";
+       \include "params.ly"
 }
 
 \paper {\paperSixteen }
index d30ec07880892c929522fd971d485b266a16675f..b213bbc0ec9b30e6343baa8784ddf335343de116 100644 (file)
@@ -1,13 +1,13 @@
 % paper20.ly
 
 
-\version "1.3.120";
+\version "1.3.146"
 
 paperTwenty = \paper {
-       staffheight = 20.0\pt;
+       staffheight = 20.0\pt
        \stylesheet #(make-style-sheet 'paper20)
        
-       \include "params.ly";
+       \include "params.ly"
 }
 
 \paper { \paperTwenty }
index 6e9ba505464a9d5b106de13958a0be32829f17d8..aa08a5e7561369b76925766180e9d2118ef8e8df 100644 (file)
@@ -1,12 +1,12 @@
 % paper23.ly
 
 
-\version "1.3.120";
+\version "1.3.146"
 
 paperTwentythree = \paper {
-       staffheight = 23.0\pt;
+       staffheight = 23.0\pt
        \stylesheet #(make-style-sheet 'paper23)
-       \include "params.ly";
+       \include "params.ly"
 }
 
 \paper { \paperTwentythree }
index db3998533985a483ef5cac49996381269c556310..5ff9ece986f761dd4a7f00c6c815d939cc11837f 100644 (file)
@@ -1,12 +1,12 @@
 % paper26.ly
 
-\version "1.3.120";
+\version "1.3.146"
 
 paperTwentysix = \paper {
-       staffheight = 26.0\pt;
+       staffheight = 26.0\pt
        \stylesheet #(make-style-sheet 'paper26)        
 
-       \include "params.ly";
+       \include "params.ly"
 }
 
 \paper { \paperTwentysix }
index 2d2a6fb83c847f9fbf96ef7fff4db569718ff8f5..fafb495c0af0b4f403b5324065abb00e298311a4 100644 (file)
@@ -1,14 +1,15 @@
+\version "1.3.146"
 % params-as.ly
 % generic paper parameters
 
-outputscale = \staffheight / 4.0;
+outputscale = \staffheight / 4.0
 
-linewidth = 60.0 \char;
-textheight = 60.0 \char;
-indent = 8.0\char;
+linewidth = 60.0 \char
+textheight = 60.0 \char
+indent = 8.0\char
 
-staffspace = (\staffheight - 1.0 ) / 4.0;
-stafflinethickness = \staffspace / 2.0;
+staffspace = (\staffheight - 1.0 ) / 4.0
+stafflinethickness = \staffspace / 2.0
 
 \translator { \NoteNamesContext }
 \translator { \ScoreContext }
index 684fe2850ea9a349098a1906dfc0a296a6a005e6..92fdaa288c826e651310e20a1faa49531cac03ca 100644 (file)
@@ -1,15 +1,18 @@
+\version "1.3.146"
 % JUNKME.
 
-papersizename = \papersize ;
+papersizename = \papersize 
 
-paperfile = \papersize + ".ly";
-% paperfile = "a4.ly";
-\include \paperfile;
-\include "paper.ly";
+paperfile = \papersize + ".ly"
 
-staffspace = \staffheight / 4.0;
-stafflinethickness = \staffspace / 10.0;
-outputscale = \staffheight / 4.0;
+% paperfile = "a4.ly"
+
+\include \paperfile
+\include "paper.ly"
+
+staffspace = \staffheight / 4.0
+stafflinethickness = \staffspace / 10.0
+outputscale = \staffheight / 4.0
 
 \translator { \NoteNamesContext }
 \translator { \ScoreContext }
index 2d3f1eb094fc62c9936eb661f4a4f1e8778016d2..5c2c17f170dbb66f6e98fba5e31c2de35d46fe73 100644 (file)
@@ -1,9 +1,10 @@
+\version "1.3.146"
 
 % JUNKME
 %part-paper.ly
 
 \paper {
        \translator { \OrchestralPartStaffContext }
-       \translator { \ScoreContext skipBars = ##t; }
+       \translator { \ScoreContext skipBars = ##t }
 }
 
index 04456979a1d69ead25cca3e7880771fc017c5397..b44fae606f46b9dee963cd4bfa7705178aed46f1 100644 (file)
+\version "1.3.146"
 %
 % setup for Request->Element conversion. Guru-only
 %
 StaffContext = \translator {
-       \type "Staff_performer";
-       \name Staff;
-       \accepts Voice;
+       \type "Staff_performer"
+       \name Staff
+       \accepts Voice
 
-       \consists "Key_performer";
-       \consists "Tempo_performer";
-       \consists "Time_signature_performer";
+       \consists "Key_performer"
+       \consists "Tempo_performer"
+       \consists "Time_signature_performer"
        dynamicStyle = #"dynamic"
-};
+}
 \translator { \StaffContext }
 \translator { \StaffContext
-  \name RhythmicStaff;
+  \name RhythmicStaff
 }
 
 
 VoiceContext = \translator {
-       \type "Performer_group_performer";
-       \name Voice;
+       \type "Performer_group_performer"
+       \name Voice
 % All notes fall to Grace if you leave Thread out (huh?)
-       \consists "Dynamic_performer";
-       \consists "Span_dynamic_performer";
-       \consists "Piano_pedal_performer";
-       \consists "Grace_position_performer";
-       \accepts Thread;
-       \accepts Grace;
-};
+       \consists "Dynamic_performer"
+       \consists "Span_dynamic_performer"
+       \consists "Piano_pedal_performer"
+       \consists "Grace_position_performer"
+       \accepts Thread
+       \accepts Grace
+}
 \translator { \VoiceContext }
 
 ThreadContext = \translator {
-       \type "Performer_group_performer";
-       \name Thread;
-       \consists "Note_performer";
-       \consists "Tie_performer";
-};
+       \type "Performer_group_performer"
+       \name Thread
+       \consists "Note_performer"
+       \consists "Tie_performer"
+}
 \translator { \ThreadContext }
 
 \translator {
-       \type "Grace_performer_group";
-       \name Grace;
-       \consists "Note_performer";
-       \consists "Tie_performer";
-        \consists "Swallow_performer";
+       \type "Grace_performer_group"
+       \name Grace
+       \consists "Note_performer"
+       \consists "Tie_performer"
+        \consists "Swallow_performer"
 
         weAreGraceContext = #t
 }
 
 \translator
 {
-       \type "Performer_group_performer";
-       \name VoiceTwo;\consists "Note_performer";
+       \type "Performer_group_performer"
+       \name VoiceTwo\consists "Note_performer"
 
 }
 
 GrandStaffContext = \translator {
-       \type "Performer_group_performer";
-       \name GrandStaff;
-       \accepts RhythmicStaff;
-       \accepts Staff;
-};
+       \type "Performer_group_performer"
+       \name GrandStaff
+       \accepts RhythmicStaff
+       \accepts Staff
+}
 \translator { \GrandStaffContext }
 
 PianoStaffContext = \translator {
-        \type "Performer_group_performer";
-       \name "PianoStaff";
-       \accepts Staff;
-};
+        \type "Performer_group_performer"
+       \name "PianoStaff"
+       \accepts Staff
+}
 \translator { \PianoStaffContext }
 
 \translator {
-       \type "Performer_group_performer";
-       \consists "Lyric_performer";
-       \name LyricsVoice;
+       \type "Performer_group_performer"
+       \consists "Lyric_performer"
+       \name LyricsVoice
 }
 
 \translator{
-       \type "Performer_group_performer";
-       \name ChoirStaff;
-       \accepts Staff;
+       \type "Performer_group_performer"
+       \name ChoirStaff
+       \accepts Staff
 }
 \translator { 
-       \type "Staff_performer";
-       \accepts LyricsVoice;
-       \name Lyrics;
-       \consists "Time_signature_performer";
-       \consists "Tempo_performer";
+       \type "Staff_performer"
+       \accepts LyricsVoice
+       \name Lyrics
+       \consists "Time_signature_performer"
+       \consists "Tempo_performer"
 }
 
 \translator {
-       \type "Staff_performer";
-       \accepts ChordNameVoice;
-       \name ChordNames;
+       \type "Staff_performer"
+       \accepts ChordNameVoice
+       \name ChordNames
 }
 
 \translator {
-       \type Performer_group_performer;
-       \consists Note_performer;
-       \name ChordNameVoice;   
+       \type Performer_group_performer
+       \consists Note_performer
+       \name ChordNameVoice    
 }
 
 \translator {
-       \type Performer_group_performer;
+       \type Performer_group_performer
 
-       \name StaffGroup;
-       \accepts Staff;
+       \name StaffGroup
+       \accepts Staff
 }
 
 ScoreContext = \translator {
-       \type "Score_performer";
-
-       \name Score;
-       instrument = "bright acoustic";
-       \accepts Staff;
-       \accepts GrandStaff;
-       \accepts PianoStaff;
-       \accepts Lyrics; 
-       \accepts StaffGroup;
-       \accepts ChoirStaff;
-       \accepts RhythmicStaff;
-       \accepts ChordNames;
-       \consists "Swallow_performer";
+       \type "Score_performer"
+
+       \name Score
+       instrument = #"bright acoustic"
+       \accepts Staff
+       \accepts GrandStaff
+       \accepts PianoStaff
+       \accepts Lyrics 
+       \accepts StaffGroup
+       \accepts ChoirStaff
+       \accepts RhythmicStaff
+       \accepts ChordNames
+       \consists "Swallow_performer"
 
        dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
        instrumentEqualizer = #default-instrument-equaliser
-};
+}
 \translator { \ScoreContext }
 
index ea608e9874f3eca796d19ebd6be99031ab1a2f85..6bce4b2ece596a3fe2750fe81de7e55e04ec9ec2 100644 (file)
@@ -1,6 +1,6 @@
 % property.ly
 
-\version "1.3.110";
+\version "1.3.146"
 
 stemUp = \property Voice.Stem \override #'direction = #1
 stemDown = \property Voice.Stem \override #'direction = #-1 
@@ -114,10 +114,10 @@ specialkey = {
 
 % End the incipit and print a ``normal line start''.
 endincipit = \notes{
-    \partial 16; s16  % Hack to handle e.g. \bar ".|"; \endincipit
+    \partial 16 s16  % Hack to handle e.g. \bar ".|" \endincipit
     \context Staff \outputproperty #(make-type-checker 'clef-interface) #'full-size-change = ##t
     \context Staff \outputproperty #(make-type-checker 'clef-interface) #'non-default = ##t
-    \bar "";
+    \bar ""
 }
 
 autoBeamOff = \property Voice.noAutoBeaming = ##t
index 0b48ce633a3bbcf675e961b7ee7512f09479e63c..b3268ffef934b5d6337e8497d8fb9fb59b15279b 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 major = #'(
index a48626f78ab8be35b3ba1410bc434325e7af5042..3407f96bc9c4959cd9b163a0b7f543d5ef154f2a 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 
 "dash-hat" = "marcato"
index ae445148c4d4a7b72974e471b52927b13a358640..6fd99caaba5d54ca24ade0415fb116a1779455e2 100644 (file)
@@ -1,3 +1,4 @@
+\version "1.3.146"
 
 cr = \spanrequest \start "crescendo"
 decr = \spanrequest  \start "decrescendo"
@@ -5,7 +6,7 @@ rc = \spanrequest   \stop "crescendo"
 rced = \spanrequest \stop "decrescendo"
 
 cresc = \notes {
-  \commandspanrequest \start "crescendo" ;
+  \commandspanrequest \start "crescendo" 
   \property Voice.crescendoText = "cresc."
   \property Voice.crescendoSpanner = "dashed-line"
 }
@@ -13,19 +14,19 @@ cresc = \notes {
 % ah, this is handy: maybe drop resetting of properties in
 % dynamic-engraver ?
 endcresc = \notes {
-  \commandspanrequest \stop "crescendo"; 
+  \commandspanrequest \stop "crescendo" 
   \property Voice.crescendoText = ##f
   \property Voice.crescendoSpanner = ##f
 }
 
 dim = \notes {
-  \commandspanrequest \start "decrescendo" ;
+  \commandspanrequest \start "decrescendo" 
   \property Voice.decrescendoText = "dim."
   \property Voice.decrescendoSpanner = "dashed-line"
 }
 
 enddim = \notes {
-  \commandspanrequest \stop "decrescendo"; 
+  \commandspanrequest \stop "decrescendo" 
   \property Voice.decrescendoText = ##f
   \property Voice.decrescendoSpanner = ##f
 }
index 12869b6ac72173fa175956bb7d85730539decb44..c9b54987e934e668da3eabef8de5ffd4f8fceee8 100644 (file)
@@ -40,4 +40,4 @@
        (hiss . ,(make-pitch -1 6 1 ))
        (hississ . ,(make-pitch -1 6 2 ))
 )
-\version "1.3.110";
+\version "1.3.146"
index 83f330c9fd583c1c342b851ad334f625b3256a54..2135a39c835212e8cd2a9d6c413d67f225c3d5d0 100644 (file)
@@ -22,7 +22,7 @@ ABC2LY = $(script-dir)/abc2ly.py
 CONVERT_LY = $(script-dir)/convert-ly.py
 LILYPOND = $(depth)/$(builddir)/lily/$(outconfbase)/lilypond
 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
-LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/
+LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/
 LY2DVI = $(script-dir)/ly2dvi.py
 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
 PS_TO_PNGS = $(buildscript-dir)/ps-to-pngs.sh
index f98142ef72300fa1287292a26ed26cc181020a3a..8916512e46def098feaaae064e975bc238799bfc 100644 (file)
@@ -124,6 +124,7 @@ fi
 %{_prefix}/bin/ly2dvi
 %{_prefix}/bin/midi2ly
 %{_prefix}/bin/lilypond-book
+%{_prefix}/bin/mup2ly
 %{_prefix}/bin/musedata2ly
 %{_prefix}/bin/pmx2ly
 %else
@@ -144,6 +145,7 @@ fi
 %{_prefix}/man/man1/midi2ly.1.gz
 %{_prefix}/man/man1/lilypond-book.1.gz
 %{_prefix}/man/man1/musedata2ly.1.gz
+%{_prefix}/man/man1/mup2ly.1.gz
 %{_prefix}/man/man1/pmx2ly.1.gz
 
 %{_prefix}/share/lilypond/
index 81b623957dbbdf91ecf245fa1c6e45aeca148d87..8c6dc1e97e57273286e854ce6dfb3564f77bfdd3 100644 (file)
@@ -33,3 +33,11 @@ $(outdir)/%.info: $(outdir)/%.nexi
 # nfo: info from non-lily texi
 #$(outdir)/%.nfo: $(outdir)/%.nexi
 #      $(MAKEINFO) --output=$(outdir)/$(*F).info $<
+
+
+#
+# Timothy's booklet
+#
+$(outdir)/%-book.ps: $(outdir)/%.ps
+       psbook $< $<.tmp
+       pstops  '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp $@
index 3e8824f8100484c3de91581180db3646f6f3e70c..caee2d22452b6bfee80c04e20047d3e4af64e46f 100644 (file)
@@ -57,13 +57,12 @@ examples=
 #
 mutopia-examples=$(name) $(parts)
 
-#
+# moved to ly-rules.make
 # Timothy's booklet
 #
-$(outdir)/%-book.ps: $(outdir)/%.ps
-       psbook $< $<.tmp
-#      pstops '2:0L(11.45in,0.25in)+1L(11.45in,5.6in)' $<.tmp $@
-       pstops  '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp $@
+#$(outdir)/%-book.ps: $(outdir)/%.ps
+#      psbook $< $<.tmp
+#      pstops  '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp $@
 
 #
 # Catch-all target: type `make foo' to make out/foo.ps,
index a901a3be97e2e1ac2d72aa22cbf8035d785fdec4..cf3db5394388d30f203d4962a9df8db2db189fe9 100644 (file)
@@ -21,15 +21,16 @@ $(outdir)/%.ly: %.abc
        $(PYTHON) $(ABC2LY) -o $@ $< 
 
 $(outdir)/%.dvi: $(outdir)/%.ly
-       $(PYTHON) $(LY2DVI) --outdir=$(outdir) --dependencies $< 
+       $(PYTHON) $(LY2DVI) --output=$@ --dependencies $< 
 
 # don't junk intermediate .dvi files.  They're easier to view than
 # .ps or .png
 .PRECIOUS: $(outdir)/%.dvi
 
 $(outdir)/%.dvi: %.ly
-       $(PYTHON) $(LY2DVI) --outdir=$(outdir) --dependencies $< 
+       $(PYTHON) $(LY2DVI) --output=$@ --dependencies $< 
 
 $(outdir)-$(PAPERSIZE)/%.dvi: %.ly
-       $(PYTHON) $(LY2DVI) --outdir=$(outdir)-$(PAPERSIZE) --dependencies --set=papersize=$(PAPERSIZE) $< 
+       $(PYTHON) $(LY2DVI) --output=$@ --dependencies --set=papersize=$(PAPERSIZE) $< 
+
 
index 500da4417e3c2c82b82812a679eb2b9cc60bb92a..afabd4365aa3690ff83818de3eca0e3df8adc8f4 100644 (file)
@@ -1,15 +1,15 @@
 Begin3
 Title: LilyPond
-Version: 1.3.145
-Entered-date: 01APR01
+Version: 1.3.146
+Entered-date: 05APR01
 Description: @BLURB@
 Keywords: music notation typesetting midi fonts engraving
 Author: hanwen@cs.uu.nl (Han-Wen Nienhuys)
        janneke@gnu.org (Jan Nieuwenhuizen)
 Maintained-by: hanwen@stack.nl (Han-Wen Nienhuys)
 Primary-site: sunsite.unc.edu /pub/Linux/apps/sound/convert
-       1000k lilypond-1.3.145.tar.gz 
+       1000k lilypond-1.3.146.tar.gz 
 Original-site: ftp.cs.uu.nl /pub/GNU/LilyPond/development/
-       1000k lilypond-1.3.145.tar.gz 
+       1000k lilypond-1.3.146.tar.gz 
 Copying-policy: GPL
 End
index 3dbcd146d7c6dad56325a68ecfde542650290d1b..7041a22ba8da05436c6d7a93fface3af8da3081a 100644 (file)
@@ -1,11 +1,11 @@
 %define info yes
 
 Name: lilypond
-Version: 1.3.145
+Version: 1.3.146
 Release: 1
 License: GPL
 Group: Applications/Publishing
-Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.3.145.tar.gz
+Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.3.146.tar.gz
 # music notation software for.. ?
 Summary: A program for printing sheet music.
 URL: http://www.cs.uu.nl/~hanwen/lilypond
@@ -124,6 +124,7 @@ fi
 %{_prefix}/bin/ly2dvi
 %{_prefix}/bin/midi2ly
 %{_prefix}/bin/lilypond-book
+%{_prefix}/bin/mup2ly
 %{_prefix}/bin/musedata2ly
 %{_prefix}/bin/pmx2ly
 %else
@@ -144,6 +145,7 @@ fi
 %{_prefix}/man/man1/midi2ly.1.gz
 %{_prefix}/man/man1/lilypond-book.1.gz
 %{_prefix}/man/man1/musedata2ly.1.gz
+%{_prefix}/man/man1/mup2ly.1.gz
 %{_prefix}/man/man1/pmx2ly.1.gz
 
 %{_prefix}/share/lilypond/
index 5973b51718489710730eb8b5a11b9e07eabc8063..7632fcff4766c1512ab7f166eb4600b1e41c9169 100644 (file)
@@ -546,13 +546,18 @@ fet_beginchar("Crossed notehead", "2cross", "crossedhead")
 fet_endchar;
 
 fet_beginchar("X-Circled notehead", "2xcircle", "xcircledhead")
-       set_char_box(0, noteheight#+stafflinethickness#,
-         noteheight#/2+stafflinethickness#/2,noteheight#/2+stafflinethickness#/2);
-       pickup pencircle scaled 1.2stafflinethickness;
-       draw fullcircle scaled 2h shifted (h,0);
-       pos := h/sqrt2;
-       draw (-pos+h,-pos) -- (pos+h,pos);
-       draw (-pos+h,pos) -- (pos+h,-pos);
+       wid# := black_notehead_width#;
+       hei# := noteheight#+stafflinethickness#;
+       set_char_box(0, wid#,hei#/2,hei#/2);
+       cthick := 1.2stafflinethickness;
+       cxr := w/2-cthick/2;
+       cyr := h-cthick/2;
+       pickup pencircle scaled cthick;
+       draw fullcircle xscaled 2cxr yscaled 2cyr shifted (w/2,0);
+       xpos := cxr/sqrt2;
+       ypos := cyr/sqrt2;
+       draw (-xpos+w/2,-ypos) -- (xpos+w/2,ypos);
+       draw (-xpos+w/2,ypos) -- (xpos+w/2,-ypos);
 fet_endchar;
 
 fet_endgroup("noteheads");
index 2e31f1ada84b71cd89fd3b13c2f54ccdf80ee6d2..7be674ce323fbe4c46e906dc6e432ff77b123199 100644 (file)
@@ -39,12 +39,12 @@ if test = 0:
 else:
 %      input feta-bolletjes;   
 %      input feta-banier;
-       input feta-eindelijk;
+%      input feta-eindelijk;
 %      input feta-klef;
 %      input feta-toevallig;
 %      input feta-schrift;
 %      input feta-haak;
-%      input feta-timesig;
+       input feta-timesig;
 %      input feta-pendaal;
 %      input feta-accordion;
 fi
index 488e8ea732f021a7630bd418cc9690c31ac27db5..cc22ca8ab9c2dcac57b70dfa66b93256b07dccca 100644 (file)
@@ -3,15 +3,15 @@
 % 
 % source file of the Feta (not an abbreviation of Font-En-Tja) music font
 % 
-% (c) 1998--1999 Mats Bengtsson <matsb@s3.kth.se>,
-%              Christian Mondrup <scancm@biobase.dk>
+% (c) 1998--2001 Mats Bengtsson <matsb@s3.kth.se>,
+%               Christian Mondrup <scancm@biobase.dk>
 
 fet_begingroup("timesig");
 
 def set_C_width =
        save left_width, right_width;
-       left_width# := 0.9 staff_space#;
-       right_width# := .7 staff_space#;
+       left_width# := 1.0 staff_space#;
+       right_width# := 0.8 staff_space#;
        define_pixels(left_width,right_width);
 enddef;
 
@@ -31,27 +31,28 @@ def draw_C =
        z4 = (0, -staff_space);
        z5r = (right_width - stafflinethickness, -0.4 staff_space);
        
-       penpos1(hair, 0);
+       penpos1(hair, 10);
        penpos2(stafflinethickness, 90);
        penpos3(left_fatness * staff_space, 180);
        penpos4(stafflinethickness, -90);
        penpos5(hair, -5);
+       z6l = z1l;
+       penpos6(hair, 0);
        
-       draw_bulb(-1, z1l,  z1r, bulb_rad, .8);
+       draw_bulb(-1, z6l,  z6r, bulb_rad, .8);
 
-       fill z1l{up} .. z2l{left} .. z3l{down} .. z4l{right} ..
+       fill z1l{dir (100)} .. z2l{left} .. z3l{down} .. z4l{right} ..
        simple_serif(z5l, z5r, -90) .. 
-       z4r{left} .. z3r{up} .. z2r{right} .. z1r -- cycle;
+       z4r{left} .. z3r{up} .. z2r{right} .. {dir (-80)}z1r -- cycle;
        
-%      labels(1,2,3,4,5);
-       penlabels(1,2,3,4,5);
+       penlabels(1,2,3,4,5,6);
 enddef;
 
 fet_beginchar ("4/4 meter", "C4/4", "fourfourmeter")
        set_C_width;
        set_char_box(left_width# + staff_space#, right_width# + staff_space#, 
                staff_space#, staff_space#);
-       
+
        draw_C;
 fet_endchar;
 
index 2f70f5d4be05c4f1fb3ab487cf48dbc0803303f4..4c3830a63722e2e8a939954058721f02eb35be5e 100644 (file)
@@ -71,7 +71,7 @@ Lilypond_key::str ()
   if (accidentals_i)
     notename_str += String (accname [accidentals_i + 2]);
 
-  return "\\key " + notename_str  + (minor_i_ ? "\\minor" : "\\major") + ";\n";
+  return "\\key " + notename_str  + (minor_i_ ? "\\minor" : "\\major") + "\n";
 }
 
 String
@@ -195,7 +195,7 @@ Lilypond_time_signature::str ()
 {
   String str = "\\time "
     + to_str (num_i_) + "/" + to_str (1 << den_i_)
-    + ";\n";
+    + "\n";
   return str;
 }
 
@@ -328,7 +328,7 @@ Lilypond_tempo::str ()
 {
   String str = "\\tempo 4=";
   str += to_str (get_tempo_i (Rational (1, 4)));
-  str += ";\n";
+  str += "\n";
   return str;
 }
 
index 9595b9356959d2e0c2e565e90a28c6d9db06c7cb..d7676b26341796d31b52b2f7b17a340b74db2235 100644 (file)
@@ -51,9 +51,9 @@ Lilypond_voice::get_clef () const
   int p = n->pitch_i_;
 
   if (p < 56)
-    return "\\clef \"bass\";\n";
+    return "\\clef \"bass\"\n";
   else if (p > 67)
-    return "\\clef \"treble\";\n";
+    return "\\clef \"treble\"\n";
   else
     return "";
 }
index e395e418ebd7774909dbb7cacb5d854cd91921ee..d70a07c6091446bff314152cd89f4c4d8896a5e1 100644 (file)
@@ -1,40 +1,40 @@
 \header {
-  filename =    "petite-ouverture-a-danser.ly";
-  title =       "Petite Ouverture \\`a danser";
-  subtitle =   "4";
-  source =      "";
-  composer =    "Erik Satie (1866-1925)";
-  enteredby =   "jcn";
-  copyright =   "Public Domain";
+  filename =    "petite-ouverture-a-danser.ly"
+  title =       "Petite Ouverture \\`a danser"
+  subtitle =   "4"
+  source =      ""
+  composer =    "Erik Satie (1866-1925)"
+  enteredby =   "jcn"
+  copyright =   "Public Domain"
 }
 
 %{
  Tested Features:
 %}
 
-\version "1.3.117";
+\version "1.3.146"
 
 \include "nederlands.ly"
 
 global =  \notes {
-  \key a \minor;
-  \time 2/4;
+  \key a \minor
+  \time 2/4
   s2*10
-  \bar "||";
+  \bar "||"
   s2*11
-  \bar "||";
-  \time 3/4;
+  \bar "||"
+  \time 3/4
   s2.
-  \bar "||";
-  \time 2/4;
+  \bar "||"
+  \time 2/4
   s2*4
-  \bar "||";
-  \time 3/4;
+  \bar "||"
+  \time 3/4
   s2.*2
-  \bar "||";
-  \time 2/4;
+  \bar "||"
+  \time 2/4
   s2*18
-  \bar "|.";
+  \bar "|."
 }
   
 i =  \context Staff \notes\relative c''{
@@ -135,20 +135,20 @@ lower =  \context Staff \notes \relative c{
     \context GrandStaff < 
       \context Staff = treble < 
         \global 
-        \clef violin;
+        \clef violin
        \i
        \ii
       >
       \context Staff = bass <
         \global
-       \clef bass;
+       \clef bass
         \lower
       >
     >
 
   \paper {
-    gourlay_maxmeasures = 5.;
-    textheight = 295.\mm;
+    gourlay_maxmeasures = 5.
+    textheight = 295.\mm
     \translator{ \OrchestralScoreContext }
     \translator{
            \VoiceContext
@@ -157,7 +157,7 @@ lower =  \context Staff \notes \relative c{
     }
   }
   \midi {
-    \tempo 4 = 60;
+    \tempo 4 = 60
   }
 }
 
index 69561d89b3487f44a904c5c4dfe4786ab542352a..a726f6b9ba442dcd0d7c50547095fce38e908272 100644 (file)
@@ -4,44 +4,44 @@
 instrument = "Piano"
 
 \header {
-  title = "Ständchen";
-  subtitle = "(Serenade)";
-  subsubtitle = "Leise flehen meine Lieder";
-  opus = "D. 957 No. 4";
-  date = "August 1828";
-  composer = "Franz Schubert (1797-1828)";
-  poet = "Text by Ludwig Rellstab (1799-1860)";
-  enteredby = "JCN";
-  copyright = "public domain";
-  instrument = \instrument;
+  title = "Ständchen"
+  subtitle = "(Serenade)"
+  subsubtitle = "Leise flehen meine Lieder"
+  opus = "D. 957 No. 4"
+  date = "August 1828"
+  composer = "Franz Schubert (1797-1828)"
+  poet = "Text by Ludwig Rellstab (1799-1860)"
+  enteredby = "JCN"
+  copyright = "public domain"
+  instrument = \instrument
 
   % mutopia headers.
-  mutopiatitle = "Standchen";
-  mutopiasubtitle = "Leise flehen meine Lieder";
-  mutopiacomposer = "Franz Schubert (1797-1828)";
-  mutopiapoet = "Ludwig Rellstab (1799-1860)";
-  mutopiaopus = "D957.4";
-  mutopiainstrument = \instrument;
-  date = "1828/08";
-  style = "Romantic";
-  source = "Schubert-Lieder; Edition Schott No. 608, (Not dated).
-    Jubilaeums-Ausgabe zum 100. Todestage (~1928).";
-
-  copyright = "Public Domain";
-  maintainer = "Jan Nieuwenhuizen";
-  maintainer_email = "janneke@gnu.org";
-  lastupdated =         "2001/Mar/26";
+  mutopiatitle = "Standchen"
+  mutopiasubtitle = "Leise flehen meine Lieder"
+  mutopiacomposer = "Franz Schubert (1797-1828)"
+  mutopiapoet = "Ludwig Rellstab (1799-1860)"
+  mutopiaopus = "D957.4"
+  mutopiainstrument = \instrument
+  date = "1828/08"
+  style = "Romantic"
+  source = "Schubert-Lieder Edition Schott No. 608, (Not dated).
+    Jubilaeums-Ausgabe zum 100. Todestage (~1928)."
+
+  copyright = "Public Domain"
+  maintainer = "Jan Nieuwenhuizen"
+  maintainer_email = "janneke@gnu.org"
+  lastupdated =         "2001/Mar/26"
   mutopiapublicdomain = "\\parbox{\hsize}{\\thefooter\\quad\\small
     \\\\This music is part of the Mutopia project,
     \\texttt{http://www.mutopiaproject.org/}\\\\It has been typeset
     and placed in the public domain by " + \maintainer +
     ".\\\\Unrestricted modification and redistribution is permitted
-    and encouraged---copy this music and share it.}";
- tagline = \mutopiapublicdomain;
- footer = "Mutopia-2001/03/26-xx";
+    and encouraged---copy this music and share it.}"
+ tagline = \mutopiapublicdomain
+ footer = "Mutopia-2001/03/26-xx"
 } 
 
-\version "1.3.141";
+\version "1.3.146"
 
 dynamicUp = \property Voice.DynamicLineSpanner \override #'direction = #1
 dynamicRevert = \property Voice.DynamicLineSpanner \revert #'direction
@@ -101,13 +101,13 @@ vocalThrough =  \notes\relative c{
 
 lyricVerseOne =  \lyrics{
        Lei- se fleh- en mei- ne Lie- der
-       Durch die Nacht zu dir; 
+       Durch die Nacht zu dir 
        In den stil- len Hain her- nie- der
        Lieb- chen, komm zu mir! 
        
        Fl\"us- ternd schlan- ke Wip- fel rau- schen
        In des Mon- des Licht,
-       In des Mon- des Licht;
+       In des Mon- des Licht
 
        Des Ver- r\"a- ters feind- lich Lau- schen
        F\"urch- te, Hol- de, nicht,
@@ -261,7 +261,7 @@ bassIntro =  \notes\relative c{
 }
 
 bassVerseOne =  \notes\relative c{
-%      \clef bass;
+%      \clef bass
        \dynamicUp
 %5
        <c,2 c'> r4 |
@@ -339,12 +339,12 @@ bassThrough =  \notes\relative c{
 }
                
 global =  \notes{
-       \time 3/4; 
-       \key es \major;
-       \skip 4 * 12;
+       \time 3/4 
+       \key es \major
+       \skip 4 * 12
        \break
-       \skip 4 * 234;
-       \bar "|.";
+       \skip 4 * 234
+       \bar "|."
 }
 
 allLyrics = \lyrics {
@@ -358,15 +358,15 @@ lyricStaff = \context Lyrics {
 }
                
 vocals = \context Voice {
-       \clef treble;
+       \clef treble
        % certainly no auto-beaming for vocals
        \property Voice.noAutoBeaming = ##t
        \property Staff.automaticMelismata= ##t
 
        \dynamicUp
-       \skip 4 * 12; 
+       \skip 4 * 12 
        \vocalVerse 
-       \skip 4 * 24; 
+       \skip 4 * 24 
        \vocalVerse
        \vocalThrough
 }
@@ -378,7 +378,7 @@ vocalStaff =  \context Staff = vocal<
 >
 
 treble =  {
-       \clef treble;
+       \clef treble
        \property Voice.autoBeamSettings \override #'(begin * * * *) = #(make-moment 0 1)
        \trebleIntro 
        \trebleVerseOne 
@@ -392,7 +392,7 @@ trebleStaff =  \context Staff = treble<
        \treble
 >
 bass =  {
-       \clef bass;
+       \clef bass
        \bassIntro 
        \bassVerseOne 
        \bassEentje
@@ -434,6 +434,6 @@ grandStaff =  \context PianoStaff <
                \translator { \HaraKiriStaffContext }
        }
        \midi{
-               \tempo 4 = 54;
+               \tempo 4 = 54
        }
 }
index 456e79f9266c64adf2f43dc4a0b7a831dc60de2e..1f7880a5e03b7f3f1ea0cad75fd1cda02a8bab99 100644 (file)
@@ -1,27 +1,27 @@
-\version "1.3.122"
+\version "1.3.146"
 \header {
-  filename =  "pa.ly";
-  title =    "Wachet auf, ruft uns die Stimme";
-  opus =    "BWV";
-  composer =  "Johann Sebastian Bach 1685-1750 ";
-  enteredby =  "JCN";
-  copyright =  "public domain";
+  filename =  "pa.ly"
+  title =    "Wachet auf, ruft uns die Stimme"
+  opus =    "BWV"
+  composer =  "Johann Sebastian Bach 1685-1750 "
+  enteredby =  "JCN"
+  copyright =  "public domain"
 }
 
 
 
 commands = \notes {
-  \time 4/4;
+  \time 4/4
   \property Staff.TimeSignature \override #'style = #'C
-  \key es \major;
-  \partial 8;
+  \key es \major
+  \partial 8
 }
 
 right = \notes \relative c' {
   \commands 
 %if urtekst
-  \clef "alto";
-%  \clef "violin";
+  \clef "alto"
+%  \clef "violin"
 
 %if stable
 %  \property Voice."beamAutoEnd_8" = "1/4"
@@ -84,35 +84,35 @@ right = \notes \relative c' {
   as16 d, es f es d c bes bes'8 es, g16 f es d |
   es as g f g8 es \grace d()c8. d16 d8. es16|
   es1|
-  \bar "|.";
+  \bar "|."
 }
 
 clefs = \notes{
-  \clef "alto";
-  \partial 8;
-  \skip 8;
+  \clef "alto"
+  \partial 8
+  \skip 8
 %testin'
-%  \clef "violin";
-  \skip 1;
-%  \clef "alto";
-  \repeat "volta" 2 { \skip 1*19; }
+%  \clef "violin"
+  \skip 1
+%  \clef "alto"
+  \repeat "volta" 2 { \skip 1*19 }
   \alternative {
-  { \skip 1*2; }
-  { \skip 1*1; } }
-  \skip 1*11;
-  s4 \clef "violin";
+  { \skip 1*2 }
+  { \skip 1*1 } }
+  \skip 1*11
+  s4 \clef "violin"
   s4 s2
   s1
-  s4 s8 \clef "alto"; s8 s2
-  \skip 1*12;
-  s4 r8 \clef "violin"; s8 s2 \clef "alto";
+  s4 s8 \clef "alto" s8 s2
+  \skip 1*12
+  s4 r8 \clef "violin" s8 s2 \clef "alto"
 }
 
 left = \notes \relative c {
   \commands 
 %if urtekst
-  \clef "tenor";
-%  \clef "bass";
+  \clef "tenor"
+%  \clef "bass"
 
 %if stable
 %  \property Staff.noVoltaBraces = 1 
@@ -156,7 +156,7 @@ left = \notes \relative c {
   c g as8 g f4\trill|
   es1|
   R1*4
-  \bar "|.";
+  \bar "|."
 }
 
 pedal = \notes \relative c, {
@@ -165,7 +165,7 @@ pedal = \notes \relative c, {
 %  \property Staff.noVoltaBraces = 1
 %  \property Staff.noVoltaBraces = ##t
   \property Staff.VoltaBracket = \turnOff
-  \clef "bass";
+  \clef "bass"
   r8 |
   es4 es es g
   \repeat "volta" 2 {
@@ -223,7 +223,7 @@ pedal = \notes \relative c, {
   bes8 c bes as g c as bes|
   c d es g as f bes bes,|
   es1
-  \bar "|.";
+  \bar "|."
 }
 
 
@@ -249,30 +249,30 @@ pedal = \notes \relative c, {
   >
 
 \paper {
-  %textheight = 280.0 \mm;
+  %textheight = 280.0 \mm
   % landscape:
-%  textheight = 160.0 \mm;
-  orientation = "landscape";
-  linewidth = 280.0 \mm;
+%  textheight = 160.0 \mm
+  orientation = "landscape"
+  linewidth = 280.0 \mm
 %{
   \translator { 
     \OrchestralScoreContext 
-    minVerticalAlign = 4.0*\staffheight;
-    maxVerticalAlign = 4.0*\staffheight;
+    minVerticalAlign = 4.0*\staffheight
+    maxVerticalAlign = 4.0*\staffheight
    }
 %}
   \translator { 
     \StaffGroupContext
-    minVerticalAlign = 4.0*\staffheight;
-    maxVerticalAlign = 4.0*\staffheight;
+    minVerticalAlign = 4.0*\staffheight
+    maxVerticalAlign = 4.0*\staffheight
    }
    \translator { 
     \PianoStaffContext
-       minVerticalAlign = 2.5*\staffheight;
-       maxVerticalAlign = 2.5*\staffheight;
+       minVerticalAlign = 2.5*\staffheight
+       maxVerticalAlign = 2.5*\staffheight
    }
   }
   \midi {
-   \tempo 4 = 69;
+   \tempo 4 = 69
   }
 }
index 1a6d2159dfe03e687974272b1c6532c4c9eb3864..2a803c6bf89c35d82ceea715a392dc6584f8e387 100644 (file)
@@ -1,30 +1,30 @@
 \header{
-title =                 "Fuga a 4";
-opus =            "BWV 846";
-composer =      "Johann Sebastian Bach (1685-1750)";
-enteredby =     "Shay Rojansky";
+title =                 "Fuga a 4"
+opus =            "BWV 846"
+composer =      "Johann Sebastian Bach (1685-1750)"
+enteredby =     "Shay Rojansky"
 
 
   % mutopia headers.
-  mutopiatitle = "Das Wohltemperierte Clavier I, Fuga 1 (c-major)";
-  mutopiacomposer = "J.S.Bach";
-  mutopiaopus = "BWV846";
-  style = "baroque";
-  copyright =    "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!";
-  maintainer = "hanwen@cs.uu.nl";
-  lastupdated = "1999/Oct/14";
+  mutopiatitle = "Das Wohltemperierte Clavier I, Fuga 1 (c-major)"
+  mutopiacomposer = "J.S.Bach"
+  mutopiaopus = "BWV846"
+  style = "baroque"
+  copyright =    "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!"
+  maintainer = "hanwen@cs.uu.nl"
+  lastupdated = "1999/Oct/14"
   
 }
 
 %{
 TODO: use autobeaming. 
 %}
-\version "1.3.117";
+\version "1.3.146"
 
 
 tenor = 
        \context Voice  = tenor  \notes \relative c' {
-       \clef "violin";
+       \clef "violin"
 
        \stemDown
        r8 [c8 d e] [f8. g32 f] [e8 a] |
@@ -103,7 +103,7 @@ soprane =
 
 alt = 
 \context Voice = alt   \notes \relative   c {
-       \clef "bass";
+       \clef "bass"
 
        
        \stemUp
@@ -143,7 +143,7 @@ alt =
 
 bass = \context Voice = bassvoice
        \notes \relative c {
-       \clef "bass";
+       \clef "bass"
 
 
        \stemDown
@@ -185,20 +185,20 @@ bass = \context Voice = bassvoice
 \score {
        \notes \context PianoStaff < 
                \context Staff = one {
-               \time 4/4;
+               \time 4/4
                <
                        \soprane
                        \tenor
-               > \bar "|."; }
+               > \bar "|." }
                \context Staff = two { <
                        \alt
                        \bass
-               > \bar "|."; }
+               > \bar "|." }
        > 
 
        \paper{
-          linewidth = 18.0 \cm;
+          linewidth = 18.0 \cm
        }
 
-       \midi { \tempo 4 = 84; }
+       \midi { \tempo 4 = 84 }
 }
index 3a539395ae0f8b5bc8ada96868deed7e5f341eb9..bc8a767dbd8172e29347bcea49e764c7a9260b05 100644 (file)
@@ -1,32 +1,32 @@
 \header {
-  title =       "Fuga a 3 voci";
-  opus =        "BWV 847-Fuga";
-  source =      "Henle's Urtext";
-  composer =    "Johann Sebastian Bach (1685-1750)";
-  enteredby =   "hwn, wl, jcn";
+  title =       "Fuga a 3 voci"
+  opus =        "BWV 847-Fuga"
+  source =      "Henle's Urtext"
+  composer =    "Johann Sebastian Bach (1685-1750)"
+  enteredby =   "hwn, wl, jcn"
 
   % mutopia headers.
-  mutopiatitle = "Das Wohltemperierte Clavier I, Fuga II (c-minor)";
-  mutopiacomposer = "J. S. Bach (1685-1750)";
-  mutopiainstrument = "Piano";
-  mutopiaopus = "BWV847";
-  style = "baroque";
-  copyright = "Public Domain";
-  tagline =    "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!";
-  maintainer = "hanwen@cs.uu.nl";
-  lastupdated = "2000/Feb/14";
+  mutopiatitle = "Das Wohltemperierte Clavier I, Fuga II (c-minor)"
+  mutopiacomposer = "J. S. Bach (1685-1750)"
+  mutopiainstrument = "Piano"
+  mutopiaopus = "BWV847"
+  style = "baroque"
+  copyright = "Public Domain"
+  tagline =    "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!"
+  maintainer = "hanwen@cs.uu.nl"
+  lastupdated = "2000/Feb/14"
 }
 
 
 % It would be nice to squeeze this onto two pages, but I am not sure
 % if it would work with US paper.
 
-\version "1.3.117";
+\version "1.3.146"
 
   
 dux =  \context Voice=two \notes \relative c''{
   \voiceTwo
-  \clef violin;
+  \clef violin
 
   r8 c16 b c8 g as c16 b c8 d |
   g, c16 b c8 d f,16 g as4 g16 f |
@@ -123,7 +123,7 @@ comes =  \context Voice=one \notes \relative c'' {
 }
 
 bassdux =  \context Voice=three \notes \relative c' {
-  \clef bass;
+  \clef bass
   R1 |
   R |
   R |
@@ -171,20 +171,20 @@ bassdux =  \context Voice=three \notes \relative c' {
  
     \notes \context PianoStaff < 
        \context Staff = treble <
-           \key c \minor;
-%      \key es \major;
+           \key c \minor
+%      \key es \major
            \dux
-           { \comes \bar "|."; }
-             \time 4/4;
+           { \comes \bar "|." }
+             \time 4/4
          >
        \context Staff = bass <
-           \key c \minor;
+           \key c \minor
            \bassdux
        >
     >
 
     \paper {
-        linewidth = 18.0 \cm;
+        linewidth = 18.0 \cm
        \translator{ \OrchestralScoreContext
         timeSignatureStyle \override #'style = #"C"
 
@@ -192,11 +192,11 @@ bassdux =  \context Voice=three \notes \relative c' {
        
     }
     \header{
-       opus = "BWV 847";
+       opus = "BWV 847"
     }
 
     \midi {
-       \tempo 4 =84;
+       \tempo 4 =84
     }
 }
 
index 02ab1ff2b7a1a5d6b58a5fc62bdc6a4e49ae3504..8f1fd4232f241986e82d9ac76d1f6eb7cb186de3 100644 (file)
@@ -1,21 +1,21 @@
 \header{
-title =         "Preludium";
-opus =          "BWV 846";
-composer =      "Johann Sebastian Bach (1685-1750)";
-enteredby =     "Shay Rojansky";
+title =         "Preludium"
+opus =          "BWV 846"
+composer =      "Johann Sebastian Bach (1685-1750)"
+enteredby =     "Shay Rojansky"
 
 
   % mutopia headers.
-  mutopiatitle = "Das Wohltemperierte Clavier I, Prelude 1 (c-major)";
-  mutopiacomposer = "J.S.Bach";
-  mutopiaopus = "BWV846";
-  style = "baroque";
-  copyright =    "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!";
-  maintainer = "hanwen@cs.uu.nl";
-  lastupdated = "1999/Oct/14";
+  mutopiatitle = "Das Wohltemperierte Clavier I, Prelude 1 (c-major)"
+  mutopiacomposer = "J.S.Bach"
+  mutopiaopus = "BWV846"
+  style = "baroque"
+  copyright =    "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!"
+  maintainer = "hanwen@cs.uu.nl"
+  lastupdated = "1999/Oct/14"
 }
 
-\version "1.3.117";
+\version "1.3.146"
 
 % should do programmable input.
 soprane = 
@@ -23,8 +23,8 @@ soprane =
        \context Staff <
        % Real soprane
        \context Voice = uVoice {
-       \time 4/4;
-        \clef "violin";
+       \time 4/4
+        \clef "violin"
 
        \stemUp
        r8 [g16 c'] [e' g c' e'] r8 [g16 c'] [e' g c' e'] |
@@ -76,12 +76,12 @@ soprane =
 
        r8 [f,16 a,] [c f c a,] [c a, f, a,] [f, d, f, d,] |
        r8 [g16 b] [d' f' d' b] [d' b g b] [d f e d] |
-       <e1 g c'> \bar "|.";
+       <e1 g c'> \bar "|."
     }
 
 bass = 
     \notes {
-        \clef "bass";
+        \clef "bass"
 
 
        \stemDown
@@ -158,7 +158,7 @@ bass =
        
        c, c, |
        c, c, |
-       c,1 \bar "|."; }>
+       c,1 \bar "|." }>
     }
 
         
@@ -168,7 +168,7 @@ bass =
         \bass
     >
     \midi {
-        \tempo 4 = 80;
+        \tempo 4 = 80
     }
 }
 
index 920875a15b9585d5fa882010da01004051d22fa8..87a5d543e88b54aad3565830fcd3ceed57818401 100644 (file)
@@ -24,7 +24,7 @@
 
 ;; TODO
 ;;
-;; * clean split of base/banter/american stuff
+;; * clean split of bass/banter/american stuff
 ;; * text definition is rather ad-hoc
 ;; * do without format module
 ;; * finish and check american names
        )
       chord::names-alist-banter))
 
+;;;;;;;;;;
+
+
+(define (accidental->text acc)
+  (if (= acc 0)
+      '()
+       (list '(music (font-relative-size . -2))
+            (string-append "accidentals-" (number->string acc)))))
+
+(define (accidental->text-super acc)
+  (if (= acc 0)
+      '()
+      (cons 'super (list (accidental->text acc)))))
+
+(define (accidental->text-sub acc)
+  (if (= acc 0)
+      '()
+      (cons sub (list accidental->text acc))))
+
+
+(define (pitch->note-name pitch)
+  (cons (cadr pitch) (caddr pitch)))
+
+(define (pitch->text pitch)
+  (cons
+   (make-string 1 (integer->char (+ (modulo (+ (cadr pitch) 2) 7) 65)))
+   (accidental->text-super (caddr pitch))))
+
+
+;;; Hooks to override chord names and note names, 
+;;; see input/tricks/german-chords.ly
+
+(define (pitch->text-banter pitch)
+  (pitch->text pitch))
+
+;; We need also steps, to allow for Cc name override,
+;; see input/test/Cc-chords.ly
+(define (pitch->chord-name-text-banter pitch steps)
+  (pitch->text-banter pitch))
+
+(define (pitch->note-name-text-banter pitch)
+  (pitch->text-banter pitch))
+
+(define (step->text pitch)
+  (list (string-append
+    (number->string (+ (cadr pitch) (if (= (car pitch) 0) 1 8)))
+    (case (caddr pitch)
+      ((-2) "--")
+      ((-1) "-")
+      ((0) "")
+      ((1) "+")
+      ((2) "++")))))
+  
+(define (step->text-banter pitch)
+  (if (= (cadr pitch) 6)
+      (case (caddr pitch)
+       ((-2) '("7-"))
+       ((-1) '("7"))
+       ((0) '("maj7"))
+       ((1) '("7+"))
+       ((2) '("7+")))
+      (step->text pitch)))
+
+(define pitch::semitone-vec (list->vector '(0 2 4 5 7 9 11)))
+
+(define (pitch::semitone pitch)
+  (+ (* (car pitch) 12) 
+     (vector-ref pitch::semitone-vec (modulo (cadr pitch) 7)) 
+     (caddr pitch)))
+
+(define (pitch::transpose pitch delta)
+  (let ((simple-octave (+ (car pitch) (car delta)))
+       (simple-notename (+ (cadr pitch) (cadr delta))))
+    (let ((octave (+ simple-octave (quotient simple-notename 7)))
+          (notename (modulo simple-notename 7)))
+      (let ((accidental (- (+ (pitch::semitone pitch) (pitch::semitone delta))
+                          (pitch::semitone `(,octave ,notename 0)))))
+       `(,octave ,notename ,accidental)))))
+    
+(define (pitch::diff pitch tonic)
+  (let ((simple-octave (- (car pitch) (car tonic)))
+       (simple-notename (- (cadr pitch) (cadr tonic))))
+    (let ((octave (+ simple-octave (quotient simple-notename 7)
+                    (if (< simple-notename 0) -1 0)))
+         (notename (modulo simple-notename 7)))
+      (let ((accidental (- (pitch::semitone pitch)
+                         (pitch::semitone tonic) 
+                         (pitch::semitone `(,octave ,notename 0)))))
+       `(,octave ,notename ,accidental)))))
+
+(define (pitch::note-pitch pitch)
+  (+ (* (car pitch) 7) (cadr pitch)))
+
+
+(define (write-me n x)
+  (display n)
+  (write x)
+  (newline)
+  x)
+
+(define (empty? x)
+  (equal? x '()))
+  
+(define (chord::text? text)
+  (not (or (not text) (empty? text) (unspecified? text))))
+
+;; recursively remove '() #f, and #<unspecified> from text
+(define (chord::text-cleanup dirty)
+  (if (pair? dirty)
+      (let ((r (car dirty)))
+       (if (chord::text? r)
+           (cons (if (pair? r) (chord::text-cleanup r) r)
+                 (chord::text-cleanup (cdr dirty)))
+           (chord::text-cleanup (cdr dirty))))
+      (if (chord::text? dirty)
+         dirty
+         '())))
+               
+(define (chord::text-append l . r)
+  (if (not (chord::text? r))
+      l
+      (if (not (chord::text? l))
+         r
+         (cons l r))))
+  
+(define (chord::step tonic pitch)
+ (- (pitch::note-pitch pitch) (pitch::note-pitch tonic)))
+
+;; text: list of word
+;; word: string + optional list of property
+;; property: align, kern, font (?), size
+
+(define chord::minor-major-vec (list->vector '(0 -1 -1 0 -1 -1 0)))
+
+;; compute the relative-to-tonic pitch that goes with 'step'
+(define (chord::step-pitch tonic step)
+  ;; urg, we only do this for thirds
+  (if (= (modulo step 2) 0)
+    '(0 0 0)
+    (let loop ((i 1) (pitch tonic))
+      (if (= i step) pitch
+       (loop (+ i 2) 
+             (pitch::transpose 
+               pitch `(0 2 ,(vector-ref chord::minor-major-vec 
+               ;; -1 (step=1 -> vector=0) + 7 = 6
+               (modulo (+ i 6) 7)))))))))
+
+;; find the pitches that are not part of `normal' chord
+(define (chord::additions chord-pitches)
+  (let ((tonic (car chord-pitches)))
+    ;; walk the chord steps: 1, 3, 5
+    (let loop ((step 1) (pitches chord-pitches) (additions '()))
+      (if (pair? pitches)
+       (let* ((pitch (car pitches))
+              (p-step (+ (- (pitch::note-pitch pitch)
+                            (pitch::note-pitch tonic))
+                         1)))
+         ;; pitch is an addition if 
+         (if (or 
+               ;; it comes before this step or
+               (< p-step step)
+               ;; its step is even or
+               (= (modulo p-step 2) 0)
+               ;; has same step, but different accidental or
+               (and (= p-step step)
+                    (not (equal? pitch (chord::step-pitch tonic step))))
+               ;; is the last of the chord and not one of base thirds
+               (and (> p-step  5)
+                    (= (length pitches) 1)))
+           (loop step (cdr pitches) (cons pitch additions))
+         (if (= p-step step)
+           (loop step (cdr pitches) additions)
+           (loop (+ step 2) pitches additions))))
+      (reverse additions)))))
+
+;; find the pitches that are missing from `normal' chord
+(define (chord::subtractions chord-pitches)
+  (let ((tonic (car chord-pitches)))
+    (let loop ((step 1) (pitches chord-pitches) (subtractions '()))
+      (if (pair? pitches)
+       (let* ((pitch (car pitches))
+              (p-step (+ (- (pitch::note-pitch pitch)
+                            (pitch::note-pitch tonic))
+                         1)))
+         ;; pitch is an subtraction if 
+         ;; a step is missing or
+         (if (> p-step step)
+           (loop (+ step 2) pitches
+               (cons (chord::step-pitch tonic step) subtractions))
+         ;; there are no pitches left, but base thirds are not yet done and
+         (if (and (<= step 5)
+                  (= (length pitches) 1))
+           ;; present pitch is not missing step
+           (if (= p-step step)
+             (loop (+ step 2) pitches subtractions)
+             (loop (+ step 2) pitches 
+                   (cons (chord::step-pitch tonic step) subtractions)))
+           (if (= p-step step)
+             (loop (+ step 2) (cdr pitches) subtractions)
+             (loop step (cdr pitches) subtractions)))))
+       (reverse subtractions)))))
+
+
+(define (chord::additions->text-banter additions subtractions)
+  (if (pair? additions)
+      (cons (apply append
+                  (chord::text-cleanup
+                   (list
+                    (cons 'super (step->text-banter (car additions)))
+                    (if (or (pair? (cdr additions))
+                            (pair? subtractions))
+                        '(super "/")))))
+           (chord::additions->text-banter (cdr additions) subtractions))
+      '()))
+
+(define (chord::subtractions->text-banter subtractions)         
+  (if (pair? subtractions)
+      (cons (apply append
+                  (chord::text-cleanup
+                   (list
+                    '(super "no")
+                    (cons 'super (step->text-banter (car subtractions)))
+                    (if (pair? (cdr subtractions))
+                        '(super "/")))))
+           (chord::subtractions->text-banter (cdr subtractions)))
+       '()))
+
+
+(define (chord::bass-and-inversion->text-banter bass-and-inversion)
+  (if (and (pair? bass-and-inversion)
+          (or (car bass-and-inversion)
+              (cdr bass-and-inversion)))
+      (list "/" (if (car bass-and-inversion)
+                   (pitch->note-name-text-banter
+                    (car bass-and-inversion))
+                   (pitch->note-name-text-banter
+                    (cdr bass-and-inversion)))
+           '())
+      '()))
+
+;; Banter style
+;; Combine tonic, exception-part of chord name,
+;; additions, subtractions and bass or inversion into chord name
+(define (chord::inner-name-banter tonic exception-part additions subtractions
+                                 bass-and-inversion steps)
+  ;; ugh
+  (apply
+   append
+   (chord::text-cleanup
+    (list '(rows)
+         (pitch->chord-name-text-banter tonic steps)
+         exception-part
+         ;; why does list->string not work, format seems only hope...
+         (if (and (string-match "super" (format "~s" exception-part))
+                  (or (pair? additions)
+                      (pair? subtractions)))
+             '((super "/")))
+        (chord::additions->text-banter additions subtractions)
+        (chord::subtractions->text-banter subtractions)
+        (chord::bass-and-inversion->text-banter bass-and-inversion)))))
+
+(define (chord::name-banter tonic exception-part unmatched-steps
+                           bass-and-inversion steps)
+  (let ((additions (chord::additions unmatched-steps))
+       (subtractions (chord::subtractions unmatched-steps)))
+    (chord::inner-name-banter tonic exception-part additions subtractions
+                             bass-and-inversion steps)))
+
+
+(define (c++-pitch->scm p)
+  (if (pitch? p)
+      (list (pitch-octave p) (pitch-notename p) (pitch-alteration p))
+      #f))
+
+(define (chord::name-banter tonic exception-part unmatched-steps
+                           bass-and-inversion steps)
+  (let ((additions (chord::additions unmatched-steps))
+       (subtractions (chord::subtractions unmatched-steps)))
+    (chord::inner-name-banter tonic exception-part additions subtractions
+                             bass-and-inversion steps)))
+
+(define (chord::restyle name style)
+  (ly-eval (string->symbol
+           (string-append (symbol->string name)
+                          (symbol->string style)))))
+
+;; check exceptions-alist for biggest matching part of try-steps
+;; return (MATCHED-EXCEPTION . UNMATCHED-STEPS)
+(define (chord::exceptions-lookup-helper
+        exceptions-alist try-steps unmatched-steps exception-part)
+  (if (pair? try-steps)
+      ;; FIXME: junk '(0 . 0) from exceptions lists
+      ;;
+      ;; FIXME: either format exceptions list as real pitches, ie,
+      ;;        including octave '((0 2 -1) ..), or drop octave
+      ;;        from rest of calculations, 
+      (let ((entry (assoc
+                   (map (lambda (x) (pitch->note-name x))
+                        (append '((0 0 0)) try-steps))
+                   exceptions-alist)))
+       (if entry
+           (chord::exceptions-lookup-helper
+            #f '() unmatched-steps (cdr entry))
+           (let ((r (reverse try-steps)))
+             (chord::exceptions-lookup-helper
+              exceptions-alist
+              (reverse (cdr r))
+              (cons (car r) unmatched-steps) #f))))
+      (cons exception-part unmatched-steps)))
+
+;; return (MATCHED-EXCEPTION . BASE-CHORD-WITH-UNMATCHED-STEPS)
+;; BASE-CHORD-WITH-UNMATCHED-STEPS always includes (tonic 3 5)
+(define (chord::exceptions-lookup style steps)
+  (let* ((result (chord::exceptions-lookup-helper
+                 (chord::restyle 'chord::names-alist- style)
+                 steps '() #f))
+          (exception-part (car result))
+          (unmatched-steps (cdr result))
+          (matched-steps (if (= (length unmatched-steps) 0)
+                             3
+                             (+ 1 (- (length steps)
+                                     (length unmatched-steps)))))
+          (unmatched-with-1-3-5
+           (append (do ((i matched-steps (- i 1))
+                        (base '() (cons `(0 ,(* (- i 1) 2) 0) base)))
+                       ((= i 0) base)
+                     ())
+                   unmatched-steps)))
+    (list exception-part unmatched-with-1-3-5)))
+
+
+(define (chord::name->text style tonic steps bass-and-inversion)
+  (let* ((lookup (chord::exceptions-lookup style steps))
+        (exception-part (car lookup))
+        (unmatched-steps (cadr lookup)))
+    ((chord::restyle 'chord::name- style)
+     tonic exception-part unmatched-steps bass-and-inversion steps)))
+
+;; C++ entry point
+;; 
+;; Check for each subset of chord, full chord first, if there's a
+;; user-override.  Split the chord into user-overridden and to-be-done
+;; parts, complete the missing user-override matched part with normal
+;; chord to be name-calculated.
+;;
+;; CHORD: (pitches (bass . inversion))
+(define (default-chord-name-function style chord)
+  (let* ((pitches (map c++-pitch->scm (car chord)))
+        (modifiers (cdr chord))
+        (bass-and-inversion (if (pair? modifiers)
+                                (cons (c++-pitch->scm (car modifiers))
+                                      (c++-pitch->scm (cdr modifiers)))
+                                '(() . ())))
+        (diff (pitch::diff '(0 0 0) (car pitches)))
+        (steps (if (cdr pitches) (map (lambda (x)
+                                        (pitch::transpose x diff))
+                                      (cdr pitches))
+                   '())))
+    (chord::name->text style (car pitches) steps bass-and-inversion)))
+
+
+
+;;;
+;;; American style
+;;;
+
 
 ;; NOTE: Duplicates of chord names defined elsewhere occur in this list
 ;; in order to prevent spurious superscripting of various chord names,
         ;; Common seventh chords
         (((0 . 0) (2 . -1) (4 . -1) (6 . -2)) . ("" (super "o") "7"))
         (((0 . 0) (2 . 0) (4 . 0) (6 . 0)) . ("maj7"))
+        ;; urg! should use (0 . 0 2 . -1) -> "m", and add "7" to that!!
         (((0 . 0) (2 . -1) (4 . 0) (6 . -1)) . ("m7"))
         (((0 . 0) (2 . 0) (4 . 0) (6 . -1)) . ("7"))
         (((0 . 0) (2 . -1) (4 . 0) (6 . 0)) . ("m(maj7)"))
         )
       chord::names-alist-american))
 
+
+;; American style chordnames use no "no",
+;; but otherwise very similar to banter for now
+(define (chord::name-american tonic exception-part unmatched-steps
+                             bass-and-inversion steps)
+  (let ((additions (chord::additions unmatched-steps))
+       (subtractions #f))
+    (chord::inner-name-banter tonic exception-part additions subtractions
+                             bass-and-inversion steps)))
+
+
+
+;;; 
+;;; Jazz style
+;;;
+
+
+
 ;; Jazz chords, by Atte Andr'e Jensen <atte@post.com>
-;; NBs:        This uses the american list as a base.
+;; NBs:        This uses the american list as a bass.
 ;;     Some defs take up more than one line,
 ;; be carefull when messing with ;'s!!
 
        )
       chord::names-alist-american))
 
-;;;;;;;;;;
-
-
-(define (pitch->note-name pitch)
-  (cons (cadr pitch) (caddr pitch)))
-
-(define (accidental->text acc)
-    (if (= acc 0)
-      '()
-      (list
-       (append '(music)
-              (list
-               (append '(named)
-                       (list
-                         (append '((font-relative-size . -2))
-                               (list (append '((raise . 0.6))
-                                 (list
-                                  (string-append "accidentals-" 
-                                                 (number->string acc))))))))))))
-)
-
-(define (pitch->text pitch)
+(define (step->text-alternate-jazz pitch)
   (cons
-    (make-string 1 (integer->char (+ (modulo (+ (cadr pitch) 2) 7) 65)))
-    (accidental->text (caddr pitch))
-  )
-)
-
-;;; Hooks to override chord names and note names, 
-;;; see input/tricks/german-chords.ly
-
-(define (pitch->text-banter pitch)
-  (pitch->text pitch))
-
-(define (pitch->chord-name-text-banter pitch)
-  (pitch->text-banter pitch))
+   (accidental->text (caddr pitch))
+   (list (number->string (+ (cadr pitch) (if (= (car pitch) 0) 1 8))))))
 
-(define (pitch->note-name-text-banter pitch)
-  (pitch->text-banter pitch))
-
-(define (step->text pitch)
-  (string-append
-    (number->string (+ (cadr pitch) (if (= (car pitch) 0) 1 8)))
-    (case (caddr pitch)
-      ((-2) "--")
-      ((-1) "-")
-      ((0) "")
-      ((1) "+")
-      ((2) "++"))))
-  
-(define (step->text-banter pitch)
+(define (step->text-jazz pitch)
   (if (= (cadr pitch) 6)
       (case (caddr pitch)
-       ((-2) "7-")
-       ((-1) "7")
-       ((0) "maj7")
-       ((1) "7+")
-       ((2) "7+"))
-      (step->text pitch)))
-
-(define pitch::semitone-vec (list->vector '(0 2 4 5 7 9 11)))
-
-(define (pitch::semitone pitch)
-  (+ (* (car pitch) 12) 
-     (vector-ref pitch::semitone-vec (modulo (cadr pitch) 7)) 
-     (caddr pitch)))
-
-(define (pitch::transpose pitch delta)
-  (let ((simple-octave (+ (car pitch) (car delta)))
-       (simple-notename (+ (cadr pitch) (cadr delta))))
-    (let ((octave (+ simple-octave (quotient simple-notename 7)))
-          (notename (modulo simple-notename 7)))
-      (let ((accidental (- (+ (pitch::semitone pitch) (pitch::semitone delta))
-                          (pitch::semitone `(,octave ,notename 0)))))
-       `(,octave ,notename ,accidental)))))
-    
-(define (pitch::diff pitch tonic)
-  (let ((simple-octave (- (car pitch) (car tonic)))
-       (simple-notename (- (cadr pitch) (cadr tonic))))
-    (let ((octave (+ simple-octave (quotient simple-notename 7)
-                    (if (< simple-notename 0) -1 0)))
-         (notename (modulo simple-notename 7)))
-      (let ((accidental (- (pitch::semitone pitch)
-                         (pitch::semitone tonic) 
-                         (pitch::semitone `(,octave ,notename 0)))))
-       `(,octave ,notename ,accidental)))))
-
-(define (pitch::note-pitch pitch)
-  (+ (* (car pitch) 7) (cadr pitch)))
-
-(define (chord::step tonic pitch)
- (- (pitch::note-pitch pitch) (pitch::note-pitch tonic)))
-
-;; text: list of word
-;; word: string + optional list of property
-;; property: align, kern, font (?), size
-
-(define chord::minor-major-vec (list->vector '(0 -1 -1 0 -1 -1 0)))
-
-;; compute the relative-to-tonic pitch that goes with 'step'
-(define (chord::step-pitch tonic step)
-  ;; urg, we only do this for thirds
-  (if (= (modulo step 2) 0)
-    '(0 0 0)
-    (let loop ((i 1) (pitch tonic))
-      (if (= i step) pitch
-       (loop (+ i 2) 
-             (pitch::transpose 
-               pitch `(0 2 ,(vector-ref chord::minor-major-vec 
-               ;; -1 (step=1 -> vector=0) + 7 = 6
-               (modulo (+ i 6) 7)))))))))
-
-;; find the pitches that are not part of `normal' chord
-(define (chord::additions chord-pitches)
-  (let ((tonic (car chord-pitches)))
-    ;; walk the chord steps: 1, 3, 5
-    (let loop ((step 1) (pitches chord-pitches) (additions '()))
-      (if (pair? pitches)
-       (let* ((pitch (car pitches))
-              (p-step (+ (- (pitch::note-pitch pitch)
-                            (pitch::note-pitch tonic))
-                         1)))
-         ;; pitch is an addition if 
-         (if (or 
-               ;; it comes before this step or
-               (< p-step step)
-               ;; its step is even or
-               (= (modulo p-step 2) 0)
-               ;; has same step, but different accidental or
-               (and (= p-step step)
-                    (not (equal? pitch (chord::step-pitch tonic step))))
-               ;; is the last of the chord and not one of base thirds
-               (and (> p-step  5)
-                    (= (length pitches) 1)))
-           (loop step (cdr pitches) (cons pitch additions))
-         (if (= p-step step)
-           (loop step (cdr pitches) additions)
-           (loop (+ step 2) pitches additions))))
-      (reverse additions)))))
-
-;; find the pitches that are missing from `normal' chord
-(define (chord::subtractions chord-pitches)
-  (let ((tonic (car chord-pitches)))
-    (let loop ((step 1) (pitches chord-pitches) (subtractions '()))
-      (if (pair? pitches)
-       (let* ((pitch (car pitches))
-              (p-step (+ (- (pitch::note-pitch pitch)
-                            (pitch::note-pitch tonic))
-                         1)))
-         ;; pitch is an subtraction if 
-         ;; a step is missing or
-         (if (> p-step step)
-           (loop (+ step 2) pitches
-               (cons (chord::step-pitch tonic step) subtractions))
-         ;; there are no pitches left, but base thirds are not yet done and
-         (if (and (<= step 5)
-                  (= (length pitches) 1))
-           ;; present pitch is not missing step
-           (if (= p-step step)
-             (loop (+ step 2) pitches subtractions)
-             (loop (+ step 2) pitches 
-                   (cons (chord::step-pitch tonic step) subtractions)))
-           (if (= p-step step)
-             (loop (+ step 2) (cdr pitches) subtractions)
-             (loop step (cdr pitches) subtractions)))))
-       (reverse subtractions)))))
-
-;; combine tonic, user-specified chordname,
-;; additions, subtractions and base or inversion to chord name
-;;
-(define (chord::inner-name-banter tonic user-name additions subtractions base-and-inversion)
-  (apply append
-        '(rows)
-        (pitch->chord-name-text-banter tonic)
-        (if user-name user-name '())
-        ;; why does list->string not work, format seems only hope...
-        (if (and (string-match "super" (format "~s" user-name))
-                 (or (pair? additions)
-                     (pair? subtractions)))
-            '((super "/"))
-            '())
-        (let loop ((from additions) (to '()))
-          (if (pair? from)
-              (let ((p (car from)))
-                (loop (cdr from) 
-                      (append to
-                              (cons
-                               (list 'super (step->text-banter p))
-                               (if (or (pair? (cdr from))
-                                       (pair? subtractions))
-                                   '((super "/"))
-                                   '())))))
-              to))
-        (let loop ((from subtractions) (to '()))
-          (if (pair? from)
-                (let ((p (car from)))
-                  (loop (cdr from) 
-                        (append to
-                                (cons '(super "no")
-                                      (cons
-                                       (list 'super (step->text-banter p))
-                                       (if (pair? (cdr from))
-                                           '((super "/"))
-                                           '())))))) ; nesting?
-                to))
-        (if (and (pair? base-and-inversion)
-                 (or (car base-and-inversion)
-                     (cdr base-and-inversion)))
-            (cons "/" (append
-                       (if (car base-and-inversion)
-                           (pitch->note-name-text-banter 
-                            (car base-and-inversion))
-                           (pitch->note-name-text-banter
-                            (cdr base-and-inversion)))
-                       '()))
-            '())
-        '()))
-
-(define (chord::name-banter tonic user-name pitches base-and-inversion)
-  (let ((additions (chord::additions pitches))
-       (subtractions (chord::subtractions pitches)))
-    (chord::inner-name-banter tonic user-name additions subtractions base-and-inversion)))
-
-;; american chordnames use no "no",
-;; but otherwise very similar to banter for now
-(define (chord::name-american tonic user-name pitches base-and-inversion)
-  (let ((additions (chord::additions pitches))
-       (subtractions #f))
-    (chord::inner-name-banter tonic user-name additions subtractions base-and-inversion)))
+       ;; sharp 7 only included for completeness?
+       ((-2) (cons (accidental->text -1) '("7")))
+       ((-1) '("7"))
+       ((0) '("maj7"))
+       ((1) (cons (accidental->text-super 1) '("7")))
+       ((2) (cons (accidental->text-super 2) '("7"))))
+      (step->text-alternate-jazz pitch)))
+
+(define (chord::additions->text-jazz additions subtractions)
+  (if (pair? additions)
+      (cons (apply append
+                  (chord::text-cleanup
+                   (list
+                    (cons 'super (step->text-jazz (car additions)))
+                    (if (or (pair? (cdr additions))
+                            (pair? subtractions))
+                        '(super "/")))))
+           (chord::additions->text-jazz (cdr additions) subtractions))
+      '()))
+
+(define (chord::subtractions->text-jazz subtractions)   
+  (if (pair? subtractions)
+      (cons (apply append
+                  (chord::text-cleanup
+                   (list
+                    '(super "omit")
+                    (cons 'super (step->text-jazz (car subtractions)))
+                    (if (pair? (cdr subtractions))
+                        '(super "/")))))
+           (chord::subtractions->text-jazz (cdr subtractions)))
+       '()))
+
+
+;; TODO: maybe merge with inner-name-banter
+;; Combine tonic, exception-part of chord name,
+;; additions, subtractions and bass or inversion into chord name
+(define (chord::inner-name-jazz tonic exception-part additions subtractions
+                                 bass-and-inversion steps)
+
+  ;; ugh
+  (apply
+   append
+   
+   (chord::text-cleanup
+    (list '(rows)
+         (pitch->chord-name-text-banter tonic steps)
+         exception-part
+         ;; why does list->string not work, format seems only hope...
+         (if (and (string-match "super" (format "~s" exception-part))
+                  (or (pair? additions)
+                      (pair? subtractions)))
+             '((super "/")))
+         (chord::additions->text-jazz additions subtractions)
+         (chord::subtractions->text-jazz subtractions)
+         (chord::bass-and-inversion->text-banter bass-and-inversion)))))
 
 ;; Jazz style--basically similar to american with minor changes
-(define (chord::name-jazz tonic user-name pitches base-and-inversion)
-  (let ((additions (chord::additions pitches))
-       (subtractions #f))
-    (chord::inner-name-banter tonic user-name additions subtractions base-and-inversion)))
-
-(define (new-to-old-pitch p)
-  (if (pitch? p)
-      (list (pitch-octave p) (pitch-notename p) (pitch-alteration p))
-      #f
-  ))
-
-
-
-;; C++ entry point
-;; 
-;; Check for each subset of chord, full chord first, if there's a
-;; user-override.  Split the chord into user-overridden and to-be-done
-;; parts, complete the missing user-override matched part with normal
-;; chord to be name-calculated.
-;;
-;; CHORD: (pitches (base . inversion))
-(define (default-chord-name-function style chord)
-  (let* ((style-string (symbol->string style))
-        (pitches (map new-to-old-pitch (car chord)))
-        (modifiers (cdr chord))
-        (base-and-inversion (if (pair? modifiers)
-                                (cons (new-to-old-pitch (car modifiers))
-                                      (new-to-old-pitch (cdr modifiers)))
-                                '(() . ())))
-        (diff (pitch::diff '(0 0 0) (car pitches)))
-        (name-func 
-         (ly-eval (string->symbol (string-append "chord::name-" style-string))))
-        (names-alist 
-         (ly-eval (string->symbol (string-append "chord::names-alist-" style-string)))))
-  (let loop ((note-names (reverse pitches))
-            (chord '())
-            (user-name #f))
-    (if (pair? note-names)
-      (let ((entry (assoc 
-                    (reverse 
-                      (map (lambda (x) 
-                             (pitch->note-name (pitch::transpose x diff)))
-                           note-names))
-                    names-alist)))
-       (if entry
-         ;; urg? found: break loop
-         (loop '() chord (cdr entry))
-         (loop (cdr note-names) (cons (car note-names) chord) #f)))
-      (let* ((transposed (if pitches 
-                          (map (lambda (x) (pitch::transpose x diff)) chord)
-                          '()))
-            (matched (if (= (length chord) 0)
-                         3
-                         (- (length pitches) (length chord))))
-            (completed 
-             (append (do ((i matched (- i 1))
-                          (base '() (cons `(0 ,(* (- i 1) 2) 0) base)))
-                          ((= i 0) base)
-                          ())
-                 transposed)))
-      (name-func (car pitches) user-name completed base-and-inversion))))))
-
-
+(define (chord::name-jazz tonic exception-part unmatched-steps
+                         bass-and-inversion steps)
+  (let ((additions (chord::additions unmatched-steps))
+       ;; get no 'omit' or 'no'
+       ;; (subtractions #f))
+       (subtractions (chord::subtractions unmatched-steps)))
+    (chord::inner-name-jazz tonic exception-part additions subtractions
+            bass-and-inversion steps)))
+
+;; wip (set! chord::names-alist-jazz
+(define amy-chord::names-alist-jazz
+      (append
+      '(
+        (((0 . 0) (2 . -1)) . ("m"))
+       )
+      chord::names-alist-american))
index b12860eeb96eb067033c893da30c110861b7bc05..02f5a5606372e443112f1e20ff8fa48027ba412b 100644 (file)
@@ -134,13 +134,23 @@ Add a ref if REF is set
    ;; prepend GNU for dir, must be unique
    "\n* GNU " name ": (" file-name ").          " name "."
    "\n@end direntry"
-   (node "Top") ",(lilypond)Index,(lilypond)Development," top
+   ;; ugh, prev and next should be settable, of course
+   (node "Top") ",(lilypond)Index,(lilypond)Full Grob interface list," top
    "\n@top"
    (texi-section 1 name #f)
    (texi-menu items-alist)
    "\n@contents"
    ))
 
+(define (itexi-file-head name file-name top items-alist)
+  (string-append
+   "@c -*-texinfo-*-"
+   (node name) ",,," top
+   (texi-section 1 name #f)
+   (texi-menu items-alist)
+   "\n@contents"
+   ))
+
 (define (context-name name)
   name)
 
diff --git a/scm/generate-interface-doc.scm b/scm/generate-interface-doc.scm
new file mode 100644 (file)
index 0000000..565f72a
--- /dev/null
@@ -0,0 +1,52 @@
+
+;;; generate-interface-doc.scm -- Generate list of all intefaces, for refman
+;;;
+;;; source file of the GNU LilyPond music typesetter
+;;; 
+;;; (c) 2000--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+;;; Jan Nieuwenhuizen <janneke@gnu.org>
+
+;;; File entry point for generated documentation
+
+;;; Running LilyPond on this file generates the documentation
+
+
+
+;; We use ly-gulp because these files live in
+;;
+;;     PATH=$LILYPONDPREFIX/scm:<datadir>/scm
+;;
+(eval-string (ly-gulp-file "documentation-lib.scm"))
+(eval-string (ly-gulp-file "engraver-documentation-lib.scm"))
+(eval-string (ly-gulp-file "backend-documentation-lib.scm"))
+
+;;(define no-copies #t)  ; from 490 to 410K, but doesn't look nice yet
+;;
+;; Also, copies of interfaces use up lots more space, but that's
+;; functional because the default property values of the interfaces
+;; are described...
+(define no-copies #f)
+
+(let* ((doc (string-append
+            (document-all-interfaces "Full Grob interface list")
+            )
+       )
+       (name "interfaces")
+       (outname (string-append name ".itexi"))
+       (out (open-output-file outname)))
+
+  (writing-wip outname)
+  (display 
+   (string-append
+    ;;(itexi-file-head
+    ;; 
+    ;; ;; we can't use (dir) and top if we're included by lilypond.tely
+    ;; "Grob interfaces" name ""
+    ;; '(
+    ;;   ("Grob interfaces" . "Grob Interfaces")
+    ;;   ))
+    doc
+    "\n")
+   out))
+
+(newline (current-error-port))
index d6d57b3765d4914347373a3c7a5d7e06aa6b1175..e3a9ad11acda9d28910affd5cf7ab47fd32040e3 100644 (file)
@@ -70,7 +70,7 @@
                   (if (< duration 0) "mensural" "")))
    ((default) (number->string duration))
    (else
-    (string-append (number->string duration) (symbol->string style)))))
+    (string-append (number->string (max 0 duration)) (symbol->string style)))))
 
 
 (define (note-head-style->attachment-coordinates style)
@@ -79,9 +79,9 @@ bounding box, where to attach the stem. e.g.: X==0 means horizontally
 centered, X==1 is at the right, X == -1 is at the left."
 
   (case style
-    ((default) '(1.0 . 0.8))
-    ((cross) '(1.0 . -1.0))
-    ((mensural) '(0.0 . 1.0))
+    ((default) '(1.0 . 0.5))
+    ((cross) '(1.0 . 0.75))
+    ((mensural) '(0.0 . 0.6))
     ((diamond) '(1.0 . 0.8))
     ((transparent) '(1.0 . 1.0))
     ((slash) '(1.0 . 1.0))
index 79d241faa061911f0c3a1037a8822b80978a4b49..3e330e34e132b25d98cfc24cb236c467856e28a8 100644 (file)
@@ -96,24 +96,24 @@ def check_clef(s):
              # about this we'll support that.
              s = s[4:]
              state.base_octave = -1
-             voices_append("\\clef \"G_8\";\n")
+             voices_append("\\clef \"G_8\"\n")
       elif re.match('^treble', s):
               s = s[6:]
               if re.match ('^-8', s):
                       s = s[2:]
                       state.base_octave = -2
-                      voices_append("\\clef \"G_8\";\n")
+                      voices_append("\\clef \"G_8\"\n")
               else:
                       state.base_octave = 0
-                      voices_append("\\clef treble;\n")
+                      voices_append("\\clef treble\n")
       elif re.match('^alto', s):
               s = s[4:]
               state.base_octave = -1
-              voices_append ("\\clef alto;\n" )
+              voices_append ("\\clef alto\n" )
       elif re.match('^bass',s ):
               s = s[4:]
               state.base_octave = -2
-              voices_append ("\\clef bass;\n" )
+              voices_append ("\\clef bass\n" )
       return s
 
 def select_voice (name, rol):
@@ -153,7 +153,7 @@ def dump_header (outf,hdr):
        ks = hdr.keys ()
        ks.sort ()
        for k in ks:
-               outf.write ('\t%s = "%s";\n'% (k,hdr[k]))
+               outf.write ('\t%s = "%s"\n'% (k,hdr[k]))
        outf.write ('}')
 
 def dump_lyrics (outf):
@@ -221,7 +221,7 @@ def dump_score (outf):
        if part_names:
                outf.write ("\t    \\translator \n\t    {\n")
                outf.write ("\t\t\\StaffContext\n")
-               outf.write ("\t\t\\consists Staff_margin_engraver;\n")
+               outf.write ("\t\t\\consists Staff_margin_engraver\n")
                outf.write ("\t    }\n")
        outf.write ("\t}\n\t\\midi {}\n}\n")
 
@@ -548,7 +548,7 @@ def try_parse_header_line (ln, state):
                                set_default_len_from_time_sig (a)
                        else:
                                length_specified = 0
-                       voices_append ('\\time %s;' % a)
+                       voices_append ('\\time %s' % a)
                        state.next_bar = ''
                if g == 'K': # KEY
                        a = check_clef(a)
@@ -564,11 +564,11 @@ def try_parse_header_line (ln, state):
                                                key_info = m.group(1)
                                                clef_info = m.group(2)
                                        __main__.global_key  = compute_key (key_info)# ugh.
-                                       voices_append ('\\key %s;' % lily_key(key_info))
+                                       voices_append ('\\key %s' % lily_key(key_info))
                                        check_clef(clef_info)
                                else:
                                        __main__.global_key  = compute_key (a)# ugh.
-                                       voices_append ('\\key %s \\major;' % lily_key(a))
+                                       voices_append ('\\key %s \\major' % lily_key(a))
                if g == 'N': # Notes
                        header ['footnotes'] = header['footnotes'] +  '\\\\\\\\' + a
                if g == 'O': # Origin
@@ -599,9 +599,9 @@ def try_parse_header_line (ln, state):
                                state.next_bar = ''
                        select_voice (voice, rest)
                if g == 'W':    # Words
-                       lyrics_append(a);
+                       lyrics_append(a)
                if g == 'w':    # vocals
-                       slyrics_append (a);
+                       slyrics_append (a)
 
                return ''
        return ln
@@ -702,7 +702,7 @@ def parse_duration (str, parser_state):
                        str = str[1:]
                while str[0] == '>':
                        str = str [1:]
-                       current_dots = current_dots + 1;
+                       current_dots = current_dots + 1
                        parser_state.next_den = parser_state.next_den * 2
                
                while str[0] == '<':
@@ -954,16 +954,16 @@ old_bar_dict = {
 '|' :  '|'
 }
 bar_dict = {
- '|]' : '\\bar "|.";',
- '||' : '\\bar "||";',
- '[|' : '\\bar "||";',
+ '|]' : '\\bar "|."',
+ '||' : '\\bar "||"',
+ '[|' : '\\bar "||"',
  ':|' : '}',
  '|:' : '\\repeat volta 2 {',
  '::' : '} \\repeat volta 2 {',
  '|1' : '} \\alternative{{',
  '|2' : '} {',
  ':|2' : '} {',
- '|' :  '\\bar "|";'
+ '|' :  '\\bar "|"'
   }
 
 
@@ -986,14 +986,14 @@ def try_parse_bar (str,state):
                if str[:trylen] and bar_dict.has_key (str[:trylen]):
                        s = str[:trylen]
                        if using_old:
-                               bs = "\\bar \"%s\";" % old_bar_dict[s]
+                               bs = "\\bar \"%s\"" % old_bar_dict[s]
                        else:
                                bs = "%s" % bar_dict[s]
                        str = str[trylen:]
                        if s in alternative_opener:
                                if not in_repeat[current_voice_idx]:
                                        using_old = 't'
-                                       bs = "\\bar \"%s\";" % old_bar_dict[s]
+                                       bs = "\\bar \"%s\"" % old_bar_dict[s]
                                else:
                                        doing_alternative[current_voice_idx] = 't'
 
@@ -1006,7 +1006,7 @@ def try_parse_bar (str,state):
                                        if doing_alternative[current_voice_idx]:
                                                do_curly = 't'
                                if using_old:
-                                       bs = "\\bar \"%s\";" % old_bar_dict[s]
+                                       bs = "\\bar \"%s\"" % old_bar_dict[s]
                                else:
                                        bs =  bar_dict[s]
                                doing_alternative[current_voice_idx] = ''
@@ -1014,7 +1014,7 @@ def try_parse_bar (str,state):
                        if s in repeat_opener:
                                in_repeat[current_voice_idx] = 't'
                                if using_old:
-                                       bs = "\\bar \"%s\";" % old_bar_dict[s]
+                                       bs = "\\bar \"%s\"" % old_bar_dict[s]
                                else:
                                        bs =  bar_dict[s]
                        break
@@ -1083,7 +1083,7 @@ def try_parse_chord_delims (str, state):
                str = str[1:]
 
        
-       voices_append ("\\spanrequest \\stop \"slur\"" * end);
+       voices_append ("\\spanrequest \\stop \"slur\"" * end)
        voices_append (ch)
        return str
 
index d35e379b41e1bdb257d2fe8df4065dc3b591ebb1..03733c2d494001c41f7998802196e8f19e6367cd 100644 (file)
@@ -28,6 +28,8 @@ import time
 # lilypond_version_re_str = '\\\\version *\"(.*)\"'
 lilypond_version_re_str = '\\\\(mudela-)?version *\"(.*)\"'
 lilypond_version_re = re.compile (lilypond_version_re_str)
+add_version = 1
+
 
 def program_id ():
        return '%s (GNU LilyPond) %s' %(program_name,  version);
@@ -45,9 +47,10 @@ Options:
   -a, --assume-old       apply all conversions to unversioned files
   -h, --help             print this help
   -e, --edit             in place edit
-  -f, --from=VERSION     start from version
+  -f, --from=VERSION     start from version. Overrides \version found in file.
   -s, --show-rules       print all rules.
   -t, --to=VERSION       target version
+  -n, --no-version       don't add new version stamp.
       --version          print program version
 
 Report bugs to bugs-gnu-music@gnu.org
@@ -792,6 +795,18 @@ if 1:
        conversions.append (((1,3,145), conv,
        'ContextNameXxxxVerticalExtent -> XxxxVerticalExtent'))
 
+if 1:
+       def conv (str):
+               str = re.sub ('\\\\key[ \t]*;', '\\key \\default;', str)
+               str = re.sub ('\\\\mark[ \t]*;', '\\mark \\default;', str)
+
+               # only remove ; that are directly after words.
+               # otherwise  we interfere with Scheme comments, which is badbadbad.
+               str = re.sub ("([^ \t]);", "\\1", str)
+
+               return str
+       conversions.append (((1,3,146), conv, 'semicolons removed'))
+
 ################################
 #      END OF CONVERSIONS      
 ################################
@@ -823,13 +838,11 @@ def do_conversion (infile, from_version, outfile, to_version):
        if last_conversion:
                sys.stderr.write ('\n')
                new_ver =  '\\version \"%s\"' % tup_to_str (last_conversion)
-               # JUNKME?
-               # ugh: this all really doesn't help
-               # esp. as current conversion rules are soo incomplete
+
                if re.search (lilypond_version_re_str, str):
                        str = re.sub (lilypond_version_re_str,'\\'+new_ver , str)
-               #else:
-               #       str = new_ver + '\n' + str
+               elif add_version:
+                       str = new_ver + '\n' + str
 
                outfile.write(str)
 
@@ -896,7 +909,7 @@ from_version = ()
 outfile_name = ''
 
 (options, files) = getopt.getopt (
-       sys.argv[1:], 'ao:f:t:seh', ['assume-old', 'version', 'output', 'show-rules', 'help', 'edit', 'from=', 'to='])
+       sys.argv[1:], 'ao:f:t:senh', ['no-version', 'assume-old', 'version', 'output', 'show-rules', 'help', 'edit', 'from=', 'to='])
 
 for opt in options:
        o = opt[0]
@@ -920,6 +933,8 @@ for opt in options:
                outfile_name = a
        elif o == '--assume-old' or o == '-a':
                assume_old = 1
+       elif o == '--no-version' or o == '-n':
+               add_version = 0
        else:
                print o
                raise getopt.error
index 563e0308dcb55dae5a4a54d3fb659cfeac1e3a0f..1511bf2a964905f10d1e780c0122271ac9ba31ed 100644 (file)
@@ -283,7 +283,7 @@ articulation_dict ={
        1: '.',
        3: '>',
        18: '"arp"' , # arpeggio
-};
+}
 
 class Articulation:
        def __init__ (self, a,b, finale):
@@ -466,15 +466,15 @@ class Staff:
                        g = m.global_measure
                        e = ''
                        if g and last_key <> g.keysignature:
-                               e = e + "\\key %s \\major; " % lily_notename (g.keysignature)
+                               e = e + "\\key %s \\major " % lily_notename (g.keysignature)
                                last_key = g.keysignature
                        if g and last_time <> g.timesig :
-                               e = e + "\\time %d/%d; " % g.timesig
+                               e = e + "\\time %d/%d " % g.timesig
                                last_time = g.timesig
 
                        
                        if last_clef <> m.clef :
-                               e = e + '\\clef "%s";' % lily_clef (m.clef)
+                               e = e + '\\clef "%s"' % lily_clef (m.clef)
                                last_clef = m.clef
                        if e:
                                if gap <> (0,1):
index acfec670afd62fe4b97d4aa55d046e4532e0b6fa..28e01f1a12b504531a9197026b68436d79600cc0 100644 (file)
@@ -1,8 +1,9 @@
 #!@PYTHON@
 # vim: set noexpandtab:
 # TODO:
-# * Figure out clean set of options. Hmm, isn't it pretty ok now?
-# * add support for .lilyrc
+# * junk --outdir for --output 
+# * Figure out clean set of options.
+# * 
 # * EndLilyPondOutput is def'd as vfil. Causes large white gaps.
 # * texinfo: add support for @pagesize
 
@@ -549,7 +550,7 @@ def compose_full_body (body, opts):
 %% Generated automatically by: lilypond-book.py
 %% options are %s  %%ughUGH not original options
 \include "paper%d.ly"
-\paper  { linewidth = %f \pt; } 
+\paper  { linewidth = %f \pt } 
 """ % (optstring, music_size, l) + body
        return body
 
index cc2be23f75aa73fd610acab7b365642cbac4bb4e..fe178eb96d297fd18ec73098f309d08a2fc6c62d 100644 (file)
@@ -329,10 +329,16 @@ def run_lilypond (files, outbase, dep_prefix):
        if track_dependencies_p:
                opts = opts + " --dependencies"
                if dep_prefix:
-                       opts = ' --dep_prefix=%s' % dep_prefix
+                       opts = opts + ' --dep-prefix=%s' % dep_prefix
 
        fs = string.join (files)
 
+       if not verbose_p:
+               progress ( _("Running %s...") % 'LilyPond')
+               # cmd = cmd + ' 1> /dev/null 2> /dev/null'
+       else:
+               opts = opts + ' --verbose'
+       
        system ('lilypond %s %s ' % (opts, fs))
 
 def analyse_lilypond_output (filename, extra):
@@ -604,6 +610,9 @@ if files and files[0] != '-':
        if not output:
                output = os.path.basename (files[0])
 
+       for i in ('.dvi', '.latex', '.ly', '.ps', '.tex'):
+               output = strip_extension (output, i)
+
        files = map (compat_abspath, files) 
 
        if os.path.dirname (output) != '.':
@@ -658,7 +667,7 @@ if files and files[0] != '-':
        # add DEP to targets?
        if track_dependencies_p:
                depfile = os.path.join (outdir, outbase + '.dep')
-               generate_dependency_file (depfile, dest)
+               generate_dependency_file (depfile, depfile)
                if os.path.isfile (depfile):
                        progress (_ ("dependencies output to %s...") % depfile)
 
index d4e4f4e2e06fc07b4bc02d25930d0e463485853a..0bb9cbf01b8f55073015ffb8876de4f92dea9334 100644 (file)
@@ -81,7 +81,7 @@ def warranty ():
        sys.stdout.write ('\n')
        sys.stdout.write (_ (r'''
 Distributed under terms of the GNU General Public License. It comes with
-NO WARRANTY.'''))
+absolutely NO WARRANTY.'''))
        sys.stdout.write ('\n')
 
 def progress (s):
@@ -162,7 +162,9 @@ def help ():
        sys.stdout.write (_ ("Options:"))
        sys.stdout.write ('\n')
        sys.stdout.write (options_help_str (option_definitions))
-       sys.stdout.write ('\n\n')
+       sys.stdout.write ('\n')
+       warning (_ ("%s is far from completed.  Not all constructs are recognised.") % program_name)
+       sys.stdout.write ('\n')
        sys.stdout.write (_ ("Report bugs to %s") % 'bug-gnu-music@gnu.org')
        sys.stdout.write ('\n')
        sys.exit (0)
@@ -441,7 +443,7 @@ class Clef:
                self.type = cl
                
        def dump (self):
-               return '\\clef %s;' % self.type
+               return '\\clef %s' % self.type
 
 key_sharps = ('c', 'g', 'd', 'a', 'e', 'b', 'fis')
 key_flats = ('BUG', 'f', 'bes', 'es', 'as', 'des', 'ges')
@@ -453,11 +455,11 @@ class Key:
                
        def dump (self):
                if self.sharps and self.flats:
-                       k = '\\keysignature %s ;' % 'TODO'
+                       k = '\\keysignature %s ' % 'TODO'
                elif self.sharps:
-                       k = '\\notes\\key %s \major;' % key_sharps[self.sharps]
+                       k = '\\notes\\key %s \major' % key_sharps[self.sharps]
                elif self.flats:
-                       k = '\\notes\\key %s \major;' % key_flats[self.flats]
+                       k = '\\notes\\key %s \major' % key_flats[self.flats]
                return k
 
 class Time:
@@ -465,7 +467,7 @@ class Time:
                self.frac = frac
                
        def dump (self):
-               return '\\time %d/%d;' % (self.frac[0], self.frac[1])
+               return '\\time %d/%d' % (self.frac[0], self.frac[1])
        
 
 clef_table = {
@@ -888,7 +890,9 @@ class Parser:
        def parse_context_score (self, line):
                debug ('score: ' + line)
                line = string.lstrip (line)
-               #ugh, these should also be matche in context_staff
+               # ugh: these (and lots more) should also be parsed in
+               # context staff.  we should have a class Staff_properties
+               # and parse/set all those.
                m = re.match ('^(time[ \t]*=[ \t]*([0-9]+)[ \t]*/[ \t]*([0-9]+))', line)
                if m:
                        line = line[len (m.group (1)):]
@@ -1040,6 +1044,8 @@ class Pre_processor:
                        s = ''
                return s
 
+       # duh: mup is strictly line-based, except for `define',
+       # which is `@' terminated and may span several lines
        def process_macro_define (self, line):
                global macros
                # don't define new macros in unactive areas
index 81bb7bcc9e8b1f25811b55c4e864a31a8d6c27c4..9f1a3d16993f685c06c43bc99b362582e3a87464 100644 (file)
@@ -77,7 +77,7 @@ class Ref_parser:
        def dump( self):
                str = ''
                for (k,v) in self.dict.items ():
-                       str = str +'  %s = "%s";\n' % (k,v)
+                       str = str +'  %s = "%s"\n' % (k,v)
                str = '\\header {\n%s}' % str
                return str
        
@@ -102,7 +102,7 @@ def get_key (s):
        return ''
 
 def get_timesig (s):
-       return '\\time %s;\n' % s
+       return '\\time %s\n' % s
 
 
 divisions = 4
index c260b068195a68ea37feaf84962a02824476add4..44535e503afa5a6e265c279d3788703c6ae7aa18 100644 (file)
@@ -209,7 +209,7 @@ class Clef:
        def __init__ (self, cl):
                self.type = cl
        def dump(self):
-               return '\\clef %s;' % self.type
+               return '\\clef %s' % self.type
 
 clef_table = {
        'b':'bass'  ,
index bc2c8a8eba31a2527f3c761b311dc49a05404cc4..da16975bf0f926e417191dbb35eb534f54ebfaab 100644 (file)
@@ -6,11 +6,14 @@
 
 
 import find
+import fnmatch
 import sys
 import os
+import re
 import string
 import getopt
 import pipes
+
 topdir = ''
 def gulp_file(f):
        try:
@@ -90,12 +93,14 @@ def remove_automatic (dirnames):
                        cleanup ()
                        sys.exit (1)
 
-       dirs = map (lambda d: find.find ('out', d), dirnames)
+       dirs = map (lambda d: find.find ('out*', d), dirnames)
        dirs = reduce (lambda x,y:  x + y, dirs)
        
-       print dirs 
+       #print dirs
+
        for d in dirs:
-               files = files + find.find ('*', d)
+               if os.path.isdir (d):
+                       files = files + find.find ('*', d)
                
        for f in files:
                try: