-Eluze <elu...@gmail.com> 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


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to