Re: page-count problem

2016-02-22 Thread Federico Bruni
Il giorno lun 22 feb 2016 alle 17:40, Patrick Karl  
ha scritto:
I don't understand why the following snippet doesn't generate a 
3-page pdf.  It would seem that either page-count=3 or 
systems-per-page=8 would accomplish that, but I always get a two-page 
pdf with 12 systems/page with any combination of the above two 
settings.


\version "2.19.35"

\paper { ragged-last-bottom = ##t }

music = \relative c'' { \repeat unfold 24 { c1 c c c \break } }

\score {
\new Staff \music
\layout {
page-count = 3
%systems-per-page = 8
}
}



page-count and systems-per-page are paper variables which *cannot* 
appear in the \layout block:

http://lilypond.org/doc/v2.19/Documentation/notation/the-layout-block

move them to the \paper block and it will work


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


Re: page-count

2014-02-01 Thread Federico Bruni
2014/1/30 Federico Bruni fedel...@gmail.com


 Il 30/gen/2014 15:57 bart deruyter bart.deruy...@gmail.com ha scritto:

 
  Is there a way to have a one-page count on each separate child-file,
 while leaving that out in the master-file? Or what would be 'best-practice'
 to achieve this?
 

 I would wrap the \score blocks inside \bookpart and use the \paper within
 the bookpart to set one page.

 The master file which includes the child files will be implicitely in the
 \book level, so it will have its own \paper block.

 HTH
 Federico

Minimal example:

\version 2.18.0

\book {
  % paper setting affecting all the bookparts
  \paper {
indent = 0
markup-system-spacing = #'((padding . 10))
  }

  \bookpart {
\paper {
 page-count = 1
}
\header {
  title = Piece One
}
\score {
  \new Staff {
\repeat unfold 15 { c'1*4 \break }
  }
}
  }

  \bookpart {
\paper {
  page-count = 1
}
\header {
  title = Piece Two
}
\score {
  \new Staff {
\repeat unfold 15 { c''1*4 \break }
  }
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: page-count

2014-02-01 Thread bart deruyter
Thanks for the tips :-) . I noticed that the title of the first bookpart
got printed in the header of the second bookpart, when there wasn't a new
title defined. I chose not to print the title, and used:

title =

in the subsequent headers of the bookparts

Which worked perfectly :-)

grtz,

Bart

http://www.bartart3d.be/
On facebook https://www.facebook.com/pages/BartArt3D/169488999795102
On Twitter https://twitter.com/#%21/Bart_Issimo
On Identi.ca http://identi.ca/bartart3d
On Google+ https://plus.google.com/u/0/b/116379400376517483499/


2014-02-01 Federico Bruni fedel...@gmail.com:

 2014/1/30 Federico Bruni fedel...@gmail.com


 Il 30/gen/2014 15:57 bart deruyter bart.deruy...@gmail.com ha
 scritto:

 
  Is there a way to have a one-page count on each separate child-file,
 while leaving that out in the master-file? Or what would be 'best-practice'
 to achieve this?
 

 I would wrap the \score blocks inside \bookpart and use the \paper within
 the bookpart to set one page.

 The master file which includes the child files will be implicitely in the
 \book level, so it will have its own \paper block.

 HTH
 Federico

 Minimal example:

 \version 2.18.0

 \book {
   % paper setting affecting all the bookparts
   \paper {
 indent = 0
 markup-system-spacing = #'((padding . 10))
   }

   \bookpart {
 \paper {
  page-count = 1
 }
 \header {
   title = Piece One
 }
 \score {
   \new Staff {
 \repeat unfold 15 { c'1*4 \break }
   }
 }
   }

   \bookpart {
 \paper {
   page-count = 1
 }
 \header {
   title = Piece Two
 }
 \score {
   \new Staff {
 \repeat unfold 15 { c''1*4 \break }
   }
 }
   }
 }




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


Re: page-count

2014-02-01 Thread Federico Bruni
2014/2/1 bart deruyter bart.deruy...@gmail.com

 Thanks for the tips :-) . I noticed that the title of the first bookpart
 got printed in the header of the second bookpart, when there wasn't a new
 title defined. I chose not to print the title, and used:

 title =

 in the subsequent headers of the bookparts


mmh, strange: it doesn't happen here.. it would be a bug if it did
I think that the header of your first bookpart is not in a \bookpart but in
a \book
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: page-count

2014-02-01 Thread bart deruyter
ok, I found it, it was not the header of a \book .

In the 'master' document in which I include the child-files I have a header
file, which is not in a \book , but just a regular \header like for a
single score, in which I had a title=Studie line. That one got repeated
as title on the different \bookparts.

I don't know if that is the intended result, because it was not in a \book
in the master document. If it is, everything is ok :-). I now deleted the
'title=Studie' from the header of the main file and have it set only in
the first \bookpart, which seems to work.

Grtz,

Bart

http://www.bartart3d.be/
On facebook https://www.facebook.com/pages/BartArt3D/169488999795102
On Twitter https://twitter.com/#%21/Bart_Issimo
On Identi.ca http://identi.ca/bartart3d
On Google+ https://plus.google.com/u/0/b/116379400376517483499/


2014-02-01 Federico Bruni fedel...@gmail.com:

 2014/2/1 bart deruyter bart.deruy...@gmail.com

 Thanks for the tips :-) . I noticed that the title of the first bookpart
 got printed in the header of the second bookpart, when there wasn't a new
 title defined. I chose not to print the title, and used:

 title =

 in the subsequent headers of the bookparts


 mmh, strange: it doesn't happen here.. it would be a bug if it did
 I think that the header of your first bookpart is not in a \bookpart but
 in a \book


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


Re: page-count

2014-01-30 Thread Federico Bruni
Il 30/gen/2014 15:57 bart deruyter bart.deruy...@gmail.com ha scritto:


 Is there a way to have a one-page count on each separate child-file,
while leaving that out in the master-file? Or what would be 'best-practice'
to achieve this?


I would wrap the \score blocks inside \bookpart and use the \paper within
the bookpart to set one page.

The master file which includes the child files will be implicitely in the
\book level, so it will have its own \paper block.

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


Re: page count doesn't work for me

2010-08-15 Thread David Raleigh Arnold
On Wednesday 28 April 2010 13:02:47 Stefan Thomas wrote:

 I've made relative links in the main score to these libraries.
 I don't know how to make a -zip or -tar file which include the
 relative links.
 I will try it and then I would like to send the score.
 Thanks,
 Stefan


http://www.openguitar.com/files/lyinclude.py

Regards, daveA

-- 
For beginners: very easy guitar music, solos, duets, exercises. Early
intermediate guitar solos. One best scale set for all guitarists.
http://www.openguitar.com/scalescomparison.html ::: plus new and
better chord and arpeggio exercises.  http://www.openguitar.com 

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


Re: page count doesn't work for me

2010-04-28 Thread -Eluze


kontrapunktstefan wrote:
 
 Dear community,
 I have a problem with page-count.
 I have a score with 22 pages, but on the last page is only one system.
 So I put in the paper-block of the score
 page-count = 21
 Unfortunately it doesn't make any difference.
 I'm using version 2.12.2.
 Does someone have an idea what could be the reason?
 

hard to tell - specially without seeing the sore or code!

beneath hardcoding \breaks and \pageBreaks you could try to globally change 
- spacing parameters
- #(set-global-staff-size 14)
- set ragged-last-bottom to false in the paper section
- …
-- 
View this message in context: 
http://old.nabble.com/page-count-doesn%27t-work-for-me-tp28385328p28387749.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: page count doesn't work for me

2010-04-28 Thread Stefan Thomas
Dear Eluze,
I would like You to send the score, the problem is:
it uses a lot of libraries with special commands and so on.
I've made relative links in the main score to these libraries.
I don't know how to make a -zip or -tar file which include the relative
links.
I will try it and then I would like to send the score.
Thanks,
Stefan


 Dear community,
 I have a problem with page-count.
 I have a score with 22 pages, but on the last page is only one system.
 So I put in the paper-block of the score
 page-count = 21
 Unfortunately it doesn't make any difference.
 I'm using version 2.12.2.
 Does someone have an idea what could be the reason?


hard to tell - specially without seeing the sore or code!

 beneath hardcoding \breaks and \pageBreaks you could try to globally change
 - spacing parameters
 - #(set-global-staff-size 14)
 - set ragged-last-bottom to false in the paper section
 - …

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


Re: page-count

2007-11-24 Thread Joe Neeman
On Sun, 25 Nov 2007 02:00:50 David Bobroff wrote:
 I saw the announcement about page-count being added to the \paper{}
 possibilities and I was thrilled to see it as I had been wanting just
 exactly that.  I've found that it does not work within \layout{}.  Other
 things like system-count seem to be working with a \layout{} block but
 page-count doesn't.  Is this to be expected, or should it also work in
 \layout{} as well?  It would certainly be useful for controlling page
 counts in numerous scores being typeset together.

Line breaking is done per-score, while page-breaking is done per-book. 
Therefore things that control the page-breaking generally have no effect in a 
\layout block.

Joe


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