[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Cropped output
From: Henrik Frisk <frisk.h () gmail ! com>
Date: 2023-07-23 12:40:24
Message-ID: CAO0LSb6oNv_Q3MpXWEdTwfTvrO0t5ruGiwbS1jcNKKTTCDXuAQ () mail ! gmail ! com
[Download RAW message or body]
Den fre 21 juli 2023 kl 13:43 skrev Hans Aikema <hans.aikema@aikebah.net>:
>
>
> On 21 Jul 2023, at 13:36, Henrik Frisk <frisk.h@gmail.com> wrote:
>
> 
>
>
> Den tors 20 juli 2023 kl 18:10 skrev Jean Abou Samra <jean@abou-samra.fr>:
>
>> Le jeudi 20 juillet 2023 à 17:52 +0200, Henrik Frisk a écrit :
>>
>> None at all, but maybe I'm misunderstanding the command. Here's what I do:
>>
>> $ lilypond --pdf -dcrop='#t' test6.ly
>> GNU LilyPond 2.24.1 (running Guile 3.0)
>> Processing `test6.ly'
>> Parsing...
>> Interpreting music...
>> Preprocessing graphical objects...
>> Calculating line breaks...
>> Drawing systems...
>> Converting to `test6.pdf'...
>> Success: compilation successfully completed
>>
>> Test6.pdf is a regular pdf.
>>
>>
>>
>>
>> You should also find a separate file Test6.cropped.pdf with cropped
>> output.
>>
>> If you don't: do you have any ly:set-option calls or such in the file?
>>
>> No, I didn't, but I identified the problem. I also had
>
> \include "lilypond-book-preamble.ly"
>
> as this was the old way of getting a cropped output.
>
> Which essentially would also count as a 'yes' to Jean's question as that (
> https://github.com/lilypond/lilypond/blob/master/ly/lilypond-book-preamble.ly)
> is including a few ly:set-option entries into your file
>
> Yes, my reply was strange. My "no" was to whether there was a .cropped.pdf
file created and the solution was obviously thanks to Jeans suggestion.
Sorry for the unclarity
[Attachment #3 (text/html)]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">Den fre 21 juli 2023 kl 13:43 skrev Hans Aikema <<a \
href="mailto:hans.aikema@aikebah.net">hans.aikema@aikebah.net</a>>:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="ltr"></div><div \
dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On 21 Jul 2023, at \
13:36, Henrik Frisk <<a href="mailto:frisk.h@gmail.com" \
target="_blank">frisk.h@gmail.com</a>> \
wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">Den tors 20 juli 2023 kl 18:10 skrev Jean Abou Samra <<a \
href="mailto:jean@abou-samra.fr" \
target="_blank">jean@abou-samra.fr</a>>:<br></div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div><div><div>Le jeudi 20 juillet 2023 Ã 17:52 \
+0200, Henrik Frisk a écrit :</div><blockquote type="cite" style="margin:0px 0px \
0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"><div \
dir="ltr"><div dir="ltr">None at all, but maybe I'm misunderstanding the command. \
Here's what I do:</div><div class="gmail_quote"><div><br></div><div>$ lilypond \
--pdf -dcrop='#t' <a href="http://test6.ly" \
target="_blank">test6.ly</a><br>GNU LilyPond 2.24.1 (running Guile 3.0)<br>Processing \
`<a href="http://test6.ly" \
target="_blank">test6.ly</a>'<br>Parsing...<br>Interpreting \
music...<br>Preprocessing graphical objects...<br>Calculating line \
breaks...<br>Drawing systems...<br>Converting to `test6.pdf'...<br>Success: \
compilation successfully completed <br></div><div><br></div><div>Test6.pdf is a \
regular pdf.</div></div></div></blockquote><div><br></div><div><br></div><div><br></div><div>You \
should also find a separate file Test6.cropped.pdf with cropped \
output.</div><div><br></div><div>If you don't: do you have any ly:set-option \
calls or such in the file?</div><div><br></div></div></div></blockquote><div>No, I \
didn't, but I identified the problem. I also had \
</div><div><br></div><div>\include "<a href="http://lilypond-book-preamble.ly" \
target="_blank">lilypond-book-preamble.ly</a>" <br></div><div><br></div><div>as \
this was the old way of getting a cropped output. \
</div></div></div></div></blockquote><div>Which essentially would also count as a \
'yes' to Jean's question as that (<a \
href="https://github.com/lilypond/lilypond/blob/master/ly/lilypond-book-preamble.ly" \
target="_blank">https://github.com/lilypond/lilypond/blob/master/ly/lilypond-book-preamble.ly</a>) \
is including a few ly:set-option entries into your \
file</div><br></div></blockquote><div>Yes, my reply was strange. My "no" \
was to whether there was a .cropped.pdf file created and the solution was obviously \
thanks to Jeans suggestion. Sorry for the unclarity <br></div></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic