]> git.donarmstrong.com Git - lilypond.git/commitdiff
Regtests: double \ inside @code{}.
authorGraham Percival <graham@percival-music.ca>
Tue, 14 Sep 2010 20:42:25 +0000 (21:42 +0100)
committerGraham Percival <graham@percival-music.ca>
Tue, 14 Sep 2010 20:46:05 +0000 (21:46 +0100)
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.

23 files changed:
input/regression/apply-output.ly
input/regression/beam-feather.ly
input/regression/chord-name-entry.ly
input/regression/chord-names-languages.ly
input/regression/color.ly
input/regression/figured-bass.ly
input/regression/glissando-no-break.ly
input/regression/grace-direction-polyphony.ly
input/regression/grace.ly
input/regression/include-string.ly
input/regression/instrument-name-x-align.ly
input/regression/laissez-vibrer-tie-beam.ly
input/regression/lily-in-scheme.ly
input/regression/lyric-combine-polyphonic.ly
input/regression/lyric-hyphen-retain.ly
input/regression/markup-word-wrap.ly
input/regression/music-function.ly
input/regression/page-spacing.ly
input/regression/partial-polymetric.ly
input/regression/quote-cue-during.ly
input/regression/rehearsal-mark-letter.ly
input/regression/repeat-unfold-all.ly
input/regression/spacing-section.ly

index d107e4a42f3263d895d7c798929280efdcfd00b3..2e1d521b72acce2201e0b7ea94f3f67e593bd301 100644 (file)
@@ -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
index cf40c01aaa3a59d9a961a8f9c4f1d067930f5136..a1ca4b7cc43d901aa0a10219e7d3d14511d02105 100644 (file)
@@ -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."
   
 }
index e5e6dc826ae4c7460cd53dc8ac715e8ec07449c7..f747d29a60ae6228232d5bb85aff37c978342110 100644 (file)
@@ -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.
 "
 
index e446afa4fb0b07789522c2ff069d2f9d2780fa04..512fdc6b79409b09f1f1cd783293f9889d900b73 100644 (file)
@@ -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é).
 
 " }
 
index 9067f9e5bb5171a4f13310b50fc964787265f9cc..d17c5fe17a9e414d2f5939631d9ad19d4afdfcde 100644 (file)
@@ -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."
 }
 
index cbcb40c96f0fbe1797492237074f40586c0bbdcd..ed97f87582ab4f1b12b83cfd24b124be4abcb615 100644 (file)
@@ -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.
index 2d22b573599bae996e06c83592cf7412a8ec477c..2a3576ca666cadfdbc913e13e3f790fd31da186c 100644 (file)
@@ -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."
 
 }
index bc364f105eebad2cde92fba210da9b0f5134e6a2..fa3465d2b737f1a07adcd91421c0000f2c7c4368 100644 (file)
@@ -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."
 
 }
index 36462f342c2e719a16e3e3af1bb6c2ed06d88422..0342c713e582084f439ffe28c6aba32823537dd9 100644 (file)
@@ -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. 
index 256cc5ab2338565753fafc4116742471d1e8fd5e..2e5dc62e1c40dcded3aeda3646d2f4dc471c0012 100644 (file)
@@ -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 }")
index 190807c9502a45f45be6aa9c6ef6e7887673fb31..7fb981f95e7f5b9beacfd2b632e942bea105d50c 100644 (file)
@@ -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."
 
index 840f5b28f85e6047b2afa1d6aadcc960c439a48a..f00e6cc571cfc709a889d1ee40302e77e19986a8 100644 (file)
@@ -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. "
 
 }
index e9b34f6ec5e361abdd947ce160a5268be061994c..7fd4f5b14f7ea1ae95c2ffac2154416b84b5b7dd 100644 (file)
@@ -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.
 
 "
index 1420c43521591258f8a7e00472a2170404b8f61c..7a39f689dfa8caf2e6bb6fe88ab712e7c6060d92 100644 (file)
@@ -2,7 +2,7 @@
 \header {
 
   texidoc ="Polyphonic rhythms and rests do not disturb
-@code{\lyricsto}."
+@code{\\lyricsto}."
 
 }
 
index e567981a87ba2e1b109c58539306e6e2f6367057..5cb5042d69af1abb8f8cc77eada86fced264ca54 100644 (file)
@@ -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."
 
 }
index ef9e5b065dfc776e0f18b7aec3f9811c30015bcd..d6694ea9969f43705c0c649162ab10d593116edd 100644 (file)
@@ -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."
 
 }
index 6a6ade9ce35b842a038be5f02268c6b58c6b8942..b0fa37edf8b93c55cdeb90de09788bc75d2b1bd7 100644 (file)
@@ -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"
index dfafe2f1beb7997c47e941f9475f94498b2989c0..2edfdafdb412c93f215af15f45702365bdd00ecd 100644 (file)
@@ -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.
index e284103b113468f4d1d639864485d515b6b77cc7..16de1bda6c5a4fdb3a5ec4da9da13eafab92c65c 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.13.31"
 
 \header {
-  texidoc = "@code{\partial} works with polymetric staves."
+  texidoc = "@code{\\partial} works with polymetric staves."
 }
 
 \score {
index 2caea5994a323668e8339ed7d2b02cec0fe318a5..4d7424d755f26de05013326d24e3f3b79a1ea7f1 100644 (file)
@@ -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
index a54e1f8deac49ad52bdee5163529fd9e9a48eead..3a6055f3b53afcdbc3a6dff04807dd56f05854e6 100644 (file)
@@ -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}."
 
 }
 
index 92e8a47339e4bfea7f895eaa3ea672e419fb8dbb..4711f7598ad837a19394c9e52facd10bd1966262 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.12.0"
 
 \header { texidoc = "Volta repeats may be unfolded through the music
-    function @code{\unfoldRepeats}."
+    function @code{\\unfoldRepeats}."
 
 }
 
index d29a6236f52b0f0cfb41c6348588307cd40511b5..3600574a041bb11c58210dfd4a2ecf122362fe42 100644 (file)
@@ -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."