]> git.donarmstrong.com Git - lilypond.git/commit
[doc] Handle leading dash in @code.
authorWerner Lemberg <wl@gnu.org>
Wed, 17 Aug 2011 17:22:21 +0000 (19:22 +0200)
committerWerner Lemberg <wl@gnu.org>
Wed, 17 Aug 2011 17:22:21 +0000 (19:22 +0200)
commitd6315a746c47259f56dc2835347985658d71d0c9
treeeb9fa08c4c811b76c8e0489decbbe53cfed3ffd8
parentac7aef03ab9d459a6ea6f03d9c127be150871dd4
[doc] Handle leading dash in @code.

Due to the default value of texinfo.tex's `@allowcodebreaks true', line
breaks after a dash within @code is allowed; this makes sense due to the
very long Scheme identifiers containing many dashes.  However, we have a lot
of `@code{-1}', and it looks very ugly to have a line break within this
expression.

This patch fixes it (also converting many `@code' to the correct `@option'),
using `@w{...}' where appropriate.  However, I've done it only for the
English documentation, expecting the translators to follow up.
41 files changed:
Documentation/changes.tely
Documentation/contributor/administration.itexi
Documentation/contributor/build-notes.itexi
Documentation/contributor/lsr-work.itexi
Documentation/contributor/programming-work.itexi
Documentation/contributor/source-code.itexi
Documentation/extending/scheme-tutorial.itely
Documentation/included/compile.itexi
Documentation/learning/common-notation.itely
Documentation/learning/tweaks.itely
Documentation/notation/changing-defaults.itely
Documentation/notation/input.itely
Documentation/notation/rhythms.itely
Documentation/notation/spacing.itely
Documentation/notation/vocal.itely
Documentation/snippets/clip-systems.ly
Documentation/snippets/dynamics-custom-text-spanner-postfix.ly
Documentation/snippets/modifying-default-values-for-articulation-shorthand-notation.ly
Documentation/snippets/new/clip-systems.ly
Documentation/usage/external.itely
Documentation/usage/lilypond-book.itely
Documentation/usage/running.itely
Documentation/usage/updating.itely
Documentation/web/introduction.itexi
Documentation/web/news.itexi
input/regression/clip-systems.ly
input/regression/midi/key-option.ly
input/regression/midi/quantize-duration-2.ly
input/regression/midi/quantize-duration.ly
input/regression/midi/quantize-start.ly
input/regression/skyline-debug.ly
lily/general-scheme.cc
lily/item-scheme.cc
lily/item.cc
lily/spanner-scheme.cc
lily/stencil-scheme.cc
scm/define-grob-properties.scm
scm/define-markup-commands.scm
scm/define-music-types.scm
scm/fret-diagrams.scm
scm/music-functions.scm