* scm/music-functions.scm (set-output-property): new function.
+2003-09-27 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * scripts/lilypond.py (escape_path): revise.
+
+ * scm/music-functions.scm (set-output-property): new function.
+
2003-09-27 Jan Nieuwenhuizen <janneke@gnu.org>
* cygwin/mknetrel: Next try in building doc on Cygwin natively;
2003-09-27 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * scripts/lilypond.py (escape_path): escape quotes too.
+
* Documentation/user/lilypond.tely (Unified index): rename Index
to accomodate Windows breakage.
2003-09-25 Han-Wen Nienhuys <hanwen@cs.uu.nl>
- * lily/tie-performer.cc (initialize): init prev_event
+ * lily/tie-performer.cc (initialize): init prev_event
* make/lilypond.redhat.spec.in: move site-start back to /usr/share.
-#(ly:set-option 'old-relative)
+
\version "1.9.8"
-% definately wil be renamed to something.
+
+% definitely wil be renamed to something.
%{
(Message vers:9)
To: Adrian Mariano <adrian@camcornelledu>.
extra-staff.ly:
%}
+
\header{ texidoc="@cindex Staff Extra
@cindex Staff Ossia
You can add an extra staff after the beginning of a piece. "}
\new StaffGroup \notes\relative c''{
\new Staff
c1 c
- << \new Staff { c1 } \new Staff { c1 } >>
+ << c1 \new Staff { c1 } >>
c
}
>>
(if (func grob)
(ly:set-grob-property! grob sym val)))
+
+(define-public ((set-output-property grob-name symbol val) grob grob-c context)
+ "Usage:
+
+\\applyoutput #(set-output-property 'Clef 'extra-offset '(0 . 1))
+
+"
+
+ (let*
+ ((meta (ly:get-grob-property grob 'meta)))
+
+ (if (equal? (cdr (assoc 'name meta)) grob-name)
+ (ly:set-grob-property! grob symbol val)
+ )))
+
+
;;
(define-public (smart-bar-check n)
"Make a bar check that checks for a specific bar number.
def escape_shell (x):
- return re.sub (r'''([^\\])([`'"\\\s])''', r'\1\\\2', x)
- # help emacs'" broken python mode
+ return re.sub ("(\s|[`'\"\\\\])", r'\\\1',x)
+
def run_lilypond (files, dep_prefix):
def make_include_option (x):