[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">&lt;<a href="mailto:lilylis@lionunicorn.co.uk" \
target="_blank">lilylis@lionunicorn.<wbr>co.uk</a>&gt;</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>&gt; My experience tells \
me that although the staff-size is larger in the second<br>&gt; \bookpart, the \
horizontal treatment isn&#39;t going to be a normal 17pt. It<br>&gt; will still be \
more like the 15pt global one. The only way I&#39;ve found to get<br>&gt; true \
horizontal spacing correction is with completely different \book<br>&gt; blocks, \
which you can use a separate #(set-global-staff-size... before each<br>&gt; one, like \
this:<br>&gt;<br>&gt; #(set-global-staff-size 15)<br>&gt; \book {<br><br></span>      \
\bookOutputSuffix &quot;01&quot;<br><span \
class="gmail-m_3081995162804246559gmail-"><br>&gt;     \paper {<br>&gt;        \
#(set-global-fonts ...)<br>&gt;     }<br>&gt;     { ... bookpart here ... }<br>&gt; \
}<br>&gt;<br>&gt; #(set-global-staff-size 17)<br>&gt; \book {<br><br></span>      \
\bookOutputSuffix &quot;02&quot;<br><span \
class="gmail-m_3081995162804246559gmail-"><br>&gt;     \paper {<br>&gt;        \
#(set-global-fonts ...)<br>&gt;     }<br>&gt;     { ... another bookpart here ... \
}<br>&gt; }<br>&gt;<br>&gt; Unfortunately, this results in separate output PDFs, \
which I don&#39;t think<br>&gt; 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 &amp; 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