Forwarded from the lilypond user list.

----- Forwarded message from Da Mota Sam <da.mota....@gmail.com> -----

Date: Sun, 8 Jul 2012 20:27:41 +0200
From: Da Mota Sam <da.mota....@gmail.com>
To: lilypond-u...@gnu.org
Subject: [Feature request] attach lilypond code in pdf.

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. I think it
would be nice to have a lilypond option that attaches the .ly files
into the pdf.
This way when someone creates a partition and upload it to a website,
the code will be uploaded too, thus making it much more easier for any
user to possibly modify it.
Moreover it will help spreading the use of lilypond.

In linux it is easy to do it using pdftk (the command is "pdftk
input_file.pdf attach_files source_file.ly output output_file.pdf").
It may be interesting to automatically call this command just after
the pdf generation. Pdftk seems to be also available under windows and
mac os.

Moreover, if this feature is accepted, it may be interesting to modify
the default tagline which says "engraved by lilypond version x.y.z" to
"engraved by lilypond version x.y.z with source file attached" to
increase its visibility.

Of course, for musicians who doesn't want to share their lilypond
code, this feature should be kept as an option (maybe turned on by
default).

Best Regards,
-- 
Samuel DA MOTA

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

----- End forwarded message -----

-- 

Colin Hall

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

Reply via email to