Werner Lemberg [Mon, 1 Nov 2004 03:53:19 +0000 (03:53 +0000)]
* Documentation/user/changing-defaults.itely,
Documentation/user/notation.ly,
Documentation/user/programming-interface.itely: Use @/.
Fix formatting of some lilypond snippets and tables.
Werner Lemberg [Sun, 31 Oct 2004 08:48:08 +0000 (08:48 +0000)]
Resetting @exampleindent to `5' gives ugly results with texinfo's
DVI output. Use `@format @exampleindent 0 ... @end format' instead
(if not quoting) to change @exampleindent only locally.
* scripts/lilypond-book.py (NOQUOTE): New variable.
(output) [LATEX]: Remove AFTER and BEFORE.
[TEXINFO]: Remove AFTER and BEFORE.
Fix QUOTE and VERBATIM pattern.
Add NOQUOTE pattern.
(Lilypond_snippet) [output_info, output_latex]: Don't handle AFTER
and BEFORE.
[output_texinfo]: Use NOQUOTE.
Werner Lemberg [Fri, 29 Oct 2004 20:30:26 +0000 (20:30 +0000)]
* scm/framework-tex.scm (dump-line): Fix dimensions for \lybox.
* scripts/lilypond-book.py (no_options): New dictionary.
(simple_options): New list.
(ly_options): Remove NOINDENT and EXAMPLEINDENT patterns.
(compose_ly): Use `no_options' and `simple_options'.
Fix logic of option handling.
Werner Lemberg [Wed, 27 Oct 2004 22:04:51 +0000 (22:04 +0000)]
* Documentation/user/music-glossary.tely: More fixes to improve
appearance with DVI output.
* scripts/lilypond-book.py (compose_ly): Use 0.4in for
EXAMPLEINDENT. This is the maximum value for quotation environments
used in `texinfo.tex' -- many warnings in lilypond.dvi are now gone.
Werner Lemberg [Tue, 26 Oct 2004 21:49:37 +0000 (21:49 +0000)]
* scripts/lilypond-book.py: Some additional formatting for
orthogonality.
(ly_options) [*]: Format strings.
[RAGGEDRIGHT]: Don't set `indent'. This is now properly handled
by `compose_ly'.
(output) [LATEX][OUTPUT]: Format string and simplify.
(PREAMBLE_LY, FRAGMENT_LY): Format string.
(classic_lilypond_book_compatibility): Take key/value pair as
parameter.
Return key/value pair.
(compose_ly): Rewritten, taking the snippet type as third parameter.
The default values are now set more sensible, and a `linewidth'
option is no longer overwritten under some circumstances.
* Documentation/user/music-glossary.tely: Replace all accented
character macros with latin-1 codes.
Werner Lemberg [Mon, 25 Oct 2004 20:46:09 +0000 (20:46 +0000)]
* scripts/lilypond-book.py (snippet_res): Fix regexps and make them ignore
whitespace properly.
(compose_ly): Use `re.split' instead of `string.split' to remove surrounding
whitespace.
Werner Lemberg [Mon, 25 Oct 2004 20:13:57 +0000 (20:13 +0000)]
* scripts/lilypond-book.py: s/option-sep/option_sep/.
(format_res) [LATEX, TEXINFO]: Skip whitespace before comma also.
Some formatting to get more consistency.
Werner Lemberg [Sat, 23 Oct 2004 19:45:40 +0000 (19:45 +0000)]
* scm/framework-tex.scm (dump-page): Add width to \lybox call.
Remove first two parameters of \lybox.
Don't emit \vbox around \lybox.
(dump-line): Add width to \lybox call.
Remove first two parameters of \lybox.
* tex/lilyponddefs.tex (\topalign, \leftalign): Removed.
(\lyitem): Updated.
(\lybox): Only take three parameters.
Create box which has zero depth, only height.
Center box vertically along the x-height of current font.
Werner Lemberg [Wed, 20 Oct 2004 06:32:54 +0000 (06:32 +0000)]
* scm/framework-tex.scm (header-end): Don't set \outputscale.
(dump-line): Produce prettier output.
* tex/lilyponddefs.tex: Comment all macros extensively.
(\lilypondstart): Set \outputscale.
Define \lilypondpagebreak and \lilypondnopagebreak here.
Don't test for positive \lilypondpaperlinewidth -- this is always
positive in the normal case (LilyPond produces bad output otherwise
so we can safely ignore negative or zero values).
(\lilypondend): Remove useless test for \lilypondbook.
(\fetasixteen, \fetafont, \fetachar): Removed, unused. We also
don't input `feta20.tex'.
* Documentation/user/macros.itexi: Use @ref instead of @inforef
for html. Apparently, ``you should'' in texinfo documentation is
merely a guideline that can safely be ignored.
* elisp/lilypond-init.el (auto-mode-alist): Add .ily to
auto-mode-alist.
Werner Lemberg [Sat, 16 Oct 2004 16:13:39 +0000 (16:13 +0000)]
* scripts/lilypond-book.ly (snippet_res): Define group `match'
everywhere.
Accept more spaces between commands and its arguments and options.
Fix some regexps.
(output): Remove some newlines in string values and suppress spaces
in output.
(output_texinfo): Output `output_print_filename' only if not empty.
(Lilypond_snippet)[find_toplevel_snippets]: Use group `match'.
Werner Lemberg [Sat, 16 Oct 2004 07:37:46 +0000 (07:37 +0000)]
* scm/framework-tex.scm (font-load-command, define-fonts): Protect
some TeX line ends with `%' to avoid additional horizontal space in
output.
* scripts/lilypond-book.py: Unexpand spaces to tabs.
(snippet_res): Use `x' modifier to represent regular expressions
in a friendlier way.
Fix `lilypond_block' for LaTeX to accept `%\end{lilypond}'.
(find_toplevel_snippets): Don't use indices from match group 0,
which is the whole pattern space, but group 1.