Re: Table of Contents - order by page

2016-12-11 Thread Freddy Ouellette
Yes... of course that works fine. But it's a workaround, not a fix. The way my 
files are laid out, I have several files with individual pieces, and each of 
their facsimile pages. I would like to keep these facsimile pages in the same 
ly file as the music, but in the final book put all the facsimile pages AFTER 
the music. Each of the variables are bookparts, which means I have to put the 
tocItem in the variable, not in the final book. 

Piece_1.ly
  Piece_1_Music *tocItem "Piece 1"
  Piece_1_Facsimile *tocItem "Facsimiles"

Piece_2.ly
  Piece_2_Music *tocItem "Piece 2"
  Piece_2_Facsimile

Final Book order:

Piece_1_Music
Piece_2_Music
Piece_1_Facsimile
Piece_2_Facsimile

The above configuration would result in the issue described, with the facsimile 
tocitem appearing BEFORE the piece 2 tocitem in the table of contents even 
though it comes after it in the book.

In general it annoys me in lilypond that variables have to be only ONE thing, 
and first of all you can't combine, say a variable and a tocitem into another 
single variable, and second of all even when you do


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


Table of Contents - order by page

2016-12-11 Thread Freddy Ouellette
The table of contents seems to list its items by the order in which they
were evaluated by the parser, and not by where they actually appear in the
book... Is there a way to avoid this?

for example, even though partB comes AFTER partA in the book, and the PAGES
in the table of contents are right, partB comes listed first in the TOC
which is very annoying, simply because it was evaluated first.

\version "2.18.2"

partB =
\bookpart {
  \tocItem "PART B"
  \new Staff {
c4 d e f
  }
}

partA =
\bookpart {
  \tocItem "PART A"
  \new Staff {
c4 d e f
  }
}

\book {
  \bookpart {
\markuplist \table-of-contents
\paper {
  tocTitleMarkup = \markup \center-column {
\italic "Contents"
\vspace #0.3
  }
  tocItemMarkup = \markup {
\fill-with-pattern
#1 #RIGHT "  .  "
\fromproperty #'toc:text
\fromproperty #'toc:page
  }
}
  }
  \bookpart { \partA }
  \bookpart { \partB }
}

thanks for any help.

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


Hide tocItem when not in final score

2016-11-25 Thread Freddy Ouellette
Hello,

Is there a way to set tocItem tags for each bookpart within variables, but hide 
the ones that are actually not used? The tocItem function seems to 
automatically add to the table of contents whether or not that bookpart is 
actually printed. 

thanks,

Freddy 


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


Re: Create a bookpart with a scheme function

2016-11-19 Thread Freddy Ouellette
Sorry for bumping - can anyone help me with this?

Freddy


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


Re: Create a bookpart with a scheme function

2016-11-18 Thread Freddy Ouellette
Still a little confused about how to dynamically create a bookpart:

\version "2.18.2"

freddy = \bookpart {
  \score {
\new Staff {
  c d e f g
}
  }
}

full_scores = \book {

}

#(ly:book-add-bookpart! full_scores freddy)

\full_scores


this doesn't seem to work.

C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/scm/lily-library.scm:242:5: In
procedure ly:book-process in expression (process-procedure book paper ...):

C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/scm/lily-library.scm:242:5: Wrong
type (expecting real number): #

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


Create a bookpart with a scheme function

2016-11-17 Thread Freddy Ouellette
I am transcribing music from the 1500s. I would like to include the
original facsimile in my arrangement as EPS files that take up entire
pages. These EPS files are dispersed between the pieces. I have to create
separate bookparts for them because I need to have \paper blocks - I don't
want my normal footer on these pages. Is there a way I can create a dynamic
bookpart that does all of my formatting for me, but simply has a different
EPS file per part? This is what I want:

\book {
  \bookpart {
\score {
  % arranged music...
}
  }

  \facsimile_page #140 #"eps_file.eps"}

and this function will insert this bookpart :

\bookpart {
  \markup \null
  \header {}
  \paper {
bookTitleMarkup = ##f

evenHeaderMarkup = \markup \fill-line { \epsfile #X #130
#"***eps_file.eps***" }
oddHeaderMarkup = \markup \fill-line { \epsfile #X #130
#"***eps_file.eps***" }
evenFooterMarkup = \markup {
  \fill-line {
\column { \vspace #-63 \fromproperty #'page:page-number-string }
\null
\null
  }
}
oddFooterMarkup = \markup {
  \fill-line {
\null
\null
\column { \vspace #-63 \fromproperty #'page:page-number-string }
  }
}
  }}

Is it possible to use Scheme/Guile to create this bookpart each time I call
the function? Any time I try to create a function like this, the page just
doesn't show up at all.

Thanks for any help.

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


Re: force distance between bars for chord only staff

2006-01-20 Thread freddy
Thanks Mats, I did upgrade to unstable branch 2.7.27 and 
the new feature proportional spacing is working fine. 
Thanks !


Freddy.

On Thu, 19 Jan 2006 22:01:58 +0100
 Mats Bengtsson [EMAIL PROTECTED] wrote:
*This message was transferred with a trial version of 
CommuniGate(r) Pro*
If you search the mailing list archives, you will find 
that this is a
very popular question (even though most people don't ask 
for the
specific case of a score with only chords). Possibly you 
can use
the support for proportional notation introduced in 
version
2.7.something, see the example called 
spacing-proportional.ly
in the Regression Test document for version 2.7. 
Otherwise
the standard trick is to include an invisible voice with 
only 16th
notes or whatever, which will fix the horizontal 
spacing.


In most scores, this kind of fixed spacing looks so 
ugly, so

that's why it's not directly supported in LilyPond.

  /Mats

[EMAIL PROTECTED] wrote:

May I ask again for assistance on this point ? no 
feedback for the 
moment, did I miss to communicate some information ?


Thanks,
Freddy.

On Sun, 15 Jan 2006 10:23:23 +0100
 [EMAIL PROTECTED] wrote:

*This message was transferred with a trial version of 
CommuniGate(r) 
Pro*

Hi,

I'm trying use 2.6.x to produce jazz staff without the 
melody staff. 
My problem is I would like to get 4 measure per line 
with the same 
distance between bars. It looks lilypond affects 
different distances 
on each measure depending on the number of chords per 
measure, and 
finaly the staff is not easy to read.


I've read a bit the documentation about the 
SpannerSpacing interface. 
But because I'm a newbie with lilypond I'm not able to 
use it 
properly, that's the reason why I ask lilypond users to 
give me some 
help !


Additionnaly, if you know about websites on which I 
could find 
lilypond templates for jazz staff, I've tryed to found 
this with 
google, but I didn't success with this too...


Thanks,
Freddy.


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





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







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


Re: force distance between bars for chord only staff

2006-01-18 Thread freddy
May I ask again for assistance on this point ? no feedback 
for the moment, did I miss to communicate some information 
?


Thanks,
Freddy.

On Sun, 15 Jan 2006 10:23:23 +0100
 [EMAIL PROTECTED] wrote:
*This message was transferred with a trial version of 
CommuniGate(r) Pro*

Hi,

I'm trying use 2.6.x to produce jazz staff without the 
melody staff. My problem is I would like to get 4 measure 
per line with the same distance between bars. It looks 
lilypond affects different distances on each measure 
depending on the number of chords per measure, and finaly 
the staff is not easy to read.


I've read a bit the documentation about the 
SpannerSpacing interface. But because I'm a newbie with 
lilypond I'm not able to use it properly, that's the 
reason why I ask lilypond users to give me some help !


Additionnaly, if you know about websites on which I 
could find lilypond templates for jazz staff, I've tryed 
to found this with google, but I didn't success with this 
too...


Thanks,
Freddy.


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




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


force distance between bars for chord only staff

2006-01-15 Thread freddy

Hi,

I'm trying use 2.6.x to produce jazz staff without the 
melody staff. My problem is I would like to get 4 measure 
per line with the same distance between bars. It looks 
lilypond affects different distances on each measure 
depending on the number of chords per measure, and finaly 
the staff is not easy to read.


I've read a bit the documentation about the SpannerSpacing 
interface. But because I'm a newbie with lilypond I'm not 
able to use it properly, that's the reason why I ask 
lilypond users to give me some help !


Additionnaly, if you know about websites on which I could 
find lilypond templates for jazz staff, I've tryed to 
found this with google, but I didn't success with this 
too...


Thanks,
Freddy.


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