Jonathan Kulp [Sat, 28 Nov 2009 20:44:00 +0000 (14:44 -0600)]
DOCS: add Vim runtimepath for Fedora to "usage" manual
The runtimepath to set up LP syntax highlighting in vim
on Fedora is very different from what's given in the usage
manual. This example shows the proper path on Fedora 12
In addition to this merging, John made a few subsequent changes:
- use --split=subsubsection for the website, which makes
extract_texi_filenames.py generate a correct map;
- reorder Texi2HTML command line arguments to make sure the init file
catches the ones which are necessary;
- splitted HTML docs: downcase all filenames (manuals and web site),
and sections anchors (which fix the duplicate anchors issues that
makes Opera barf);
John Mandereau [Fri, 27 Nov 2009 18:11:54 +0000 (19:11 +0100)]
Docs: makelsr.py: normalize snippet titles into more manageable node names
Commas are forbidden in Texinfo node names, and @q and @qq cause
problems to scripts/build/extract_texi_filenames.py, which is not able
to normalize node names as well as Texinfo official formatters.
Update source file headers. Fixes using standard GNU package conventions.
Signed-off-by: Han-Wen Nienhuys <hanwen@xs4all.nl> Signed-off-by: Jan Nieuwenhuizen <janneke@gnu.org> Signed-off-by: John Mandereau <john.mandereau@gmail.com> Signed-off-by: Graham Percival <graham@percival-music.ca> Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com> Signed-off-by: Joe Neeman <joeneeman@gmail.com> Signed-off-by: Heikki Johannes Junes <hjunes@gmail.com> Signed-off-by: Neil Puttock <n.puttock@gmail.com> Signed-off-by: Carl D. Sorensen <c_sorensen@byu.edu> Signed-off-by: Mats Bengtsson <mats.bengtsson@s3.kth.se> Signed-off-by: Werner Lemberg <wl@gnu.org> Signed-off-by: Patrick McCarty <pnorcks@gmail.com> Signed-off-by: Nicolas Sceaux <nicolas.sceaux@free.fr>
Signed-off-by: Han-Wen Nienhuys <hanwen@xs4all.nl> Signed-off-by: Jan Nieuwenhuizen <janneke@gnu.org> Signed-off-by: John Mandereau <john.mandereau@gmail.com> Signed-off-by: Graham Percival <graham@percival-music.ca> Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com> Signed-off-by: Joe Neeman <joeneeman@gmail.com> Signed-off-by: Heikki Johannes Junes <hjunes@gmail.com> Signed-off-by: Neil Puttock <n.puttock@gmail.com> Signed-off-by: Carl D. Sorensen <c_sorensen@byu.edu> Signed-off-by: Mats Bengtsson <mats.bengtsson@s3.kth.se> Signed-off-by: Werner Lemberg <wl@gnu.org> Signed-off-by: Patrick McCarty <pnorcks@gmail.com> Signed-off-by: Nicolas Sceaux <nicolas.sceaux@free.fr>
Fixes future compatibility problems, GNU packages' policy defiance
and general confusion.
Signed-off-by: Han-Wen Nienhuys <hanwen@xs4all.nl> Signed-off-by: Jan Nieuwenhuizen <janneke@gnu.org> Signed-off-by: John Mandereau <john.mandereau@gmail.com> Signed-off-by: Graham Percival <graham@percival-music.ca> Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com> Signed-off-by: Joe Neeman <joeneeman@gmail.com> Signed-off-by: Heikki Johannes Junes <hjunes@gmail.com> Signed-off-by: Neil Puttock <n.puttock@gmail.com> Signed-off-by: Carl D. Sorensen <c_sorensen@byu.edu> Signed-off-by: Mats Bengtsson <mats.bengtsson@s3.kth.se> Signed-off-by: Werner Lemberg <wl@gnu.org> Signed-off-by: Patrick McCarty <pnorcks@gmail.com> Signed-off-by: Nicolas Sceaux <nicolas.sceaux@free.fr>
Carl Sorensen [Tue, 24 Nov 2009 04:56:30 +0000 (21:56 -0700)]
Fix warning message in predefined fretboards
When a predefined fretboard is found, don't try to calculate
a fretboard. Previously, even though the predefined fretboard
was used, the strings and frets for an automatic fretboard were
calculated. This created a warning message if the chord notes used
were below the range of the instrument, even if a predefined fretboard
exists for those notes.
Graham Percival [Sat, 21 Nov 2009 21:00:12 +0000 (21:00 +0000)]
Web build: it works with lower-case split filenames now.
*sob* web-texi2html.init is now even worse than before, but I want
to get 2.13.8 out and fix the _current_ broken HTML. As of this
commit, I believe that git will produce good html filenames for the
first time since... hmm, summer?
Graham Percival [Sat, 21 Nov 2009 14:28:05 +0000 (14:28 +0000)]
Doc build: move general.texi back into a subdir.
- also add index.html.in to redirect into general/
("temporary" hack, pending better reorg of the build process)
- TODO: rename general.texi to web.texi
tie-performer: using a vector always leads to memory corruption
So, we have use a deque instead, which works perfectly. I have no
idea where the corruption comes from with vectors. After the first
now_heads_.push_back (inf_mom), the now_heads_.size() will always
be something like 3303820998 instead of 1 ????
Nicolas Sceaux [Wed, 11 Nov 2009 18:59:09 +0000 (19:59 +0100)]
Issue #768: Chord repetition shortcut
In the lexer, add a chord repetition state, holding the repetition
symbol (like note names, but for chord repetition), the repetition
function used to copy the previous chord, and a slot to save the
previous chord. Use the repetition symbol to detect a chord
repetition when lexing.
In the parser, when a note chord is found, save it (it becomes
previous chord). When a chord repetition token is found, make a chord
using the repetition function and the previous chord.
The repetition symbol and function are initialized in
ly/chord-repetition-init.ly. The repetition symbol defaults to `q' (as
quote or qord -- as suggested Werner). The function copies the
pitches, but not articulations.
Chris Snyder [Fri, 13 Nov 2009 20:11:24 +0000 (20:11 +0000)]
Fixes issue 786, "Extenders in lyrics stop prematurely if a single underscore is found."
This commit changes the lyrics engraver to create LyricText objects
even for empty lyrics (underscores). This change is necessary because
the old behavior (pre-7531ea6b3 commit) relied on extenders continuing
until the presence of another lyric syllable, which was not always the case.
That commit changed the behavior to completize extenders when no more lyrics
were present, which fixed the neverending-extender bug but introduced the
extenders-stopping-prematurely bug.
By adding the empty LyricText objects, the extender engraver can now tell the
difference between melismas and the end of a block of lyrics.
Neil Puttock [Thu, 12 Nov 2009 21:28:24 +0000 (21:28 +0000)]
Allow music functions to recognize strings as markup.
Though strings count as markup according to the type predicate `markup?',
passing a string to a music function is currently only possible if the
type predicate is `string?' or `scm?'
This patch adds parser rules which support strings passed as markup, thus
making it easier to define music functions which default to using strings
unless extra formatting is required.
Ian Hulin [Thu, 12 Nov 2009 22:20:36 +0000 (22:20 +0000)]
Tracker 836: Add facility to change output file-name for a \book block
...or to set a suffix to prevent multiple files over-writing each other during a
compilation. This change allows user to do this via functions rather than having
to do so by using set! and define on parser variables in Scheme.
Thomas Morgan [Thu, 12 Nov 2009 20:07:58 +0000 (20:07 +0000)]
Fix `split-at-predicate' in `scm/lily-library.scm'.
Don't make the assumption that if `(PRED previous_element element)'
is false, `(PRED element previous_element)' must be true.
Suppose we want to split `(1 2 3 5 7)' into two lists such that
the first list contains the initial consecutive integers `(1 2 3)'
and the second contains the remaining elements `(5 7)'. We expect
`(split-at-predicate (lambda (x y) (= (- y x) 1)) '(1 2 3 5 7))'
to return `((1 2 3) . (5 7))', but in fact it returns `((1 2 3 5 7))'
because of this erroneous assumption.