]> git.donarmstrong.com Git - lilypond.git/commit
Add feature to link to a particular page or a page containing a given label
authorReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 12 Apr 2011 10:16:59 +0000 (12:16 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 15 Apr 2011 13:49:25 +0000 (15:49 +0200)
commit3d571d9c80b7855422c96ecc6966bcbfa4dfb9ff
tree8ce98c218c83f8bb95bf71a34eac087998873d12
parent9f651e1f5143787aeda825a4061f82eede4943a3
Add feature to link to a particular page or a page containing a given label

The main part of this patch was done by Dan Eble and posted to the
lilypond-devel mailinglist on December 27, 2010.

Like \with-url, this works only with the PDF backend.

-) Add markup functions \with-link (links to the page containing the
   given label) and \page-link (links to the given page number)
-) Internally, they are handled like the \with-url markup function,
   creating a pdfmark in the .ps file that creates the link in the
   PDF file.
-) Add links to the pages for all TOC entries.
Documentation/changes.tely
input/regression/page-links.ly [new file with mode: 0644]
input/regression/toc.ly
ly/toc-init.ly
ps/music-drawing-routines.ps
scm/define-markup-commands.scm
scm/define-stencil-commands.scm
scm/output-ps.scm