[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "\includepdf" in LilyPond
From: |
karl |
Subject: |
Re: "\includepdf" in LilyPond |
Date: |
Mon, 18 Dec 2017 21:50:47 +0100 (CET) |
Urs:
...
> OTOH: is it possible to have LilyPond trigger an external program
> *after* the PDF has been created? I recall getting an answer for a hook
> that works at the very end of the engraving process (this should allow
> me to write out data into a log file that has only been generated during
> the after-line-breaking stage). Is there such a hook to execute after
> the PDF has been written?
Something like this should be possible:
$ PATH=~/your_wrappers:$PATH
$ cat ~/your_wrappers/lilypond
#!/bin/sh
/usr/bin/lilypond "$@"
echo Finished, do something
$ lilypond xxx
...
Finished, do something
$
Or use a Makefile, you can look at my workflow if you like:
http://aspodata.se/git/musik/bin/
http://aspodata.se/git/musik/include/
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57