lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a SIMPLE way to embed an href in a title?


From: David Kastrup
Subject: Re: Is there a SIMPLE way to embed an href in a title?
Date: Fri, 22 Jul 2022 05:10:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Kevin Cole <dc.loco@gmail.com> writes:

> Hi,
>
> The subject line pretty much says it all (or most).
>
> Ideally, I'd like to be able to do something like:
>
> \header {
>   title = "<a href='...'>This is the title</a>"
> }
>
> and have Lilypond generate a PDF with the tile linking to wherever I point it/
>
> I'm hoping to avoid lots of Scheme, lilypond-book, TeX, etc, etc. that
> I don't understand. The cost / benefit isn't worth writing a whole lot
> of additional code to accomplish the linking. (The linking isn't
> critical enough to be worth a lot of time, and I can think of simpler,
> though less satisfactory solutions.)

>From the manual:

‘\with-url’ URL (string) ARG (markup)

     Add a link to URL URL around ARG.  This only works in the PDF
     backend.

          \markup {
            \with-url #"https://lilypond.org/"; {
              LilyPond ... \italic {
                music notation for everyone
              }
            }
          }



-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]