- protect private documentation targets with conditional testing
of out==www;
- automatically generate README.txt and INSTALL.txt even for a Git
checkout when autogen.sh and configure are successful.
(cherry picked from commit 55c49859e8b5125438e0503c681d565d2944a01f)
Texi2html: Set the TOC depth using a command-handler
It seems that command_handler_process is the correct command handler
to set the TOC depth (after parsing all input files, but before any
possible output or TOC is created), depending on the texinfo variable
short_toc. This fixes my previous commit, where I had some workarounds,
because I didn't think of command_handler_process.
(cherry picked from commit 622f1ac10c57387050fdac2b095d6898f50faf2a)
John Mandereau [Fri, 13 Mar 2009 07:40:09 +0000 (08:40 +0100)]
Fix Info documentation with images
This patch mainly applies suggestions from David Kastrup and Jan.
* fix symlinks creation from prefix/share/info to
prefix/share/doc/lilypond, enable it even when installing in
nonstandard prefix, and clean it up in the makefiles,
* add info and info-install toplevel targets,
* improve documentation (make help, stdout prints and Application
Usage),
John Mandereau [Thu, 12 Mar 2009 12:26:04 +0000 (13:26 +0100)]
Docs: merge duplicate instances of compilation instructions
Of course, this does not prevent us to split compilation instructions
between instructions for everybody (self-builders, packagers and
developers), which should still be present in Application Usage, and
instructions only for LilyPond developers, which IMHO shall be only in
the Contributors' Guide.
Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
Also clean up and improve some Git instructions, and rename section
"Texinfo crash course" to "Texinfo introduction and usage policy" to
make it clear that it contains some policy.
Formatting issue: using @smallexample and @exampleindent 0 to allow
long lines fit in PDF output.
Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
John Mandereau [Wed, 4 Feb 2009 22:23:09 +0000 (23:23 +0100)]
Docs: make Snippets TOC effective and split Contributors' Guide at sections
* make Snippets TOC anchors for individual snippets effective by creating
nodes for each snippet; this produces a lot of duplicate nodes but
it works in texi2html; support for makeinfo should be dropped
after this change though;
* add support for splitting HTML Texinfo output at section level;
thanks to Reinhold Kainhofer for the idea and a part of the patch.
(cherry picked from commit 2225db4c97bf1d842860658874d66b54ef3c8f5d)
Neil Puttock [Tue, 21 Apr 2009 22:08:26 +0000 (23:08 +0100)]
Fix #655.
- check that an engraver exists before an attempt is made to remove
it within a \with block
- use warning () instead of error () so that compilation can continue
even when an unknown translator is detected
(cherry picked from commit 4d193df8196c33871ceb48756c55edd1b1079fbd)
Note-On: velocity=127 lowered to 90 = mezzoforte
Note-Off: common practice in the MIDI world is to
use Note-On messages with velocity=0 instead.
(cherry picked from commit 7a63a88f2a3a1534dfcf7d1d50eea581b029a4c0)
Neil Puttock [Sat, 11 Apr 2009 12:15:08 +0000 (13:15 +0100)]
Fix #670: Chained trills
- if trill spanner isn't stopped using \stopTrillSpan, make next
start-span right bound.
- for trill spans on last note of final system, don't end on final
musical column, since it will extend beyond the last breakable column.
(cherry picked from commit 3b6df457322096b87cf6af599cf2c6e04989e94d)
Carl Sorensen [Sat, 11 Apr 2009 19:33:23 +0000 (13:33 -0600)]
Fix error message in define-markup-function
There was a syntax error in markup.scm
Also, ly_error would not pass the arguments to simple-format properly
if rest was a list in the scheme side (as in define-markup-function).
Therefore, if the format args are a list, get the car of rest in
ly_error so the args can be passed properly.
(cherry picked from commit bc41f1ab4e112d7a75f7d3feb62589124d283fec)
Neil Puttock [Wed, 25 Mar 2009 00:08:27 +0000 (00:08 +0000)]
Fix merging misalignment for special case involving 8ths & half notes.
- if merging is possible, correct stem attachment for eighth notes
(or shorter) in upper voice when combined with half notes in lower voice.
- tidy code.
(cherry picked from commit 90a1bbf4556332a9d39c1b485c0ef823e4a2106d)
John Mandereau [Fri, 20 Mar 2009 08:56:21 +0000 (09:56 +0100)]
Make fc-match prefer Type 1 over TTF for NCSB files
This fixes font selection on some Debian systems with a Canorus
package that installs NCSB in TTF format, which makes fc-match prefer
TTF over Type 1 (reported by David Kastrup). Setting the foundry
field to "urw" restores fc-match selection of Type 1.
(cherry picked from commit a9fecbead73824c3f02364be830980e4e2b4470c)
Carl Sorensen [Sun, 15 Mar 2009 03:34:58 +0000 (21:34 -0600)]
Fix 763 Fretboards don't transpose properly
A transpose that took a chord out of the default octave broke the
default fretboards.
The code is now modified to look both an octave up and an octave down
from the given octave if no entry is found for the given octave.
(cherry picked from commit 9bf6dcaf6ca27f7141ec825bb3569de8a5090dbb)
Michael Käppler [Sat, 28 Feb 2009 09:20:38 +0000 (10:20 +0100)]
This fixes an endless loop in duration.cc:67.
The loop occurred when Duration::Duration(Rational r, bool scale) was called
with r.num() >= 2 * r.den(), f.e. the duration of a longa: r.num = 2,
r.den = 1. If k < 0, the left-shifting-operator << returns an undefined value
instead of right-shifting bits. The fix introduces a new function
shift_left() in misc.hh, which behaves different.
(cherry picked from commit 2a2eb61cf2f92967a1c6d5d872db1c906b2c2e73)
Carl Sorensen [Sat, 7 Feb 2009 22:53:38 +0000 (15:53 -0700)]
Fix vertical alignment of FretBoards
The origin of the fret diagram will be at fret zero, string 1.
The x alignment is adjusted to put the fret diagram over a note
for the fret diagram markup. The y alignment used to be centered,
but now it is not adjusted during creation of the grob.
stepmake/aclocal.m4: --srcdir tarball build fix: include <src-dir>/lily/out.
Our tarballs ship lily/out/parser.hh, which cannot be found when doing
a srcdir build. We never found out, because GUB only built from GIT,
apparently.
Toplevel dist: regenerate and include ChangeLog, RELEASE-COMMIT.
Fixes unstampedness of tarballs, which can make things especially
hairy for packagers/distributors when eg lilypond-2.12.2 is happens
to be released from MASTER instead of stable/2.12.