bug-lilypond
[Top][All Lists]
Advanced

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

Re: Fwd: [Feature request] attach lilypond code in pdf.


From: David Kastrup
Subject: Re: Fwd: [Feature request] attach lilypond code in pdf.
Date: Mon, 09 Jul 2012 01:24:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

-Eluze <address@hidden> writes:

> Bernard Hurley-2 wrote:
>> 
>> On Sun, Jul 08, 2012 at 11:12:40PM +0100, Colin Hall wrote:
>>> 
>>> Hi,
>>> 
>>> I'm a pretty much new user of lilypond and I have an idea for a almost
>>> dummy new feature: automatically attach lilypond code in pdf.
>>> With pdf files it is possible to attach a file into it.
>> 
>> 
>> What a great idea!
>> 
>> 
>> 
>
> the basic function in LilyPond is given with
>
> \include "test.ly"
> \markup \verbatim-file #"test.ly"

Not really.

> now I don't know what you mean with automatically - should it be attached
> every time? on a new page, in another (pdf) file?
>
> or did you mean something else?

More like changing the copyright line from

Typeset by LilyPond version 2.15.42

to

Typeset by LilyPond version 2.15.42 from test.ly

where clicking on test.ly will extract the original source file to disk,
to a location matching click-to-point functionality.  If
lilypond-invoke-editor is properly adapted, it can offer to unpack such
a source file for clicking on click-to-point links when this is not yet
done.

While it is probably overkill to have a link that downloads and
bootstraps a LilyPond installation when not yet there, there is some
potential for making things look nicer.

-- 
David Kastrup




reply via email to

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