scroll to left upper corner with pdf bookmarks
This commit is contained in:
parent
b41e2a62a4
commit
e6725b84d4
@ -41,7 +41,7 @@
|
|||||||
(ly:make-stencil
|
(ly:make-stencil
|
||||||
(list 'embedded-ps
|
(list 'embedded-ps
|
||||||
(ly:format
|
(ly:format
|
||||||
"[/Action /GoTo /View [/Fit] /Title (~a) /OUT pdfmark" (pdf-encode title)))
|
"[/Action /GoTo /View [/XYZ -4 currentpagedevice /PageSize get 1 get 4 add null] /Title (~a) /OUT pdfmark" (pdf-encode title)))
|
||||||
empty-interval empty-interval
|
empty-interval empty-interval
|
||||||
;'(0 . 0) '(0 . 0)
|
;'(0 . 0) '(0 . 0)
|
||||||
))
|
))
|
||||||
@ -52,12 +52,9 @@
|
|||||||
(starttext (chain-assoc-get 'header:starttext props #f))
|
(starttext (chain-assoc-get 'header:starttext props #f))
|
||||||
(pdfbookmark (if starttext (string-append starttext " | " title) title)))
|
(pdfbookmark (if starttext (string-append starttext " | " title) title)))
|
||||||
(if title
|
(if title
|
||||||
;(if (chain-assoc-get 'header:categories props #f)
|
|
||||||
(if right
|
(if right
|
||||||
#{\markup { \title-to-pdf-toc #pdfbookmark \fill-line \general-align #Y #UP { \null \bookTitleMarkupCustom \category-images } } #}
|
#{\markup { \title-to-pdf-toc #pdfbookmark \fill-line \general-align #Y #UP { \null \bookTitleMarkupCustom \category-images } } #}
|
||||||
#{\markup { \title-to-pdf-toc #pdfbookmark \fill-line \general-align #Y #UP { \category-images \bookTitleMarkupCustom \null } } #})
|
#{\markup { \title-to-pdf-toc #pdfbookmark \fill-line \general-align #Y #UP { \category-images \bookTitleMarkupCustom \null } } #})
|
||||||
;#{\markup \fill-line \general-align #Y #UP { \null \bookTitleMarkupCustom \null } #})
|
|
||||||
;(make-null-markup))
|
|
||||||
#{ \markup { " " } #})
|
#{ \markup { " " } #})
|
||||||
)))
|
)))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user