]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scm/chord-name.scm: don't export anything from chord module.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 24 Dec 2002 20:24:13 +0000 (20:24 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 24 Dec 2002 20:24:13 +0000 (20:24 +0000)
* input/test/american-chords.ly: idem

* input/test/banter-chords.ly (texidoc): idem

* input/test/Cc-chords.ly: add breakage notes.

* Documentation/user/refman.itely (Text markup): rewrite manual section.

* scm/chord-name.scm: complete new markup usage

* scm/grob-description.scm (all-grob-descriptions): use new markup
texts by default

12 files changed:
ChangeLog
Documentation/user/refman.itely
NEWS
VERSION
input/test/Cc-chords.ly
input/test/american-chords.ly
input/test/banter-chords.ly
scm/chord-name.scm
scm/grob-description.scm
scm/pdf.scm
scm/pdftex.scm
scm/tex.scm

index 7d1c4f3ac6c993cc9a38a067c1564d7578d1d9c8..369f1cf90320d2bfd0ec407da16060639a182e09 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2002-12-24  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * scm/chord-name.scm: don't export anything from chord module.
+
+       * input/test/american-chords.ly: idem
+
+       * input/test/banter-chords.ly (texidoc): idem
+
+       * input/test/Cc-chords.ly: add breakage notes.
+
        * Documentation/user/refman.itely (Text markup): rewrite manual section.
 
        * lily/parser.yy (scalar): allow \markup { } as property value. 
index a2c3e86dd015fb6c04a89696cb3e49d265873b2d..9ee10571c849c96c1d4cc0e17cf4f03f2051006a 100644 (file)
@@ -22,7 +22,7 @@
 @end html
 
 This document describes GNU LilyPond and its input format. The last
-revision of this document was made for LilyPond 1.6.2.  It assumes
+revision of this document was made for LilyPond 1.7.10.  It assumes
 that you already know a little bit about LilyPond input (how to
 make an input file, how to create sheet music from that input file,
 etc).  New users are encouraged to study the tutorial before reading
diff --git a/NEWS b/NEWS
index 9023c8953077046d1663d3e089103ab6ab137927..42e668e58f2aeb53a537d0bcfa0898871df44aef 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,49 +1,69 @@
 New features in 1.7 since 1.6
 
-* Deeper integration of the input language and Scheme. You can now use
+* INPUT
+
+** Text entry is now done in a separate mode, and is more ergonomic
+than the previous Scheme texts.
+
+** Deeper integration of the input language and Scheme. You can now use
 LilyPond identifiers in Scheme, and use Scheme expressions instead of
 LilyPond identifiers.
 
-* Music types cleaned up and Schemified.  
+** Music types cleaned up and Schemified.  
 
-* New syntax for chords:
+** New syntax for chords:
 
        << PITCHES >>
 
-This is in addition to the < MUSICS > syntax for simultaneous music. Combined with this: uniform postfix syntax for articulations:
+This is in addition to the < MUSICS > syntax for simultaneous
+music. Combined with this: uniform postfix syntax for articulations:
 
        c8-[-( d8-]-) 
 
 for a beamed slurred pair of eighth notes.
 
-* Texts on multimeasure rests can be set by the user.
+** User code evaluation during interpreting. Syntax
+
+       \applycontext #SCHEME-FUNCTION
+
+** XML music output.
+
+
+
+* OUTPUT
+
+** Preliminary Sodipodi/SVG output
 
-* Zigzagged glissandi
 
-* XML music output.
 
-* Preliminary Sodipodi/SVG output
+* NOTATION
 
-* Cluster support. Syntax:
+* Completely rewritten text formatting support. It is implemented in a
+completely modular way.
+
+** Texts on multimeasure rests can be set by the user.
+
+** Zigzagged glissandi
+
+** Cluster support. Syntax:
 
        NOTE-\openCluster
        ..
        NOTE-\closeCluster
 
-* Beat grouping indications. Syntax:
+** Beat grouping indications. Syntax:
 
        #(set-time-signature 7 8 '(3 2 2))
 
-* User code evaluation during interpreting. Syntax
-
-       \applycontext #SCHEME-FUNCTION
-
-* Nested horizontal brackets for music analysis.
+** Nested horizontal brackets for music analysis.
 
        NOTE-\groupOpen
                ..
        NOTE-\groupClose
 
+
+
+
 New features in 1.6 since 1.4
 
 * Support for figured bass and tablature.
diff --git a/VERSION b/VERSION
index 63a6402caa7658996b206879fe482b3f9d05c51e..14717bb7ef36f6f4f8541ac2a0e6ae31a1410e83 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,7 +1,7 @@
 PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=7
-PATCH_LEVEL=9
+PATCH_LEVEL=10
 MY_PATCH_LEVEL=
 
 # Use the above to send patches: MY_PATCH_LEVEL is always empty for a
index 9190c8a993dd3bedbba38ceb53d48927e08af4a0..f26556285c307602721e07bd0ff93cbd2bc1862d 100644 (file)
@@ -1,13 +1,32 @@
 \version "1.7.6"
 \header {
-  texidoc="Jazz chord names, but with lower case names for minor chords"
+  texidoc="Jazz chord names, but with lower case names for minor chords
+
+BROKEN. FIXME.
+"
 }
 
-#(assoc-set! chord::names-alist-jazz
-  '((0 . 0) (2 . -1)) '(""))
 
-#(assoc-set! chord::names-alist-jazz
-   '((0 . 0) (2 . -1) (4 . 0) (6 . -1)) '("7"))
+%%%
+%%  UGH UH GUG UHGUHGHGH GHG
+% -- this is fucking up global name space.
+%
+% imagine doing
+% 
+%   lilypond Cc-chords.ly ..other-files-testing-chords...
+%
+% then the other files will get messed up.
+%%
+
+%{
+
+FIXME:
+
+%#(assoc-set! chord::names-alist-jazz
+%  '((0 . 0) (2 . -1)) '(""))
+
+%#(assoc-set! chord::names-alist-jazz
+%   '((0 . 0) (2 . -1) (4 . 0) (6 . -1)) '("7"))
 
 #(define (pitch->chord-name-text-banter pitch additions)
   (let ((name (pitch->text-banter pitch)))
@@ -17,6 +36,8 @@
               (substring (car name) 1))
               (cdr name))
        name)))
+%}
+
 
 \score {
   <
index 5c4294dbf1b866c04575dfd71f069b5c0f23e288..287066c091963ac703199cca1450f223b1e6d5b5 100644 (file)
@@ -1,15 +1,26 @@
 \version "1.7.6"
 \header {
-    texidoc = "Chord names in american styles, according to one of our users."
+    texidoc = "Chord names in american styles, according to one of our users.
+
+
+FIXME
+
+"
 }
 
 \include "english.ly"
-#(set! chord::names-alist-american
-      (append 
-      '(
-        ;; any changes here, see scm/chord-name.scm
-       )
-      chord::names-alist-american))
+
+
+%%FIXME:
+
+% DON'T  do this in the test file, it messes up all other files in the directory.
+
+% #(set! chord::names-alist-american
+%     (append 
+%     '(
+%       ;; any changes here, see scm/chord-name.scm
+%      )
+%      chord::names-alist-american))
 
 scheme = \chords {
   c         % Major triad
index 84b68a23ab414e6839e72d5defad2edbb73d0706..51539b3087b00291956e036343ec9c6adab0c5ff 100644 (file)
@@ -2,9 +2,12 @@
 
 
 \header{
-enteredby =     "jcn"
-copyright =     "public domain"
-TestedFeatures =        "Banter named chords"
+texidoc =  "banter  chords
+
+
+FIXME
+
+"
 }
 
 % test German (Banter) naming
@@ -16,7 +19,10 @@ TestedFeatures =      "Banter named chords"
 % eachother.  These guile lists are fixed in the guile environment
 % when this file has been parsed...
 
-% {
+%{
+
+
+%% FIXME: 
 
 #;(define chord::names-alist-banter '())
 #(set! chord::names-alist-banter
@@ -45,7 +51,7 @@ TestedFeatures =       "Banter named chords"
                                      (number->string (caddr pitch)))
                       '(font . "feta")))))))
 
-% }
+%}
 
 chord =  \notes\transpose c' c''\chords{
        % dim modifier means: lower all implicit additions
index 33bc295c71b8966d3f8eb95816da8c97a3514dc5..6cc1c3ea84c130c37cdafad5541085c44f0cb8a0 100644 (file)
 
 
 "
-
 TODO:
 
 - Use lilypond Pitch objects -- SCM pitch objects lead to
 duplication. LilyPond pitch objects force meaningful names
 (i.e. (ly:pitch-octave PITCH)  )
 
-
 - Pitches are musical objects. The pitches -> markup step should
 happen earlier (during interpreting), brew-molecule () should only
-dump reinterpret the markup as a molecule.
-
-
-"
+dump reinterpret the markup as a molecule. " ; "
 
 
 ;; pitch = (octave notename alteration)
@@ -60,9 +55,7 @@ dump reinterpret the markup as a molecule.
 ;;
 ;; * doc strings
 
-(define-public chord::names-alist-banter '())
-(set! chord::names-alist-banter
-      (append 
+(define chord::names-alist-banter
        `(
        ; C iso C.no3.no5
        (((0 . 0)) . ,empty-markup)
@@ -89,8 +82,7 @@ dump reinterpret the markup as a molecule.
         . (,line-markup ((,simple-markup "dim")
                          (,super-markup (,simple-markup "11 ")))))
        
-       )
-      chord::names-alist-banter))
+       ))
 
 ;;;;;;;;;;
 
@@ -345,7 +337,7 @@ dump reinterpret the markup as a molecule.
       (list (ly:pitch-octave p) (ly:pitch-notename p) (ly:pitch-alteration p))
       #f))
 
-(define-public (chord::name-banter tonic exception-part unmatched-steps
+(define (chord::name-banter tonic exception-part unmatched-steps
                            bass-and-inversion steps)
    (let ((additions (chord::additions unmatched-steps))
         (subtractions (chord::subtractions unmatched-steps)))
@@ -354,12 +346,15 @@ dump reinterpret the markup as a molecule.
                               bass-and-inversion steps)))
 
 
+(define chord-module (current-module))
 (define (chord::restyle name style)
-  (primitive-eval ;;   "UGGHGUGHUGHG"
-
+  ;;   "UGGHGUGHUGHG"
+  (eval
    (string->symbol
     (string-append (symbol->string name)
-                  (symbol->string style)))))
+                  (symbol->string style)))
+   chord-module
+   ))
 
 
 ;; this is unintelligible.
@@ -478,10 +473,9 @@ dump reinterpret the markup as a molecule.
 
 ;; DONT use non-ascii characters, even if ``it works'' in Windows
 
-(define-public chord::names-alist-american '())
 
-(set! chord::names-alist-american
-      (append 
+(define chord::names-alist-american
+      
        `(
         (((0 . 0)) . ,empty-markup)
         (((0 . 0) (2 . 0)) . ,empty-markup)
@@ -535,8 +529,7 @@ dump reinterpret the markup as a molecule.
         (((0 . 0) (2 . 0) (4 . 0) (6 . -1) (1 . 0)) . (,simple-markup "9"))
         (((0 . 0) (2 . -1) (4 . 0) (6 . -1) (1 . 0)) . (,simple-markup "m9"))
 
-        )
-      chord::names-alist-american))
+        ))
 
 ;; American style chordnames use no "no",
 ;; but otherwise very similar to banter for now
@@ -583,9 +576,8 @@ dump reinterpret the markup as a molecule.
 
   `(line-markup ,(map  do-one arg-list)))
 
-(define-public chord::names-alist-jazz '())
-(set! chord::names-alist-jazz
-      (append 
+(define chord::names-alist-jazz 
+  (append 
       '(
        ;; major chords
        ; major sixth chord = 6
index 8ec3691833e870fe54763ddb9837818d7b5e25bd..e208d4eb9d8ea3538c90a6cce67e416f974e57a1 100644 (file)
        (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
        (direction . 1)
        (font-family . number)
+       (font-magnification . 0.6)
        (font-relative-size . -3)
        (padding . 0.1)
        (kern . 0.2)
index 004f37e9a54daf6884152e9e138a10f12f8c256b..07c5b145f07f4691cb543d54ef9018105a8e7318 100644 (file)
 (define (define-origin a b c ) "")
 (define (no-origin) "")
 
-(define my-eval-in-module eval)
-
-(if (or (equal? (minor-version) "4.1")
-       (equal? (minor-version) "4")
-       (equal? (minor-version) "3.4"))
-    (set! my-eval-in-module eval-in-module))
-
 (define-public (pdf-output-expression expr port)
-  (display (my-eval-in-module expr this-module) port) )
+  (display (eval expr this-module) port) )
 
 
 ; Local Variables:
index 23ed01adb8b5373548848d2d97aee7e317ecad46..3a287439ce2214ae2e55e73091555dc3dad87926 100644 (file)
 
 
 
-(define my-eval-in-module eval)
-
-(if (or (equal? (minor-version) "4.1")
-       (equal? (minor-version) "4")
-       (equal? (minor-version) "3.4"))
-    (set! my-eval-in-module eval-in-module))
 
 (define-public (pdftex-output-expression expr port)
-  (display (my-eval-in-module expr this-module) port) )
+  (display (eval expr this-module) port) )
index 378821ac6d716201339d6ea150fd6466c401e1bf..cdb5cec39ea0fa00e60c22ed98f2381c53698720 100644 (file)
 ;; no-origin not yet supported by Xdvi
 (define (no-origin) "")
 
-(define my-eval-in-module eval)
-
-(if (or (equal? (minor-version) "4.1")
-       (equal? (minor-version) "4")
-       (equal? (minor-version) "3.4"))
-    (set! my-eval-in-module eval-in-module))
-
 (define-public (tex-output-expression expr port)
-  (display (my-eval-in-module expr this-module) port )
+  (display (eval expr this-module) port )
   )