Re: More PDF metadata

2010-08-30 Thread Phil Burfitt
Is it possible to insert PDF metadata (pdfmarks) into LilyPond's PostScript output? You can place your metadata in your lilypond source as a comment and then run it through the pdftk utility %{ metadata for pdftk InfoKey: Creator InfoValue: blahblah InfoKey: Title InfoValue: blahblah

Re: More PDF metadata

2010-08-30 Thread Henning Hraban Ramm
Am 2010-08-30 um 20:40 schrieb Henning Hraban Ramm: sed -n -e 's/^[[:blank:]]*title.* \"\(.*\)\"\s*$/InfoValue: \1/p' $1.ly >> $1_pdfinfo.txt FAIL! sed chokes on UTF-8 \s at the end is from the wrong regex syntax (PCRE, I guess) This works: sed -n -e 's/^[[:blank:]]*title[[:blank:]=]*\"\(.

Re: More PDF metadata

2010-08-30 Thread Henning Hraban Ramm
Am 2010-08-30 um 01:50 schrieb M Watts: On 08/29/2010 12:33 AM, Henning Hraban Ramm wrote: Is it possible to insert PDF metadata (pdfmarks) into LilyPond's PostScript output? I use pdftk for this (and other cool stuff) http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ To add metadata, you w

Re: More PDF metadata

2010-08-29 Thread M Watts
On 08/29/2010 12:33 AM, Henning Hraban Ramm wrote: Is it possible to insert PDF metadata (pdfmarks) into LilyPond's PostScript output? I use pdftk for this (and other cool stuff) http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ To add metadata, you write a text file that looks like InfoKe

More PDF metadata

2010-08-28 Thread Henning Hraban Ramm
Is it possible to insert PDF metadata (pdfmarks) into LilyPond's PostScript output? I'd like to use existing LilyPond header information to fill the PDF header, say [ /Title (header:title) /Author (header:poet / header:composer) /Subject (perhaps header:instrument, hea