Neil Puttock [Mon, 20 Jul 2009 00:00:20 +0000 (01:00 +0100)]
Consider accidentals in optical spacing correction.
- if accidentals are detected sticking out of the right hand stem,
apply spacing correction if stem directions are different
(cherry picked from commit 452c8141d29c8a070d349f2798f2695ff8defd94)
Joe Neeman [Sun, 16 Mar 2008 05:40:35 +0000 (16:40 +1100)]
Fix 546.
When accidentals modify the same pitch, don't print them in
overstrike unless they give the same alteration.
(cherry picked from commit 521f05b7b74e6dcb4add72ea99a029beea428d54)
Joe Neeman [Sun, 16 Mar 2008 01:57:29 +0000 (12:57 +1100)]
Refactor accidental-placement.
Bring Accidental_placement::calc_positioning_done down to a manageable size
by splitting it into multiple functions.
(cherry picked from commit 3816a9e26acf8922538a325b59d946a23d0db826)
MusicXML: Don't crash when a part is missing the id attribute
Still missing: If there is only one part (which has the id missing),
we could automatically assign the id...
(cherry picked from commit e3ee8d211f06835f76fe9d5cd4fba50a1be47cc1)
John Mandereau [Tue, 14 Jul 2009 22:14:12 +0000 (00:14 +0200)]
Docs: prepare direct translation of node names in Texinfo sources
- fix nits in texi-gettext.py,
- update tely-gettext.py and extract_texi_filenames.py,
- use --master-map-file option of extract_texi_filenames.py added in
this commit,
- remove embarrassing node translations in French and Spanish doc POs.
All these updates have been tested with a few makefiles hooks (not
included in this commit), an apparently successful execution of
tely-gettext.py on all translations followed by 'make doc' and a quick
check of HTML and PDF output.
Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
texi2html: Don't break with the latest texi2html version
Instead of explicitly calling the functions that are set by default (which
breaks if the functions are renamed), store the default function reference
and call that value instead.
(cherry picked from commit d41b484a83c68e0f12800c3f073eb991af1e7946)
Neil Puttock [Wed, 24 Jun 2009 22:25:48 +0000 (23:25 +0100)]
Fix #767.
- in Rhythmic_head::dot_count () use robust_scm2int to ensure sane
value is returned even if Dots isn't live.
(cherry picked from commit 6538e1b152ea115bf70e83f89627c07477472e53)
Neil Puttock [Fri, 19 Jun 2009 22:26:29 +0000 (23:26 +0100)]
Fix #781.
- don't dereference non-existent event-cause, which may occur if the
Ambitus_engraver is erroneously added to both the Staff and Voice contexts:
in such a situation, Ambitus_engraver::acknowledge_note_head () will acknowledge
an AmbitusNoteHead, which has no event-cause.
(cherry picked from commit d511b69c1cb8836bc0b7b49b9f396cf06fef19ac)
Joe Neeman [Tue, 9 Jun 2009 17:25:10 +0000 (20:25 +0300)]
Fix 453.
Calculate tremolo beaming only from the repeat-count and the duration-log
of the original notes. In particular, don't use any information about
scaled durations when calculating the tremolo beaming.
(cherry picked from commit 1ace1688c305ecf144b29673fde94fccce4cc595)
Add an empty line in the appendix to start a new paragraph before the
Lilypond grammar. Otherwise the closing </p> will be put after the
<pre>...</pre>, which would mean to nested block-level commands and is
invalid HTML.
(cherry picked from commit 8a49f4bd4781415801a45307d83ca849c5e920f0)
texi2html: Use only one <pre class="example"> for @example -> valid HTML now
The @example environment should not create
<pre class="example"><pre class="example">...</pre></pre>
which is invalid HTML, but rather only one <pre> tag. texi2html creates
the correct pre tag automatically from the env name, so remove it from
the settings.
Also adjust the css to get the correct margins/padding like before.
Joe Neeman [Tue, 2 Jun 2009 11:07:12 +0000 (14:07 +0300)]
Fix 541.
The x_offset and y_offset fields in PangoGlyphGeometry should not
be included in the advance. That is, they only affect the position
of their glyph.
(cherry picked from commit 8c4f3056c4217dc3b7f0c077c3f0e3673b5f90ee)
John Mandereau [Fri, 22 May 2009 16:42:38 +0000 (18:42 +0200)]
Add support for texidocs in check-translation
Also add a hack to update committishes in texdidocs, this should
be used with extreme care.
(cherry picked from commit cdcabcde8a1d7e476379b130166becb1abaa3f97)
- 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)