]> git.donarmstrong.com Git - lilypond.git/commitdiff
Merge branch 'master' of git://git.sv.gnu.org/lilypond
authorGraham Percival <graham@percival-music.ca>
Mon, 19 May 2008 23:41:41 +0000 (16:41 -0700)
committerGraham Percival <graham@percival-music.ca>
Mon, 19 May 2008 23:41:41 +0000 (16:41 -0700)
28 files changed:
Documentation/GNUmakefile
Documentation/es/user/ancient.itely
Documentation/fr/user/keyboards.itely
Documentation/user/GNUmakefile
Documentation/user/editorial.itely
Documentation/user/keyboards.itely
Documentation/user/repeats.itely
Documentation/user/rhythms.itely
Documentation/user/staff.itely
Documentation/user/text.itely
Documentation/user/vocal.itely
Documentation/user/writing-texinfo.txt
GNUmakefile.in
buildscripts/check_texi_refs.py
buildscripts/make-font-dir.py [deleted file]
input/texidocs/preventing-extra-naturals-from-being-automatically-added.texidoc
input/texidocs/transposing-pitches-with-minimum-accidentals-smart-transpose.texidoc [new file with mode: 0644]
input/texidocs/tweaking-clef-properties.texidoc [new file with mode: 0644]
make/ly-targets.make
make/mutopia-targets.make
stepmake/bin/package-diff.py [deleted file]
stepmake/stepmake/GNUmakefile
stepmake/stepmake/generic-targets.make
stepmake/stepmake/texinfo-targets.make
stepmake/stepmake/toplevel-targets.make
stepmake/stepmake/www-rules.make [deleted file]
stepmake/stepmake/www-targets.make [deleted file]
stepmake/stepmake/www-vars.make [deleted file]

index d669eb09e0821b73a0d909b7979ddc8cef4ba62e..7d30c8533f6286b12c346fe5d8fff45fb77e32b8 100644 (file)
@@ -91,3 +91,24 @@ update-translation:
 translation-status:
        make -C po out=www messages
        $(PYTHON) $(buildscript-dir)/translations-status.py $(buildscript-dir)
+
+local-help: extra-local-help
+
+extra-local-help:
+       @echo -e "\
+  check-xrefs [ISOLANG=LL] validate Texinfo cross-references\n\
+  fix-xrefs [ISOLANG=LL]   interactively fix Texinfo cross-references (use with caution)\n\
+\n\
+Translations specific targets (see TRANSLATION for details):\n\
+  new-lang ISOLANG=LL  create and initialize subdirectory \'LL' for language \'LL\n\
+  po-update            update and replace PO files for documentation with msgmerged versions\n\
+  check-translation ISOLANG=LL   show changes in English docs since last translation update\n\
+  update-translation ISOLANG=LL  call $$$$EDITOR to help updating the translation\n\
+  skeleton-update ISOLANG=LL     update Texinfo skeleton files\n\
+  snippet-update ISOLANG=LL      update ly snippets in Texinfo translation according to\n\
+                              docs in English (use with caution)\n\
+\n\
+LL refers to the desired locale (most often only the ISO 639 language code).\n"
+
+info:
+       $(MAKE) -C user info
index cdb789af3acd728f0ddbda2fe73559066540dcca..b333202de883e0944bf79aa8916d19cf41c90113 100644 (file)
@@ -864,13 +864,13 @@ correctamente con las ligaduras.
 Las alteraciones accidentales no se deben imprimir dentro de las ligaduras, sino que deben
 reunirse e imprimirse juntas delante de ellas.
 
-La sintaxis todavía utiliza el obsoleto estilo infijo @code{\[ música expresión
-\]}.  Por motivos de consistencia, esto cambiará algún día al estilo
-postfijo @code{nota\[ ... nota\]}.  De forma alternativa, puede incluirse el archivo
-@file{gregorian@/-init@/.ly}; proporciona una función de
-Scheme
+La sintaxis todavía utiliza el obsoleto estilo infijo
+@code{\[ expresión_musical \]}.  Por motivos de consistencia, esto cambiará
+algún día al estilo postfijo @code{nota\[ ... nota\]}.  De forma
+alternativa, puede incluirse el archivo @file{gregorian@/-init@/.ly};
+proporciona una función de Scheme
 @example
-\ligature @var{música expresión}
+\ligature @var{expresión_musical}
 @end example
 que causa el mismo efecto y se supone que es lo bastante estable.
 
index 0f5da51411886969a2dc07b893fc47c389c4b4c9..5f4b6ea1f12035f394c772e1a4fc571623d9bf87 100644 (file)
@@ -146,7 +146,7 @@ place les silences en fonction des notes qui les suivront. Ainsi :
 
 @seealso
 
-Dans ce même manuel : @ruser{Changing staff manually}.
+Dans ce même manuel : @ref{Changing staff manually}.
 
 Référence du programme : @rinternals{AutoChangeMusic}.
 
index 0247f74b1e69445027cc2221f9ceb155cd7c4f10..eb4577dcc3dad493026e783bce15c736a495f10f 100644 (file)
@@ -38,6 +38,8 @@ LOCALSTEPMAKE_TEMPLATES=lilypond ly
 
 include $(depth)/make/stepmake.make
 
+default:
+
 info: $(INFO_FILES)
        @echo export LILYPOND_DATADIR=$(LILYPOND_DATADIR)
        @echo export PYTHONPATH=$(PYTHONPATH)
@@ -50,8 +52,6 @@ xml: $(outdir)/lilypond/lilypond.xml $(outdir)/lilypond-internals/lilypond-inter
 local-install-WWW: local-install-info
 local-uninstall-WWW: local-uninstall-info
 
-default:
-
 local-clean:
        rm -f $(INFO_IMAGES_DIR)
 
@@ -60,7 +60,6 @@ local-help: extra-local-help
 extra-local-help:
        @echo -e "\
   info        update info pages\n\
-  ps          update PostScript documents\n\
   xml        update Docbook xml documentation\n\
 "
 
index a2c8f01b72157ec02bfc5e4808a8970fe5e90a28..939d28293b9b41c0b0e4b9c602618fe64e500ead 100644 (file)
@@ -168,7 +168,7 @@ staff, see @ref{Controlling direction and placement}.
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {controlling-the-placement-of-chord-fingerings.ly}
 
 
@@ -398,7 +398,7 @@ made invisible.
 @cindex stem, down
 @cindex stem, neutral
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {default-direction-of-stems-on-the-center-line-of-the-staff.ly}
 
 @seealso
@@ -531,7 +531,7 @@ lines.
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {grid-lines--changing-their-appearance.ly}
 
 
index f4eced4ada84c3ed696264e60789c2613fd39e1c..3a0760f6c600660486270c2cca1191c9ecf70e14 100644 (file)
@@ -86,7 +86,7 @@ as shown in @rlearning{Other uses for tweaks}.
 @end itemize
 
 @snippets
-@c @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@c @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 @c {creating-slurs-across-voices.ly}
 
 @seealso
index 05719dd24152cf5ec0de6a32f110a178a4915aaa..222f4c65cf15de58b8ca6c746ad2f646fb2691e2 100644 (file)
@@ -142,10 +142,10 @@ c1
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {shortening-volta-brackets.ly}
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {adding-volta-brackets-to-additional-staves.ly}
 
 
index 83ecb95d70ea09b8afa46593693fb59285c49fd7..b6a4dd4d9f09511afd634ca052ae06909ea263f3 100644 (file)
@@ -249,15 +249,15 @@ see @ref{Scaling durations}.
 @funindex tupletNumberFormatFunction
 @funindex tupletSpannerDuration
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {entering-several-tuplets-using-only-one--times-command.ly}
 
 @funindex TupletNumber
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {changing-the-tuplet-number.ly}
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {permitting-line-breaks-within-beamed-tuplets.ly}
 
 @seealso
@@ -487,10 +487,10 @@ commands.
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {using-ties-with-arpeggios.ly}
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {engraving-ties-manually.ly}
 
 
@@ -583,7 +583,7 @@ a4\rest d4\rest
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {rest-styles.ly}
 
 
@@ -817,13 +817,13 @@ alongside and to the left of the measure count numeral.
 @cindex rest, church
 @cindex kirchenpausen
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {changing-form-of-multi--measure-rests.ly}
 
 @cindex multi-measure rests, positioning
 @cindex positioning multi-measure rests
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {positioning-multi--measure-rests.ly}
 
 @seealso
@@ -992,7 +992,7 @@ the 9/8 measure is subdivided in 2, 2, 2 and 3.  This is passed to
 @cindex compound time signatures
 @cindex time signature, compound
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {compound-time-signatures.ly}
 
 
index 074c395a767445a63d3f1764e9f9e991529a48af..d9f8e151a489cb9851b11274dc7b6da442559bab 100644 (file)
@@ -239,10 +239,10 @@ piano music and @code{ChoirStaff} for all kind of vocal ensemble music.
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {use-square-bracket-at-the-start-of-a-staff-group.ly}
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {display-bracket-with-only-one-staff-in-a-system.ly}
 
 @cindex mensurstriche layout
@@ -250,7 +250,7 @@ piano music and @code{ChoirStaff} for all kind of vocal ensemble music.
 @cindex transcription of mensural music
 @cindex mensural music, transcription of
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {mensurstriche-layout-bar-lines-between-the-staves.ly}
 @c FIXME: move to NR 2.8.x when sectioning is ready
 
@@ -378,7 +378,7 @@ source code, for instructions how to set them see @ref{Instrument names}.
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {nesting-staves.ly}
 
 
@@ -547,7 +547,7 @@ b b
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {making-some-staff-lines-thicker-than-the-others.ly}
 
 @seealso
@@ -744,7 +744,7 @@ of which it is written.
 @end lilypond
 
 @c FIXME not yet in master
-@c lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@c lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 @c {remove-the-first-empy-line.ly}
 
 @predefined
index 01626800de567d3db148003886e429b00d64ffa0..dea840d0cb088e0f2929328cef79b9712e7fc825 100644 (file)
@@ -209,13 +209,13 @@ c c
 
 @snippets
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {printing-marks-at-the-end-of-a-line-or-a-score.ly}
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {aligning-marks-with-various-notation-objects.ly}
 
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {printing-marks-on-every-staff.ly}
 
 @seealso
index 76d7be98c51a18690d6c4ce67025125f0a6a31b6..61681d7a63e633533766495b47c67b377aa5cc87 100644 (file)
@@ -785,7 +785,7 @@ layout.
 @end lilypond
 
 @snippets
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {aligning-lyrics.ly}
 
 @c TODO Create and add lsr example of lyricMelismaAlignment
index a7ecb9543f7980a42bc5247efe0b77da4d0477e6..448b281fdeba85fd4ef5ae45d235847b3a309eb6 100644 (file)
@@ -66,8 +66,9 @@ commands.
   {pitches-headword.ly}
 
 * LSR snippets are linked with
-  @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+  @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
   {filename.ly}
+  excepted in Templates, where `doctitle' may be omitted.
 
 * Avoid long stretches of input code.  Noone is going to read them
   in print.  Please create a smaller example.  (the smaller
index 23c0d0e0d5024e0630ee8ebc8f7731afbe30b016..c1704ef2305be1fbe4c8a52abc9c6f095c90f023 100644 (file)
@@ -110,7 +110,7 @@ src-ext = c cc yy ll hh icc py scm tex ps texi itexi tely itely sh
 
 web-clean: snippets-clean $(tree-share-prefix)/lilypond-force
 
-default: $(config_h) build-dir-setup 
+default: $(config_h) build-dir-setup
 
 build-dir-setup: $(tree-share-prefix)/lilypond-force
 
index 4e8f5eedb9267542e3ef3f6d4c368344d9ed9008..c7f31fa5ad2c1cfe39a1e7e44a8816ba2d3bdde3 100755 (executable)
@@ -331,6 +331,7 @@ in the list)\n")
 def check_ref (manual, file, m):
     global fixes_count, bad_refs_count
     bad_ref = False
+    fixed = True
     type = m.group (1)
     original_name = m.group (2)
     name = whitespace_re.sub (' ', original_name). strip ()
@@ -461,7 +462,7 @@ node name and manual for this x-ref by index number or beginning of name:\n", \
     bad_refs_count += int (bad_ref)
     if bad_ref and not useful_fix:
         stdout.write ("*** Warning: this file is automatically generated, \
-please fix the code source manually.\n")
+please fix the code source instead of generated documentation.\n")
 
     # compute returned string
     if new_name == name:
@@ -488,5 +489,5 @@ except InteractionError, instance:
     log.write ("Operation refused by user: %s\nExiting.\n" % instance)
     sys.exit (3)
 
-log.write ("Done, %d bad x-refs found, fixed %d.\n" %
+log.write ("Done: %d bad x-refs found, fixed %d.\n" %
            (bad_refs_count, fixes_count))
diff --git a/buildscripts/make-font-dir.py b/buildscripts/make-font-dir.py
deleted file mode 100644 (file)
index b6a3541..0000000
+++ /dev/null
@@ -1,259 +0,0 @@
-#!@PYTHON
-
-
-
-## make a fonts.scale file.
-
-
-import re
-import sys
-import string
-import os
-
-
-### mftrace/afm.py
-
-# Read some global vars 
-class Afm_reader:
-    def __init__ (self, filename):
-        self.filename = filename
-        self.lines = open (self.filename).readlines ()
-
-    def get_afm (self):
-        afm = Afm_font_metric (self.filename)
-        for i in self.lines[:20]:
-            m = re.match ('([^ \t\n]*)[ \t]*(.*[^ \t\n])', i)
-            if m and m.group (1):
-                key = m.group (1)
-                value = m.group (2)
-                if key != 'Comment':
-                    afm.__dict__[key] = value
-        return afm
-
-class Afm_font_metric:
-    def __init__ (self, filename):
-        m = re.match ('.*/(.+)', filename)
-        self.filename = m.group (1)
-        m = re.match ('([-_A-Za-z]*)([0-9]*)', self.filename)
-        self.name = m.group (1) + m.group (2)
-        self.basename = m.group (1)
-        self.designsize = m.group (2)
-    
-def read_afm_file (filename):
-    reader = Afm_reader (filename)
-    return reader.get_afm ()
-
-#if __name__ == '__main__':
-#        i = read_afm_file  (sys.argv[1])
-#        print i, i.FullName, i.FontName
-
-### mftrace
-
-class Font_info:
-    cm = {
-        'bx': ('bold', 'roman'),
-        'bxti' : ('bold', 'italic'),
-        'csc' : ('smallcaps', 'roman'),
-        'r' : ('regular', 'roman'),
-        'ss' : ('regular', 'sansserif'),
-        'tt' : ('regular', 'typewriter'),
-        'ti' : ('regular', 'italic'),
-        }
-       
-    def set_defaults (self, name):
-        self.FontName = name
-        self.FullName = name
-        self.EncodingScheme = 'AdobeStandard'
-        
-        self.foundry = 'GNU'
-        self.family = 'LilyPond'
-        self.weight = 'Feta'
-        self.slant = 'r'
-        self.setwidth = 'normal'
-        self.style = ''
-        self.pixelsize = '0'
-        self.pointsize = '0'
-        self.xresolution = '0'
-        self.yresolution = '0'
-        self.spacing = 'p'
-        self.averagewidth = '0'
-        self.registry = 'GNU'
-        self.encoding = 'FontSpecific'
-
-        split = string.split (name, '-')
-        if len (split) >= 4:
-            # Assume
-            #   Adobe FontName = X11 foundry-family-weight-style
-            if 1:
-                self.foundry, self.family = split[:2]
-            else: # testin'
-                self.foundry = split[0]
-                self.family = string.join (split[1:-2], ' ')
-            self.weight = string.join (split[2:-1], ' ')
-            self.style = split[-1:][0]
-            self.FamilyName = '%s %s' % (self.family, self.weight)
-            self.designsize = self.style
-        elif name[:2] == 'cm':
-            self.foundry = 'TeX' # Knuth?
-            self.FamilyName = 'Computer Modern'
-            self.family = self.FamilyName
-            m = re.match ('^cm([a-z]*)([0-9]*)', name)
-            self.weight = string.join (self.cm[m.group (1)], ' ')
-            self.designsize = m.group (2)
-            self.style = self.designsize
-        else:
-            self.FamilyName = name
-
-    def __init__ (self, x):
-        if type (x) == type ("hallo"):
-            m = re.match ('([-_A-Za-z]*)([0-9]*)', x)
-            self.name = x
-            self.basename = m.group (1)
-            self.designsize = m.group (2)
-            self.set_defaults (x)
-        elif type (x) == type ({}):
-            self.set_defaults (x['FontName'])
-            for k in x.keys ():
-                self.__dict__[k] = x[k]
-
-    def __getitem__ (self, key):
-        return self.__dict__[key]
-
-    def get_X11 (self):
-        return (self.foundry, self.family, self.weight,
-            self.slant, self.setwidth, self.style,
-            self.pixelsize, self.pointsize,
-            self.xresolution, self.yresolution,
-            self.spacing, self.averagewidth,
-            self.registry, self.encoding)
-
-fontinfo = {}
-
-# wat een intervaas...
-ls =  sys.stdin.readline ()
-ls = string.split (ls)
-
-sketch_p = 0
-sodipodi_p = 0
-if len (ls) and ls[0] == 'sodipodi':
-    ls = ls[1:]
-    sodipodi_p = 1
-elif len (ls) and ls[0] == 'sketch':
-    ls = ls[1:]
-    sketch_p = 1
-
-if not (sketch_p or sodipodi_p):
-    print len(ls)
-    
-for filename in ls:
-    basename = re.sub ('\.pf[ab]', '',filename)        
-    fontname = re.sub ('-', ' ',basename)
-
-    m = re.search ("([0-9]+)$", fontname)
-    designsize = 'normal'
-
-    
-    if m:
-        designsize =  m.group (1)
-        fontbase = re.sub ("([0-9]+)$", "", fontname)
-        
-
-    # FIXME: Font naming  -- what a mess
-    # Check sane naming with xfontsel and gtkfontsel
-
-    # Adobe's font naming scheme and X11's seem to be conflicting.
-    # Adobe's FontFamily seems to be X11's family + weight
-    # Also, text selection applets like gtkfontsel, gfontview and
-    # GNOME-applications specific ones, display X11's `family'
-    # parameter as `Font', and X11's `Weight' parameter as `Style'.
-
-    # Using X11 description/convention -- good for xfontsel:
-    #  1 foundry: GNU
-    #  2 family: LilyPond <basename>
-    #  3 weight: <designsize>
-    #  4 slant: r(oman) =upright
-    #  5 setwidth: normal
-    #  6 style:
-    #  7 pixelsize: 0
-    #  8 pointsize: 0 (20 crashes xfs, moved to style)
-    #  9 xresolution: 0
-    # 10 yresolution: 0
-    # 11 spacing: p(roportional)
-    # 12 averagewidth: 0
-    # 13 registry: GNU
-    # 14 encoding: fonstpecific
-
-    # gives:
-    # feta20.pfa -GNU-LilyPond feta-20-r-normal--0-0-0-0-p-0-gnu-fontspecific
-
-    # However, GNOME (gtkfontsel, gnome apps) seems to want:
-
-    #  1 foundry: GNU
-    #  2 family: LilyPond
-    #  3 weight:  <basename>
-    #  4 slant: r(oman) =upright
-    #  5 setwidth: normal
-    #  6 style: <designsize>
-    #  7 pixelsize: 0
-    #  8 pointsize: 0 (20 crashes xfs, moved to style)
-    #  9 xresolution: 0
-    # 10 yresolution: 0
-    # 11 spacing: p(roportional)
-    # 12 averagewidth: 0
-    # 13 registry: GNU
-    # 14 encoding: fonstpecific
-
-    # which gives:
-    # feta20.pfa -GNU-LilyPond-feta-r-normal--20-0-0-0-p-0-gnu-fontspecific
-    # foundry: GNU
-    
-    ## ouch, pointsize 20 crashes xfs
-    ## XXXfeta20.pfa -GNU-LilyPond Feta-regular-r-normal--0-20-0-0-p-0-gnu-fontspecific
-
-    ## feta20.pfa -GNU-LilyPond feta-regular-r-normal-20-0-0-0-0-p-0-gnu-fontspecific
-
-    afmfile = ''
-    if not afmfile:
-        #afmfile = find_file (basename + '.afm')
-        afmfile = basename + '.afm'
-        
-    if afmfile:
-        afmfile = os.path.abspath (afmfile)
-    if os.path.exists (afmfile):        
-        afm = read_afm_file (afmfile)
-        fontinfo = Font_info (afm.__dict__)
-    else:
-        fontinfo = Font_info (basename)
-        
-    family_name = string.join (string.split (fontinfo['FamilyName'],
-                            '-'), ' ')
-
-    if sodipodi_p:
-        print string.join ((os.path.abspath (filename),
-                  fontinfo.FamilyName,
-                  fontinfo.FamilyName,''
-                  ),
-                 
-                 ',')
-                 
-    elif sketch_p:
-        # Sketch's lilypond.sfd map:
-        s = string.join ([fontinfo.FontName,
-                 fontinfo.family,
-                 '%s %s' % (fontinfo.weight, fontinfo.style),
-                 string.join (fontinfo.get_X11 ()[:4], '-'),
-                 string.join (fontinfo.get_X11 ()[-2:], '-'),
-                 fontinfo.name],
-                ',')
-        print s
-
-        s = string.join ([fontinfo.FamilyName + fontinfo.designsize,
-                 fontinfo.family,
-                 '%s %s' % (fontinfo.weight, fontinfo.style),
-                 string.join (fontinfo.get_X11 ()[:4], '-'),
-                 string.join (fontinfo.get_X11 ()[-2:], '-'),
-                 fontinfo.name],
-                ',')
-        print s
-    else:
-        print filename + ' -' + string.join (fontinfo.get_X11 (), '-')
index 75d3e46e7974aaf24fd504ca3b499c4daf3bf58e..52a6ea54ba78a49b9341a649a564bbe6ead0f155 100644 (file)
@@ -4,3 +4,11 @@ un bécarre avant un dièse ou un bémol si on a besoin d'annuler une
 altération précédente.  Pour modifier ce comportement, assignez la propriété
 @code{extraNatural} du contexte @code{Staff} à la valeur @code{##f} (faux).
 "
+texidoces = "
+Según las reglas estándar de composición tipográfica, se imprime un becuadro
+antes de un sostenido o un bemol cuando se tiene que cancelar una alteración anterior
+en la misma nota.  Para modificar este comportamiento, establezca el valor de la
+propiedad @code{extraNatural}  a @code{##f} (falso) dentro del
+contexto de @code{Staff}.
+
+"
\ No newline at end of file
diff --git a/input/texidocs/transposing-pitches-with-minimum-accidentals-smart-transpose.texidoc b/input/texidocs/transposing-pitches-with-minimum-accidentals-smart-transpose.texidoc
new file mode 100644 (file)
index 0000000..6135064
--- /dev/null
@@ -0,0 +1,27 @@
+texidoces = "
+Este ejemplo utiliza código de Scheme para forzar las
+modificaciones enarmónicas de las notas, y así tener el menor
+número de alteraciones accidentales. En este caso se aplican las
+siguientes reglas:
+
+@itemize
+@item
+Se quitan las dobles alteraciones
+
+@item
+Si sostenido -> Do
+
+@item
+Mi sistenido -> Fa
+
+@item
+Do bemol -> Si
+
+@item
+Fa bemol -> Mi
+
+@end itemize
+
+De esta forma se selecciona el mayor número de notas enarmónicas
+naturales.
+"
\ No newline at end of file
diff --git a/input/texidocs/tweaking-clef-properties.texidoc b/input/texidocs/tweaking-clef-properties.texidoc
new file mode 100644 (file)
index 0000000..ff36a0a
--- /dev/null
@@ -0,0 +1,34 @@
+texidoces = "
+La instrucción @code{\\clef \"treble_8\"} equivale a un ajuste de
+@code{clefGlyph}, @code{clefPosition} (que controla la posición
+vertical de la clave), @code{middleCPosition} y
+@code{clefOctavation}. Se imprime una clave cada vez que se
+modifica cualquiera de las propiedades excepto
+@code{middleCPosition}.
+
+
+Observe que la modificación del glifo, la posición de la clave o
+su octavación, no cambian 'per se' la posición de las siguientes
+notas del pentagrama: para hacer esto también se debe especificar
+la posición del Do central. Los parámetros posicionales están en
+relación con la tercera línea del pentagrama, los números
+positivos desplazan hacia arriba, contando una unidad por cada
+línea y espacio. El valor de @code{clefOctavation} se
+establecería normalmente a 7, -7, 15 or -15, pero son válidos
+otros valores.
+
+
+Cuando se produce un cambio de clave en el salto de línea se
+imprime la clave nueva tanto al final de la línea anterior como al
+principio de la nueva, de forma predeterminada.  Si no se necesita
+la clave de advertencia al final de la línea anterior, se puede
+quitar estableciendo el valor de la propiedad
+@code{explicitClefVisibility} de @code{Staff}, a
+@code{end-of-line-invisible}. El comportamiento predeterminado se
+puede recuperar con @code{\\unset Staff.explicitClefVisibility}.
+
+Los siguientes ejemplos muestran las posibilidades cuando se
+ajustan estas propiedades manualmente.  En la primera línea, los
+cambios manuales preservan el posicionamiento relativo estándar de
+las claves y las notas, pero no lo hacen en la segunda línea.
+"
\ No newline at end of file
index a2d621b154c81eb103453a8ea076d0830fb3bb0b..3cbdd81b6df5b17d2a394b4572d6089d3ae1fdba 100644 (file)
@@ -4,5 +4,4 @@ convert-ly: local-convert-ly
 local-convert-ly:
        $(PYTHON) $(CONVERT_LY) --edit --assume-old *ly
 
-local-help: local-ly-help
-
+local-help:
index dab3f46d05c76630b3a6856dbe0c85fe51f3e285..4a12833a556621119315215f2bdd2ad783abdebb 100644 (file)
@@ -1,7 +1,3 @@
-
-include $(stepdir)/www-targets.make
-
-
 .PHONY: download mutopia png ps scores tar
 
 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
diff --git a/stepmake/bin/package-diff.py b/stepmake/bin/package-diff.py
deleted file mode 100644 (file)
index 679e0a9..0000000
+++ /dev/null
@@ -1,353 +0,0 @@
-#!@PYTHON@
-
-#
-# TODO: CLEAN THIS UP, merge packagepython.py and release.py 
-#
-
-
-
-import fnmatch
-import sys
-import os
-import re
-import string
-import getopt
-import pipes
-
-
-_debug = 0
-_prune = ['(*)']
-package_diff_dir = '/tmp/package-diff.%s/' % os.getlogin () 
-
-def system (cmd):
-    print cmd
-    s = os.system (cmd)
-    if s:
-        raise 'barf'
-
-    
-def find(pattern, dir = os.curdir):
-    list = []
-    names = os.listdir(dir)
-    names.sort()
-    for name in names:
-        if name in (os.curdir, os.pardir):
-            continue
-        fullname = os.path.join(dir, name)
-        if fnmatch.fnmatch(name, pattern):
-            list.append(fullname)
-        if os.path.isdir(fullname) and not os.path.islink(fullname):
-            for p in _prune:
-                if fnmatch.fnmatch(name, p):
-                    if _debug: print "skip", `fullname`
-                    break
-            else:
-                if _debug: print "descend into", `fullname`
-                list = list + find(pattern, fullname)
-    return list
-
-
-topdir = os.getcwd ()
-def gulp_file(f):
-    try:
-        i = open(f)
-        i.seek (0, 2)
-        n = i.tell ()
-        i.seek (0,0)
-    except:
-        sys.stderr.write ("can't open file: %s\n" % f)
-        return ''
-    s = i.read (n)
-    if len (s) <= 0:
-        sys.stderr.write ("gulped emty file: %s\n" % f)
-    i.close ()
-    return s
-
-
-def mailaddress():
-    try:
-        return os.environ['MAILADDRESS']
-    except KeyError:
-        return '(address unknown)'
-
-
-
-class Flags:
-    def __init__ (self):
-        self.to_version = 0
-        self.from_version = 0
-        self.package = 0
-
-flags = Flags ()
-
-def help ():
-    sys.stdout.write (
-        'Generate a patch to go to current version\n'
-        '  -f, --from=FROM      old is FROM\n'
-        '  -h, --help           print this help\n'
-        '      --outdir=DIR     generate in DIR\n'
-        '  -o, --output=NAME    write patch to NAME\n'
-        '  -p, --package=DIR    specify package\n'
-        '  -r, --release        diff against latest release\n'  
-        '  -t, --to=TO          to version TO\n'  
-        '  -F, --dir-from=FROM  diff from directory FROM\n'  
-        '  -T, --dir-to=TO      diff to directory TO\n'  
-        )
-
-def cleanup ():
-    global from_diff, to_diff, original_dir
-    os.chdir (package_diff_dir)
-    sys.stderr.write ('Cleaning ... ')
-    system ('rm -fr %s %s' % (from_diff, to_diff))
-    sys.stderr.write ('\n')
-    os.chdir (original_dir)
-
-def untar (fn):
-    # system ('pwd');
-    try:
-        open (fn)
-    except:
-        sys.stderr.write ("Can't find tarball: %s\n" % fn)
-        cleanup ()
-        sys.exit (1)
-    sys.stderr.write ("Untarring: %s\n" % fn)
-    system ('gzip --quiet -dc ' + fn + '| tar xf - ')
-    sys.stderr.flush ()
-
-def remove_automatic (dirnames):
-    files = []
-
-    for d in dirnames:
-        try:
-            for p in pats:
-                files = files + find (p, d)
-        except:
-            sys.stderr.write ("Can't find dir: %s\n" % d)
-            cleanup ()
-            sys.exit (1)
-
-    dirs = map (lambda d: find ('out*', d), dirnames)
-    dirs = reduce (lambda x,y:  x + y, dirs)
-    
-    #print dirs
-
-    for d in dirs:
-        if os.path.isdir (d):
-            files = files + find ('*', d)
-        
-    for f in files:
-        try:
-            os.remove (f)
-        except:
-            sys.stderr.write ("can't remove: `" + f + "'\n'")
-
-def dirname (v):
-    return flags.package.name + '-' + version_tuple_to_str (v)
-
-def tarball(v):
-    return dirname (v)  + '.tar.gz'
-
-def released_tarball(v):
-    return flags.package.release_dir + tarball (v)
-
-
-def remove_configure (dir):
-    os.chdir (dir)
-
-    # ugh
-    system ('rm -f *.ly')
-
-    # should do 'make distclean ?'
-    system ('rm -rf debian/out GNUmakefile config.cache config.h config.hh config.log config.make config.status configure stepmake/GNUmakefile stepmake/config.hh stepmake/config.log stepmake/config.status stepmake/config.make')
-
-    # ugh: symlinks
-    system ('rm -f stepmake/stepmake/stepmake stepmake/stepmake/bin')
-
-
-# ugh, how to get rid of .tex files generated by lily?
-pats = ['configure', '*.diff', '*.diff.gz', '*.pyc',  '*.txt']
-
-header = """Generated by %s,
-From = %s, To = %s
-
-usage 
-
-  cd %s-source-dir; patch -E -p1 < %s
-
-Patches do not contain automatically generated files 
-or (urg) empty directories, 
-i.e., you should run
-
-    ./autogen.sh
-    ./configure [your options.]
-
-    
-"""
-
-
-def makediff (fromdir, todir, patch_name):
-    remove_automatic ([fromdir, todir])
-    
-    # ugh
-    remove_configure (fromdir)
-    remove_configure (todir)
-    os.chdir (todir)
-    
-    fromname = fromdir
-    toname = todir
-    if os.path.dirname (fromname) == os.path.dirname (toname):
-        fromname = os.path.basename (fromname)
-        toname = os.path.basename (toname)
-        fromdir = '../' + fromname
-
-    f = open (patch_name, 'wb')
-    f.write (header %
-        (mailaddress (),   fromname, toname, 
-        flags.package.name, os.path.basename (patch_name)))
-
-    f.close ()
-            
-    sys.stderr.write ('diffing to %s... ' % patch_name)
-    system ('pwd')
-    print ('diff -purN %s . >> %s' % (fromdir, patch_name))
-    system ('diff -purN %s . >> %s' % (fromdir, patch_name))
-    system ('gzip --quiet -9f %s' % patch_name)
-
-os.environ['GZIP'] = '-q'
-print 'argv: ' + string.join (sys.argv[1:])
-(options, files) = getopt.getopt (sys.argv[1:], 
-    'hF:f:o:p:rT:t:', ['conf=', 'from=', 'dir-from=', 'dir-to=', 'help', 'outdir=', 'output=', 'package=', 'release', 'to='])
-
-patch_name = ''
-conf = ''
-outdir = ''
-from_src = ''
-to_src = ''
-release=0
-from_version=0
-to_version=0
-for opt in options:
-    o = opt[0]
-    a = opt[1]
-    if o == '--from' or o == '-f':
-        from_version = a
-    elif o == '--to' or o == '-t':
-        to_version = a
-    elif o == '--dir-from' or o == '-F':
-        from_src = a;
-    elif o == '--dir-to' or o == '-T':
-        to_src = a;
-    elif o == '--help' or o == '-h':
-        help ()
-        sys.exit (0)
-    elif o == '--outdir':
-        outdir = a
-    elif o == '--conf':
-        conf = a
-    elif o == '--output' or o == '-o':
-        patch_name = a
-    elif o == '-p' or o == '--package':
-        topdir = a
-    elif o == '--release' or o == '-r':
-        release=1
-    else:
-        raise getopt.error
-
-sys.path.append (topdir + '/stepmake/bin')
-from packagepython import *
-package = Package (topdir)
-flags.package = package
-packager = Packager ()
-
-if from_src:
-    from_package = Package (from_src)
-    flags.from_version = from_package.version
-if from_version:
-    flags.from_version = version_str_to_tuple (from_version)
-    from_src = ''
-
-if to_src:
-    to_package = Package (to_src)
-    flags.to_version = to_package.version
-if to_version:
-    flags.to_version = version_str_to_tuple (to_version)
-    to_src = ''
-
-if not flags.to_version:
-    flags.to_version = package.version
-
-if not flags.from_version:
-    flags.from_version = prev_version (flags.to_version)
-
-# urg
-if release:
-    flags.from_version = (flags.from_version[0], 
-        flags.from_version[1], flags.from_version[2], '');
-
-import tempfile
-original_dir = os.getcwd ();
-
-system ('rm -rf %s' % package_diff_dir) 
-try:
-    os.mkdir (package_diff_dir)
-except:
-    pass
-
-from_diff = dirname (flags.from_version)
-to_diff =  dirname (flags.to_version)
-if to_diff == from_diff:
-    if from_src:
-       from_diff = from_diff + '.src'
-    elif to_src:
-       to_diff = to_diff + '.src'
-    else:
-       sys.stderr.write (patch_name + ': nothing to do: to == from = ' + from_diff + '\n')
-       sys.exit (1)
-
-def compat_abspath (path):
-    return os.path.normpath (os.path.join (os.getcwd (), path))
-
-if conf and not outdir:
-    outdir = 'out-' + conf
-
-if not patch_name:
-    patch_name = os.path.join (outdir, '%s-%s-%s.diff' % (package.name,
-                               version_tuple_to_str (flags.from_version),
-                               version_tuple_to_str (flags.to_version)))
-
-    patch_name = compat_abspath (patch_name)
-
-from_diff = package_diff_dir + from_diff
-to_diff =  package_diff_dir + to_diff
-
-if not from_src:
-    os.chdir (package_diff_dir)
-    untar (released_tarball (flags.from_version))
-    os.chdir (original_dir)
-else:
-    sys.stderr.write ('copying ' + from_src + ' to ' + from_diff + '\n')
-    # system ('cp -pr %s %s' % (srcdir, from_diff))
-    system ('mkdir -p %s '% (from_diff))
-    os.chdir (from_src)
-    system ('tar cf - --exclude out --exclude out-www . \
-        | tar -xf - -C %s' % from_diff)
-
-
-if not to_src:
-    os.chdir (package_diff_dir)
-    untar (released_tarball (flags.to_version))
-    os.chdir (original_dir)
-else:
-    sys.stderr.write ('copying ' + to_src + ' to ' + to_diff + '\n')
-    system ('mkdir -p %s '% (to_diff))
-    # system ('cp -pr %s %s'  (to_src, to_diff))%
-    os.chdir (to_src)
-    system ('tar -cf - --exclude out --exclude out-www . \
-        . | tar -xf - -C %s ' % to_diff)
-
-os.chdir (to_diff)
-makediff (from_diff, to_diff, patch_name) 
-
-cleanup ()
-
index 5905642e3f1407866cdaccbe808d952f3836f330..f2c693ba22478c33bbc2d485b57dbc11c0e1756e 100644 (file)
@@ -10,7 +10,7 @@ depth = ../..
 SUBDIRS =
 #
 
-STEPMAKE_TEMPLATES=makedir install www
+STEPMAKE_TEMPLATES=makedir install
 
 # bootstrap stepmake:
 #
index 8407cb69e0ae6662b43f0f9572c003d9f9e436ad..28c4a46ca3d513c36f1c6896d3565f3c43a70040 100644 (file)
@@ -1,4 +1,4 @@
-.PHONY : all clean config default diff dist doc exe help html lib TAGS\
+.PHONY : all clean config default dist doc exe help html lib TAGS\
         po
 
 all:    default
@@ -32,43 +32,38 @@ maintainerclean:
        $(MAKE) local-distclean
 
 
-# configure:
-#
+# This doesn't allow command-line options, is it really useful? -jm
 config:
        ./$(src-depth)/configure
-#
 
 
-# target help:
-#
 generic-help:
        @echo -e "\
 Makefile for $(PACKAGE_NAME) $(TOPLEVEL_VERSION)\n\
 Usage: make ["VARIABLE=value"]... [TARGET]\n\
 \n\
-Targets:\n"
+Targets specific to current directory:\n"
 
 help: generic-help local-help
-       @echo -e "\
-  all         update everything\n\
-  clean       remove all generated stuff in $(outdir)\n\
-  check       run self tests\n\
+       @echo -e "Generic targets:\n\
+  all *       update everything except website documentation\n\
+  clean *     remove all generated stuff in $(outdir)\n\
   default     same as the empty target\n\
   exe         update all executables\n\
   help        this help\n\
-  install     install programs and data (prefix=$(prefix))\n\
+  install *   install programs and data (prefix=$(prefix))\n\
   lib         update all libraries\n\
-  web         update website in directory \`out-www'\n\
-  web-install install website documentation in (webdir=$(webdir))\n\
-  web-clean   clean \`out-www' directory\n\
+  web *       update website in directory \`out-www'\n\
+  web-install * install website documentation in (webdir=$(webdir))\n\
+              and Info documentation with images\n\
+  web-clean * clean \`out-www' directory\n\
   TAGS        generate tagfiles\n\
 \n\
 \`make' may be invoked from any subdirectory.\n\
-Note that all commands recurse into subdirectories;\n\
+Note that all commands marked with a star (*) recurse into subdirectories;\n\
 prepend \`local-' to restrict operation to the current directory.\n\
-Example: \`local-clean'.\n"
+Example: \`local-clean'."
 
-# "
 local-help:
 
 local-dist: $(DIST_FILES) $(OUT_DIST_FILES) $(NON_ESSENTIAL_DIST_FILES)
@@ -163,18 +158,6 @@ $(config_make): $(top-src-dir)/configure
        touch $@                # do something for multiple simultaneous configs.
 
 
-deb:
-       $(MAKE) -C $(depth)/debian
-       cd $(depth) && debuild
-
-diff:
-       $(PYTHON) $(step-bindir)/package-diff.py  --outdir=$(top-src-dir)/$(outdir) --package=$(top-src-dir) $(makeflags)
-       -ln -f $(depth)/$(outdir)/$(distname).diff.gz $(patch-dir)
-
-release:
-       $(PYTHON) $(step-bindir)/release.py --outdir=$(top-src-dir)/$(outdir) --package=$(top-src-dir)
-
-
 ################ website.
 
 local-WWW:
index 488b81f24bac9423cce410b380e337f505f694e7..aeda6e617159333834802997d9642e688b4239a8 100644 (file)
@@ -117,4 +117,11 @@ texinfo-all-menus-update:
        -$(foreach i, $(TEXINFO_SOURCES), echo q | emacs --batch --no-site-file $(i) --eval $(TEXINFO_ALL_MENUS_UPDATE_EL); )
        $(foreach i, $(sort $(TEXINFO_SOURCES)), if diff -u $(i)~ $(i); then mv $(i)~ $(i);  fi && ) true
 
+local-help: local-texinfo-help
+
+local-texinfo-help:
+       @echo -e "\
+  info [out=www]  update Info documentation (use \`out=www' for having images)\n\
+  install-info [out=www]   install Info documentation (idem)\n\
+  texinfo-all-menus-update update node menus in Texinfo source files (use with caution)\n"
 
index 28628efb029b101f15570e8f17b3f6a4f716b0b5..1068981c11a0a962e599cc0407a52fa7919fcd17 100644 (file)
@@ -1,5 +1,3 @@
-include $(stepdir)/www-targets.make
-
 local-dist: configure
 
 local-distclean:
@@ -52,32 +50,20 @@ dist:
        (cd ./$(depth)/$(outdir); $(TAR) -cf -  --owner=0 --group=0 $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
        rm -rf $(distdir)/
 
-#
-#
 local-help:
        @echo -e "\
   config      rerun configure\n\
-  deb         build Debian package\n\
-  diff        generate patch: $(depth)/$(outdir)/$(distname).diff.gz\n\
-  .           Options:\n\
-  .             from=0.1.74\n\
-  .             help==\n\
-  .             release==\n\
-  .             to=0.1.74.jcn2\n\
   dist        roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\
   distclean   also remove configure output\n\
   doc         update all documentation (without images)\n\
   cvs-clean   also remove out directories and generated files\n\
-  info        update info docs (without images)\n\
-  info out=www  update info docs with images\n\
   maintainerclean also remove distributed generated files\n\
   po          make new translation Portable Object database\n\
   po-replace  do po-update and replace catalogs with msgmerged versions\n\
   po-update   update translation Portable Object database\n\
-  release     roll tarball and generate patch\n\
 \n\
-Some of these top level targets (diff, dist, release) can be issued\n\
-from anywhere in the source tree.\n\
-"\
-#
+Some more targets are available for testing changes:\n\
+  test-baseline  check  test-redo  test-clean\n\
+For more information on these targets, see Testing LilyPond\n\
+in Application Usage documentation.\n"
 
diff --git a/stepmake/stepmake/www-rules.make b/stepmake/stepmake/www-rules.make
deleted file mode 100644 (file)
index 1bb8bf6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# empty
diff --git a/stepmake/stepmake/www-targets.make b/stepmake/stepmake/www-targets.make
deleted file mode 100644 (file)
index 108d4b9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# moved to generic-targets.make
\ No newline at end of file
diff --git a/stepmake/stepmake/www-vars.make b/stepmake/stepmake/www-vars.make
deleted file mode 100644 (file)
index 1bb8bf6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# empty