From b851651797ba0705da47808297b9b78272da5750 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Wed, 23 Jan 2008 10:13:02 -0800 Subject: [PATCH] Fix snippet according to new makelsr. --- ...hes-with-minimum-accidentals-smart-transpose.ly | 14 +++++++++++++- ...hes-with-minimum-accidentals-smart-transpose.ly | 11 +++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly b/input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly index 80001e04c0..96cc38c333 100644 --- a/input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly +++ b/input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly @@ -1,4 +1,16 @@ -\version "2.11.33" +%% Do not edit this file; it is auto-generated from input/new +\version "2.11.35" +\header { + doctitle = "Transposing music with minimum accidentals" + lsrtags = "pitches" + texidoc = "There is a way to enforce enharmonic modifications for +notes in order to have the minimum number of accidentals. In that +case, ``Double accidentals should be removed, as well as E-sharp +(-> F), bC (-> B), bF (-> E), B-sharp (-> C).'', as proposed by a +request for a new feature. In this manner, the most natural +enharmonic notes are chosen in this example. " +} +% begin verbatim #(define (naturalise-pitch p) (let* ((o (ly:pitch-octave p)) (a (* 4 (ly:pitch-alteration p))) diff --git a/input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly b/input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly index 80001e04c0..8ca3eba3fe 100644 --- a/input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly +++ b/input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly @@ -1,4 +1,15 @@ \version "2.11.33" +\header { + doctitle = "Transposing music with minimum accidentals" + lsrtags = "pitches" + texidoc = "There is a way to enforce enharmonic modifications for +notes in order to have the minimum number of accidentals. In that +case, ``Double accidentals should be removed, as well as E-sharp +(-> F), bC (-> B), bF (-> E), B-sharp (-> C).'', as proposed by a +request for a new feature. In this manner, the most natural +enharmonic notes are chosen in this example. " +} + #(define (naturalise-pitch p) (let* ((o (ly:pitch-octave p)) (a (* 4 (ly:pitch-alteration p))) -- 2.39.5