Autorenverzeichnis sortiert
This commit is contained in:
parent
883c32701c
commit
152d56fe3f
@ -135,7 +135,12 @@
|
|||||||
'elements (list (make-music 'LabelEvent
|
'elements (list (make-music 'LabelEvent
|
||||||
'page-label label)))))
|
'page-label label)))))
|
||||||
(set! author-index-items (lambda ()
|
(set! author-index-items (lambda ()
|
||||||
(hash-fold (lambda (authorsym authorlist previous-author-items) (append previous-author-items (reverse authorlist))) '() author-index-hash))))
|
(append-map cdr
|
||||||
|
(sort-list
|
||||||
|
(hash-map->list
|
||||||
|
(lambda (authorsym authorlist) (cons (string-downcase (symbol->string authorsym)) (reverse authorlist)))
|
||||||
|
author-index-hash)
|
||||||
|
(lambda (a b) (string-ci<? (car a) (car b))))))))
|
||||||
|
|
||||||
|
|
||||||
#(define-markup-command (with-link-symbol-ref layout props symbol arg)
|
#(define-markup-command (with-link-symbol-ref layout props symbol arg)
|
||||||
@ -214,7 +219,7 @@
|
|||||||
#(make-on-the-fly-markup
|
#(make-on-the-fly-markup
|
||||||
(lambda (layout props m)
|
(lambda (layout props m)
|
||||||
(interpret-markup layout props
|
(interpret-markup layout props
|
||||||
(make-justify-string-markup (format-author (ly:output-def-lookup layout 'authorFormat) (chain-assoc-get 'index:text props #f) #f))))
|
(make-justify-string-markup (format-author (ly:output-def-lookup layout 'authorFormat) (chain-assoc-get 'index:text props #f) #t))))
|
||||||
(make-null-markup))
|
(make-null-markup))
|
||||||
\vspace #.4
|
\vspace #.4
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user