John Mandereau [Mon, 27 Jul 2009 08:33:08 +0000 (10:33 +0200)]
Docs: update check_translation script
Also add an experimental feature to update committishes for changes
that are made simultaneously in all languages (to be tested and
documented in the CG).
Patrick McCarty [Sun, 26 Jul 2009 03:07:02 +0000 (20:07 -0700)]
Adjust "font-name-style" procedure for SVG backend
Changes to make this procedure more generic for matching both fonts
with string names and font smobs that need their names extracted.
In the future, if all fonts are identified with string names, and
the "feta-alphabet" PFB fonts are no longer used, this procedure may
need to be adjusted.
Note that this procedure is only used for the SVG backend.
Patrick McCarty [Wed, 15 Jul 2009 16:54:28 +0000 (09:54 -0700)]
Change API to filter music fonts in text-interface
Currently, some grobs using the text-interface require
the music fonts (Emmentaler and Aybabtu). The new changes
for the SVG backend require special handling for these
cases, thus the API change.
Now the SVG backend will use "glyph-string" to output text
in the music fonts, and "utf-8-string" for all other text.
Patrick McCarty [Fri, 24 Jul 2009 18:30:19 +0000 (11:30 -0700)]
Add lists for possible font encodings
Currently, there is no central location for all of the font encoding
values LilyPond uses.
This patch creates two new procedures, one that returns a list of all
encodings used for LilyPond's music fonts (Emmentaler and Aybabtu),
and one that returns a list of the encodings used for all other fonts
(currently, latin1).
Patrick McCarty [Fri, 24 Jul 2009 19:23:46 +0000 (12:23 -0700)]
Remove utf-8-string from PS/EPS backend
This procedure was only used to catch programming mistakes. The new
"backend-testing" procedure emits warnings for these types of mistakes,
so it is now obsolete.
* rename manuals by stripping "lilypond-" prefix from all source file names
and HTML and PDF output (it is kept in Info output, where it is necessary),
* move manuals in Documentation/user one directory higher, in addition
rename lilypond-program to application, and put .itely files in
subdirectories,
* move Documentation/topdocs/NEWS.tely to Documentation,
* move Documentation/devel/contrib-guide.texi to
Documentation/contributor.texi,
* move input/lsr/lilypond-snippets.tely to Documentation/, move the
rest input/lsr to Documentation/snippets,
* move input/new to Documentation/snippets/new,
* move input/texidocs contents to
Documentation/<language_codes>/texidocs, splitting texidocs by
language,
* do the same changes in all translations when applicable,
* move Documentation/devel/index.html.in back to Documentation/deve.html.in.
'make all', 'make doc' and 'make dist' have been tested, although tons
of broken HTML and PDF links and Info cross-references are expected.
Maintenance makefiles (Documentation/GNUmakefile) and scripts
(scripts/auxiliar) are known to be broken, they will be updated in a
future commit.
TODO: Documentation/GNUmakefile is still a bit of a mess.
Joe Neeman [Fri, 24 Jul 2009 20:36:36 +0000 (13:36 -0700)]
Change the treatment of min-distance in springs.
Previously, we ensured that the ideal distance was at least
as large as the minimum distance, but it sometimes useful
not to. Now, if a spring has minimum distance larger than
ideal distance, it will remain fixed (at minimum-distance)
for a while as you start to stretch it, but it will stretch
eventually. This helps give us a more uniform vertical
spacing.
Neil Puttock [Sun, 19 Jul 2009 16:56:12 +0000 (17:56 +0100)]
Correct \displayLilyMusic output for single-note harmonics.
* since \harmonic only works inside chords, ensure \displayLilyMusic
interprets a single-note harmonic as a note_chord_element
* remove trailing spaces
Mark Polesky [Wed, 1 Jul 2009 23:21:14 +0000 (16:21 -0700)]
Add new file lily-sort.scm; improve sorting in docs.
- add new file lily-sort.scm
- add "lily-sort.scm" to the ly:load list in documentation-generate.scm
- "string<?" --> "ly:string-ci<?" etc. in the document-*.scm files
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.
Patrick McCarty [Mon, 6 Jul 2009 00:03:34 +0000 (17:03 -0700)]
Only assign warning values for stencil commands
- Since the expressions in ly:all-output-backend-commands
are not intended to be defined in output-*.scm,
only assign warnings for ly:all-stencil-commands.
Patrick McCarty [Sun, 5 Jul 2009 23:51:31 +0000 (16:51 -0700)]
scm/define-stencil-commands.scm: cleanup
- Create a new procedure for stencil "commands",
the subset of stencil expressions that can be
defined in output-*.scm.
- Add the missing `setrotation' and `resetrotation'
expressions.
- Use ly:all-output-backend-commands for the rest
of the stencil expressions; thus,
`delay-stencil-evaluation' belongs here, and
add the missing `rotate-stencil' expression.
- Document the differences between the two procedures.
Patrick McCarty [Sun, 5 Jul 2009 20:15:51 +0000 (13:15 -0700)]
Check for a null string before using `placebox'
- This is most important for output-svg, due to
the regular expression matching, but the other
output backends can benefit from the removal of
the superfluous `placebox' expressions.
Patrick McCarty [Sun, 5 Jul 2009 20:12:25 +0000 (13:12 -0700)]
Remove obsolete backend code
- Remove obsolete code from lily.scm that was
used before the output backends took their current
form.
- Remove exported bindings from output-ps.scm; the
output backends no longer use a `public interface',
since all work is done with ly:outputter-dump-stencil,
which uses the modules directly.
- Remove the "catch-all" routines from the svg and socket
output backends; these are covered by the new procedure
in backend-library.scm