Re: Shrinking beams along with noteheads

2010-12-04 Thread Richie Gress

nachkan wrote:

I am simply trying to explicitly write out a glissando in small notes (of
a specified size), while keeping the rhythmic notation accurate. They
happen to be 64th notes, so they have four beams connecting the stems. It
is easy enough to make the noteheads the desired size with e.g. \override
NoteHead #'font-size = #-2. However, I cannot figure out how to make the
beams smaller as well - which is a fairly big deal when you have four
beams. I see that I can make the beam lines themselves thinner by writing
e.g. \override Beam #'thickness = #0.35, but they are still spaced the
same distance apart as they normally would be. I cannot find any reference
to any variable or property which modifies the distance (or gap) between
the beams (the Beam object's gap property, while sounding promising,
seems to do nothing) - if I could, this problem would be solved.

What I am looking for is essentially the same as what \grace does, but the
notation it creates is too small for me, and I want to be able to set the
size to somewhere in between grace note size and normal note size.

I thought this would be a common enough problem but after hours of
searching the internet, the lilypond docs, and these forums, I haven't
been able to find a solution. Is there some way to modify the beam
spacings in this way? Is there some way to alter the \grace command to
produce the desired effect? Or any other way of approaching this problem?
I don't mind doing some Scheme or other technical/geeky stuff, but I am
currently at a loss as to how to proceed with this.


Any help is really appreciated, thank you.

 

Lilypond makes this easy:
\set fontSize = #-2
(music)
\unset fontSize
(other music)

It affects beam size, stem width and height, note head size, accidental 
size, and markup font size, nothing else, probably making it the ideal 
solution for you :)



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


Weirdness in distribution of systems across pages

2010-12-04 Thread Frank Steinmetzger
Hello list,

I have written a document with a number of pieces within a single \book block. 
Each piece is a separate \score. I'm now working on an even density of the 
systems, so the document looks nice as a whole. I have one problem here:

For some pieces I have set a fixed system-count to override lilypond’s 
default, also I have a \pageBreak between all pieces except between 2 and 4. 
This yields the result on the left of the screenshot. It's almost perfect, 
except for piece 9, which is only three systems big with (relatively) much 
space in between. So I tried if it could be 4 systems long and it can.

However, for some reason, when I do so it messes up piece 2. Although it is 
two manual \pageBreaks apart, it is influenced by this one system-count and 
its systems are spread across one additional page (though its system count 
remains the same). You can see the result on the right column of the screenie.


Each piece is stored in a separate file. Those piece files contain the music 
in the form of

\partone=\new ChoirStaff

\staffone
\lyricstostaffone

\stafftwo
\lyricstostafftwo

etc...


without any additional \layout information, only the occasional \break. The 
main file has the scores and directly \includes the pieces into them.

Do you have any idea why piece 2 is influenced by piece 9? And -- more 
importantly -- a way to solve this mystery?
-- 
Gruß | Greetings | Qapla'
I forbid the use of any of my addresses with facebook services.

The number you dialed is imaginary.
Please rotate your phone by 90 degrees and try again.
\book {
	\header {
		title = Oratorio de Noël
		composer = Camille Saint-Saëns
		opus = Op.12
		tagline = ##f
	}
	\paper {
		oddHeaderMarkup = \markup \fill-line { \on-the-fly #not-first-page \fromproperty #'page:page-number-string  }
		evenHeaderMarkup= \markup \fill-line {  \on-the-fly #not-first-page \fromproperty #'page:page-number-string }
	}

	\pageBreak
	\tocItem \markup 2. Récit et Chœur
	\score {
		\keepWithTag #'chor
		\partzwo
		\header {piece=\markup\column{2. Récit et Chœur \null} }
		\layout{
			\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
			}
		}
	}

	%\pageBreak
	\tocItem \markup 4. Chœur
	\score {
		\keepWithTag #'chor
		\partvier
		\header {piece=4. Air et chœur}
		\layout{
			\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
			}
			system-count = 3
		}
	}

	\pageBreak
	\tocItem \markup 6. Chœur
	\score {
		\partsechs
		\header {piece=6. Chœur}
		\layout {
			system-count = #8
		}
	}

	\pageBreak
	\tocItem \markup 9. Quintette et Chœur
	\score {
		\keepWithTag #'chor
		\partneun
		\header {piece=9. Quintette et Chœur}
		\layout {
			system-count = 4
		}
	}
	\pageBreak
	\tocItem \markup 10. Récit et Chœur
	\score {
		\partzehn
		\layout {
			system-count = #4
		}
		\header {piece=\markup\column{10. Chœur \null} }
	}
}
attachment: screenie.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Weirdness in distribution of systems across pages

2010-12-04 Thread Phil Holmes

Which version of LilyPond are you using?

--
Phil Holmes


- Original Message - 
From: Frank Steinmetzger war...@gmx.de

To: lilypond-user@gnu.org
Sent: Saturday, December 04, 2010 3:47 PM
Subject: Weirdness in distribution of systems across pages


Hello list,

I have written a document with a number of pieces within a single \book 
block.

Each piece is a separate \score. I'm now working on an even density of the
systems, so the document looks nice as a whole. I have one problem here:

For some pieces I have set a fixed system-count to override lilypond’s
default, also I have a \pageBreak between all pieces except between 2 and 4.
This yields the result on the left of the screenshot. It's almost perfect,
except for piece 9, which is only three systems big with (relatively) much
space in between. So I tried if it could be 4 systems long and it can.

However, for some reason, when I do so it messes up piece 2. Although it is
two manual \pageBreaks apart, it is influenced by this one system-count and
its systems are spread across one additional page (though its system count
remains the same). You can see the result on the right column of the 
screenie.



Each piece is stored in a separate file. Those piece files contain the music
in the form of

\partone=\new ChoirStaff

\staffone
\lyricstostaffone

\stafftwo
\lyricstostafftwo

etc...




without any additional \layout information, only the occasional \break. The
main file has the scores and directly \includes the pieces into them.

Do you have any idea why piece 2 is influenced by piece 9? And -- more
importantly -- a way to solve this mystery?
--
Gruß | Greetings | Qapla'
I forbid the use of any of my addresses with facebook services.

The number you dialed is imaginary.
Please rotate your phone by 90 degrees and try again.







___
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: Weirdness in distribution of systems across pages

2010-12-04 Thread Frank Steinmetzger
On Saturday 04 December 2010 16:59:59 Phil Holmes wrote:
 Which version of LilyPond are you using?

Thought about that fact a couple of seconds after sending. *g*
It’s 2.12.3.
-- 
Gruß | Greetings | Qapla'
Moderener Tourismus: Man glaubt zu reisen und wird doch nur transportiert.

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


Re: Lyx 2.0 Beta 1, LilyPond OS X, MacTeX etc. - no lilypond integration

2010-12-04 Thread Henry Flurry
OK - got a bit further!

Changing the path variable didn't do it.  Reviewing old emails again, I see 
that the PATH variable can be set in the shell OR in the Lyx - Preferences - 
Paths - PATH Prefix

THEN, you need to do:

Lyx - Reconfigure

(This was a step I was missing for a while.)

NOW, the lilypond example loads up without complaint.

BUT, I get an Apple app crash panel with the following error:

gs cannot be opened because of a problem

with some problem details looking like:

Process: gs [6477] 
Path: 
/Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/bin/gs 
Identifier: gs Version: ??? (???) 
Code Type: X86 (Native) 
Parent Process: dvipng [6476] 
Date/Time: 2010-12-04 09:35:21.031 -0700 
OS Version: Mac OS X 10.6.5 (10H574) 
Report Version: 6 Anonymous 
UUID: 219AD32B-CD4E-46DE-A36B-439CEBBA839D  
Exception Type: EXC_BREAKPOINT (SIGTRAP) 
Exception Codes: 0x0002, 0x Crashed Thread: 
 0 

Which to me suggests the problem is occurring when generating an png file.

This type of crash will come up when I:

View - DVI
View - HTML
View - OpenDocument

However, the following work fine:

View - PDF

Now it sounds like there is a problem with lilypond's gs itself.

Would you agree?

(I just upgraded lilypond OS X to 2.13.41-1, and the same symptoms occur.)

Thoughts?

Thanks!
Henry


On Dec 3, 2010, at 10:39 AM, Damian leGassick wrote:

 do you have something like this in your .bash_login?
 
 export 
 PATH=/Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/bin:$PATH
 
 Damian
 
 On 3 Dec 2010, at 17:22, Henry Flurry wrote:
 
 Setup:
 Lyx 2.0 Beta 1, downloaded from: 
  ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/beta1/LyX-2.0.0beta1+qt4.dmg.sig
 
 LilyPond OS X 2.13.39, downloaded from:
  
 http://download.linuxaudio.org/lilypond/binaries/darwin-x86/lilypond-2.13.39-1.darwin-x86.tar.bz2
 
 MacTeX:
  http://mirror.hmc.edu/ctan/systems/mac/mactex/MacTeX.mpkg.zip
 
 MacTex install package was run normally.
 
 LilyPond app was dragged into folder:
  /Applications/_AudioMusicRelated
 
 Lyx app was dragged into folder:
  /Applications/_PrintRelated
 
 I have MacTeXExtras, but I'm not sure if I need them nor where to put them, 
 so they are stuffed away in another directory for later use.
 
 LilyPond runs fine by itself, rendering the sample provided quite nicely.
 
 Lyx runs fine on normal example files, rendering them fine in PDF and on the 
 screen.
 
 However, when I open the lilypond example included, I get the error:
 
  The module lilypond requires a package that is
  not available in your LaTeX installation. LaTeX output
  may not be possible.
 
 Same error shows up when I go into Document-Settings.  Also, under the View 
 menu, there is no PDF option for the lilyPond document.
 
 Per earlier list suggestions, I ran Onyx 2.2 and verified permissions, etc. 
 but I get the same message.
 
 My guess is that either:
 
 - LyX can't find where I put LilyPond, and I need to set some shell 
 variables or run a script or move the LilyPond app
 
 - I need a different installation of LilyPond that goes directly into the 
 bowels of Unix.
 
 What should I so?
 
 Thanks!
 Henry
 
 
 
 


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


Re: Weirdness in distribution of systems across pages

2010-12-04 Thread Keith OHara
Frank Steinmetzger Warp_7 at gmx.de writes:

 [...] It's almost perfect, 
 except for piece 9, which is only three systems big with (relatively) much 
 space in between. So I tried if it could be 4 systems long and it can.
 
 However, for some reason, when I do so it messes up piece 2. Although it is 
 two manual \pageBreaks apart, it is influenced by this one system-count 

You can ask Lilypond to consider only a portion of the music when breaking 
pages,
by making each portion a separate \bookpart.  Each \bookpart starts on a new 
page, so you might put pieces 2-4 in one \bookpart, pieces 4-6 in the next 
\bookpart, etc.

When Lilypond has reached the limits of her ability to suggest page breaks, 
you can take over by putting \pageBreaks where you want them and using 
page-break-permission = #f (see chapter 4 in the reference manual for syntax).



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


Re: Shrinking beams along with noteheads

2010-12-04 Thread Nick Payne

On 04/12/10 23:38, Richie Gress wrote:

nachkan wrote:
I am simply trying to explicitly write out a glissando in small 
notes (of

a specified size), while keeping the rhythmic notation accurate. They
happen to be 64th notes, so they have four beams connecting the 
stems. It
is easy enough to make the noteheads the desired size with e.g. 
\override
NoteHead #'font-size = #-2. However, I cannot figure out how to 
make the

beams smaller as well - which is a fairly big deal when you have four
beams. I see that I can make the beam lines themselves thinner by 
writing
e.g. \override Beam #'thickness = #0.35, but they are still spaced 
the
same distance apart as they normally would be. I cannot find any 
reference
to any variable or property which modifies the distance (or gap) 
between

the beams (the Beam object's gap property, while sounding promising,
seems to do nothing) - if I could, this problem would be solved.

What I am looking for is essentially the same as what \grace does, 
but the
notation it creates is too small for me, and I want to be able to 
set the

size to somewhere in between grace note size and normal note size.

I thought this would be a common enough problem but after hours of
searching the internet, the lilypond docs, and these forums, I haven't
been able to find a solution. Is there some way to modify the beam
spacings in this way? Is there some way to alter the \grace command to
produce the desired effect? Or any other way of approaching this 
problem?

I don't mind doing some Scheme or other technical/geeky stuff, but I am
currently at a loss as to how to proceed with this.


Any help is really appreciated, thank you.


Lilypond makes this easy:
\set fontSize = #-2
(music)
\unset fontSize
(other music)

It affects beam size, stem width and height, note head size, 
accidental size, and markup font size, nothing else, probably making 
it the ideal solution for you :)


No, that doesn't shorten the stem length. You also need to override Stem 
#'length-fraction:


\set fontSize = #-2
\override Stem #'length-fraction = #(magstep -2)
(music)
\unset fontSize
\override Stem #'length-fraction = #(magstep 0)
(other music)

Nick


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


repeats and alternatives

2010-12-04 Thread James Bailey
I don't understand alternatives. Can someone explain to me what I'm doing 
wrong. Why does the first example not compile properly with the excuse, more 
alternatives than repeats but the second example compiles just fine?

\version 2.12.3

\book {
\relative c'' {
   \time 3/4
   \repeat volta 2 {
  g4 g8 g g4  |  
   }
   \alternative {
  { \repeat unfold 4 { g4 g8 g g4 } } |
  { \repeat unfold 2 { g2. } }
   }
   g2.
}
}

\book {
\relative c'' {
   \time 3/4
   \repeat volta 2 {
  g4 g8 g g4  |  
   }
   \alternative {
  { \repeat unfold 4 { g2. } }
  { \repeat unfold 2 { g2. } }
   }
   g2.
}
}


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


Re: repeats and alternatives

2010-12-04 Thread Neil Puttock
On 4 December 2010 22:05, James Bailey derhindem...@googlemail.com wrote:
 I don't understand alternatives. Can someone explain to me what I'm doing 
 wrong. Why does the first example not compile properly with the excuse, more 
 alternatives than repeats but the second example compiles just fine?

In your first example, LilyPond sees three blocks of music inside
\alternative since there's an isolated barcheck between the two music
parts.

Cheers,
Neil

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


Re: repeats and alternatives

2010-12-04 Thread James Bailey

On Dec 4, 2010, at 11:19 PM, Neil Puttock wrote:

 On 4 December 2010 22:05, James Bailey derhindem...@googlemail.com wrote:
 I don't understand alternatives. Can someone explain to me what I'm doing 
 wrong. Why does the first example not compile properly with the excuse, 
 more alternatives than repeats but the second example compiles just fine?
 
 In your first example, LilyPond sees three blocks of music inside
 \alternative since there's an isolated barcheck between the two music
 parts.
 
 Cheers,
 Neil

Thank you so much. I spent at least 30 minutes trying to figure this out.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Weirdness in distribution of systems across pages

2010-12-04 Thread Frank Steinmetzger
On Saturday 04 December 2010 19:14:46 Keith OHara wrote:

  [...] It's almost perfect,
  except for piece 9, which is only three systems big with (relatively)
  much space in between. So I tried if it could be 4 systems long and it
  can.
  
  However, for some reason, when I do so it messes up piece 2. Although it
  is two manual \pageBreaks apart, it is influenced by this one
  system-count
 
 You can ask Lilypond to consider only a portion of the music when breaking
 pages, by making each portion a separate \bookpart.  Each \bookpart starts
 on a new page, so you might put pieces 2-4 in one \bookpart, pieces 4-6 in
 the next \bookpart, etc.
 
 When Lilypond has reached the limits of her ability to suggest page breaks,
 you can take over by putting \pageBreaks where you want them and using
 page-break-permission = #f (see chapter 4 in the reference manual for
 syntax).

But the strange thing is that it already allocated the correct space for parts 
2 and 4. I'm surprised that it behaves differently when I change something in 
a completely different part of the document.

Onc I encased pieces two and four by one bookbart, they fit into two pages 
together. Now, piece 10 stretched out to two pages (3 systems on the first, 
one on the second page, which was the last one of the document).
Then I added a bookpart around piece 10, which made it fit onto a single page 
again. Guess what -- this time it was piece 9 that stretches across two pages.


It’s as if lilypond is trying to keep an even number of pages.

You saw the file, there is no global page-count defined. I’m stumped.:-|
-- 
Gruß | Greetings | Qapla'
If you have a problem, call your system-administrator.
If you are the system-administrator, you have a problem.

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


Re: repeats and alternatives

2010-12-04 Thread Patrick Schmidt


Am 04.12.2010 um 23:05 schrieb James Bailey:

I don't understand alternatives. Can someone explain to me what I'm  
doing wrong. Why does the first example not compile properly with  
the excuse, more alternatives than repeats but the second example  
compiles just fine?

Hi James,
in your first example you used a pipe symbol outside of the braces of  
the first alternative. Delete it or use it inside the unfold-braces  
and both examples will compile.


HTH,
patrick


\version 2.12.3

\book {
\relative c'' {
   \time 3/4
   \repeat volta 2 {
  g4 g8 g g4  |
   }
   \alternative {
  { \repeat unfold 4 { g4 g8 g g4 } } |
  { \repeat unfold 2 { g2. } }
   }
   g2.
}
}

\book {
\relative c'' {
   \time 3/4
   \repeat volta 2 {
  g4 g8 g g4  |
   }
   \alternative {
  { \repeat unfold 4 { g2. } }
  { \repeat unfold 2 { g2. } }
   }
   g2.
}
}


___
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: repeats and alternatives

2010-12-04 Thread Mark Polesky
Neil Puttock wrote:
 In your first example, LilyPond sees three blocks of music
 inside \alternative since there's an isolated barcheck
 between the two music parts.

This is a very easy mistake to make (and an annoying one to
have to figure out on your own).  Can someone mention this
in the docs?

- Mark


  

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


new autobeam settings not working for me

2010-12-04 Thread Jonathan Kulp
Having trouble with new autobeam settings. I get the simplest thing to work:

\relative c' {
  \time 4/4
  \set Timing.baseMoment = #(ly:make-moment 1 8)
  \set Timing.beatStructure = #'(3 3 2)
  c8 c c c c c c c
}

Shouldn't this group the 8th notes into 3 + 3 + 2? I can't get the
beaming to change at all no matter what I do.

Jon
-- 
Jonathan Kulp
http://www.jonathankulp.com

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


Re: new autobeam settings not working for me

2010-12-04 Thread Jonathan Kulp
On Sat, Dec 4, 2010 at 6:04 PM, Jonathan Kulp jonlancek...@gmail.com wrote:
 Having trouble with new autobeam settings. I get the simplest thing to work:

 \relative c' {
  \time 4/4
  \set Timing.baseMoment = #(ly:make-moment 1 8)
  \set Timing.beatStructure = #'(3 3 2)
  c8 c c c c c c c
 }

 Shouldn't this group the 8th notes into 3 + 3 + 2? I can't get the
 beaming to change at all no matter what I do.


Ok so now I've been able to make the beaming change if I am in 8/8 or
6/8 but not in 4/4 time, where it stays resolutely in groups of 4 + 4
8th notes. How do I alter the beaming of a 4/4 bar?

Jon
-- 
Jonathan Kulp
http://www.jonathankulp.com

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


Re: new autobeam settings not working for me

2010-12-04 Thread Xavier Scheuer
On 5 December 2010 02:13, Jonathan Kulp jonlancek...@gmail.com wrote:

 Ok so now I've been able to make the beaming change if I am in 8/8 or
 6/8 but not in 4/4 time, where it stays resolutely in groups of 4 + 4
 8th notes. How do I alter the beaming of a 4/4 bar?

Hi,

I suppose it is due to  beamExceptions  that is set for 8th in 4/4
(see ‘scm/time-signature-settings.scm’).

This works:

\relative c' {
 \time 4/4
 \set Timing.baseMoment = #(ly:make-moment 1 8)
 \set Timing.beatStructure = #'(3 3 2)
 \set Timing.beamExceptions = #'()
 c8 c c c c c c c
}

But this behaviour is strange (non expected from a user point of view)
and should be changed or at least documented.

Carl, thoughts?

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: new autobeam settings not working for me

2010-12-04 Thread Carl Sorensen



On 12/4/10 6:21 PM, Xavier Scheuer x.sche...@gmail.com wrote:

 On 5 December 2010 02:13, Jonathan Kulp jonlancek...@gmail.com wrote:
 
 Ok so now I've been able to make the beaming change if I am in 8/8 or
 6/8 but not in 4/4 time, where it stays resolutely in groups of 4 + 4
 8th notes. How do I alter the beaming of a 4/4 bar?
 
 Hi,
 
 I suppose it is due to  beamExceptions  that is set for 8th in 4/4
 (see Oscm/time-signature-settings.scm¹).
 

Yep, I had just made and tested the change when this email came in.

 This works:
 
 \relative c' {
  \time 4/4
  \set Timing.baseMoment = #(ly:make-moment 1 8)
  \set Timing.beatStructure = #'(3 3 2)
  \set Timing.beamExceptions = #'()
  c8 c c c c c c c
 }
 
 But this behaviour is strange (non expected from a user point of view)
 and should be changed or at least documented.

I can't see how it should be changed.  It's totally under user control.
There are three separate context properties that affect autobeaming, and all
three need to be properly set.

I can see that it needs to be documented better.  I'll cook a patch.

Thanks,

Carl


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


Re: new autobeam settings not working for me

2010-12-04 Thread Jonathan Kulp
On Sat, Dec 4, 2010 at 7:26 PM, Carl Sorensen c_soren...@byu.edu wrote:

 Hi,

 I suppose it is due to  beamExceptions  that is set for 8th in 4/4
 (see Oscm/time-signature-settings.scm¹).


 Yep, I had just made and tested the change when this email came in.

 This works:

 \relative c' {
  \time 4/4
  \set Timing.baseMoment = #(ly:make-moment 1 8)
  \set Timing.beatStructure = #'(3 3 2)
  \set Timing.beamExceptions = #'()
  c8 c c c c c c c
 }

 But this behaviour is strange (non expected from a user point of view)
 and should be changed or at least documented.

 I can't see how it should be changed.  It's totally under user control.
 There are three separate context properties that affect autobeaming, and all
 three need to be properly set.

 I can see that it needs to be documented better.  I'll cook a patch.


Thanks guys. I'll try it when I log back into my linux side. (I only
have 2.12 on windows.)

Jon

-- 
Jonathan Kulp
http://www.jonathankulp.com

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


Re: new autobeam settings not working for me

2010-12-04 Thread Xavier Scheuer
On 5 December 2010 02:26, Carl Sorensen c_soren...@byu.edu wrote:

 I can't see how it should be changed.  It's totally under user control.
 There are three separate context properties that affect autobeaming, and all
 three need to be properly set.

Yeah, but from a simple user perspective it is not obvious that
*default* beaming rules contain exceptions, I mean, er..., usually
exceptions are opposed to rules, not part of them!  ;D

 I can see that it needs to be documented better.  I'll cook a patch.

Great, thanks!

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: new autobeam settings not working for me

2010-12-04 Thread Carl Sorensen



On 12/4/10 6:33 PM, Xavier Scheuer x.sche...@gmail.com wrote:

 On 5 December 2010 02:26, Carl Sorensen c_soren...@byu.edu wrote:
 
 I can't see how it should be changed.  It's totally under user control.
 There are three separate context properties that affect autobeaming, and all
 three need to be properly set.
 
 Yeah, but from a simple user perspective it is not obvious that
 *default* beaming rules contain exceptions, I mean, er..., usually
 exceptions are opposed to rules, not part of them!  ;D

Well, in this case it's documented that exceptions are exceptions to the
rule that beams end on a beat.  But they're part of the autobeaming rules.

I'll add some examples that show how 4/4 and 3/4 have exceptions that can
profitably be removed.

Thanks,

Carl


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


Re: new autobeam settings not working for me

2010-12-04 Thread Carl Sorensen
On 12/4/10 6:33 PM, Xavier Scheuer x.sche...@gmail.com wrote:

 On 5 December 2010 02:26, Carl Sorensen c_soren...@byu.edu wrote:
 
 I can see that it needs to be documented better.  I'll cook a patch.
 
 Great, thanks!

I've pushed a patch that does the following:

1) Identifies that beamExceptions can cause unexpected results

2) Demonstrates that there is a (2 2) exception in 4/4 time that causes
Jon's example not to work, but that it will work if beamExceptions is set to
'()

3) Demonstrates that 3/4 time has a (3) exception that causes 1/8 notes to
be beamed in whole measures, but that clearing beamExceptions causes 3/4
time to be beamed (1 1 1).

http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commit;h=ff89624de9566
c48f27ec827ad440bd00db46eda

Thanks,

Carl


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


Re: new autobeam settings not working for me

2010-12-04 Thread Jonathan Kulp
On Sat, Dec 4, 2010 at 8:12 PM, Carl Sorensen c_soren...@byu.edu wrote:
 On 12/4/10 6:33 PM, Xavier Scheuer x.sche...@gmail.com wrote:

 On 5 December 2010 02:26, Carl Sorensen c_soren...@byu.edu wrote:

 I can see that it needs to be documented better.  I'll cook a patch.

 Great, thanks!

 I've pushed a patch that does the following:

 1) Identifies that beamExceptions can cause unexpected results

 2) Demonstrates that there is a (2 2) exception in 4/4 time that causes
 Jon's example not to work, but that it will work if beamExceptions is set to
 '()

 3) Demonstrates that 3/4 time has a (3) exception that causes 1/8 notes to
 be beamed in whole measures, but that clearing beamExceptions causes 3/4
 time to be beamed (1 1 1).

 http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commit;h=ff89624de9566
 c48f27ec827ad440bd00db46eda


Awesome, Carl. Thanks for doing that so quickly. :)

Jon

-- 
Jonathan Kulp
http://www.jonathankulp.com

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


Re: Lyx 2.0 Beta 1, LilyPond OS X, MacTeX etc. - no lilypond integration

2010-12-04 Thread Henry Flurry
Further research shows that gs is not finding a dynamic library.  Console 
reports:

dyld: Library not loaded: ./bin/../sobin/libgs.8.70.dylib

I tried to soft link from lib (which contains the dyld) to sobin, but that 
still didn't work.  gs also failed from command line.

However, if I did this in bash:

export 
DYLD_LIBRARY_PATH=/Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/lib:$DYLD_LIBRARY_PATH
 
Then the gs would work from the commmand line.

But I can't find a way to tell LyX to set up the DYLD_LIBRAY_PATH for calling 
gs.

I'm assuming that this is a bug in lilypond distribution, so I submitted a bug 
to them.

Other ideas?

Thanks!
henry


On Dec 4, 2010, at 9:53 AM, Henry Flurry wrote:

 OK - got a bit further!
 
 Changing the path variable didn't do it.  Reviewing old emails again, I see 
 that the PATH variable can be set in the shell OR in the Lyx - Preferences 
 - Paths - PATH Prefix
 
 THEN, you need to do:
 
   Lyx - Reconfigure
 
 (This was a step I was missing for a while.)
 
 NOW, the lilypond example loads up without complaint.
 
 BUT, I get an Apple app crash panel with the following error:
 
   gs cannot be opened because of a problem
 
 with some problem details looking like:
 
   Process: gs [6477] 
   Path: 
 /Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/bin/gs 
   Identifier: gs Version: ??? (???) 
   Code Type: X86 (Native) 
   Parent Process: dvipng [6476] 
   Date/Time: 2010-12-04 09:35:21.031 -0700 
   OS Version: Mac OS X 10.6.5 (10H574) 
   Report Version: 6 Anonymous 
   UUID: 219AD32B-CD4E-46DE-A36B-439CEBBA839D  
   Exception Type: EXC_BREAKPOINT (SIGTRAP) 
   Exception Codes: 0x0002, 0x Crashed Thread: 
  0 
 
 Which to me suggests the problem is occurring when generating an png file.
 
 This type of crash will come up when I:
 
   View - DVI
   View - HTML
   View - OpenDocument
 
 However, the following work fine:
 
   View - PDF
 
 Now it sounds like there is a problem with lilypond's gs itself.
 
 Would you agree?
 
 (I just upgraded lilypond OS X to 2.13.41-1, and the same symptoms occur.)
 
 Thoughts?
 
 Thanks!
 Henry
 
 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: how to get half-bar used in Bach Music?

2010-12-04 Thread Marc Mouries
just want to let you know there was a typo in the snippet that i just caught.
The function works great and the thinner half bar looks more like the one 
Bach's wrote.

What about adding this snippet in the doc about bar lines?

Would it be possible to do the BarLine override every other bar automatically?


On Dec 4, 2010, at 9:49 PM, Marc Mouries wrote:

 
 thanks all for your help. Browsing the lilypond doc I have stumbled upon the 
 section on the Gregorian notation and what do i find? a half-bar!
 http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Typesetting-Gregorian-chant.html#Divisiones
 
 I tried to use it but apparently it is a breath mark and as such the bar line 
 are also printed.
 I found an old post asking the question how to override the bar line with a 
 snippet that is supposed to work but i get errors on 2.13.38
 http://osdir.com/ml/lilypond-user-gnu/2009-06/msg00299.html 
 
 \version 2.12.2
 divisioMaior = {
 \once \override Score.BarLine #'stencil = #ly:breathing- sign::divisio-maior 
 }
 \relative c' {
 c2 d \divisioMaior
 e f \divisioMaior
 g4 a b2 \divisioMaior
 c1 \divisioMaior
 }
 
 
 
 
 
 On Nov 22, 2010, at 10:30 AM, jakob lund wrote:
 
 Ok here's another ugly hack:
 
 example
 
 #(define __x 1)
 
 {
 \override Staff . BarLine #'bar-size = #(lambda (G) (set! __x (1+
 __x)) (+ 2 (* 2 (modulo __x 2
 
 \relative c'' { c1 c c c c }
 }
 
 /example
 
 It's ugly because it uses a `global' variable __x to count the bars
 and set the bar size to 2 only after an odd number of bars. It screws
 up if you try to use it with more staffs.
 
 If someone who knows the inner workings of scheme in Lilypond reads
 this, I would like to know
 how to properly access the current bar number in the callback!???
 
 
 Jakob.
 
 
 2010/11/22 Alexander Kobel n...@a-kobel.de:
 [ with cc to lilypond-user; please keep the discussions on the mailing list,
 others might have the same problems and can find the solutions in the
 mailing list archives ]
 
 On 2010-11-22 12:38, Martin Kemp wrote:
 
 I've just been struggling with this too. All else having failed, I faked
 it by using an invisible bar line and adding:
 
 \once \override TextScript #'extra-offset = #'(-1 . 3.5) c8_\markup {
 \musicglyph #rests.M2mensural }
 
 Woah, that's some ugly hack...
 Again, I don't see the need for this - I just tested the following, and it
 works just perfect for me (use \halfBar to make a real bar line at the end
 of a measure appear smaller, and \halfAddBar to insert a fake barline of
 half the usual extent).  If it doesn't in your setting, could you give a
 small compiling example to show the problem?
 
 halfBar = \once \override Staff . BarLine #'bar-size = #2
 halfAddBar = { \halfBar \bar | }
 
 \relative c' {
 c4 c \halfAddBar c c \halfBar |
 c c c c |
 }
 
 
 Cheers,
 Alexander
 
 ___
 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