[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rendering cropped SVG
From: |
potoroo |
Subject: |
Re: Rendering cropped SVG |
Date: |
Tue, 15 Sep 2015 20:32:13 +0200 |
Unfortunately that didn't work, it still leaves a .ps file behind.
> Am 15.09.2015 um 20:25 schrieb Simon Albrecht <address@hidden>:
>
> Am 15.09.2015 um 20:22 schrieb address@hidden:
>> 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
- Rendering cropped SVG, potoroo, 2015/09/14
- Re: Rendering cropped SVG, Simon Albrecht, 2015/09/14
- Message not available
- Re: Rendering cropped SVG, Simon Albrecht, 2015/09/14
- Re: Rendering cropped SVG, potoroo, 2015/09/14
- Re: Rendering cropped SVG, potoroo, 2015/09/14
- Re: Rendering cropped SVG, David Wright, 2015/09/14
- Re: Rendering cropped SVG, potoroo, 2015/09/15
- Re: Rendering cropped SVG, Simon Albrecht, 2015/09/15
- Re: Rendering cropped SVG,
potoroo <=
- Re: Rendering cropped SVG, Simon Albrecht, 2015/09/15
- Re: Rendering cropped SVG, potoroo, 2015/09/15
- Re: Rendering cropped SVG, Simon Albrecht, 2015/09/15
- Re: Rendering cropped SVG, Wols Lists, 2015/09/15
- Re: Rendering cropped SVG, potoroo, 2015/09/15
- Re: Rendering cropped SVG, David Wright, 2015/09/15
- Re: Rendering cropped SVG, potoroo, 2015/09/15
- Re: Rendering cropped SVG, David Wright, 2015/09/16
- Re: Rendering cropped SVG, potoroo, 2015/09/17
- Re: Rendering cropped SVG, David Wright, 2015/09/17