Re: Replacement Macros - Ooops! Try Again Again

2008-12-14 Thread Tao Cumplido
Hi,

I solved this for by using scheme in the header, like this:

poet = #(markup lyricist)

I don't know if you have to use scheme there but it works.
Hope that helps.

Regards,

Tao

 Original-Nachricht 
> Datum: Sun, 14 Dec 2008 14:00:25 +0700
> Von: "Simon J Mackenzie" 
> An: "LilyPond Mailing List" 
> Betreff: Replacement Macros - Ooops! Try Again Again

> Hi
> How do you go about defining replacement macros so that ...
> lyricist =  \markup {  \bold "Fred" "J" \italic "Bones" }
> is transformed into say a form of...
> poet = lyricist
> Cheers
> Simon
> --
> 
> Reverend Simon J Mackenzie 
> 
> LUTHERAN CHURCH OF AUSTRALIA
> 197 Archer Street,
> North Adelaide,
> South Australia,
> AUSTRALIA, 5006
> 

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger


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


Re: Replacement Macros - Ooops! Try Again Again

2008-12-14 Thread Simon J Mackenzie
Hi Tao,
Except this is an assignment and not a macro substitution so it wont
work in my situation...

\header {
   %Common settings
   poet = #(markup lyricist)
}

\book {
   \bookpart {
  \header {
 lyricist = \markup { \bold "Yaahda Ohda" }
 composer = \markup { \italics "Bill G.t.s" }
  }
  etc...
   }
   \bookpart {
  \header {
 lyricist = \markup { \bold "Tom Albany" }
 composer = \markup { \italics "Bill G.t.s" }
  }
  etc...
   }
etc...
}

This code will fail to compile because lyricist is an unbound variable
in the first instance.

Cheers
Simon


On Sun, 14 Dec 2008 10:34:57 +0100, "Tao Cumplido"
 said:
> Hi,
> 
> I solved this for by using scheme in the header, like this:
> 
> poet = #(markup lyricist)
> 
> I don't know if you have to use scheme there but it works.
> Hope that helps.
> 
> Regards,
> 
> Tao
> 
>  Original-Nachricht 
> > Datum: Sun, 14 Dec 2008 14:00:25 +0700
> > Von: "Simon J Mackenzie" 
> > An: "LilyPond Mailing List" 
> > Betreff: Replacement Macros - Ooops! Try Again Again
> 
> > Hi
> > How do you go about defining replacement macros so that ...
> > lyricist =  \markup {  \bold "Fred" "J" \italic "Bones" }
> > is transformed into say a form of...
> > poet = lyricist
> > Cheers
> > Simon
> > --
> > 
> > Reverend Simon J Mackenzie 
> > 
> > LUTHERAN CHURCH OF AUSTRALIA
> > 197 Archer Street,
> > North Adelaide,
> > South Australia,
> > AUSTRALIA, 5006
> > 
> 
> -- 
> Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
> http://www.gmx.net/de/go/multimessenger
--

Reverend Simon J Mackenzie 

LUTHERAN CHURCH OF AUSTRALIA
197 Archer Street,
North Adelaide,
South Australia,
AUSTRALIA, 5006



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


questions about the TimeSig-context

2008-12-14 Thread Stefan Thomas
Dear lilypond-users,
I have again some questions concerning the TimeSig context.
I made a comment to those lines I do not understand. It would be very kind
if someone could explain the mening of these lines to me.
Thanks!
Stefan
\layout{
 \context {
   \type "Engraver_group"
\consists "Bar_engraver"
\consists "Span_bar_engraver"
\consists "Time_signature_engraver"
   \consists "Text_spanner_engraver"
   \consists "Text_engraver"
   \consists "Dynamic_engraver"
   \consists "Axis_group_engraver"
   \name "TimeSig"
   \override TimeSignature #'font-size = #3
   \override TimeSignature #'break-align-symbol = ##f % I don't understand
the sense of it.
% I found out, that, if switched to #t the time-signature will not go left,
although if there are clef changes in other voices.

   \override TimeSignature #'X-offset =
#ly:self-alignment-interface::x-aligned-on-self %What does it do?
   \override TimeSignature #'self-alignment-X = #0
   \override TimeSignature #'after-line-breaking =
#shift-right-at-line-begin %What does it do?
 }
 \context {
   \Score \accepts TimeSig
 }
 \context { \Staff
   \remove "Time_signature_engraver"
}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Replacement Macros - Ooops! Try Again Again

2008-12-14 Thread Neil Puttock
Hi Simon,

2008/12/14 Simon J Mackenzie :

> \header {
>   %Common settings
>   poet = #(markup lyricist)
> }
>
> \book {
>   \bookpart {
>  \header {
> lyricist = \markup { \bold "Yaahda Ohda" }
> composer = \markup { \italics "Bill G.t.s" }
>  }
>  etc...
>   }
>   \bookpart {
>  \header {
> lyricist = \markup { \bold "Tom Albany" }
> composer = \markup { \italics "Bill G.t.s" }
>  }
>  etc...
>   }
> etc...
> }
>
> This code will fail to compile because lyricist is an unbound variable
> in the first instance.

In this situation, you need to use \fromproperty
(http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Other#index-_005cfromproperty-1).

 \header {
  %Common settings
  poet = \markup { \fromproperty #'header:lyricist }
}

Regards,
Neil


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


Re: Replacement Macros - Ooops! Try Again Again

2008-12-14 Thread Carl D. Sorensen



On 12/14/08 3:21 AM, "Simon J Mackenzie"  wrote:

> Hi Tao,
 
> This code will fail to compile because lyricist is an unbound variable
> in the first instance.
> 
> Cheers
> Simon
> 

How about

#(define poet lyricist)

Carl



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


Re: Replacement Macros - Thank you

2008-12-14 Thread Simon J Mackenzie
Hi Neil,
Thank you for a working solution. No way I would have found this
solution buried as it is in the heart of the LP documentation.

So does \formproperty get called each time the passed symbol is
referenced or some such thing? Seems kind of Lispish...?

Time to slee.
Simon

On Sun, 14 Dec 2008 17:21:57 +, "Neil Puttock" 
said:
> Hi Simon,
> 
> 2008/12/14 Simon J Mackenzie :
> 
> > \header {
> >   %Common settings
> >   poet = #(markup lyricist)
> > }
> >
> > \book {
> >   \bookpart {
> >  \header {
> > lyricist = \markup { \bold "Yaahda Ohda" }
> > composer = \markup { \italics "Bill G.t.s" }
> >  }
> >  etc...
> >   }
> >   \bookpart {
> >  \header {
> > lyricist = \markup { \bold "Tom Albany" }
> > composer = \markup { \italics "Bill G.t.s" }
> >  }
> >  etc...
> >   }
> > etc...
> > }
> >
> > This code will fail to compile because lyricist is an unbound variable
> > in the first instance.
> 
> In this situation, you need to use \fromproperty
> (http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Other#index-_005cfromproperty-1).
> 
>  \header {
>   %Common settings
>   poet = \markup { \fromproperty #'header:lyricist }
> }
> 
> Regards,
> Neil
--

Reverend Simon J Mackenzie 

LUTHERAN CHURCH OF AUSTRALIA
197 Archer Street,
North Adelaide,
South Australia,
AUSTRALIA, 5006



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


error in the manuals

2008-12-14 Thread chip
I came across the example in the LM 4.4.3 Outside-staff objects that 
shows placement of some text objects above the staff. In the example the 
word Slower is shown but when I copy/paste the section from the code 
behind the picture it does not work as pictured, the word Slower is not 
appearing in the resulting .pdf. There is a similar example is used in 
the NR 5.4.5 Spanners - Using the |line-spanner-interface.

|
\override TextSpanner #'(bound-details left text)
= \markup { \small \bold Slower }
c2\startTextSpan b c a\stopTextSpan

(above copy/pasted straight from the NR 5.4.5)

That code does not display the word Slower. I tried it with the word in 
quotes but it still does not display, the dashes do display, just not 
the word.


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


Re: error in the manuals

2008-12-14 Thread Graham Percival
On Sun, Dec 14, 2008 at 11:56:37AM -0700, chip wrote:
>\override TextSpanner #'(bound-details left text)
> = \markup { \small \bold Slower }
>c2\startTextSpan b c a\stopTextSpan
> 
>That code does not display the word Slower. I tried it with the word in
>quotes but it still does not display, the dashes do display, just not the
>word.

The examples in the manual are generated directly from lilypond.
My initial guess is that you're using 2.10 while reading the 2.11
docs.  In general this is not a problem, but in this case the code
only works in 2.11.

I recommend using 2.11 in any case.

Cheers,
- Graham


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


Segmentation fault on file with bookparts

2008-12-14 Thread Jonathan Kulp

Running 2.11.65, Ubuntu Linux.

I'm having problems running a file made up of several bookparts.  It 
looks like it's compiling fine and then it gets to the part where it 
draws systems and then there's a segmentation fault that kills it.  Each 
of the files runs fine on its own, but gathered into a series of 
bookparts it fails.  From what I've been able to find out reading old 
postings and issues, this happens in large files sometimes.  Is there a 
known way to avoid this?


If anyone would care to try the files out, I've posted a tarball on my 
website with all of the files in it.  Just run lilypond on the one 
called "LorcaMaster.ly".


http://www.jonathankulp.com/lorca.tar

Thanks,

Jon

Terminal output (the various warnings are normal on these files and 
don't cause them to fail):


GNU LilyPond 2.11.65
Processing `LorcaMaster.ly'
Parsing...
Interpreting music... 
[8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][128]

Preprocessing graphical objects...
Interpreting music...
Interpreting music... [8][16][24][32][40][48][56][64]
Preprocessing graphical objects...
Interpreting music...
Interpreting music... [8][16]
warning: type check for `stencil' failed; value `#t' must be of type 
`unknown'

[24][32][40]
Preprocessing graphical objects...
Interpreting music...
Interpreting music... [8][16][24][32][40][48][56][64][64]
Preprocessing graphical objects...
Interpreting music...
Interpreting music... [8][16][24][32]
Preprocessing graphical objects...
cantada-notes.ly:130:8: warning: ignoring too many clashing note columns

ais4. gis   | % 26
cantada-notes.ly:128:8: warning: ignoring too many clashing note columns

c4. a   | % 24
cantada-notes.ly:126:8: warning: ignoring too many clashing note columns

bes4. c | % 22
cantada-notes.ly:123:8: warning: ignoring too many clashing note columns

fis4. g,| % 19
cantada-notes.ly:121:8: warning: ignoring too many clashing note columns

dis'4. c| % 17
Interpreting music...
Interpreting music... [8][16][24]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `LorcaMaster.midi'...
Finding the ideal number of pages...
Fitting music on 3 or 4 pages...
Drawing systems...
Layout output to `LorcaMaster.ps'...
Calculating line breaks...
Drawing systems...
Calculating line breaks...
Drawing systems...
Calculating line breaks...
Drawing systems...
Calculating line breaks...
Drawing systems...
Calculating line breaks...
Drawing systems...
warning: too many colliding rests
warning: too many colliding rests
warning: too many colliding rests
warning: too many colliding rests
warning: too many colliding rests
/home/jon/bin/lily: line 144: 14291 Segmentation fault  lilypond 
--include=$HOME "$srcfile"




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


Re: Segmentation fault on file with bookparts

2008-12-14 Thread Graham Percival
See
http://www.mail-archive.com/bug-lilyp...@gnu.org/msg13523.html

If you could build with debug symbols and provide a backtrace,
and/or run lilypond with valgrind, it might help debug it.

Cheers,
- Graham


On Sun, Dec 14, 2008 at 01:29:03PM -0600, Jonathan Kulp wrote:
> Running 2.11.65, Ubuntu Linux.
>
> I'm having problems running a file made up of several bookparts.  It  
> looks like it's compiling fine and then it gets to the part where it  
> draws systems and then there's a segmentation fault that kills it.  Each  
> of the files runs fine on its own, but gathered into a series of  
> bookparts it fails.  From what I've been able to find out reading old  
> postings and issues, this happens in large files sometimes.  Is there a  
> known way to avoid this?
>
> If anyone would care to try the files out, I've posted a tarball on my  
> website with all of the files in it.  Just run lilypond on the one  
> called "LorcaMaster.ly".
>
> http://www.jonathankulp.com/lorca.tar
>
> Thanks,
>
> Jon
>
> Terminal output (the various warnings are normal on these files and  
> don't cause them to fail):
>
> GNU LilyPond 2.11.65
> Processing `LorcaMaster.ly'
> Parsing...
> Interpreting music...  
> [8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][128]
> Preprocessing graphical objects...
> Interpreting music...
> Interpreting music... [8][16][24][32][40][48][56][64]
> Preprocessing graphical objects...
> Interpreting music...
> Interpreting music... [8][16]
> warning: type check for `stencil' failed; value `#t' must be of type  
> `unknown'
> [24][32][40]
> Preprocessing graphical objects...
> Interpreting music...
> Interpreting music... [8][16][24][32][40][48][56][64][64]
> Preprocessing graphical objects...
> Interpreting music...
> Interpreting music... [8][16][24][32]
> Preprocessing graphical objects...
> cantada-notes.ly:130:8: warning: ignoring too many clashing note columns
>   
> ais4. gis | % 26
> cantada-notes.ly:128:8: warning: ignoring too many clashing note columns
>   
> c4. a | % 24
> cantada-notes.ly:126:8: warning: ignoring too many clashing note columns
>   
> bes4. c   | % 22
> cantada-notes.ly:123:8: warning: ignoring too many clashing note columns
>   
> fis4. g,  | % 19
> cantada-notes.ly:121:8: warning: ignoring too many clashing note columns
>   
> dis'4. c  | % 17
> Interpreting music...
> Interpreting music... [8][16][24]
> Preprocessing graphical objects...
> Interpreting music...
> MIDI output to `LorcaMaster.midi'...
> Finding the ideal number of pages...
> Fitting music on 3 or 4 pages...
> Drawing systems...
> Layout output to `LorcaMaster.ps'...
> Calculating line breaks...
> Drawing systems...
> Calculating line breaks...
> Drawing systems...
> Calculating line breaks...
> Drawing systems...
> Calculating line breaks...
> Drawing systems...
> Calculating line breaks...
> Drawing systems...
> warning: too many colliding rests
> warning: too many colliding rests
> warning: too many colliding rests
> warning: too many colliding rests
> warning: too many colliding rests
> /home/jon/bin/lily: line 144: 14291 Segmentation fault  lilypond  
> --include=$HOME "$srcfile"
>
>
>
> ___
> 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: Crosses in tablature

2008-12-14 Thread Simon Bailey

hi,

On Dec 13, 2008, at 10:19 PM, Marius Andersen wrote:

if you're all ok with this updated version, i'll
add that to the LSR.


Please do -- this is tremendously helpful. Even if LilyPond's  
support for tablature is, according to the manual, "limited", I'm  
probably not the only guitar player who nevertheless thinks its  
output is far more beautiful than that of any other "tabs" program.  
Code like this extends that support!


hmm, is there any way to add 2.11.x compatible snippets to the LSR?  
atm, i can't add this snippet, as it doesn't seem to work with 2.10.x  
running on the lsr box.






This is intriguing. In tablature, I use \parenthesize to enclose  
grace notes in parentheses:


   <\parenthesize e\1>

which produces (0). But this doesn't leave any extra space for the  
parentheses, the way space is left for the brackets when using  
\harmonic. In other words, the fret number itself (the notehead) is  
printed on a white background, but the parentheses around it are  
printed on the tablature lines.



quick question to the scheme/guile gurus around here: where does the  
predicate is-harmonic in the standard tablatureFormat function come  
from? i tried grepping for it in the $lilypond-home/share/lilypond/scm  
folder and couldn't find it anywhere. I'm thinking my  
tablatureFormatter might probably be extended in almost exactly the  
same way as is-harmonic to also support formatting parenthesize in the  
same way (with white-blanked background).


regards,
sb


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


Re: Crosses in tablature

2008-12-14 Thread Marius Andersen
> Fra: Simon Bailey 
> Emne: Re: Crosses in tablature
> Til: "lilypond-user" 
> Dato: Søndag 14. desember 2008 22.32
> 
> hmm, is there any way to add 2.11.x compatible snippets to
> the LSR? atm, i can't add this snippet, as it
> doesn't seem to work with 2.10.x running on the lsr box.

I'm using the latest stable, 2.10.33. The following code works for me:


#(define (x-tab-format str context event)
(make-whiteout-markup
  (make-vcenter-markup
(markup #:musicglyph "noteheads.s2cross"

crosshead = \set tablatureFormat = #x-tab-format
uncrosshead = \unset tablatureFormat

\new TabStaff {
\crosshead
c b, e f
\uncrosshead
c c
\crosshead
c
\uncrosshead
c
}



  _
Alt i ett. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com


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


Re: line missing from portato and tenuto

2008-12-14 Thread Mats Bengtsson

abqconlon wrote:

I can see the tenutos in measures 14 and 16 of the Satie. I am running
Windows XP Service Pack 3 and LilyPond version 2.10.0. Hope you can help.

  

Even though you have solved you immediate problem, I strongly
suggest you to upgrade to a more recent version of LilyPond,
preferably to the latest 2.11.x version (which is much better than
the latest "stable" version 2.10.33, not the least when it comes
to the documentation).

   /Mats

John

Mats Bengtsson-4 wrote:
  

This is weird! What LilyPond version do you use? What operating system?
Do you see the tenutos in measures 14 and 16 of 
http://lilypond.org/doc/v2.11/input/mutopia/E.Satie/petite-ouverture-a-danser.pdf 
?


   /Mats

abqconlon wrote:


Bob, thanks for asking. I am using Adobe Reader 8. It prints the same as
it
appears on the screen.

David Bobroff wrote:
  
  

abqconlon wrote:



I am using the \portato and \tenuto to add articulations to my music.
In
both
cases the horizontal line does not appear in the PDF. In the case of
the
portato, the dot does appear so it looks like a staccato. my \staccato
and
\accent and others that I have tried work fine.
  
  
One possibility that immediately comes to mind is to wonder if it's an 
issue with the PDF viewer you're using.  I've had things look wrong and 
print wrong when using jPedal. When these same PDFs were viewed with 
Acroread they looked and printed just fine.  You didn't say what PDF 
reader you use so this is only a guess.


-David


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




  
  

--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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





  



--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


Re: error in the manuals

2008-12-14 Thread Mats Bengtsson

I hope you realize that the examples in the manual have been
produced by exactly the code that you see when clicking on
the corresponding picture, so it's impossible that there's
an error (at least one that you don't also see in the example
in the manual). Are you sure that you use exactly the same
LilyPond version as the manual was written for (and produced
by)?

  /Mats

chip wrote:
I came across the example in the LM 4.4.3 Outside-staff objects that 
shows placement of some text objects above the staff. In the example 
the word Slower is shown but when I copy/paste the section from the 
code behind the picture it does not work as pictured, the word Slower 
is not appearing in the resulting .pdf. There is a similar example is 
used in the NR 5.4.5 Spanners - Using the |line-spanner-interface.

|
\override TextSpanner #'(bound-details left text)
 = \markup { \small \bold Slower }
c2\startTextSpan b c a\stopTextSpan

(above copy/pasted straight from the NR 5.4.5)

That code does not display the word Slower. I tried it with the word 
in quotes but it still does not display, the dashes do display, just 
not the word.


Regards,
--
Chip


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



--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


Harmonics w/ Regular Notes

2008-12-14 Thread Dave Bellows
Hello everyone,

I'm using Lilypond 2.11.65 to create a score for guitar.  Here's the
basic snippet I'm working with:

{a4 d b} \\
{f4 g r}

I need the top line to be artificial harmonics but the lower line to
be regular noteheads.  If I write:

{\override Staff.NoteHead #'style = #'harmonic-mixed a4 d b} \\

for the top line then both lines are made into harmonics.  If I keep
that and write the second line:

{\override Staff.NoteHead #'style = #'default f4 g r}

then both lines have regular noteheads (i.e., no harmonics on either line).

I am new to Lilypond but I have spent a good bit of time trying to
figure this out.  I would appreciate any suggestions.

David Bellows


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


Re: Harmonics w/ Regular Notes

2008-12-14 Thread Graham Percival
I recommend
  < a\harmonic >4

It's probably mentioned in Articulations, and is certainly
mentioned in the section on Unfretted strings.  The way that
strings notate artificial harmonics is
  < a e'\harmonic>4
but I don't know if that's appropriate for guitars.

Cheers,
- Graham

On Sun, Dec 14, 2008 at 09:00:01PM -0500, Dave Bellows wrote:
> Hello everyone,
> 
> I'm using Lilypond 2.11.65 to create a score for guitar.  Here's the
> basic snippet I'm working with:
> 
> {a4 d b} \\
> {f4 g r}
> 
> I need the top line to be artificial harmonics but the lower line to
> be regular noteheads.  If I write:
> 
> {\override Staff.NoteHead #'style = #'harmonic-mixed a4 d b} \\
> 
> for the top line then both lines are made into harmonics.  If I keep
> that and write the second line:
> 
> {\override Staff.NoteHead #'style = #'default f4 g r}
> 
> then both lines have regular noteheads (i.e., no harmonics on either line).
> 
> I am new to Lilypond but I have spent a good bit of time trying to
> figure this out.  I would appreciate any suggestions.
> 
> David Bellows
> 
> 
> ___
> 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: error in the manuals

2008-12-14 Thread chip
I am using 2.11 as you can see in this copy/pasted direct from my 
terminal window -


c...@ubuntu:~$ lilypond -v
GNU LilyPond 2.11.63

--
Chip

Mats Bengtsson wrote:

I hope you realize that the examples in the manual have been
produced by exactly the code that you see when clicking on
the corresponding picture, so it's impossible that there's
an error (at least one that you don't also see in the example
in the manual). Are you sure that you use exactly the same
LilyPond version as the manual was written for (and produced
by)?

  /Mats

chip wrote:
I came across the example in the LM 4.4.3 Outside-staff objects that 
shows placement of some text objects above the staff. In the example 
the word Slower is shown but when I copy/paste the section from the 
code behind the picture it does not work as pictured, the word Slower 
is not appearing in the resulting .pdf. There is a similar example is 
used in the NR 5.4.5 Spanners - Using the |line-spanner-interface.

|
\override TextSpanner #'(bound-details left text)
 = \markup { \small \bold Slower }
c2\startTextSpan b c a\stopTextSpan

(above copy/pasted straight from the NR 5.4.5)

That code does not display the word Slower. I tried it with the word 
in quotes but it still does not display, the dashes do display, just 
not the word.


Regards,
--
Chip


___
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: Harmonics w/ Regular Notes

2008-12-14 Thread Dave Bellows
On Sun, Dec 14, 2008 at 9:20 PM, Graham Percival
 wrote:
> I recommend
>  < a\harmonic >4
>
> It's probably mentioned in Articulations, and is certainly
> mentioned in the section on Unfretted strings.  The way that
> strings notate artificial harmonics is
>  < a e'\harmonic>4
> but I don't know if that's appropriate for guitars.
>

Ah, thank you for that.  I tried something similar but could not get
the syntax correct.  Now the only problem is that the harmonic
noteheads are "open" whereas I believe it is standard in guitar
notation for the noteheads to be colored in when dealing with quarter
notes and the like.  It's been a long time since I've dealt with
guitar music so I'm not sure what the standard practice is now.  I see
some old scores in my collection that just use text spanners to
indicate artificial harmonics or what looks like a bold lower case 'o'
over each note.  It would seem that having the note heads look like
the duration they're supposed to be would be clearer.  Maybe someone
on this list is more up-to-date than I on this issue.

In the meantime this works well enough and will allow me to finish
this score and should be clear enough for most performers.

Thanks,
David Bellows

> Cheers,
> - Graham
>
> On Sun, Dec 14, 2008 at 09:00:01PM -0500, Dave Bellows wrote:
>> Hello everyone,
>>
>> I'm using Lilypond 2.11.65 to create a score for guitar.  Here's the
>> basic snippet I'm working with:
>>
>> {a4 d b} \\
>> {f4 g r}
>>
>> I need the top line to be artificial harmonics but the lower line to
>> be regular noteheads.  If I write:
>>
>> {\override Staff.NoteHead #'style = #'harmonic-mixed a4 d b} \\
>>
>> for the top line then both lines are made into harmonics.  If I keep
>> that and write the second line:
>>
>> {\override Staff.NoteHead #'style = #'default f4 g r}
>>
>> then both lines have regular noteheads (i.e., no harmonics on either line).
>>
>> I am new to Lilypond but I have spent a good bit of time trying to
>> figure this out.  I would appreciate any suggestions.
>>
>> David Bellows
>>
>>
>> ___
>> 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


Discrepancy in documentation,

2008-12-14 Thread David Stocker

...from lilypond-2.11.65-1.documentation

Notation Reference 2.7: Chord Notation

"Minor-major seventh"  "Minor triad, major seventh"

the corresponding music example show C, E-flat, G and B-flat

The "B-flat" should be a B-natural.

Dave


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


Re: Segmentation fault on file with bookparts

2008-12-14 Thread Nicolas Sceaux

Le 14 déc. 08 à 20:29, Jonathan Kulp a écrit :


Running 2.11.65, Ubuntu Linux.

I'm having problems running a file made up of several bookparts.  It  
looks like it's compiling fine and then it gets to the part where it  
draws systems and then there's a segmentation fault that kills it.   
Each of the files runs fine on its own, but gathered into a series  
of bookparts it fails.  From what I've been able to find out reading  
old postings and issues, this happens in large files sometimes.  Is  
there a known way to avoid this?


If anyone would care to try the files out, I've posted a tarball on  
my website with all of the files in it.  Just run lilypond on the  
one called "LorcaMaster.ly".


http://www.jonathankulp.com/lorca.tar


I'll try to investigate it soon. Currently my problem is that I can't
reproduce these bus errors or seg faults on my machine.

Jon, I have problems untaring your archive, only cancioncilla.ly gets
untared, can you check if something is wrong with lorca.tar?

nicolas



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


Re: Segmentation fault on file with bookparts

2008-12-14 Thread Simon J Mackenzie
Hi

Just adding to this from my early experience...

\version "2.11.65"

Yeah I had similar problems. When I removed the incomplete temporary
\addlyrics {} entries the problem cleared up (Noting in them but %
comment lines.)
The other interesting thing was if I ran lilypond with the -V (verbose)
option set the problem also seemed to clear up.

Simon


On Sun, 14 Dec 2008 22:36:10 +0100, "Nicolas Sceaux"
 said:
> Le 14 déc. 08 à 20:29, Jonathan Kulp a écrit :
> 
> > Running 2.11.65, Ubuntu Linux.
> >
> > I'm having problems running a file made up of several bookparts.  It  
> > looks like it's compiling fine and then it gets to the part where it  
> > draws systems and then there's a segmentation fault that kills it.   
> > Each of the files runs fine on its own, but gathered into a series  
> > of bookparts it fails.  From what I've been able to find out reading  
> > old postings and issues, this happens in large files sometimes.  Is  
> > there a known way to avoid this?
> >
> > If anyone would care to try the files out, I've posted a tarball on  
> > my website with all of the files in it.  Just run lilypond on the  
> > one called "LorcaMaster.ly".
> >
> > http://www.jonathankulp.com/lorca.tar
> 
> I'll try to investigate it soon. Currently my problem is that I can't
> reproduce these bus errors or seg faults on my machine.
> 
> Jon, I have problems untaring your archive, only cancioncilla.ly gets
> untared, can you check if something is wrong with lorca.tar?
> 
> nicolas
> 
> 
> 
> ___
> 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