[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Embed files other than source code in PDF file?
From: |
Werner LEMBERG |
Subject: |
Re: Embed files other than source code in PDF file? |
Date: |
Thu, 01 Jun 2023 04:21:06 +0000 (UTC) |
>> I have been using the line
>>
>> #(ly:set-option 'embed-source-code #t)
>>
>> to embed the lilypond files I used in the PDF, but was wondering
>> if there was a procedure I could call to embed some other file,
>> such as a PDF of the source I used for the transcription? Sorry,
>> looking through the docs I couldn't find anything on this. I know
>> you could also do this with the finished pdf using Adobe Acrobat
>> or something else, but would like to make this happen
>> automatically.
>
> Since 2.23.11, you can do
>
> ```
> #(ly:note-extra-source-file "path/to/transcription-source.pdf")
> ```
Reading the documentation of this function I would never imagine that
it can be used to embed arbitrary files into a LilyPond PDF...
I've filed
https://gitlab.com/lilypond/lilypond/-/issues/6622
Werner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Embed files other than source code in PDF file?,
Werner LEMBERG <=