Re: Problem with \triangle ##f

2008-02-06 Thread Mats Bengtsson

Make sure to add a space between the ##f and the }.

  /Mats

Aaron Dalton wrote:
I'm using v.2.10.19 on FreeBSD and am trying to use the 
\markup{\triangle ##f} command.  When I do, however, I get the 
following error.


Renaming input to: `21.ly'
/home/aaron/lilypond/usr/bin/../share/lilypond/current/ly/init.ly:45:70: 
error: syntax error, unexpected $end

   (apply ly:make-book $defaultpaper $defaultheader toplevel-scores)))

This happens even if I run lilypond itself instead of lilypond-book.  
The odd thing is that \triangle ##t works just fine.  I just don't 
want it filled in :)


Thanks for your time.


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


point-and-click in evince

2008-02-06 Thread Anh Hai Trinh

Hello lilypond-users,

I am wondering if there is a way to set up point-and-click with GNOME  
Evince? That would be really nice.


Thank you all,
Anh Trinh


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


guitar notation - cross handle

2008-02-06 Thread Lukas Mayer
Is there a funktion for cross/t handles (Quergriff in German)?
It is very important but i didn't find it.

Thx
Lukas Mayer



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


Re: Scheme: Is there a ... - Doc error?

2008-02-06 Thread Risto Vääräniemi
On 05/02/2008, Mats Bengtsson wrote:
 I have already answered that question in my previous email:

Yes you did, thanks. I'm sorry. I just couldn't believe that scheme
could create these new names by itself. :-)

  see the end of Markup construction in Scheme.

One thing though ... about the document section you mentioned. It
recommends using make-center-markup. I wonder if that should be
make-center-align-markup? The latter works as well as make-line-markup
and make-column-markup but the make-center-markup doesn't (at least if
used in the example code I posted earlier).

-Risto


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


Re: point-and-click in evince

2008-02-06 Thread Nicholas WASTELL
On Wed, 06 Feb 2008 05:05:54 -0500, Anh Hai Trinh wrote:

 I am wondering if there is a way to set up point-and-click with GNOME
 Evince?

Hello,

Yes, it is possible, but I can't help you directly.  If you go to
http://www.nabble.com/Gnu---Lilypond---User-f1722.html and search for 
'point and click', there are several threads with more information.

I have found the easiest way to get a (fairly) well integrated lilypond 
environment is by using jEdit and Lilypondtool.  This includes a pdf 
viewer with support for point-and-click, amongst many other features.  I 
does mean that you have to use jEdit instead of another (preferred) 
editor, of course.

-- 
Nicholas WASTELL
France



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


Re: Scheme: Is there a ... - Doc error? other stuff

2008-02-06 Thread Risto Vääräniemi
Dear All,

I'm sorry if this arrives twice. My Gmail is behaving a bit strangely
today. This one is improved a bit from the previous one.

On 05/02/2008, Mats Bengtsson wrote:
 I have already answered that question in my previous email:

Yes you did, thanks. I'm sorry. I just couldn't believe that scheme
could create these new names by itself. :-)

  see the end of Markup construction in Scheme.

One thing though ... about the document section you mentioned. It
recommends using make-center-markup. I wonder if that should be
make-center-align-markup? The latter works as well as make-line-markup
and make-column-markup but the make-center-markup doesn't (at least if
used in the example code I posted earlier).

Another thing: I wonder why \right-align is implemented as it is, i.e.
no support for a list of markups. If I create a \column or use
\center-align with multiple strings or markups the texts are printed
with line feeds. If I use \right-align instead the texts are set on
one line on top of each other. I have to use baseline-skip to get them
properly printed. Is this behaviour needed by some other function or
could it be modified to match \center-align?

Anyway, below you can find the code I cooked up if someone is
interested in it. It was pretty straightforward to use the
\center-align as a template. Thanks again, Mats and Bert.

-Risto

%%%
\version 2.11.37

#(define-markup-command (right-align layout props args) (markup-list?)
  Put @code{args} in a centered column.
  (let* ((mols (interpret-markup-list layout props args))
 (cmols (map (lambda (x) (ly:stencil-aligned-to x X RIGHT)) mols)))
(stack-lines -1 0.0 (chain-assoc-get 'baseline-skip props) cmols)))


#(define-markup-command (instruments layout props markups) (markup-list?)
  (interpret-markup layout props
(markup (make-right-align-markup markups) )))

{
\set Staff.instrumentName = \markup \instruments { Soprano Alto }
c'1
}
%%%


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


Re: Scheme: Is there a ... - Doc error? other stuff

2008-02-06 Thread Mats Bengtsson

See http://lists.gnu.org/archive/html/bug-lilypond/2006-01/msg00163.html
Now that we recently have renamed some properties and predefined macros
in 2.11.37 and coming 2.11.38, in order to get a more unified naming,
maybe it's time to bring up my old proposal.

However, you are right that there is no \center markup command, so there's
an error in the documentation.

  /Mats

Risto Vääräniemi wrote:

Dear All,

I'm sorry if this arrives twice. My Gmail is behaving a bit strangely
today. This one is improved a bit from the previous one.

On 05/02/2008, Mats Bengtsson wrote:
  

I have already answered that question in my previous email:



Yes you did, thanks. I'm sorry. I just couldn't believe that scheme
could create these new names by itself. :-)

  

 see the end of Markup construction in Scheme.



One thing though ... about the document section you mentioned. It
recommends using make-center-markup. I wonder if that should be
make-center-align-markup? The latter works as well as make-line-markup
and make-column-markup but the make-center-markup doesn't (at least if
used in the example code I posted earlier).

Another thing: I wonder why \right-align is implemented as it is, i.e.
no support for a list of markups. If I create a \column or use
\center-align with multiple strings or markups the texts are printed
with line feeds. If I use \right-align instead the texts are set on
one line on top of each other. I have to use baseline-skip to get them
properly printed. Is this behaviour needed by some other function or
could it be modified to match \center-align?

Anyway, below you can find the code I cooked up if someone is
interested in it. It was pretty straightforward to use the
\center-align as a template. Thanks again, Mats and Bert.

-Risto

%%%
\version 2.11.37

#(define-markup-command (right-align layout props args) (markup-list?)
  Put @code{args} in a centered column.
  (let* ((mols (interpret-markup-list layout props args))
 (cmols (map (lambda (x) (ly:stencil-aligned-to x X RIGHT)) mols)))
(stack-lines -1 0.0 (chain-assoc-get 'baseline-skip props) cmols)))


#(define-markup-command (instruments layout props markups) (markup-list?)
  (interpret-markup layout props
(markup (make-right-align-markup markups) )))

{
\set Staff.instrumentName = \markup \instruments { Soprano Alto }
c'1
}
%%%
  


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Problem with \triangle ##f

2008-02-06 Thread Aaron Dalton

Mats Bengtsson wrote:

Make sure to add a space between the ##f and the }.

  /Mats


And voila!  *jots this down in his things to remember about Scheme book*

Thanks for your help.
--
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org


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


Re: Fwd: Crippled PS/RPM output on RHEL5

2008-02-06 Thread Mats Bengtsson
This looks very weird. I've never seen exactly this problem before, but 
it looks
as if the font metrics information is lost so that LilyPond thinks that 
the characters

have zero width. I assume you have installed using the Any x86
package from http://lilypond.org/web/install/ and that you haven't compiled
the program yourself, right? Could you please try the packages for
version 2.10.33-1 and 2.11.38-1 from the download site, and check if they
have the same problem.

  /Mats

Ozgur Yuksel wrote:

Please find the attachments as good.png, bad.png and test.zip
(including the ly source)..


-- Forwarded message --
From: Ozgur Yuksel [EMAIL PROTECTED]
Date: Feb 4, 2008 7:48 PM
Subject: Crippled PS/RPM output on RHEL5
To: lilypond-user@gnu.org


Hi LilyPonders,

I am working with GNU LilyPond 2.11.37 (the problem had existed with
2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
output  with my FC7 box, I get crippled output (both PS and PDF) on
RHEL5. The attached files bad.* show the crippled pdf and ps files of
test.ly where it looks like good.png with fc7.

Any ideas are welcome.

Cheers,
Ozgur

--
Linux Rulez!...
http://xceptn.blogspot.com/
To send encrypted message http://www.xceptn.com/xceptn.gpg



  









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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Fwd: Crippled PS/RPM output on RHEL5

2008-02-06 Thread Ozgur Yuksel
Hi,

I have tested now both 2.10.33-1 and 2.11.38-1 and result was exactly the same.

Ozgur

On Feb 6, 2008 5:12 PM, Mats Bengtsson [EMAIL PROTECTED] wrote:
 This looks very weird. I've never seen exactly this problem before, but
 it looks
 as if the font metrics information is lost so that LilyPond thinks that
 the characters
 have zero width. I assume you have installed using the Any x86
 package from http://lilypond.org/web/install/ and that you haven't compiled
 the program yourself, right? Could you please try the packages for
 version 2.10.33-1 and 2.11.38-1 from the download site, and check if they
 have the same problem.

/Mats

 Ozgur Yuksel wrote:
  Please find the attachments as good.png, bad.png and test.zip
  (including the ly source)..
 
 
  -- Forwarded message --
  From: Ozgur Yuksel [EMAIL PROTECTED]
  Date: Feb 4, 2008 7:48 PM
  Subject: Crippled PS/RPM output on RHEL5
  To: lilypond-user@gnu.org
 
 
  Hi LilyPonders,
 
  I am working with GNU LilyPond 2.11.37 (the problem had existed with
  2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
  output  with my FC7 box, I get crippled output (both PS and PDF) on
  RHEL5. The attached files bad.* show the crippled pdf and ps files of
  test.ly where it looks like good.png with fc7.
 
  Any ideas are welcome.
 
  Cheers,
  Ozgur
 
  --
  Linux Rulez!...
  http://xceptn.blogspot.com/
  To send encrypted message http://www.xceptn.com/xceptn.gpg
 
 
 
 
 
  
 
 
  
 
  
 
  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  http://lists.gnu.org/mailman/listinfo/lilypond-user


 --
 =
 Mats Bengtsson
 Signal Processing
 Signals, Sensors and Systems
 Royal Institute of Technology
 SE-100 44  STOCKHOLM
 Sweden
 Phone: (+46) 8 790 8463
 Fax:   (+46) 8 790 7260
 Email: [EMAIL PROTECTED]
 WWW: http://www.s3.kth.se/~mabe
 =





-- 
Linux Rulez!...
http://xceptn.blogspot.com/
To send encrypted message http://www.xceptn.com/xceptn.gpg


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


Why Is This Merge Behavior Different?

2008-02-06 Thread Ted Stanion
Hello All,

The following code is modified from section 6.3.5 of the LilyPond
2.10.33 manual. Can someone explain to me why the eighth note and half
note have their heads merged in the first measure while the quarter
note and the half note in the second measure do not?

Thanks,
Ted

 Begin merge.ly 
\paper {
  #(define dump-extents #t)

  indent = 0\mm
  line-width = 160\mm - 2.0 * 0.4\in
  ragged-right = ##t
  force-assignment = #
  line-width = #(- line-width (* mm  3.00))
}

\layout {

}

\relative c''
{
\new Voice  {
  c8 c4.
  \override Staff.NoteCollision #'merge-differently-headed = ##t
  c8 c4.
  \override Staff.NoteCollision #'merge-differently-headed = ##f
  c4 c4
  \override Staff.NoteCollision #'merge-differently-headed = ##t
  \override Staff.NoteCollision #'merge-differently-dotted = ##t
  c4 c4 } \\
  { c2 c2 c2 c2 } 
--- End merge.ly 
attachment: merge.preview.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Program crashes whenever I start it (not solved yet)

2008-02-06 Thread Bryan Previte
Simon Dahlbacka simon.dahlbacka at gmail.com writes:

 
 
 Just a random thought, do you have another python version installed?/Simon
 

I have the latest version of Python (ver. 2.5) installed.



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


Re: Crippled PS/RPM output on RHEL5

2008-02-06 Thread Han-Wen Nienhuys
2008/2/4, Ozgur Yuksel [EMAIL PROTECTED]:
 Hi LilyPonders,

 I am working with GNU LilyPond 2.11.37 (the problem had existed with
 2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
 output  with my FC7 box, I get crippled output (both PS and PDF) on
 RHEL5. The attached files bad.* show the crippled pdf and ps files of
 test.ly where it looks like good.png with fc7.

Can you post the output of a --verbose run on the RHEL5 box?

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: Tip / trick: making Adobe fonts available to fontconfig

2008-02-06 Thread Han-Wen Nienhuys
a couple of notes:

- you can also symlink the font files, which takes less space

- the proper place for user settings is ~/.fonts.conf

- The lilypond fontcache lives in (IIRC) ~/.lilypond-fonts-XXX or
~/.fontconfig/ ; I recommend to remove this directory and run lily
again.  Fontconfig has different caching mechanisms across versions,
and /usr/bin/fc-cache and lilypond's Fontconfig may not look at the
same directories.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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