summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Percival <graham@percival-music.ca>2010-09-14 21:42:25 +0100
committerGraham Percival <graham@percival-music.ca>2010-09-14 21:46:05 +0100
commit2087c46eaf12eaf884dad2da49ebd1183b9941d7 (patch)
treecb14566213fab64247d4347923e1025a261ef95e
parent2975ad3579e616b8893d26ead9edd5ecb46b90d0 (diff)
Regtests: double \ inside @code{}.
Special characters like \t and \n are treated specially. AFAIK we don't *need* to escape other pairs like \a or \c, but we might as well.
-rw-r--r--input/regression/apply-output.ly2
-rw-r--r--input/regression/beam-feather.ly2
-rw-r--r--input/regression/chord-name-entry.ly2
-rw-r--r--input/regression/chord-names-languages.ly8
-rw-r--r--input/regression/color.ly2
-rw-r--r--input/regression/figured-bass.ly2
-rw-r--r--input/regression/glissando-no-break.ly2
-rw-r--r--input/regression/grace-direction-polyphony.ly2
-rw-r--r--input/regression/grace.ly2
-rw-r--r--input/regression/include-string.ly2
-rw-r--r--input/regression/instrument-name-x-align.ly2
-rw-r--r--input/regression/laissez-vibrer-tie-beam.ly2
-rw-r--r--input/regression/lily-in-scheme.ly4
-rw-r--r--input/regression/lyric-combine-polyphonic.ly2
-rw-r--r--input/regression/lyric-hyphen-retain.ly2
-rw-r--r--input/regression/markup-word-wrap.ly2
-rw-r--r--input/regression/music-function.ly4
-rw-r--r--input/regression/page-spacing.ly2
-rw-r--r--input/regression/partial-polymetric.ly2
-rw-r--r--input/regression/quote-cue-during.ly2
-rw-r--r--input/regression/rehearsal-mark-letter.ly2
-rw-r--r--input/regression/repeat-unfold-all.ly2
-rw-r--r--input/regression/spacing-section.ly2
23 files changed, 28 insertions, 28 deletions
diff --git a/input/regression/apply-output.ly b/input/regression/apply-output.ly
index d107e4a42f..2e1d521b72 100644
--- a/input/regression/apply-output.ly
+++ b/input/regression/apply-output.ly
@@ -1,7 +1,7 @@
\version "2.12.0"
\header {
- texidoc = "The @code{\applyOutput} expression is the most flexible way to
+ texidoc = "The @code{\\applyOutput} expression is the most flexible way to
tune properties for individual grobs.
Here, the layout of a note head is changed depending on its vertical
diff --git a/input/regression/beam-feather.ly b/input/regression/beam-feather.ly
index cf40c01aaa..a1ca4b7cc4 100644
--- a/input/regression/beam-feather.ly
+++ b/input/regression/beam-feather.ly
@@ -1,7 +1,7 @@
\header {
texidoc = "Specifying @code{grow-direction} on a beam, will cause
- feathered beaming. The @code{\featherDurations} function can be used
+ feathered beaming. The @code{\\featherDurations} function can be used
to adjust note durations."
}
diff --git a/input/regression/chord-name-entry.ly b/input/regression/chord-name-entry.ly
index e5e6dc826a..f747d29a60 100644
--- a/input/regression/chord-name-entry.ly
+++ b/input/regression/chord-name-entry.ly
@@ -4,7 +4,7 @@
\header {
texidoc = "Chords can be produced with the chordname entry
-code (@code{\chordmode} mode), using a pitch and a suffix. Here,
+code (@code{\\chordmode} mode), using a pitch and a suffix. Here,
the suffixes are printed below pitches.
"
diff --git a/input/regression/chord-names-languages.ly b/input/regression/chord-names-languages.ly
index e446afa4fb..512fdc6b79 100644
--- a/input/regression/chord-names-languages.ly
+++ b/input/regression/chord-names-languages.ly
@@ -2,10 +2,10 @@
\header {
texidoc = "@cindex Chord Names German
The english naming of chords (default) can be changed to german
-(@code{\germanChords} replaces B and Bes to H and B), semi-german
-(@code{\semiGermanChords} replaces B and Bes to H and Bb), italian
-(@code{\italianChords} uses Do Re Mi Fa Sol La Si), or french
-(@code{\frenchChords} replaces Re to Ré).
+(@code{\\germanChords} replaces B and Bes to H and B), semi-german
+(@code{\\semiGermanChords} replaces B and Bes to H and Bb), italian
+(@code{\\italianChords} uses Do Re Mi Fa Sol La Si), or french
+(@code{\\frenchChords} replaces Re to Ré).
" }
diff --git a/input/regression/color.ly b/input/regression/color.ly
index 9067f9e5bb..d17c5fe17a 100644
--- a/input/regression/color.ly
+++ b/input/regression/color.ly
@@ -2,7 +2,7 @@
\header{
texidoc = "Each grob can have a color assigned to it.
-Use the @code{\override} and @code{\revert} expressions to set the
+Use the @code{\\override} and @code{\\revert} expressions to set the
@code{color} property."
}
diff --git a/input/regression/figured-bass.ly b/input/regression/figured-bass.ly
index cbcb40c96f..ed97f87582 100644
--- a/input/regression/figured-bass.ly
+++ b/input/regression/figured-bass.ly
@@ -5,7 +5,7 @@
texidoc = " Figured bass is created by the FiguredBass context which
responds to figured bass events and rest events. You must enter these
-using the special @code{\figuremode @{ @}} mode, which allows you to
+using the special @code{\\figuremode @{ @}} mode, which allows you to
type numbers, like @code{<4 6+>} and add slashes, backslashes and pluses.
You can also enter markup strings. The vertical alignment may also be tuned.
diff --git a/input/regression/glissando-no-break.ly b/input/regression/glissando-no-break.ly
index 2d22b57359..2a3576ca66 100644
--- a/input/regression/glissando-no-break.ly
+++ b/input/regression/glissando-no-break.ly
@@ -1,6 +1,6 @@
\header {
- texidoc = "Glissandi are not broken. Here a @code{\break} is ineffective.
+ texidoc = "Glissandi are not broken. Here a @code{\\break} is ineffective.
Use @code{breakable} grob property to override."
}
diff --git a/input/regression/grace-direction-polyphony.ly b/input/regression/grace-direction-polyphony.ly
index bc364f105e..fa3465d2b7 100644
--- a/input/regression/grace-direction-polyphony.ly
+++ b/input/regression/grace-direction-polyphony.ly
@@ -1,6 +1,6 @@
\header {
- texidoc = "The @code{\voiceOne} setting is retained after
+ texidoc = "The @code{\\voiceOne} setting is retained after
finishing the grace section."
}
diff --git a/input/regression/grace.ly b/input/regression/grace.ly
index 36462f342c..0342c713e5 100644
--- a/input/regression/grace.ly
+++ b/input/regression/grace.ly
@@ -4,7 +4,7 @@
\header{
texidoc=" You can have beams, notes, chords, stems etc. within a
-@code{\grace} section. If there are tuplets, the grace notes will not
+@code{\\grace} section. If there are tuplets, the grace notes will not
be under the brace.
Main note scripts do not end up on the grace note.
diff --git a/input/regression/include-string.ly b/input/regression/include-string.ly
index 256cc5ab23..2e5dc62e1c 100644
--- a/input/regression/include-string.ly
+++ b/input/regression/include-string.ly
@@ -2,7 +2,7 @@
\header {
texidoc = "@code{ly:parser-include-string} should include the current
-string like a file @code{\include}."
+string like a file @code{\\include}."
}
#(ly:parser-include-string parser "\\relative c' { a4 b c d }")
diff --git a/input/regression/instrument-name-x-align.ly b/input/regression/instrument-name-x-align.ly
index 190807c950..7fb981f95e 100644
--- a/input/regression/instrument-name-x-align.ly
+++ b/input/regression/instrument-name-x-align.ly
@@ -2,7 +2,7 @@
texidoc = "Instrument names horizontal alignment is tweaked by
changing the @code{Staff.Instrument #'self-alignment-X} property. The
-@code{\layout} variables @code{indent} and @code{short-indent} define
+@code{\\layout} variables @code{indent} and @code{short-indent} define
the space where the instrument names are aligned before the first and
the following systems, respectively."
diff --git a/input/regression/laissez-vibrer-tie-beam.ly b/input/regression/laissez-vibrer-tie-beam.ly
index 840f5b28f8..f00e6cc571 100644
--- a/input/regression/laissez-vibrer-tie-beam.ly
+++ b/input/regression/laissez-vibrer-tie-beam.ly
@@ -1,6 +1,6 @@
\header {
- texidoc = "@code{\laissezVibrer} ties on beamed notes don't trigger
+ texidoc = "@code{\\laissezVibrer} ties on beamed notes don't trigger
premature beam slope calculation. "
}
diff --git a/input/regression/lily-in-scheme.ly b/input/regression/lily-in-scheme.ly
index e9b34f6ec5..7fd4f5b14f 100644
--- a/input/regression/lily-in-scheme.ly
+++ b/input/regression/lily-in-scheme.ly
@@ -4,8 +4,8 @@
them with a @code{$}, both in a LilyPond context or in a Scheme
context.
-In this example, the @code{\withpaddingA}, @code{\withpaddingB} and
-@code{\withpaddingC} music functions set different kinds of padding on
+In this example, the @code{\\withpaddingA}, @code{\\withpaddingB} and
+@code{\\withpaddingC} music functions set different kinds of padding on
the @code{TextScript} grob.
"
diff --git a/input/regression/lyric-combine-polyphonic.ly b/input/regression/lyric-combine-polyphonic.ly
index 1420c43521..7a39f689df 100644
--- a/input/regression/lyric-combine-polyphonic.ly
+++ b/input/regression/lyric-combine-polyphonic.ly
@@ -2,7 +2,7 @@
\header {
texidoc ="Polyphonic rhythms and rests do not disturb
-@code{\lyricsto}."
+@code{\\lyricsto}."
}
diff --git a/input/regression/lyric-hyphen-retain.ly b/input/regression/lyric-hyphen-retain.ly
index e567981a87..5cb5042d69 100644
--- a/input/regression/lyric-hyphen-retain.ly
+++ b/input/regression/lyric-hyphen-retain.ly
@@ -9,7 +9,7 @@ property, but it may be shortened down to @code{minimum-length} in
tight situations. If in this it still does not fit, the hyphen will be
omitted.
-Like all overrides within @code{\lyricsto} and @code{\addlyrics}, the
+Like all overrides within @code{\\lyricsto} and @code{\\addlyrics}, the
effect of a setting is delayed is one syllable."
}
diff --git a/input/regression/markup-word-wrap.ly b/input/regression/markup-word-wrap.ly
index ef9e5b065d..d6694ea996 100644
--- a/input/regression/markup-word-wrap.ly
+++ b/input/regression/markup-word-wrap.ly
@@ -1,6 +1,6 @@
\header {
- texidoc = "The markup commands @code{\wordwrap} and @code{\justify}
+ texidoc = "The markup commands @code{\\wordwrap} and @code{\\justify}
produce simple paragraph text."
}
diff --git a/input/regression/music-function.ly b/input/regression/music-function.ly
index 6a6ade9ce3..b0fa37edf8 100644
--- a/input/regression/music-function.ly
+++ b/input/regression/music-function.ly
@@ -3,8 +3,8 @@
texidoc = "Music functions are generic music transformation functions,
which can be used to extend music syntax seamlessly. Here we
-demonstrate a @code{\myBar} function, which works similar to
-@code{\bar}, but is implemented completely in Scheme."
+demonstrate a @code{\\myBar} function, which works similar to
+@code{\\bar}, but is implemented completely in Scheme."
}
\version "2.12.0"
diff --git a/input/regression/page-spacing.ly b/input/regression/page-spacing.ly
index dfafe2f1be..2edfdafdb4 100644
--- a/input/regression/page-spacing.ly
+++ b/input/regression/page-spacing.ly
@@ -5,7 +5,7 @@
spacing of page layout can be adjusted.
For technical reasons, @code{overrideProperty} has to be used for
-setting properties on individual object. @code{\override} may still be
+setting properties on individual object. @code{\\override} may still be
used for global overrides.
By setting @code{annotate-spacing}, we can see the effect of each property.
diff --git a/input/regression/partial-polymetric.ly b/input/regression/partial-polymetric.ly
index e284103b11..16de1bda6c 100644
--- a/input/regression/partial-polymetric.ly
+++ b/input/regression/partial-polymetric.ly
@@ -1,7 +1,7 @@
\version "2.13.31"
\header {
- texidoc = "@code{\partial} works with polymetric staves."
+ texidoc = "@code{\\partial} works with polymetric staves."
}
\score {
diff --git a/input/regression/quote-cue-during.ly b/input/regression/quote-cue-during.ly
index 2caea5994a..4d7424d755 100644
--- a/input/regression/quote-cue-during.ly
+++ b/input/regression/quote-cue-during.ly
@@ -3,7 +3,7 @@
texidoc = " The @code{cueDuring} form of quotation will set stem
directions on both quoted and main voice, and deliver the quoted voice
-in the @code{cue} @code{Voice}. The music function @code{\killCues}
+in the @code{cue} @code{Voice}. The music function @code{\\killCues}
can remove all cue notes.
Spanners run to the end of a cue section, and are not started on the
diff --git a/input/regression/rehearsal-mark-letter.ly b/input/regression/rehearsal-mark-letter.ly
index a54e1f8dea..3a6055f3b5 100644
--- a/input/regression/rehearsal-mark-letter.ly
+++ b/input/regression/rehearsal-mark-letter.ly
@@ -4,7 +4,7 @@
texidoc= "Rehearsal marks in letter style: the I is skipped, and
after Z, double letters are used. The mark may be set with
-@code{\mark NUMBER}, or with @code{Score.rehearsalMark}."
+@code{\\mark NUMBER}, or with @code{Score.rehearsalMark}."
}
diff --git a/input/regression/repeat-unfold-all.ly b/input/regression/repeat-unfold-all.ly
index 92e8a47339..4711f7598a 100644
--- a/input/regression/repeat-unfold-all.ly
+++ b/input/regression/repeat-unfold-all.ly
@@ -1,7 +1,7 @@
\version "2.12.0"
\header { texidoc = "Volta repeats may be unfolded through the music
- function @code{\unfoldRepeats}."
+ function @code{\\unfoldRepeats}."
}
diff --git a/input/regression/spacing-section.ly b/input/regression/spacing-section.ly
index d29a6236f5..3600574a04 100644
--- a/input/regression/spacing-section.ly
+++ b/input/regression/spacing-section.ly
@@ -1,7 +1,7 @@
\header {
texidoc = "New sections for spacing can be started with
-@code{\newSpacingSection}. In this example, a section is started at
+@code{\\newSpacingSection}. In this example, a section is started at
the 4/16, and a 16th in the second section takes as much space as a
8th in first section."