use starttext and better PDF bookmarks

This commit is contained in:
tux
2024-12-01 15:48:25 +01:00
parent db26306b5b
commit c4f3a3c196
2 changed files with 5 additions and 2 deletions

View File

@ -48,8 +48,9 @@
#(define-markup-command (title-with-category-images layout props right)(boolean?)
(interpret-markup layout props
(let* ((title (chain-assoc-get 'header:title props #f))
(pdfbookmark (chain-assoc-get 'header:songfilename props title)))
(let* ((title (chain-assoc-get 'header:title props ""))
(starttext (chain-assoc-get 'header:starttext props #f))
(pdfbookmark (if starttext (string-append starttext " | " title) title)))
(if title
;(if (chain-assoc-get 'header:categories props #f)
(if right