[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Different staff sizes and resetting fonts
From: Peter Crighton <petecrighton () gmail ! com>
Date: 2017-06-25 19:55:52
Message-ID: CAFGY_6LtPUEjH207hmVH9O8mdzSvrfC5Sp5_UOS_d2RUou_qjw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
2017-06-23 3:30 GMT+02:00 David Wright <lilylis@lionunicorn.co.uk>:
> On Thu 22 Jun 2017 at 17:10:56 (-0700), tisimst wrote:
>
> > My experience tells me that although the staff-size is larger in the
> second
> > \bookpart, the horizontal treatment isn't going to be a normal 17pt. It
> > will still be more like the 15pt global one. The only way I've found to
> get
> > true horizontal spacing correction is with completely different \book
> > blocks, which you can use a separate #(set-global-staff-size... before
> each
> > one, like this:
> >
> > #(set-global-staff-size 15)
> > \book {
>
> \bookOutputSuffix "01"
>
> > \paper {
> > #(set-global-fonts ...)
> > }
> > { ... bookpart here ... }
> > }
> >
> > #(set-global-staff-size 17)
> > \book {
>
> \bookOutputSuffix "02"
>
> > \paper {
> > #(set-global-fonts ...)
> > }
> > { ... another bookpart here ... }
> > }
> >
> > Unfortunately, this results in separate output PDFs, which I don't think
> > you want.
>
> If you can handle the titling (which might differ between
> \book and \bookpart) and page numbering, it is trivial to
> concatenate the output PDFs with pdftk. Make it more
> convenient by suffixing the LP output filenames as shown above
> so that you can wildcard/glob them in the command line:
>
> pdftk lilyoutputname*.pdf cat output concatenated-file.pdf
Thank you both, Abraham and David.
It seems like the least effort now is to produce several PDF files and
concatenate them, which means I also have to manually create a table of
contents. Had I known beforehand that working with different staff sizes
would be such a problem, I simply could have chosen other font sizes, since
those parts don't actually feature music, only text and chord symbols.
Well, I am wiser for the next project now …
--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de
[Attachment #5 (text/html)]
<div dir="ltr"><div class="gmail_extra">2017-06-23 3:30 GMT+02:00 David Wright <span \
dir="ltr"><<a href="mailto:lilylis@lionunicorn.co.uk" \
target="_blank">lilylis@lionunicorn.<wbr>co.uk</a>></span>:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><span class="gmail-m_3081995162804246559gmail-">On \
Thu 22 Jun 2017 at 17:10:56 (-0700), tisimst wrote:<br><br>> My experience tells \
me that although the staff-size is larger in the second<br>> \bookpart, the \
horizontal treatment isn't going to be a normal 17pt. It<br>> will still be \
more like the 15pt global one. The only way I've found to get<br>> true \
horizontal spacing correction is with completely different \book<br>> blocks, \
which you can use a separate #(set-global-staff-size... before each<br>> one, like \
this:<br>><br>> #(set-global-staff-size 15)<br>> \book {<br><br></span> \
\bookOutputSuffix "01"<br><span \
class="gmail-m_3081995162804246559gmail-"><br>> \paper {<br>> \
#(set-global-fonts ...)<br>> }<br>> { ... bookpart here ... }<br>> \
}<br>><br>> #(set-global-staff-size 17)<br>> \book {<br><br></span> \
\bookOutputSuffix "02"<br><span \
class="gmail-m_3081995162804246559gmail-"><br>> \paper {<br>> \
#(set-global-fonts ...)<br>> }<br>> { ... another bookpart here ... \
}<br>> }<br>><br>> Unfortunately, this results in separate output PDFs, \
which I don't think<br>> you want.<br><br></span>If you can handle the titling \
(which might differ between<br>\book and \bookpart) and page numbering, it is trivial \
to<br>concatenate the output PDFs with pdftk. Make it more<br>convenient by suffixing \
the LP output filenames as shown above<br>so that you can wildcard/glob them in the \
command line:<br><br>pdftk lilyoutputname*.pdf cat output \
concatenated-file.pdf</blockquote></div><div class="gmail_extra"><br></div><div \
class="gmail_extra">Thank you both, Abraham and David.</div><div \
class="gmail_extra">It seems like the least effort now is to produce several PDF \
files and concatenate them, which means I also have to manually create a table of \
contents. Had I known beforehand that working with different staff sizes would be \
such a problem, I simply could have chosen other font sizes, since those parts don't \
actually feature music, only text and chord symbols. Well, I am wiser for the next \
project now …<br clear="all"><div><div \
class="gmail-m_3081995162804246559gmail_signature"><div dir="ltr"><br>--<br>Peter \
Crighton | Musician & Music Engraver based in Mainz, Germany<br><a \
href="http://www.petercrighton.de" \
target="_blank">http://www.petercrighton.de</a></div></div></div></div></div>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic