]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/lookup.cc (slur): Invoke bezier-bow.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 16 Jun 2002 12:25:09 +0000 (12:25 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 16 Jun 2002 12:25:09 +0000 (12:25 +0000)
* scm/tex.scm (bezier-bow):
* scm/ps.scm (bezier-bow): Bezier sandwich with rounded endings
(Previously named bezier-sandwich).

* scm/tex.scm (bezier-sandwich):
* scm/ps.scm (bezier-sandwich): Plain bezier sandwich.

* make/lilypond.mandrake.spec.in (post):
* make/lilypond.suse.spec.in (post):
* make/lilypond.redhat.spec.in (post): Also remove parmesan fonts.

* ly/espanol.ly: Spanish note names by Carlos Garc'ia Su'arez
<cgscqmp@terra.es>.

13 files changed:
ChangeLog
Documentation/windows/post-lilypond.sh
lily/lookup.cc
ly/espanol.ly [new file with mode: 0644]
make/lilypond.mandrake.spec.in
make/lilypond.redhat.spec.in
make/lilypond.suse.spec.in
scm/ascii-script.scm
scm/pdf.scm
scm/pdftex.scm
scm/ps.scm
scm/sketch.scm
scm/tex.scm

index 32ff909025f95a2085a279db8db008cb8a1dd84c..8c38697d2af369aef8cf5927b32ce6994aa5b212 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,18 @@
 2002-06-16  Jan Nieuwenhuizen  <janneke@gnu.org>
 
-       * make/lilypond.redhat.spec.in (post): Also remove parmesan fonts.
+       * lily/lookup.cc (slur): Invoke bezier-bow.
+
+       * scm/tex.scm (bezier-bow): 
+       * scm/ps.scm (bezier-bow): Bezier sandwich with rounded endings
+       (Previously named bezier-sandwich).
+       
+       * scm/tex.scm (bezier-sandwich):
+       * scm/ps.scm (bezier-sandwich): Plain bezier sandwich.
 
+       * make/lilypond.mandrake.spec.in (post): 
+       * make/lilypond.suse.spec.in (post): 
+       * make/lilypond.redhat.spec.in (post): Also remove parmesan fonts.
+       
        * tex/lilyponddefs.tex: Uncomment feta character support.
 
        * Documentation/user/refman.itely (Pitches): Add espanol.ly
index 8259c90f64d6431b3f376d31d011aeeb798bc067..a94028275c769556af15239454571b39356a290a 100644 (file)
@@ -1,6 +1,10 @@
 #!@SHELL@
 # /etc/profile.d/post-lily.sh  -- Setup LilyPond
 
+# touch /tmp/.lilypond-install  -- from redhat.spec, why?
+rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm' -print'`
+# rm /tmp/.lilypond-install
+
 rm -f /usr/lilypond
 lily=@prefix@
 ln -s $lily /usr/lilypond
index e59699292d2832860d07da13db7f7e19dc6a9212..157b474ade2f5ec19bc07b1bd7310c98efced1a7 100644 (file)
@@ -217,7 +217,7 @@ Lookup::slur (Bezier curve, Real curvethick, Real linethick)
     }
   
   
-  SCM at = (scm_list_n (ly_symbol2scm ("bezier-sandwich"),
+  SCM at = (scm_list_n (ly_symbol2scm ("bezier-bow"),
                     ly_quote_scm (list),
                     gh_double2scm (linethick),
                     SCM_UNDEFINED));
diff --git a/ly/espanol.ly b/ly/espanol.ly
new file mode 100644 (file)
index 0000000..be0bc22
--- /dev/null
@@ -0,0 +1,70 @@
+%{
+
+ Common Spanish names for notes. "b" means flat (bemol), "s" means
+ sharp (sostenido).
+ Adapted from italiano.ly.
+
+ English: a   b   c   d   e   f   g
+ Spanish: la  si  do  re  mi  fa  sol
+
+ For some strange reason, dutch.ly and german.ly were renamed to
+ follow the (ms-dos?) norsk naming convention.
+
+ For spanish.ly, it should actually be "espa~nol.ly" with a "n with
+ tilde on top" As the n with tilde is possibly not a good character to
+ have I would write without the tilde, that is "espanol.ly"
+
+%}
+
+% contributed by Carlos Garc'ia Su'arez <cgscqmp@terra.es>
+
+
+% For using "sostingut" notation, which is also correct
+\pitchnames #`(
+       (dobb . ,(make-pitch -1 0 -2 ))
+       (dob . ,(make-pitch -1 0 -1 ))
+       (do . ,(make-pitch -1 0 0 ))
+       (dos . ,(make-pitch -1 0 1 ))
+       (doss . ,(make-pitch -1 0 2 ))
+
+       (rebb . ,(make-pitch -1 1 -2 ))
+       (reb . ,(make-pitch -1 1 -1 ))
+       (re . ,(make-pitch -1 1 0 ))
+       (res . ,(make-pitch -1 1 1 ))
+       (ress . ,(make-pitch -1 1 2 ))
+
+       (mibb . ,(make-pitch -1 2 -2 ))
+       (mib . ,(make-pitch -1 2 -1 ))
+       (mi . ,(make-pitch -1 2 0 ))
+       (mis . ,(make-pitch -1 2 1 ))
+       (miss . ,(make-pitch -1 2 2 ))
+
+       (fabb . ,(make-pitch -1 3 -2 ))
+       (fab . ,(make-pitch -1 3 -1 ))
+       (fa . ,(make-pitch -1 3 0 ))
+       (fas . ,(make-pitch -1 3 1 ))
+       (fass . ,(make-pitch -1 3 2 ))
+
+       (solbb . ,(make-pitch -1 4 -2 ))
+       (solb . ,(make-pitch -1 4 -1 ))
+       (sol . ,(make-pitch -1 4 0 ))
+       (sols . ,(make-pitch -1 4 1 ))
+       (solss . ,(make-pitch -1 4 2 ))
+
+       (labb . ,(make-pitch -1 5 -2 ))
+       (lab . ,(make-pitch -1 5 -1 ))
+       (la . ,(make-pitch -1 5 0 ))
+       (las . ,(make-pitch -1 5 1 ))
+       (lass . ,(make-pitch -1 5 2 ))
+
+       (sibb . ,(make-pitch -1 6 -2 ))
+       (sib . ,(make-pitch -1 6 -1 ))
+       (si . ,(make-pitch -1 6 0 ))
+       (sis . ,(make-pitch -1 6 1 ))
+       (siss . ,(make-pitch -1 6 2 ))
+)
+
+
+
+\version "1.5.49"
index 073071203ead9dee580e2ca3606698cd8e0c072e..90e57085c89e0d4994898450da8a174b2511cf7a 100644 (file)
@@ -96,7 +96,7 @@ cp AUTHORS.txt CHANGES COPYING DEDICATION FAQ.txt NEWS README.txt VERSION README
 
 %post
 touch /tmp/.lilypond-install
-rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install
+rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm' -print'` /tmp/.lilypond-install
 /usr/bin/mktexlsr
 %_install_info lilypond.info
 %_install_info lilypond-internals.info
index 10858db7a51bdd146802bf7d35f523a571b5515c..9dc6c3f12573acd72a864bf763d0bc3d42c99f00 100644 (file)
@@ -81,7 +81,7 @@ tar -C web -xzf out/web.tar.gz
 %post
 
 touch /tmp/.lilypond-install
-rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install
+rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm' -print'` /tmp/.lilypond-install
 
 %if info=="yes"
 /sbin/install-info %{_prefix}/info/lilypond.info.gz %{_prefix}/info/dir 
index c020772e43096682c89c7d0f53c416c4bfebcce0..ebe46c3ecfdd671c2f13645a84eae7d9f6a088cf 100644 (file)
@@ -185,7 +185,7 @@ fi
 %post
 
 touch /tmp/.lilypond-install
-rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install
+rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm' -print'` /tmp/.lilypond-install
 %if info=="yes"
 /usr/bin/install-info %{_prefix}/info/lilypond.info.gz %{_prefix}/info/dir || true
 %endif
index 5413ee1b988b2caa166d9a6e2f2ad154c0f4128c..760b6096bea20ce6f6b589d78405ca0b93363833 100644 (file)
@@ -91,7 +91,7 @@
    ))
 
                                        ; simple flat slurs
-(define (bezier-sandwich l thick)
+(define (bezier-bow l thick)
   (let (
        (c0 (cadddr l))
        (c1 (cadr l))
index 834e217ea32a48228295dc7cbafe432b6985c090..684a986fbf1a220dbba3adccaa77ebba034d2df2 100644 (file)
 
 (define (placebox x y s) "")
 
+;; TODO: bezier-ending, see ps.scm
+(define (bezier-bow l thick)
+  (bezier-sandwich l thick))
+
 (define (bezier-sandwich l thick)
   (string-append (setlinewidth thick)
                 (moveto-pair (list-ref l 7))
index 871841d81db3e2b4058c7ddf5b823537e803b1a3..f193a37ed7e0952a78bc4c3772a85845bf988582 100644 (file)
    "\\placebox{"
    (number->dim y) "}{" (number->dim x) "}{" s "}\n"))
 
+(define (bezier-bow l thick)
+  (embedded-pdf (list 'bezier-bow  `(quote ,l) thick)))
+
 (define (bezier-sandwich l thick)
   (embedded-pdf (list 'bezier-sandwich  `(quote ,l) thick)))
 
index 3fd3ad1828048bb0698b39a8af57311d18c1b517..b0f1bdb41d9275a2324275d24558913c63fcbea4 100644 (file)
   (string-append 
    (ly-number->string x) " " (ly-number->string y) " {" s "} place-box\n"))
 
+;; two beziers
 (define (bezier-sandwich l thick)
+  (string-append 
+   (apply string-append (map control->string l))
+   (ly-number->string thick)
+   " draw_bezier_sandwich "))
+
+;; two beziers with round endings
+(define (bezier-bow l thick)
   (string-append 
    (apply string-append (map control->string l))
    (ly-number->string thick)
    (bezier-ending (list-ref l 3) (list-ref l 0) (list-ref l 5))
    (bezier-ending (list-ref l 7) (list-ref l 0) (list-ref l 5))))
 
+;; two beziers with round endings
 (define (bezier-ending z0 z1 z2)
   (let ((x0 (car z0))
        (y0 (cdr z0))
index 5ecc07d96b55f130293ca662557e946e6545d4a6..9e784d5d8be9aa16e925c0042f8c44ad98299914 100644 (file)
@@ -230,6 +230,9 @@ layer('Layer 1',1,1,0,0,(0,0,0))
 (define (invoke-char s i)
   "")
 
+;; TODO: bezier-ending, see ps.scm
+(define (bezier-bow x y l thick)
+  (bezier-sandwich x y l thick))
 
 (define (bezier-sandwich x y l thick)
   (apply
index 1f0a22b403798cb7d4a774c437edde3b47bb79c5..4df648dd0b77833fbe098db6553342ab6e240399 100644 (file)
    "\\placebox{"
    (number->dim y) "}{" (number->dim x) "}{" s "}%\n"))
 
+(define (bezier-bow l thick)
+  (embedded-ps (list 'bezier-bow  `(quote ,l) thick)))
+
 (define (bezier-sandwich l thick)
   (embedded-ps (list 'bezier-sandwich  `(quote ,l) thick)))