[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Any way to reset page numbers?
From:       Larry Kent <kentlarry () gmail ! com>
Date:       2018-08-24 23:04:07
Message-ID: CAJ-f=1JY=f_M=sqxfQzZVwpShr-9b6Xm-hGoQu2+O4a9bQqQcw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I worked this out.  I reversed "evenHeaderMarkup" and "oddHeaderMarkup" in
the two lines below, and in David's suggested solution to my original
question, I commented out the two lines following "first page number=4"

Thanks again!
LK



On Fri, Aug 24, 2018 at 6:54 PM, Larry Kent <kentlarry@gmail.com> wrote:

> Thanks, David....that worked!  It left me with another problem to solve. .
> . I need that first page (now page 4 in our example) to act as an
> odd-numbered page, and I need the header not to print on the first page
> (page 4).
>
> I have the following markup for the headers:
>
> evenHeaderMarkup=\markup  \fill-line { \fromproperty
> #'page:page-number-string \htitle \hcomposer }
>
> oddHeaderMarkup=\markup  \fill-line { \on-the-fly #not-first-page
> \hcomposer \on-the-fly #not-first-page \htitle \on-the-fly #not-first-page
> \fromproperty #'page:page-number-string }
>
>
> BTW, I inherited this file from someone who obviously had better LP skills
> than I, and I'm trying to add my own tweaks, etc.
>
> Thanks again,
> LK
>
>
>
> On Fri, Aug 24, 2018 at 6:35 PM, David Wright <lilylis@lionunicorn.co.uk>
> wrote:
>
>> On Fri 24 Aug 2018 at 17:47:16 (-0400), Larry Kent wrote:
>> > I've looked for this in the documentation without success, so I'm asking
>> > for help.
>> >
>> > Is there any way to override the page numbers?  I have a multi-movement
>> > piece that I would like to keep as separate files, but I want to put
>> them
>> > into a notebook with the pages numbered as if it's one document.  For
>> > example, Mvt 1 is 3 pages, so I want Mvt 2 to begin as page 4.
>> >
>> > Is there any way to do this?
>>
>> Try:
>>
>> \paper {
>>   first-page-number = 4
>>   print-page-number = ##t
>>   print-first-page-number = ##t
>> }
>>
>> Cheers,
>> David.
>>
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>I worked this out.   I reversed &quot;evenHeaderMarkup&quot; and \
&quot;oddHeaderMarkup&quot; in the two lines below, and in David&#39;s suggested \
solution to my original question, I commented out the two lines following &quot;first \
page number=4&quot;</div><div><br></div><div>Thanks again!</div><div \
class="gmail_extra">LK<br clear="all"><div><div class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><br><br> \
</div></div></div></div></div></div></div></div></div> <br><div \
class="gmail_quote">On Fri, Aug 24, 2018 at 6:54 PM, Larry Kent <span \
dir="ltr">&lt;<a href="mailto:kentlarry@gmail.com" \
target="_blank">kentlarry@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Thanks, David....that worked!   It left \
me with another problem to solve. . . I need that first page (now page 4 in our \
example) to act as an odd-numbered page, and I need the header not to print on the \
first page (page 4).</div><div><br></div><div>I have the following markup for the \
headers:<br></div><div><br></div><div><font size="1">evenHeaderMarkup=\markup   \
\fill-line { \fromproperty #&#39;page:page-number-string \htitle \hcomposer \
}<br></font></div><div><font size="1"><br></font></div><div><font \
size="1">oddHeaderMarkup=\markup   \fill-line { \on-the-fly #not-first-page \
\hcomposer \on-the-fly #not-first-page \htitle \on-the-fly #not-first-page \
\fromproperty #&#39;page:page-number-string }</font><br>       <br></div><div><div \
class="gmail_extra"><br></div><div class="gmail_extra">BTW, I inherited this file \
from someone who obviously had better LP skills than I, and I&#39;m trying to add my \
own tweaks, etc.</div><div class="gmail_extra"><br></div><div \
class="gmail_extra">Thanks again,</div><div class="gmail_extra">LK<br></div><div \
class="gmail_extra"><br></div><div class="gmail_extra"><br clear="all"> <br><div \
class="gmail_quote">On Fri, Aug 24, 2018 at 6:35 PM, David Wright <span \
dir="ltr">&lt;<a href="mailto:lilylis@lionunicorn.co.uk" \
target="_blank">lilylis@lionunicorn.co.uk</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">On Fri 24 Aug 2018 at 17:47:16 (-0400), Larry Kent \
wrote:<br> &gt; I&#39;ve looked for this in the documentation without success, so \
I&#39;m asking<br> &gt; for help.<br>
&gt; <br>
&gt; Is there any way to override the page numbers?   I have a multi-movement<br>
&gt; piece that I would like to keep as separate files, but I want to put them<br>
&gt; into a notebook with the pages numbered as if it&#39;s one document.   For<br>
&gt; example, Mvt 1 is 3 pages, so I want Mvt 2 to begin as page 4.<br>
&gt; <br>
&gt; Is there any way to do this?<br>
<br>
Try:<br>
<br>
\paper {<br>
   first-page-number = 4<br>
   print-page-number = ##t<br>
   print-first-page-number = ##t<br>
}<br>
<br>
Cheers,<br>
David.<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></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