Unterminated tie with tuplets

2014-03-18 Thread Jimmie Felidae
Hello List,

I got a warning of unterminated tie. The warning message is:

```
/tmp/frescobaldi-k7Gcla/tmpqo6ujA/document.ly:3:2: warning: unterminated tie
  c''2.~  \times 2/3 {a'4 g'8~} | g'2 r2|
```

Related tiny example:

```
\version 2.14.0
{
  c''2.~  \times 2/3 {a'4 g'8~} | g'2 r2|
}
```

If anyone understands why it happens, please let me know !

Thanks,
Jimmie

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


Re: Unterminated tie with tuplets

2014-03-18 Thread Urs Liska

Am 18.03.2014 09:17, schrieb Jimmie Felidae:

Hello List,

I got a warning of unterminated tie. The warning message is:

```
/tmp/frescobaldi-k7Gcla/tmpqo6ujA/document.ly:3:2: warning: unterminated tie
   c''2.~  \times 2/3 {a'4 g'8~} | g'2 r2|
```

Related tiny example:

```
\version 2.14.0
{
   c''2.~  \times 2/3 {a'4 g'8~} | g'2 r2|
}
```

If anyone understands why it happens, please let me know !


Of course, you're trying to tie a c to an a. This isn't related to the 
tuplets at all.


Either there's something wrong with your example or you actually want a 
slur:



\version 2.14.0
{
  c''2.(  \times 2/3 {a'4) g'8~} | g'2 r2|
}

Urs



Thanks,
Jimmie




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


Re: Unterminated tie with tuplets

2014-03-18 Thread David Kastrup
Jimmie Felidae evolution.ji...@gmail.com writes:

 Hello List,

 I got a warning of unterminated tie. The warning message is:

 ```
 /tmp/frescobaldi-k7Gcla/tmpqo6ujA/document.ly:3:2: warning: unterminated tie
   c''2.~  \times 2/3 {a'4 g'8~} | g'2 r2|
 ```

 Related tiny example:

 ```
 \version 2.14.0
 {
   c''2.~  \times 2/3 {a'4 g'8~} | g'2 r2|
 }
 ```

 If anyone understands why it happens, please let me know !

This has nothing to do with tuplets.  The first tie, namely c''2.~ is
unterminated.  At any rate, 2.14 is old.  Like really, really, old.
2.16 has been released almost 2 years ago, 2.18 has been released last
year.

-- 
David Kastrup

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


Re: Unterminated tie with tuplets

2014-03-18 Thread Jimmie Felidae
Thanks guys. With your help I realize what I tried to do -- it should
be a slur here...

Best,
Jimmie

2014-03-18 16:30 GMT+08:00, David Kastrup d...@gnu.org:
 Jimmie Felidae evolution.ji...@gmail.com writes:

 Hello List,

 I got a warning of unterminated tie. The warning message is:

 ```
 /tmp/frescobaldi-k7Gcla/tmpqo6ujA/document.ly:3:2: warning: unterminated
 tie
   c''2.~  \times 2/3 {a'4 g'8~} | g'2 r2|
 ```

 Related tiny example:

 ```
 \version 2.14.0
 {
   c''2.~  \times 2/3 {a'4 g'8~} | g'2 r2|
 }
 ```

 If anyone understands why it happens, please let me know !

 This has nothing to do with tuplets.  The first tie, namely c''2.~ is
 unterminated.  At any rate, 2.14 is old.  Like really, really, old.
 2.16 has been released almost 2 years ago, 2.18 has been released last
 year.

 --
 David Kastrup


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


Re: using a scheme function, but with a different name

2014-03-18 Thread Stefan Thomas
Dear David,
thanks for Your help.
There seems to be a problem with the function itself.
Whith the below quoted snippet, I get the error:
taktartentest.ly:3:21: error: GUILE signaled an error for the expression
beginning here
fourquarterRests = #
(define-music-function (parser location  ANFANG  ENDE )
(number?  number? )
Here is the snippet:

\version 2.18.0
fourquarterRests = #(define-music-function (parser location  ANFANG  ENDE )
(number?  number? )
global = {
\time 4/4 s1*4
}
Music = \relative c' {
  \fourquarterRests #1 #2
c4 c d d e e d d
}
\score {

\new Devnull \global
\new Staff \Music

}



2014-03-17 13:10 GMT+01:00 David Kastrup d...@gnu.org:

 Stefan Thomas kontrapunktste...@gmail.com writes:

  Dear community,
  I would like to use a scheme-function, but with a different name:
  fourquarterRests = #(define-music-function (parser location  ANFANG
  ENDE )
  (number?  number? )
  #{ \scaleDurations #(cons (+ 1(- ENDE ANFANG)) 1) {R1 } #})
 
  I want to use the function with the name IVvR but, for backwards
  compatibility, I also want to keep the old name.
  How can I do this?

 IVvR = #fourquarterRests

 if I understand what you want.  The description leaves something to be
 desired.

 --
 David Kastrup

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


Re: using a scheme function, but with a different name

2014-03-18 Thread Urs Liska

Am 18.03.2014 11:50, schrieb Stefan Thomas:

\version 2.18.0
fourquarterRests = #(define-music-function (parser location  ANFANG  ENDE )
(number?  number? )
global = {


???
Where is the _body_ of your music function?

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


Re: using a scheme function, but with a different name

2014-03-18 Thread David Kastrup
Stefan Thomas kontrapunktste...@gmail.com writes:

 Dear David,
 thanks for Your help.
 There seems to be a problem with the function itself.
 Whith the below quoted snippet, I get the error:
 taktartentest.ly:3:21: error: GUILE signaled an error for the expression
 beginning here
 fourquarterRests = #
 (define-music-function (parser location  ANFANG  ENDE )
 (number?  number? )
 Here is the snippet:

 \version 2.18.0
 fourquarterRests = #(define-music-function (parser location  ANFANG  ENDE )
 (number?  number? )

Where is the function body?

 global = {
 \time 4/4 s1*4
 }
 Music = \relative c' {
   \fourquarterRests #1 #2
 c4 c d d e e d d
 }
 \score {
 
 \new Devnull \global
 \new Staff \Music

 }

The following seems to be missing:

  #{ \scaleDurations #(cons (+ 1(- ENDE ANFANG)) 1) {R1 } #})

-- 
David Kastrup

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


Re: using a scheme function, but with a different name

2014-03-18 Thread Stefan Thomas
Yes, David, You are right!
The definition was wrong!


2014-03-18 11:58 GMT+01:00 David Kastrup d...@gnu.org:

 Stefan Thomas kontrapunktste...@gmail.com writes:

  Dear David,
  thanks for Your help.
  There seems to be a problem with the function itself.
  Whith the below quoted snippet, I get the error:
  taktartentest.ly:3:21: error: GUILE signaled an error for the expression
  beginning here
  fourquarterRests = #
  (define-music-function (parser location  ANFANG
  ENDE )
  (number?  number? )
  Here is the snippet:
 
  \version 2.18.0
  fourquarterRests = #(define-music-function (parser location  ANFANG
  ENDE )
  (number?  number? )

 Where is the function body?

  global = {
  \time 4/4 s1*4
  }
  Music = \relative c' {
\fourquarterRests #1 #2
  c4 c d d e e d d
  }
  \score {
  
  \new Devnull \global
  \new Staff \Music
 
  }

 The following seems to be missing:

   #{ \scaleDurations #(cons (+ 1(- ENDE ANFANG)) 1) {R1 } #})

 --
 David Kastrup

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


Re: Frescobaldi 2.0.14

2014-03-18 Thread Trevor Daniels

Wilbert, you wrote Thursday, March 06, 2014 11:00 PM

 To celebrate my 43rd birthday, Frescobaldi 2.0.14 has been released in the 
 wild!

Rather a belated but heartfelt thanks to you and your collaborators for all 
your work.  The music view panel in this release is enormously improved!

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


Installation instructions for Frescobaldi on Mac OS X

2014-03-18 Thread Davide Liessi
Dear all,
the installation instructions for Frescobaldi on Mac OS X have been updated.
You can find them in the wiki of Frescobaldi's GitHub repository:
https://github.com/wbsoft/frescobaldi/wiki
(The French translation will hopefully be updated soon.)

The instructions have been reorganized and partially rewritten, and
they now present both the Homebrew- and the MacPorts-based
installation methods.

Best wishes.
Davide

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


Re: Installation instructions for Frescobaldi on Mac OS X

2014-03-18 Thread Wilbert Berendsen
Fantastic work. Thanks!
Wilbert

-- 
Wilbert Berendsen (www.wilbertberendsen.nl)

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


How do I write this in chordmode?

2014-03-18 Thread Daniel Rosen
\version 2.19.3
{ e' g' b' e'' }

DR



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


Re: How do I write this in chordmode?

2014-03-18 Thread Alexander Kobel

On 03/18/2014 04:25 PM, Daniel Rosen wrote:

\version 2.19.3
{ e' g' b' e'' }


\chordmode { e:m8^7 }

HTH,
Alexander

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


RE: How do I write this in chordmode?

2014-03-18 Thread Daniel Rosen
 -Original Message-
 From: Alexander Kobel [mailto:n...@a-kobel.de]
 Sent: Tuesday, March 18, 2014 11:32 AM
 To: Daniel Rosen; lilypond-user@gnu.org
 Subject: Re: How do I write this in chordmode?
 
 On 03/18/2014 04:25 PM, Daniel Rosen wrote:
  \version 2.19.3
  { e' g' b' e'' }
 
 \chordmode { e:m8^7 }
 
 HTH,
 Alexander

Thanks, Alex. I'm not quite sure why e:m8 includes the 7th at all, though, or 
why e:m.8 is invalid...

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


RE: How do I write this in chordmode?

2014-03-18 Thread Mark Stephen Mrotek
Daniel,

Look at
http://www.lilypond.org/doc/v2.18/Documentation/notation/chord-mode#extended
-and-altered-chords

What you want would be
\chordmode { e4: 5 3- 8 }

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Daniel Rosen
Sent: Tuesday, March 18, 2014 8:26 AM
To: lilypond-user@gnu.org
Subject: How do I write this in chordmode?

\version 2.19.3
{ e' g' b' e'' }

DR



___
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: How do I write this in chordmode?

2014-03-18 Thread Fredrik Wallberg
Hi Daniel,

\chordmode { e:m5.8 }

seems to work as well. This formula is very practical if you need something
like:

\chordmode { e:m5.15 }

More examples here:
http://lilypond.org/doc/v2.16/Documentation/notation/chord-mode

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


Re: vertical position of beamed rests

2014-03-18 Thread Michael Winter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All,

I am bumping this issue as I am working with Casey and we really need a
solution for this problem. Any help will be much appreciated. Again, it
seems like there is no way to:

force center (vertically) the rests in the staff such that the beams are
pushed out of the way when they are over rests with stemlets.

We have tried both globally with:

\override Score.Rest #'staff-position = #'-0

And by refactoring all the rests to

b'8\rest

The results are the same. As mentioned in Casey's last email, I was
wondering if it is possible to force the starts and ends of a beam to be
of at least a certain height if stems up and below a certain height if
stems down.

Any other solutions also very welcome. This is the end stage of a very
large transcription project for a work by James Tenney and we really
want to get the score out into the world!

Best,

Mike

On 03/10/2014 01:14 PM, lilypond-user-requ...@gnu.org wrote:
 Date: Mon, 10 Mar 2014 10:54:36 -0700
 From: casey anderson casey.thomas.ander...@gmail.com
 To: lilypond-user@gnu.org
 Subject: Re: vertical position of beamed rests
 Message-ID:
 etPan.531dfc5c.79e2a9e3.425e@elizabeth_nune.artcenter.edu
 Content-Type: text/plain; charset=utf-8

 Hi all,

 We ended up refactoring all the rest such that they are give with an
explicit note value followed by \rest.

 However, that did not solve the problem. Is there any other potential
solution? e.g. forcing the starts and ends of a beam to be of at least a
certain height if stems up and below a certain height if stems down.

 casey

 /

 http://www.caseyanderson.com/
 http://www.experimentalmusicyearbook.com/
 http://www.khalija.com/

 On February 8, 2014 at 5:21:54 PM, Casey Anderson
(casey.thomas.ander...@gmail.com) wrote:

 hi urs,

 sure, but refactoring all the rests would be very difficult as the
score is already completely generated...we are hoping to simply make
this change when necessary on a case-by-case basis. any idea how to do
so without refactoring the entire score (there are 64 of them)?

 casey


 On Sat, Feb 8, 2014 at 3:09 PM, Urs Liska u...@openlilylib.org wrote:


 Casey Anderson casey.thomas.ander...@gmail.com schrieb:
 hi all,
 
 we are beaming over rests with stemlets, which often pushes the rest up
 or
 down, but would like to keep the rest vertically centered in the staff.
 when we try:
 
 \override Score.Rest #'staff-position = #'-0
 
 the rests get positioned correctly, but the beam does not change
 accordingly to prevent collision.
 
 any ideas on how to do this without resulting in collisions.
 Does the

 b'8\rest

 syntax for positioning rests help you?
 --
 Urs Liska
 openlilylib.org



 --
 http://www.caseyanderson.com/
 http://www.experimentalmusicyearbook.com/
 http://www.khalija.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTKHIbAAoJENzaHFeuRhTR56YH/0hmzY/NPZ8NO77gWEAG6Cbr
1oia4JzrRFeiKQbpwqAlPGrVskSMrWwJeSU7I0FzirVgHH6ojO64BxwJ3cQ86Fmu
Oa5vg2kFv4A2q9QWx80NFSnGPtWOXKPNogrVaj2n0FFYK1MXdVkamw19vc88D5kq
wrYWas3hqtzmJeQ2mb5k1O8etIte67M3TeCPuBeFcjbFdGBSHqZzL/AwN78xHWye
Qvt+YdhYQ3GZzgyK8uJuLZU3AGIKzRl2K+qKCIMC5IN/nbqNt6rKBDw/aPicXPI9
hUH9Gmxdvc8IwQjGhxINHwlrWi6fPvypvoEid+lJ9R/lQmtctH+GsWcw9vDHan8=
=IXdU
-END PGP SIGNATURE-


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


How do I expand lyrics...

2014-03-18 Thread Kevin Tough
After reading 2.3.2 Aligning lyrics to a melody from the 2.18.2 manual
I still cannot seem to get my lyrics to extend over 2 notes. Am I
missing something or is there something missing from the documentation.
My Christmas sleigh should fill in the complete staff and my Jingle
should stay put in the next staff. X is currently holding the place
but naturally does not belong there.   HO, HO, HO, Christmas is only 9
months away.

Namaste,
Kevin Tough

\version 2.18.0

% JingleBells.ly

\language english

\paper {
  ragged-right = ##f
}

\layout {
  indent = 0.0\cm
}

\header {
  title = Jingle Bells
  composer = EwithM
  %subtitle = English with Guitar
}


\layout {
  \context {
\Score
\remove Bar_number_engraver
  }
}

\new Staff {
  \clef treble_8
  \relative c' {
\numericTimeSignature \time 4/4
e4 e  e2  | e4 e  e2 | e4 g c,  d | e1 | \break
f4 f f f  | f  e  e  e |e  d  d  e | d2 g2 | \break
e4 e  e2  | e4 e  e2 | e4 g c,  d | e1 | \break
f4 f f f  | f  e  e2 | g4 g  f  d | c1 | 
\bar |.
  }
  \addlyrics {
   Jin -- gle bells, | jin -- gle bells, | jin -- gle all the | way.
   Oh, what fun it | is to ride in_a | one horse o -- pen | sleigh.___ X
|
   Jin -- gle bells, | jin -- gle bells, | jin -- gle all the | way.
   Oh, what fun it is to ride_in_a one horse o -- pen sleigh.
}
}


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


+ utf-8 characters on file name

2014-03-18 Thread MING TSANG
The attached .ly file generate two pdf files.  
1. test_utf-8_filename.pdf 
2. test_uft-8_filename-SA_TB.pdf

I was anticipating that the 2nd pdf file name to be 
test_utf-8_filename-SA+TB.pdf  Instead it generates 
test_utf-8_filename-SA_TB.pdf. 

Is it that lilypond cannot generate utf-8 character in the file name?
Any work around?
Emmanuel,
Ming 
\version 2.19.3
\language english

\header {
  title = test
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper {
  #(set-paper-size letter)
}

global = {
  \key c \major
  \time 4/4
  \tempo 4=100
}

soprano =  {
  \global
   c''2 b'2 
}

alto =  {
  \global
  a'2. b'4
}

tenor =  {
  \global
  c4 d4 e4 f4
}

bass =  {
  \global
  a,4 c4 a,4 c4
}

 

\score {
  \new ChoirStaff 
\new Staff \with {} \new Voice = soprano \soprano

\new Staff \with {} \new Voice = alto \alto
 
  
\new Staff \with {} 
{
  \clef bass
  \new Voice = tenor \tenor
}
 
\new Staff \with { } 
{
  \clef bass
  \new Voice = bass \bass
}
  
  \layout { }
  \midi { }
}

\book {
  \bookOutputSuffix SA+TB
  \score {
  \new ChoirStaff
  \new Staff \with {  

  }  
\new Voice = soprano{ \voiceOne \soprano }
\new Voice = alto { \voiceTwo   \alto }
  
   
  \new Staff \with {
 
  }   
\clef bass
\new Voice = tenor   { \voiceOne\tenor }
\new Voice = bass { \voiceTwo \bass }
  

\layout { }
  }
}




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


Re: How do I expand lyrics...

2014-03-18 Thread and...@andis59.se

On 2014-03-18 17:37, Kevin Tough wrote:

After reading 2.3.2 Aligning lyrics to a melody from the 2.18.2 manual
I still cannot seem to get my lyrics to extend over 2 notes. Am I
missing something or is there something missing from the documentation.
My Christmas sleigh should fill in the complete staff and my Jingle
should stay put in the next staff.
   \addlyrics {
Jin -- gle bells, | jin -- gle bells, | jin -- gle all the | way.
Oh, what fun it | is to ride in_a | one horse o -- pen | sleigh.___ X


I think that you will get what you want if you add a space after sleigh. 
and remove the X

So the last line would be

Oh, what fun it | is to ride in_a | one horse o -- pen | sleigh. ___

But, since it's two notes should you not make it

Oh, what fun it | is to ride in_a | one horse o -- pen | sle -- igh.



// Anders


--
English isn't my first language.
So any error or strangeness is due to the translation.
Please correct my English so that I may become better.

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


Re: + utf-8 characters on file name

2014-03-18 Thread MING TSANG





On Tuesday, March 18, 2014 12:58:13 PM, MING TSANG tsan...@rogers.com wrote:
 
The attached .ly file generate two pdf files.  
1. test_utf-8_filename.pdf 
2. test_uft-8_filename-SA_TB.pdf

I was anticipating that the 2nd pdf file name to be 
test_utf-8_filename-SA+TB.pdf  Instead it generates 
test_utf-8_filename-SA_TB.pdf. 

Is it that lilypond cannot generate utf-8 character in the file name?
Any work around?
Emmanuel,
Ming 
Additional info:
I change the bookOutSuffix to utf-8 character 男女 and I got the following 
error:
Starting lilypond-windows.exe 2.19.3 [test_utf-8_filename.ly]...
Processing `C:/Users/Tsang/Dropbox/sample_lily-code/test_utf-8_filename.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing 
systems...C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm/framework-ps.scm:450:22:
 In procedure open-file in expression (open-file filename wb):
C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm/framework-ps.scm:450:22:
 Invalid argument: test_utf-8_filename-�__�_�.ps
Exited with return code 1.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do I expand lyrics...

2014-03-18 Thread Fredrik Wallberg
Hi Kevin,

if you want one syllable to be sung on more than one note, add a slur across the
notes to create a melisma.
This is standard lyrics notation and Lilypond will behave as you would expect.
And if you *really* want that extender line after sleigh, you should
use two underscores, not three.

Relevant lines:

add slur:
f4 f f f  | f  e  e  e |e  d  d  e | d2( g2 ) | \break

extender line:
   Oh, what fun it | is to ride in_a | one horse o -- pen | sleigh. __ |

/ Fredrik

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


Re: How do I expand lyrics...

2014-03-18 Thread Kevin Tough
Hey Thanks,

when I first read the manual I thought Lilypond's symbol to spread or
center a lyric between two note values was the double underscore. No
matter how I placed or spaced it this naturally didn't work. Now I see
from playing with your example that the slur does do the job in this
case. In the case of a slur or melisma I take it that the lyric starts
at the first note value. Is there any other simple way to center a lyric
between two note values?

On Tue, 2014-03-18 at 18:25 +0100, Fredrik Wallberg wrote:
 Hi Kevin,
 
 if you want one syllable to be sung on more than one note, add a slur across 
 the
 notes to create a melisma.
 This is standard lyrics notation and Lilypond will behave as you would expect.
 And if you *really* want that extender line after sleigh, you should
 use two underscores, not three.
 
 Relevant lines:
 
 add slur:
 f4 f f f  | f  e  e  e |e  d  d  e | d2( g2 ) | \break
 
 extender line:
Oh, what fun it | is to ride in_a | one horse o -- pen | sleigh. __ |
 
 / Fredrik
 
 ___
 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: How do I expand lyrics...

2014-03-18 Thread David Kastrup
Kevin Tough ke...@toughlife.org writes:

 After reading 2.3.2 Aligning lyrics to a melody from the 2.18.2 manual
 I still cannot seem to get my lyrics to extend over 2 notes. Am I
 missing something or is there something missing from the documentation.
 My Christmas sleigh should fill in the complete staff and my Jingle
 should stay put in the next staff. X is currently holding the place
 but naturally does not belong there.   HO, HO, HO, Christmas is only 9
 months away.

\version 2.18.0

% JingleBells.ly

\language english

\paper {
  ragged-right = ##f
}

\layout {
  indent = 0.0\cm
}

\header {
  title = Jingle Bells
  composer = EwithM
  %subtitle = English with Guitar
}


\layout {
  \context {
\Score
\remove Bar_number_engraver
  }
}

\new Staff {
  \clef treble_8
  \relative c' {
\numericTimeSignature \time 4/4
e4 e  e2  | e4 e  e2 | e4 g c,  d | e1 | \break
f4 f f f  | f  e  e  e |e  d  d  e | d2 g2 | \break
e4 e  e2  | e4 e  e2 | e4 g c,  d | e1 | \break
f4 f f f  | f  e  e2 | g4 g  f  d | c1 | 
\bar |.
  }
  \addlyrics {
   Jin -- gle bells, | jin -- gle bells, | jin -- gle all the | way.
   Oh, what fun it | is to ride in_a | one horse o -- pen | sleigh. __ _
|
   Jin -- gle bells, | jin -- gle bells, | jin -- gle all the | way.
   Oh, what fun it is to ride_in_a one horse o -- pen sleigh.
}
}


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


Re: + utf-8 characters on file name

2014-03-18 Thread Fredrik Wallberg
Hi Ming,

someone with more knowledge about Unicode (and Windows) could perhaps
explain why that happens, but since you also asked for a workaround:

Instead of using \bookOutSuffix, you could try with \bookOutputName, like this:

\book {
  \bookOutputName +中国曲子+

Which works fine over here (version 2.18, Mac OSX 10.8.4).

/ Fredrik

On 18 March 2014 18:16, MING TSANG tsan...@rogers.com wrote:



 On Tuesday, March 18, 2014 12:58:13 PM, MING TSANG tsan...@rogers.com
 wrote:
 The attached .ly file generate two pdf files.
 1. test_utf-8_filename.pdf
 2. test_uft-8_filename-SA_TB.pdf

 I was anticipating that the 2nd pdf file name to be
 test_utf-8_filename-SA+TB.pdf  Instead it generates
 test_utf-8_filename-SA_TB.pdf.

 Is it that lilypond cannot generate utf-8 character in the file name?
 Any work around?
 Emmanuel,
 Ming

 Additional info:
 I change the bookOutSuffix to utf-8 character 男女 and I got the following
 error:
 Starting lilypond-windows.exe 2.19.3 [test_utf-8_filename.ly]...
 Processing `C:/Users/Tsang/Dropbox/sample_lily-code/test_utf-8_filename.ly'
 Parsing...
 Interpreting music...
 Preprocessing graphical objects...
 Finding the ideal number of pages...
 Fitting music on 1 page...
 Drawing
 systems...C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm/framework-ps.scm:450:22:
 In procedure open-file in expression (open-file filename wb):
 C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm/framework-ps.scm:450:22:
 Invalid argument: test_utf-8_filename-�__�_�.ps
 Exited with return code 1.



 ___
 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: How do I expand lyrics...

2014-03-18 Thread Simon Albrecht


Am 18.03.2014 20:17, schrieb Kevin Tough:

Hey Thanks,

when I first read the manual I thought Lilypond's symbol to spread or
center a lyric between two note values was the double underscore. No
matter how I placed or spaced it this naturally didn't work. Now I see
from playing with your example that the slur does do the job in this
case. In the case of a slur or melisma I take it that the lyric starts
at the first note value. Is there any other simple way to center a lyric
between two note values?

There are two other methods:

f4 f f f  | f  e  e  e |e  d  d  e | d2\melisma g2\melismaEnd | \break

and

Oh, what fun it | is to ride in_a | one horse o -- pen | sleigh. __ _ |

(the single underscore is like an empty syllable to a note)
By the way, in all of these methods the lyrics syllable is not centered 
on the entire melisma, but instead left-aligned on the first note of the 
melisma (as opposed to centering the syllables on the notes if there 
isn’t a melisma).


Best regards and happy christmas preparation,
Simon

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


Re: + utf-8 characters on file name

2014-03-18 Thread Simon Albrecht


Am 18.03.2014 21:05, schrieb Fredrik Wallberg:

Hi Ming,

someone with more knowledge about Unicode (and Windows) could perhaps
explain why that happens, but since you also asked for a workaround:

Instead of using \bookOutSuffix, you could try with \bookOutputName, like this:

\book {
   \bookOutputName +中国曲子+

Which works fine over here (version 2.18, Mac OSX 10.8.4).
However, especially encoding issues are likely to depend on the 
operating system.

/ Fredrik


And Ming, please note that it is compulsory on bug-lilypond and strongly 
advised also on lilypond-user that you use Minimal examples 
http://lilypond.org/website/tiny-examples.html. It often makes 
understanding the problem and testing solutions much easier. So in the 
current case, the file could have been as short as


\version 2.19.3
\bookOutputSuffix SA+TB
{ c' }

, which by the way shows the same behavior on linux.

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


Re: + utf-8 characters on file name

2014-03-18 Thread MING TSANG





On Tuesday, March 18, 2014 5:58:51 PM, Simon Albrecht simon.albre...@mail.de 
wrote:
 


Am 18.03.2014 21:05, schrieb Fredrik Wallberg:

Hi Ming, someone with more knowledge about Unicode (and Windows) could perhaps
explain why that happens, but since you also asked for a workaround: Instead of 
using \bookOutSuffix, you could try with \bookOutputName, like this: \book { 
\bookOutputName +中国曲子+ Which works fine over here (version 2.18, Mac OSX 
10.8.4).
However, especially encoding issues are likely to depend on the operating 
system.

/ Fredrik
And Ming, please note that it is compulsory on bug-lilypond and
strongly advised also on lilypond-user that you use Minimal examples. It 
often makes understanding the problem and testing solutions much easier. So in 
the current case, the file could have been as short as

\version 2.19.3
\bookOutputSuffix SA+TB

{ c' }

, which by the way shows the same behavior on linux.

Best regards,
Simon


Simon:
Thank you for your simple code to demonstrate my problem.  Is this a bug in 
lily? If it is how to submit to bug report?

Fredrik:

Thank you suggesting using \bookOutputName, I see on the log file indicating 
.ps file is converted to pdf, but I cannot find it 

Here is the revise lily code:
\version 2.19.3
%(1 ...)
\markup { This generate default pdf file with file name} 
{ c' d ' e' f' }
\book {
\markup { This generate pdf file with SA_TB instead of SA+TB }
\bookOutputSuffix SA+TB
{ c' }
}
%(2 ...)
\book {
\markup {This does not generates a pdf file}
\bookOutputName ab+中国曲子+
{d' d' }
}
%(3 .)
\book {
\markup {this generate error}
\bookOutputSuffix 男+女
{ e' e' e' e' }
}

And the log file:
' e' e' e' }

}
And here is the log file:
Starting lilypond-windows.exe 2.19.3 [test_utf-8_filename.ly]...
Processing `C:/Users/Tsang/Dropbox/sample_lily-code/test_utf-8_filename.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test_utf-8_filename-SA_TB.ps'...
Converting to `./test_utf-8_filename-SA_TB.pdf'...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `ab+中国曲子+.ps'...
Converting to `./ab+中国曲子+.pdf'...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing 
systems...C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm/framework-ps.scm:450:22:
 In procedure open-file in expression (open-file filename wb):
C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm/framework-ps.scm:450:22:
 Invalid argument: test_utf-8_filename-�___�_�.ps
Exited with return code 1.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user