Re: [Mutopia-discuss] Different page numbers and formatting between A4 and Letter sizes

2017-04-17 Thread Knute Snortum
Thanks for your post, Javier

This LilyPond file has so many manual adjustments that I have to pick a
page size and make that one look good.  As I'm in the US, I'm going to make
letter size look good.  People who need A4 have the source -- although I
feel for that person.  These changes aren't trivial.


---
Knute Snortum
(via Gmail)

On Tue, Apr 11, 2017 at 3:16 PM, Javier Ruiz-Alma 
wrote:

> There's an accepted enhancement to add command-line support for
> global-staff-size to LilyPond:
>
> https://sourceforge.net/p/testlilyissues/issues/2095/
>
> The enhancement would open the door to specify override values for
> global-staff-sizes for letter/A4 in the source code.  Mutopia scripts could
> then implement the distinct values for Letter vs. A4 PDF generation...I'm
> thinking headers \mutopiaLetterStaffSize = X, \mutopiaAFourStaffSize = Y,
> or some other more elegant solution.
>
> I often spend time adjusting spacing to make both letter & A4 acceptable,
> while avoiding orphan systems, page breaks in less-than-ideal measures,
> too-airy pages, etc.
>
> Adjustments (in order of preference and their impact on maintainability &
> readability):
> * adjust vertical margins/distances/padding for titles & footers
> * adjust left/right margins
> * fixed line-width
> * adjusting staff-staff-spacing min distance
> * add breaks and/or noBreaks here an there
> * adjust staff-size (within range 18-21)
>
> It's surely a matter of personal preference, but in general, I prioritize
> font-size over other formatting adjustments.  That is to say, I spend time
> trying out other formatting fixes, including ragged pages, before I decide
> to go with global-staff-size smaller than ~18.
>
>
> Javier
>
> 
> From: Knute Snortum 
> To: "mutopia-discuss@mutopiaproject.org"  mutopiaproject.org>
> Sent: Tuesday, April 11, 2017 11:45 AM
> Subject: [Mutopia-discuss] Different page numbers and formatting between
> A4 and Letter sizes
>
>
>
> I try to make my contributions fit in a whole number of pages, that is,
> not with a ragged last page.  To do this, I often change the global staff
> size.  The problem arises when I have to change from A4 to Letter paper
> size.  Often the number of pages changes, making one look too spaced out.
>
> What would be nice is if I could specify a different staff size for
> different paper sizes.  If not, I have to decide between a ragged last
> page, or worse, making one size look bad for the sake of the other.  Since
> I'm from the US, I would favor Letter.  The A4 people would need to change
> some settings and recompile.  How can we avoid this?
>
>
>
> ---
> Knute Snortum
> (via Gmail)___
> Mutopia-discuss mailing list
> Mutopia-discuss@mutopiaproject.org
> http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss
>
___
Mutopia-discuss mailing list
Mutopia-discuss@mutopiaproject.org
http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss

Re: [Mutopia-discuss] Different page numbers and formatting between A4 and Letter sizes

2017-04-11 Thread Javier Ruiz-Alma
There's an accepted enhancement to add command-line support for 
global-staff-size to LilyPond:

https://sourceforge.net/p/testlilyissues/issues/2095/

The enhancement would open the door to specify override values for 
global-staff-sizes for letter/A4 in the source code.  Mutopia scripts could 
then implement the distinct values for Letter vs. A4 PDF generation...I'm 
thinking headers \mutopiaLetterStaffSize = X, \mutopiaAFourStaffSize = Y, or 
some other more elegant solution.

I often spend time adjusting spacing to make both letter & A4 acceptable, while 
avoiding orphan systems, page breaks in less-than-ideal measures, too-airy 
pages, etc. 

Adjustments (in order of preference and their impact on maintainability & 
readability): 
* adjust vertical margins/distances/padding for titles & footers 
* adjust left/right margins 
* fixed line-width 
* adjusting staff-staff-spacing min distance 
* add breaks and/or noBreaks here an there 
* adjust staff-size (within range 18-21)

It's surely a matter of personal preference, but in general, I prioritize 
font-size over other formatting adjustments.  That is to say, I spend time 
trying out other formatting fixes, including ragged pages, before I decide to 
go with global-staff-size smaller than ~18.


Javier


From: Knute Snortum 
To: "mutopia-discuss@mutopiaproject.org"  
Sent: Tuesday, April 11, 2017 11:45 AM
Subject: [Mutopia-discuss] Different page numbers and formatting between A4 and 
Letter sizes



I try to make my contributions fit in a whole number of pages, that is, not 
with a ragged last page.  To do this, I often change the global staff size.  
The problem arises when I have to change from A4 to Letter paper size.  Often 
the number of pages changes, making one look too spaced out.

What would be nice is if I could specify a different staff size for different 
paper sizes.  If not, I have to decide between a ragged last page, or worse, 
making one size look bad for the sake of the other.  Since I'm from the US, I 
would favor Letter.  The A4 people would need to change some settings and 
recompile.  How can we avoid this?



---
Knute Snortum
(via Gmail)___
Mutopia-discuss mailing list
Mutopia-discuss@mutopiaproject.org
http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss

___
Mutopia-discuss mailing list
Mutopia-discuss@mutopiaproject.org
http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss


Re: [Mutopia-discuss] Different page numbers and formatting between A4 and Letter sizes

2017-04-11 Thread Jonathan Scholbach
Hi Knute,

maybe automatic scaling can help you? See
http://lilypond.org/doc/v2.18/Documentation/notation/paper-size-and-automatic-scaling#automatic-scaling-to-paper-size

> If the paper size is changed with one of the scheme functions
> (|set-default-paper-size| or |set-paper-size|), the values of several
> |\paper| variables are automatically scaled to the new size. To bypass
> the automatic scaling for a particular variable, set the variable
> after setting the paper size. Note that the automatic scaling is not
> triggered by setting the |paper-height| or |paper-width| variables,
> even though |paper-width| can influence other values (this is separate
> from scaling and is discussed below). [...]

hth

Jonathan


On 11.04.2017 20:40, Knute Snortum wrote:
> I try to make my contributions fit in a whole number of pages, that
> is, not with a ragged last page.  To do this, I often change the
> global staff size.  The problem arises when I have to change from A4
> to Letter paper size.  Often the number of pages changes, making one
> look too spaced out.
>
> What would be nice is if I could specify a different staff size for
> different paper sizes.  If not, I have to decide between a ragged last
> page, or worse, making one size look bad for the sake of the other. 
> Since I'm from the US, I would favor Letter.  The A4 people would need
> to change some settings and recompile.  How can we avoid this?
>
> ---
> Knute Snortum
> (via Gmail)
>
>
> ___
> Mutopia-discuss mailing list
> Mutopia-discuss@mutopiaproject.org
> http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss

-- 
Ich bevorzuge es, per E-Mail verschlüsselt zu kommunizieren. Wenn Sie mir einen 
Gefallen tun wollen, legen Sie sich bitte einen pgp-Schlüssel zu. Mit dem 
freien E-Mail-Programm Mozilla Thunderbird und dem freien Add-on Enigmail 
dauert die Einrichtung etwa 20 Minuten. Sie können Enigmail hier herunterladen: 
https://addons.mozilla.org/en-US/thunderbird/addon/enigmail/ Bei Fragen und 
Problemen helfe ich Ihnen gern weiter.

I prefer encrypted e-mail-communication. If you would like to do me a favour, 
please get pgp-encryption. With the free Mozilla Thunderbird mail programme you 
can easily use the Enigmail add-on. Setup takes about 20 minutes. For 
installing Enigmail have a look at 
https://addons.mozilla.org/en-US/thunderbird/addon/enigmail/ If you have any 
questions, don't hesitate to contact me.

___
Mutopia-discuss mailing list
Mutopia-discuss@mutopiaproject.org
http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss