My test file ist: \version "2.18.2" \pointAndClickOff \relative { c' d e f g f e d c' d e f g f e d c' d e f g f e d } \header { tagline = ##f } \paper { line-width=120\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f scoreTitleMarkup = ##f }
And I use this command: lilypond -dno-point-and-click -ddelete-intermediate-files test.ly <http://test.ly/> The log says this: »test.ly« wird verarbeitet Analysieren... Interpretation der Musik... Vorverarbeitung der grafischen Elemente... Ideale Seitenanzahl wird gefunden... Musik wird auf eine Seite angepasst... Systeme erstellen... Layout nach »test.ps« ausgeben... Konvertierung nach »./test.pdf«... Kompilation erfolgreich beendet Sometimes no .ps file is left behind, but most of the times it is (> 90%). > Am 15.09.2015 um 20:46 schrieb Simon Albrecht <simon.albre...@mail.de>: > > Am 15.09.2015 um 20:32 schrieb poto...@posteo.de <mailto:poto...@posteo.de>: >> Unfortunately that didn't work, it still leaves a .ps file behind. > > Huh. Normally it wouldn’t; please try to create a tiny example. Also, check > the log messages; they should have something like > > Converting to `document.pdf'... > Deleting `/tmp/lilypond-s634Nb'... > Success: compilation successfully completed > > at the end – the middle of these lines is the deletion of the intermediate > .ps file. > > Yours, Simon > >>> Am 15.09.2015 um 20:25 schrieb Simon Albrecht <simon.albre...@mail.de> >>> <mailto:simon.albre...@mail.de>: >>> >>> Am 15.09.2015 um 20:22 schrieb poto...@posteo.de <mailto:poto...@posteo.de>: >>>> Thanks, that works. I set up a build system for Sublime (which has >>>> Lilypond syntax highlighting with the SubLilyPond package). >>>> >>>> { >>>> "shell_cmd": "lilypond -dno-point-and-click '$file_base_name.ly'; >>>> pdfcrop --margins 1 '$file_base_name.pdf' '$file_base_name.pdf'; pdf2svg >>>> '$file_base_name.pdf' '$file_base_name.svg'; rm -f '$file_base_name.pdf'; >>>> rm -f '$file_base_name.ps'", >>>> "selector": "source.lilypond", >>>> } >>>> >>>> This will render and crop a pdf, convert it to svg and delete the pdf. >>>> However, I don't know why it won't remove the .ps file, or why it is >>>> created in the first place. Is there a way to prevent Lilypond from >>>> creating the .ps file? >>>> >>>> >>> Since LilyPond doesn’t have a proper PDF backend, first a .ps file is >>> created, which is converted to .pdf afterwards. There is a program option >>> to have the intermediate files deleted automatically: >>> -ddelete-intermediate-files. >>> >>> HTH, Simon > >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user