--- /dev/null
+\version "2.13.60"
+
+\header {
+
+ texidoc = "Links to labels should not break if the label doesn't exist."
+
+}
+
+\book {
+ \markup { \with-link #'dummy \concat { "Link to non-existing label" } }
+}
\ No newline at end of file
url))
(define (page-link page-no x y)
- (ly:format "~a ~a currentpoint vector_add ~a ~a currentpoint vector_add ~a mark_page_link"
- (car x)
- (car y)
- (cdr x)
- (cdr y)
- page-no))
+ (if (number? page-no)
+ (ly:format "~a ~a currentpoint vector_add ~a ~a currentpoint vector_add ~a mark_page_link"
+ (car x)
+ (car y)
+ (cdr x)
+ (cdr y)
+ page-no)
+ ""))
(define* (path thickness exps #:optional (cap 'round) (join 'round) (fill? #f))
(define (convert-path-exps exps)