if options.uncovered:
chunks = filter_uncovered (chunks)
- chunks = [(c.uncovered_score (), c) for c in chunks]
+ chunks = [(c.uncovered_score (), c) for c in chunks if c.uncovered_score() > 0]
elif options.hotspots:
chunks = [((c.coverage_count, -c.length()), c) for c in chunks]
--- /dev/null
+\header
+{
+
+ texidoc = "test various markup commands."
+
+}
+\paper { ragged-right = ##T }
+\version "2.11.13"
+
+{
+ g'_\markup {
+ \column {
+ \line {
+ foo \magnify #2 foo
+ LOWER \lower #3 LOWER
+ \large \bold { normal \normal-text normal }
+ }
+
+ \override #'(line-width . 50)
+ \override #'(bla . "This is a field containing text. Blah blah
+blah. This is a field containing text. Blah blah blah. This is a
+field containing text. Blah blah blah. This is a field containing
+text. Blah blah blah. This is a field containing text. Blah blah
+blah.")
+ \column {
+ justify:
+ \justify-field #'bla
+ wordwrap:
+ \wordwrap-field #'bla
+ }
+
+ }
+ }
+}
--- /dev/null
+\header {
+ texidoc = "skip-of-length and mmrest-of-length create skips and rests that
+last as long as their arguments."
+
+}
+\paper {
+ ragged-right = ##T
+}
+
+\version "2.11.13"
+
+\relative
+<<
+ \new Staff {
+ c\breve f4 r2.
+ c\breve f4 r2.
+ s\breve^"skip"
+ }
+ \new Staff {
+ \applyMusic #skip-of-length { c\breve } f4 r2.
+ \applyMusic #mmrest-of-length { c\breve } f4 r2.
+ \displayMusic \musicMap #skip->rest s\breve
+ }
+>>
+
void
Bar_number_engraver::process_music ()
{
- // todo include (&&!time->cadenza_b_)
-
SCM wb = get_property ("whichBar");
if (scm_is_string (wb))
(ly:output-def-lookup paper 'output-scale))
(ly:bp 1)))
(landscape? (eq? (ly:output-def-lookup paper 'landscape) #t)))
- (format "%%DocumentMedia: ~a ~a ~a ~a ~a ~a\n"
- (ly:output-def-lookup paper 'papersizename)
- (round2 (if landscape? h w))
- (round2 (if landscape? w h))
- 80 ;; weight
- "()" ;; color
- "()" ;; type
+ (ly:format "%%DocumentMedia: ~a ~2f ~2f ~a ~a ~a\n"
+ (ly:output-def-lookup paper 'papersizename)
+ (if landscape? h w)
+ (if landscape? w h)
+ 80 ;; weight
+ "()" ;; color
+ "()" ;; type
)))
(make-string 1 (integer->char (+ 65 (modulo i 26))))
(string-encode-integer (quotient i 26))))))
-(define-public (ly:numbers->string lst)
- (string-join (map ly:number->string lst) " "))
-
(define (number->octal-string x)
(let* ((n (inexact->exact x))
(n64 (quotient n 64))
0
(if (< x 0) -1 1)))
-(define-public (round2 num)
- (/ (round (* 100 num)) 100))
-
-(define-public (round4 num)
- (/ (round (* 10000 num)) 10000))
-(define-public (car< a b) (< (car a) (car b)))
+(define-public (car< a b)
+ (< (car a) (car b)))
(define-public (symbol<? lst r)
(string<? (symbol->string lst) (symbol->string r)))
(define (number-pair->string4 numpair)
(ly:format "~4l" numpair))
-(define (numbers->string4 numlist)
- (string-join (map str4 numlist) " "))
-
;;;
;;; Lily output interface, PostScript implementation --- cleanup and docme
;;;