Le 20/11/2010 21:17, Graham Percival disait :

On Sat, Nov 20, 2010 at 7:38 PM, Carl Sorensen<c_soren...@byu.edu>  wrote:
On 11/20/10 12:23 PM, "Jean-Charles Malahieude"<lily...@orange.fr>  wrote:

instead of the newly formulation

\language "lingua"

unless there were some Arabic or makam  music.xml file around...

The \include "lingua.ly" syntax has not been deprecated yet.  So I think
it's fine to have it here.

Sure, but a patch for this would definitely be an improvement.

Jean-Charles: please produce a patch to fix this.  Should take 10-60 minutes.




Hoping this is the way you would like me to proceed.

Cheers,
Jean-Charles
diff --git a/Documentation/usage/external.itely 
b/Documentation/usage/external.itely
index 2b00222..95f7e86 100644
--- a/Documentation/usage/external.itely
+++ b/Documentation/usage/external.itely
@@ -339,8 +339,7 @@ convert pitches in absolute mode.
 print usage and option summary.
 
 @item -l, --language=LANG
-use a different language file 'LANG.ly' and corresponding pitch names,
-e.g. 'deutsch' for deutsch.ly and German note names.
+use LANG for pitch names, e.g. 'deutsch' for note names in German.
 
 @item --lxml
 use the lxml.etree Python package for XML-parsing; uses less memory and cpu 
time.
diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py
index 2f4b807..6f70baea 100644
--- a/scripts/musicxml2ly.py
+++ b/scripts/musicxml2ly.py
@@ -2707,7 +2707,7 @@ information.""") % 'lilypond')
     p.add_option ('-l', '--language',
                   metavar = _ ("LANG"),
                   action = "store",
-                  help = _ ("use a different language file 'LANG.ly' and 
corresponding pitch names, e.g. 'deutsch' for deutsch.ly"))
+                  help = _ ("use LANG for pitch names, e.g. 'deutsch' for note 
names in German"))
 
     p.add_option ('--nd', '--no-articulation-directions',
                   action = "store_false",
@@ -3000,7 +3000,7 @@ def main ():
     if options.language:
         musicexp.set_pitch_language (options.language)
         needed_additional_definitions.append (options.language)
-        additional_definitions[options.language] = "\\include \"%s.ly\"\n" % 
options.language
+        additional_definitions[options.language] = "\\language \"%s\"\n" % 
options.language
     conversion_settings.ignore_beaming = not options.convert_beaming
     conversion_settings.convert_page_layout = options.convert_page_layout
 
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to