2005-01-28 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scm/part-combiner.scm (analyse-spanner-states): trigger on
+ crescendo-end as well. (decr maybe ended with Stop cresc.). Fixes:
+ partcombine-diminuendo.ly
+
+ * scm/script.scm (default-script-alist): swap portato symbols.
+
+ * lily/instrument-name-engraver.cc (acknowledge_grob): typo.
+
* lily/paper-outputter-scheme.cc (LY_DEFINE):
ly:outputter-port. New function.
s = r"""
@ifhtml
@html
-<A NAME="%s">
+<A NAME="%s"></A>
@end html
@end ifhtml
""" % n
*/
if (dynamic_cast<Spanner*> (i.grob_)
&& (i.grob_->internal_has_interface (ly_symbol2scm ("dynamic-interface"))
- || i.grob_->internal_has_interface (ly_symbol2scm ("pedal-interface")))
+ || i.grob_->internal_has_interface (ly_symbol2scm ("piano-pedal-interface")))
)
return;
enddef;
-fet_beginchar ("portato/tenuto with staccato", "dportato");
+fet_beginchar ("portato/tenuto with staccato", "uportato");
draw_portato;
fet_endchar;
-fet_beginchar ("portato/tenuto with staccato", "uportato");
+fet_beginchar ("portato/tenuto with staccato", "dportato");
draw_portato;
y_mirror_char
fet_endchar;
)))
(let* ((lines (ly:paper-book-systems book))
- (tex-system-port (open-output-file (format "~a-systems.tex" basename)))
- (texi-system-port (open-output-file (format "~a-systems.texi" basename)))
+ (tex-system-name (format "~a-systems.tex" basename))
+ (texi-system-name (format "~a-systems.texi" basename))
+ (tex-system-port (open-output-file tex-system-name))
+ (texi-system-port (open-output-file texi-system-name))
(last-line (car (last-pair lines)))
(pages (ly:paper-book-pages book))
)
+ (display (format "Writing ~a\n" tex-system-name))
+ (display (format "Writing ~a\n" texi-system-name))
(dump-lines lines 1)
(for-each (lambda (c)
(display (format "\\includegraphics{~a-~a.eps}%\n"
basename (1+ c)) tex-system-port)
(display (format "@image{~a-~a}%\n"
- basename (1+ c)) texi-system-port)
-
- )
+ basename (1+ c)) texi-system-port))
(iota (length lines)))
(display "@c eof" texi-system-port)
active))
(define (analyse-absdyn-end active ev)
- (if (equal? (ly:music-property ev 'name) 'AbsoluteDynamicEvent)
+ (if (or (equal? (ly:music-property ev 'name) 'AbsoluteDynamicEvent)
+ (and (equal? (ly:music-property ev 'name) 'CrescendoEvent)
+ (equal? STOP (ly:music-property ev 'span-direction))))
(assoc-remove! (assoc-remove! active 'cresc) 'decr)
active))
(analyse-spanner-states voice-state-vec1)
(analyse-spanner-states voice-state-vec2)
- (if #f
+ (if #t
(begin
(display voice-state-vec1)
(display "***\n")
@iftex
@include %(base)s-systems.texi
@end iftex
+
@ifnottex
@image{%(base)s,,,[image of music],%(ext)s}
@end ifnottex
and os.path.exists (system_file)\
and os.stat (system_file)[stat.ST_SIZE] \
and re.match ('% eof', open (system_file).readlines ()[-1])
-
if ok and (use_hash_p \
or self.ly () == open (ly_file).read ()):
# TODO: Do something smart with target formats
return str
def output_info (self):
- str = self.output_print_filename (HTML)
+ str = ''
for image in self.get_images ():
(base, ext) = os.path.splitext (image)