Re: Search in 2.16 docs returns results for 2.15 docs

2012-09-18 Thread Phil Holmes
Thanks for the report, Nick.  Bug squad - please raise an issue to track this.

--
Phil Holmes


  - Original Message - 
  From: Nick Payne 
  To: lilypond-user@gnu.org ; bug-lilyp...@gnu.org 
  Sent: Monday, September 17, 2012 7:34 PM
  Subject: Search in 2.16 docs returns results for 2.15 docs


  Example: from page 
http://lilypond.org/doc/v2.16/Documentation/notation/index.html, enter Dynamics 
in the search box. On the search results page, I can see that the search 
command passed to Google is:

  site:lilypond.org/doc/v2.15 Dynamics

  and the results returned are from the 2.15 docs.

  Nick





--


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


Re: Placing dynamic and hairpin

2012-09-18 Thread Daniel E. Moctezuma
Another solution (imitating the output at the right side of the image you
attached):

%%%
{

  \once \override DynamicText #'X-offset = #-2.7

  g'''4 \p ( \ e'''4 \! \ d'''4 \!)

}




That moves the p dynamic a little to the left as it is shown on the image.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Placing dynamic and hairpin

2012-09-18 Thread Peter Gentry
Thanks for both solutions

  \once \override DynamicText #'X-offset = #-2.7
   g'''4 \p ( \ e'''4 \! \ d'''4 \!)

Gives the result I was striving for.

regards
Peter Gentry 



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


Re: Placing dynamic and hairpin

2012-09-18 Thread David Kastrup
Peter Gentry peter.gen...@sunscales.co.uk writes:

 Thanks for both solutions

   \once \override DynamicText #'X-offset = #-2.7
g'''4 \p ( \ e'''4 \! \ d'''4 \!)

 Gives the result I was striving for.

Since I prefer having to specify/know less, my personal preference would
lie with

{  g'''4 -\tweak #'X-offset \p ( \ e'''4 \! \ d'''4 \!) }

-- 
David Kastrup


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


Re: Placing dynamic and hairpin

2012-09-18 Thread David Kastrup
David Kastrup d...@gnu.org writes:

 Peter Gentry peter.gen...@sunscales.co.uk writes:

 Thanks for both solutions

   \once \override DynamicText #'X-offset = #-2.7
g'''4 \p ( \ e'''4 \! \ d'''4 \!)

 Gives the result I was striving for.

 Since I prefer having to specify/know less, my personal preference would
 lie with

 {  g'''4 -\tweak #'X-offset \p ( \ e'''4 \! \ d'''4 \!) }

Uh, I mean

{  g'''4 -\tweak #'X-offset #-2.7 \p ( \ e'''4 \! \ d'''4 \!) }

I am somewhat astonished that the former goes through without warning.

-- 
David Kastrup


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


Table of contents

2012-09-18 Thread John McWilliam
Booktest3.ly
http://lilypond.1069038.n5.nabble.com/file/n133121/Booktest3.ly  

1.  I get an error when trying to introduce a Table of Contents (see above
file for snippet):

%lilypond %args C:\Users\siba\Documents\Lilypond
Music\Bagpipe_music\Test\Booktest3.ly
Processing `C:/Users/siba/Documents/Lilypond
Music/Bagpipe_music/Test/Booktest3.ly'
Parsing...
C:/Users/siba/Documents/Lilypond Music/Bagpipe_music/Test/Booktest3.ly:4:2:
error: unknown escaped string: `\markuplines'
  
  \markuplines \table-of-contents

C:/Users/siba/Documents/Lilypond Music/Bagpipe_music/Test/Booktest3.ly:4:2:
error: syntax error, unexpected STRING
  
  \markuplines \table-of-contents

C:/Users/siba/Documents/Lilypond Music/Bagpipe_music/Test/Booktest3.ly:4:15:
error: unknown escaped string: `\table-of-contents'
  \markuplines 
   \table-of-contents

Interpreting music...
Preprocessing graphical objects...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 2 or 3 pages...
Drawing systems...
Layout output to `Booktest3.ps'...
Converting to `./Booktest3.pdf'...
fatal error: failed files: C:\\Users\\siba\\Documents\\Lilypond
Music\\Bagpipe_music\\Test\\Booktest3.ly
Processing time: 1 seconds


2.  I have done this previously in a collection of marches using version
2.14. Now I cannot upgrade this code to 2.16 without the following errors:

 convert-ly.py --edit C:\Users\siba\Documents\Lilypond
 Music\Polisensblåsorkester\Marscher\Polisens Marschbook-Kl2.ly
convert-ly.py (GNU LilyPond) 2.16.0

Traceback (most recent call last):
  File C:\Program Files\LilyPond\usr\bin\convert-ly.py, line 374, in ?
main ()
  File C:\Program Files\LilyPond\usr\bin\convert-ly.py, line 362, in main
do_one_file (f)
  File C:\Program Files\LilyPond\usr\bin\convert-ly.py, line 250, in
do_one_file
ly.progress (_ (Processing `%s\'... ) % infile_name, True)
  File out/lilylib.py, line 137, in progress
  File out/lilylib.py, line 121, in print_logmessage
  File out/lilylib.py, line 116, in stderr_write
  File out/lilylib.py, line 58, in encoded_write
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 76-78:
invalid data
Processing time: 0 seconds
  

Can anyone shed light on this problem




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Table-of-contents-tp133121.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


Re: Table of contents

2012-09-18 Thread David Kastrup
John McWilliam jsmcwill...@gmail.com writes:

 Booktest3.ly
 http://lilypond.1069038.n5.nabble.com/file/n133121/Booktest3.ly  

 1.I get an error when trying to introduce a Table of Contents (see above
 file for snippet):

 %lilypond %args C:\Users\siba\Documents\Lilypond
 Music\Bagpipe_music\Test\Booktest3.ly
 Processing `C:/Users/siba/Documents/Lilypond
 Music/Bagpipe_music/Test/Booktest3.ly'
 Parsing...
 C:/Users/siba/Documents/Lilypond Music/Bagpipe_music/Test/Booktest3.ly:4:2:
 error: unknown escaped string: `\markuplines'
   
   \markuplines \table-of-contents

Run convert-ly on it.

 2.I have done this previously in a collection of marches using version
 2.14. Now I cannot upgrade this code to 2.16 without the following errors:

 convert-ly.py --edit C:\Users\siba\Documents\Lilypond
 Music\Polisensblåsorkester\Marscher\Polisens Marschbook-Kl2.ly
 convert-ly.py (GNU LilyPond) 2.16.0

 Traceback (most recent call last):
   File C:\Program Files\LilyPond\usr\bin\convert-ly.py, line 374, in ?
 main ()
   File C:\Program Files\LilyPond\usr\bin\convert-ly.py, line 362, in main
 do_one_file (f)
   File C:\Program Files\LilyPond\usr\bin\convert-ly.py, line 250, in
 do_one_file
 ly.progress (_ (Processing `%s\'... ) % infile_name, True)
   File out/lilylib.py, line 137, in progress
   File out/lilylib.py, line 121, in print_logmessage
   File out/lilylib.py, line 116, in stderr_write
   File out/lilylib.py, line 58, in encoded_write
 UnicodeDecodeError: 'utf8' codec can't decode bytes in position 76-78:
 invalid data
 Processing time: 0 seconds

It would appear that Python is unhappy printing the file name.  Try
renaming the file to something not containing å in its name.

-- 
David Kastrup


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


xpdf won't show lily's PDF file

2012-09-18 Thread Laura Conrad

My system in currently in dependency hell, so I'm sure this isn't either
a lilypond problem or an xpdf problem, but an  ubuntu package manager
problem.  (If anyone tells you ubuntu has 32-bit executables installing
seamlessly on a 64-bit system, they haven't tested it much.)

But if someone knows off the top of their heads why evince and gv can
read the lilypond output with no problem, but xpdf comes up and then
gives pages and pages of errors like:

re 3930.24 340.711 2.48828 161.008
S
q
cm 10 0 0 10 0 0
BT
Tf /R14 19.9253
  font: tag=R14 name='LKBZYR+Emmentaler-20' 19.9253
Tm 1 0 0 1 393.473 50.1719
Tj ()
ET
Q
re 3871.16 0 2.49219 57.4805
f
re 3871.16 -2.99219 2.48828 60.4727
S
Q

and then segfaults, it might help me fix the dependency problem.

Don't ask me to check acroread, because I think that's what triggered the
dependency hell.  I did finally manage to remove it this morning, so the
hell is somewhat cooler than it was last night.

And if anyone has point-and-click working (with emacs) with any other
pdf reader besides xpdf, that would be useful, too.

Thanks,

-- 
Laura   (mailto:lcon...@laymusic.org, twitter: @serpentplayer)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
http://www.laymusic.org/ http://www.serpentpublications.org

Mr. Barenboim recalled observing Mr. Boulez lead Schoenberg's Pelleas
und Melisande with the BBC Symphony in the early 1960s.

I sat with the score during the rehearsal, he said. At the
beginning there is quite a lot of chromaticism, and at a certain point
there was a chord out of tune and Pierre said, 'No, no, this is sharp,
this is flat.' I was amazed.

As a pianist I had no idea how he heard all that. I mean, when I
thought my piano was out of tune, I just called the tuner. So I asked
Pierre how he did it. I was starting to conduct, and I wanted to know
if this was something I could learn.

Pierre said: 'You have to have the courage to say what you hear and
think when you conduct. Either the player will correct you and say
it's not me out of tune, it's the second oboe, or you will be
right. But in any case you will learn. Don't put your ego above the
music. Do what you have to do for the sake of the music, and only in
that way will you make progress.' 

Quoted by Michael Kimmelman in the New York Times, January 10, 2010

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


Re: xpdf won't show lily's PDF file

2012-09-18 Thread David Kastrup
Laura Conrad lcon...@laymusic.org writes:

 My system in currently in dependency hell, so I'm sure this isn't either
 a lilypond problem or an xpdf problem, but an  ubuntu package manager
 problem.  (If anyone tells you ubuntu has 32-bit executables installing
 seamlessly on a 64-bit system, they haven't tested it much.)

 But if someone knows off the top of their heads why evince and gv can
 read the lilypond output with no problem, but xpdf comes up and then
 gives pages and pages of errors like:

 re 3930.24 340.711 2.48828 161.008
 S
 q
 cm 10 0 0 10 0 0
 BT
 Tf /R14 19.9253
   font: tag=R14 name='LKBZYR+Emmentaler-20' 19.9253
 Tm 1 0 0 1 393.473 50.1719
 Tj ()
 ET
 Q
 re 3871.16 0 2.49219 57.4805
 f
 re 3871.16 -2.99219 2.48828 60.4727
 S
 Q

 and then segfaults, it might help me fix the dependency problem.

That's not a dependency problem, and it is not a LilyPond problem.  xpdf
will segfault on any PDF file.  Install an older dpkg package (I have
3.02-21 I think, the Ubuntu one has a slightly different number) and
mark it as holded.  Don't ask me why Ubuntu considers providing a
segfaulting binary a good idea.

-- 
David Kastrup


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


Re: xpdf won't show lily's PDF file

2012-09-18 Thread Laura Conrad
 David == David Kastrup d...@gnu.org writes:

David Laura Conrad lcon...@laymusic.org writes:
 My system in currently in dependency hell, so I'm sure this isn't either
 a lilypond problem or an xpdf problem, but an  ubuntu package manager
 problem.  (If anyone tells you ubuntu has 32-bit executables installing
 seamlessly on a 64-bit system, they haven't tested it much.)
 
 But if someone knows off the top of their heads why evince and gv can
 read the lilypond output with no problem, but xpdf comes up and then
 gives pages and pages of errors like:
 
 ...
 and then segfaults, it might help me fix the dependency problem.

David That's not a dependency problem, and it is not a LilyPond problem.  
xpdf
David will segfault on any PDF file.  Install an older dpkg package (I have
David 3.02-21 I think, the Ubuntu one has a slightly different number) and
David mark it as holded.  Don't ask me why Ubuntu considers providing a
David segfaulting binary a good idea.

Thanks.  I had to also install and hold older versions of libpoppler13
and libjpeg62, but I do have a working xpdf now.  


-- 
Laura   (mailto:lcon...@laymusic.org, twitter: @serpentplayer)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
http://www.laymusic.org/ http://www.serpentpublications.org

I gave Cuellar more chances than my first wife.

Hall of Fame Orioles manager Earl Weaver, after he stuck with lefty
Mike Cuellar way too long, finally pulling him out of the rotation
only to have Cuellar complain about losing his spot.

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


How to print a timesig.C22 character in the context of a grob

2012-09-18 Thread Laura Conrad

I have managed to modify the compound time snippet to print a
neomensural time signature like C3.

Now I want one with the 2/2 C style instead of the 4/4 style.

My code (don't laugh too hard, I just fiddled until it worked) looks
like:

settime = {
#(define ((compound-time one two num) grob)
   (grob-interpret-markup grob
  (markup  #:override '(baseline-skip . 0) 
   #:number
  (#:line ((#:vcenter C)
  (#:vcenter 3))

  \override Staff.TimeSignature #'stencil = #(compound-time C 3 1)
  \time 3/2

}

It surprised me that C actually produces something like the time
signature C, although it isn't typographically much like the time
signature 3, and I don't think it's actually the timesig.44 glyph.

So how do I get the timesig.22 glyph in there instead of the C?

I've really tried a lot of stuff with \markup and \musicglyph, and it
doesn't seem to work in this context, although if I put plain strings in
there, they print instead of the C.

-- 
Laura   (mailto:lcon...@laymusic.org, twitter: @serpentplayer)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
http://www.laymusic.org/ http://www.serpentpublications.org

All the horrors of the reign of terror were based only on solicitude
for public tranquillity.

Leo Tolstoy, _War and Peace_


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


Re: How to print a timesig.C22 character in the context of a grob

2012-09-18 Thread David Nalesnik
Hi Laura,

On Tue, Sep 18, 2012 at 11:46 AM, Laura Conrad lcon...@laymusic.org wrote:

 I have managed to modify the compound time snippet to print a
 neomensural time signature like C3.

 Now I want one with the 2/2 C style instead of the 4/4 style.

 My code (don't laugh too hard, I just fiddled until it worked) looks
 like:

 settime = {
 #(define ((compound-time one two num) grob)
(grob-interpret-markup grob
   (markup  #:override '(baseline-skip . 0)
#:number
   (#:line ((#:vcenter C)
   (#:vcenter 3))

   \override Staff.TimeSignature #'stencil = #(compound-time C 3 1)
   \time 3/2

 }

 It surprised me that C actually produces something like the time
 signature C, although it isn't typographically much like the time
 signature 3, and I don't think it's actually the timesig.44 glyph.

 So how do I get the timesig.22 glyph in there instead of the C?

 I've really tried a lot of stuff with \markup and \musicglyph, and it
 doesn't seem to work in this context, although if I put plain strings in
 there, they print instead of the C.


You're very close!  The problem appears to be that you're not using
the correct name for the glyphs you want.  The glyphs are
timesig.C22 and timesig.C44

So you'll get the C glyph like so:

\version 2.16.0

settime = {
#(define ((compound-time one two num) grob)
   (grob-interpret-markup grob
  (markup  #:override '(baseline-skip . 0)
   #:number
  (#:line ((#:vcenter #:musicglyph
timesig.C44)
  (#:vcenter two))

  \override Staff.TimeSignature #'stencil = #(compound-time C 3 1)
  \time 3/2
}

{
  \settime
  c2 c c
}

HTH,
David

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


Re: -dbackend=eps clips lowest beam

2012-09-18 Thread eluze
thanks all for your input

I've added a new tracker
https://code.google.com/p/lilypond/issues/detail?id=2849colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/dbackend-eps-clips-lowest-beam-tp133006p133129.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


Changing note head style within a chord

2012-09-18 Thread ALEXANDRE FICAGNA
I've read that with \tweak command this is not possible. I really need
two differente notehead styles inside the same chord (in different
notes), does someone know how to do it?

Cheers
Alexandre

-- 
www.myspace.com/alexandreficagna

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


Re: Changing note head style within a chord

2012-09-18 Thread Federico Bruni

Il 18/09/2012 22:27, ALEXANDRE FICAGNA ha scritto:

I've read that with \tweak command this is not possible. I really need
two differente notehead styles inside the same chord (in different
notes), does someone know how to do it?



Where did you read that is not possible?
Have a look here:
http://lilypond.org/doc/v2.16/Documentation/learning/tweaking-methods

scroll down to \tweak command

you'll see for example:

c \tweak #'font-size #-3 e g4

another example:

 \tweak #'color #red c \tweak #'color #green e \tweak #'color #yellow g4

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


Re: Changing note head style within a chord

2012-09-18 Thread Thomas Morley
2012/9/18 Federico Bruni fedel...@gmail.com:
 Il 18/09/2012 22:27, ALEXANDRE FICAGNA ha scritto:

 I've read that with \tweak command this is not possible. I really need
 two differente notehead styles inside the same chord (in different
 notes), does someone know how to do it?


 Where did you read that is not possible?
 Have a look here:
 http://lilypond.org/doc/v2.16/Documentation/learning/tweaking-methods

 scroll down to \tweak command

 you'll see for example:

 c \tweak #'font-size #-3 e g4

 another example:

  \tweak #'color #red c \tweak #'color #green e \tweak #'color #yellow g4

Example for tweaking NoteHead-style:

\relative c' {

 \tweak #'style #'slash c
 \tweak #'style #'diamond g'
 \tweak #'style #'triangle e'
8
}

-Harm

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