Re: Resetting page numbers between bookparts

2016-07-22 Thread tisimst
On Sun, Jul 17, 2016 at 9:56 AM, Dosh Doshington [via Lilypond] <
ml-node+s1069038n192760...@n5.nabble.com> wrote:

> Greetings,
>
> I wish to create a single PDF containing all the parts to my work, instead
> of 30-something single PDFs. I would like not to use an external PDF
> merging
> tool since I recompile very often.
>
> This code fails to work since page numbers continue after each page break.
>
> \book {
> \bookOutputSuffix "parts"
> \bookpart {
>  \paper {
>   set-first-page-number = 1
>  }
>  \score { ... }
> }
> % page numbers continue instead of being reset to 1 <--
> \bookpart {
>  paper {
>   set-first-page-number = 1
>  }
>  \score { ... }
> }
> ... % other parts follow
> }
>
> There exist external \paper blocks in a different .ily files but they do
> not
> have page numbering code.
>

I had a look at this a few days ago, but despite all my research and
effort, I couldn't get the 'page:page-number property to manually change at
all either.

Dev team,

I'm not sure if any of you looked at this, but I think my Scheme-fu is just
not quite up to snuff yet. Hopefully I'll get there someday. Is there any
logical reason why that property cannot be re-set like bar numbers can?

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Resetting-page-numbers-between-bookparts-tp192760p192978.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Resetting page numbers between bookparts

2016-07-17 Thread Dosh Doshington
Greetings,

I wish to create a single PDF containing all the parts to my work, instead
of 30-something single PDFs. I would like not to use an external PDF merging
tool since I recompile very often.

This code fails to work since page numbers continue after each page break.

\book {
\bookOutputSuffix "parts"
\bookpart {
 \paper {
  set-first-page-number = 1
 }
 \score { ... }
}
% page numbers continue instead of being reset to 1 <--
\bookpart {
 paper {
  set-first-page-number = 1
 }
 \score { ... }
}
... % other parts follow
}

There exist external \paper blocks in a different .ily files but they do not
have page numbering code.

Assistance will be greatly appreciated.

Thanks.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user