2.13.16 crashes while processing old good file (2.8.8 and 2.12.3 do not)

2010-03-23 Thread Dmytro O. Redchuk
Hi.

  My problem (again, yes, my own,) now is that 2.13.16 crashes on a
file, which can happily be compiled with 2.12.3 and 2.8.8 (2.13.0
segfaults, did not try others yet).

  Having no idea how to debug, i would like to ask what can i do to
narrow down this problem.

  (Stripping the code to three stave do not help --- the problem
disappears). Btw, uncommenting page-count and commenting out
system-count gives strange result: lilypond says Solving 2
page-breaking chunks...[1: 3 pages][2: 3 pages] but produces 6 pages
pdf (some pages with 1 system only).

  I've attached the (a bit stripped) source and log file.

  Please, help :-)

  Thank you, really.

-- 
  Dmytro O. Redchuk
GNU LilyPond 2.13.16
Processing `./Shcho_to_za_predyvo.ly'
Parsing...
./Shcho_to_za_predyvo.ly:0: warning: no \version statement found, please add

\version 2.13.16

for future compatibility
Interpreting music... [8][16][24][32][40]
Preprocessing graphical objects...
Solving 2 page-breaking chunks...[1: 1 pages][2: 1 pages]
warning: cannot find line breaking that satisfies constraints
Drawing systems...
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
programming error: bounds of spanner are invalid
././Shcho_to_za_predyvo.ly:40:4: programming error: bounds of spanner are 
invalid
  g8
([ f] ees4 d ~
././Shcho_to_za_predyvo.ly:206:25: programming error: bounds of spanner are 
invalid
Си -- на ро -- ди -- 
 ла.
././Shcho_to_za_predyvo.ly:236:56: programming error: bounds of spanner are 
invalid
А яс -- на -- я зо -- ря за -- хма -- ронь -- ка -- 
ми.
././Shcho_to_za_predyvo.ly:224:25: programming error: bounds of spanner are 
invalid
Си -- на ро -- ди -- 
 ла.
././Shcho_to_za_predyvo.ly:245:56: programming error: bounds of spanner are 
invalid
А яс -- на -- я зо -- ря за -- хма -- ронь -- ка -- 
ми.
././Shcho_to_za_predyvo.ly:214:25: programming error: bounds of spanner are 
invalid
Си -- на ро -- ди -- 
 ла
././Shcho_to_za_predyvo.ly:252:31: programming error: bounds of spanner are 
invalid
за -- хма -- ронь -- ка -- 
   ми.
././Shcho_to_za_predyvo.ly:79:2: programming error: bounds of spanner are 
invalid
  
  R2.
././Shcho_to_za_predyvo.ly:40:17: programming error: bounds of spanner are 
invalid
  g8([ f] ees4 d 
 ~
././Shcho_to_za_predyvo.ly:40:17: programming error: bounds of spanner are 
invalid
  g8([ f] ees4 d 
 ~
././Shcho_to_za_predyvo.ly:300:23: programming error: bounds of this piece 
aren't breakable. 
най ра -- дість бу 
   -- де!
././Shcho_to_za_predyvo.ly:309:23: programming error: bounds of this piece 
aren't breakable. 
най ра -- дість бу 
   -- де!
././Shcho_to_za_predyvo.ly:317:23: programming error: bounds of this piece 
aren't breakable. 
най ра -- дість бу 
   -- де!
programming error: didn't find a vertical alignment in this system
programming error: didn't find a vertical alignment in this system
programming error: didn't find a vertical alignment in this system
programming error: didn't 

Re: Lyrics and spacing inside a system

2010-03-23 Thread Dmytro O. Redchuk
У пн, 2010-03-22 у 22:36 +, Neil Puttock пише:
 On 18 March 2010 13:46, Dmytro O. Redchuk brownian@gmail.com wrote:
  Hi!
 
  I still have some troubles with four voices at two stave (SA-TB), and
  their lyrics (lilypond 2.13) --- you can remember, i've asked this
  already: http://www.mail-archive.com/bug-lilyp...@gnu.org/msg16789.html
 
 Here's a possible solution:
 
 \layout {
   \context {
 \Lyrics
 \override VerticalAxisGroup #'non-affinity-spacing =
 #'((stretchability . 0) (space . 0))
   }
 }
 
 This might not work very well in real-world examples, but seems to do
 the trick for the test snippet you posted.
Thank You for the response.

Actually, there still is some space in the last case (of three posted
cases). As i wrote, i could align lyrics in the first and second
measures, but failed to do it in the last.

Since i have no idea why this space issued there --- i can not tell why
in real world examples (i've posted one some weeks ago already, i can
send whole score, surely) this space can be larger and make score look
really bad... at least much worse :-(

Thank You anyway!

 
 Cheers,
 Neil


-- 
  Dmytro O. Redchuk



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


Re: Lyrics and spacing inside a system

2010-03-23 Thread Dmytro O. Redchuk
У чт, 2010-03-18 у 15:46 +0200, Dmytro O. Redchuk пише:
 The very first case (see the snippet or image) can be happily adjusted
 with spacing tuning, but i've failed to manage the last case, there is
 still some quite visible vertical space between two lyrics contexts'
 baselines.
Btw, the last case looks pretty different (of two above) when
staff-affinity set to #f, also, --- there is a bit more vertical
space :-)

So, here is the simplified example:

% --8-
\score {
  \context ChoirStaff 
\new Staff = upperstaff 
  \new Voice = alto {
\voiceTwo
g'4 g' r2
  }
  \context Lyrics = altolyrics \lyricsto alto 
  \lyricmode { a a }

%
\new Staff = tenstaff 
  \new Voice = tenor {
f'4 f' f' f'
  }
  \context Lyrics = tenlyrics \with {
alignAboveContext = tenstaff
  } \lyricsto tenor \lyricmode { _ _ p p }


  
}

\paper {
  ragged-right = ##t
  indent = 0
}
% --8-

So, there is some unwanted vertical space between lyrics lines, which
i failed to make to disappear with spacings and affinity.

 In real world examples this leads to unwanted results (score can not be
 fit in a good number of pages, systems are visually worse etc).

However, i am not sure this is a bug --- that's why i'm asking,
actually. (I can easily imagine that this *is* a bug, but anyway i can
not provide tiny example and tell *what* is a bug exactly.)

Thanks.

-- 
  Dmytro O. Redchuk



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


Re: Names of multiple midi files in lilypond-book

2010-03-23 Thread Federico Bruni
Il giorno Mon, 22 Mar 2010 23:18:37 -0400
Keith Weintraub kw1...@gmail.com ha scritto:

 I would like to be able to put hyperlinks in the text that point to
 the midi files.
 
 Is there a way to know what the names of the midi files will be or
 better yet to force the names in the \midi{} block?

Hi Keith,

I asked the same question 2 months ago, but I got no reply
unfortunately:
http://lists.gnu.org/archive/html/lilypond-user/2010-01/msg00651.html

The question (maybe) is: how can I tell lilypond-book to create subdirs
and files' names that can pe predicted?
I mean: it would be very easy if the first fragment is rendered in, for
example, fragment1/ and the midi is called fragment1/fragment1.midi

What we want can be done by LilyPond extension for MediaWiki, using
lilymidi:
http://www.oscarvandillen.com/Lilypond

Why shouldn't it be possible using lilypond-book?
I just wonder if we are missing something or if this is just not
feasible currently (in this case we might do a feature request, as it
seems that people are interested in this feature).


Federico
-- 
http://gnurag.net/blog/
http://fsfe.org/
http://groups.fsf.org/wiki/LibrePlanetItalia



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


Re: 2.13.16 crashes while processing old good file (2.8.8 and 2.12.3 do not)

2010-03-23 Thread Jonathan Kulp
Sorry, this didn't copy to the list first time. Not used to the gmail web
interface...See response at bottom.

Jon

On Tue, Mar 23, 2010 at 5:07 AM, Jonathan Kulp jonlancek...@gmail.comwrote:

 2010/3/23 Dmytro O. Redchuk brownian@gmail.com

 Hi.

  My problem (again, yes, my own,) now is that 2.13.16 crashes on a
 file, which can happily be compiled with 2.12.3 and 2.8.8 (2.13.0
 segfaults, did not try others yet).

  Having no idea how to debug, i would like to ask what can i do to
 narrow down this problem.

  (Stripping the code to three stave do not help --- the problem
 disappears). Btw, uncommenting page-count and commenting out
 system-count gives strange result: lilypond says Solving 2
 page-breaking chunks...[1: 3 pages][2: 3 pages] but produces 6 pages
 pdf (some pages with 1 system only).

  I've attached the (a bit stripped) source and log file.

  Please, help :-)

  Thank you, really.


 I got it to compile by running convert-ly to update syntax (had to add a
 version statement first) and then changing the paper block like this:

 \paper {
   %system-count = #9
   % page-count = #3
   ragged-bottom = ##f
 }

 Note that ragged-bottom is now false instead of true. It turns out to have
 three pages. Is that what you want?

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




-- 
Jonathan Kulp
http://www.jonathankulp.com
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.13.16 crashes while processing old good file (2.8.8 and 2.12.3 do not)

2010-03-23 Thread Dmytro O. Redchuk
Thank You for Your response :-)

У вт, 2010-03-23 у 05:07 -0600, Jonathan Kulp пише:

 I got it to compile by running convert-ly to update syntax (had to add
 a version statement first) and then changing the paper block like
 this:
 
 
 \paper {
   %system-count = #9
   % page-count = #3
   ragged-bottom = ##f
 }
 
 
 Note that ragged-bottom is now false instead of true. It turns out to
 have three pages.
Yes, this score _can_ be compiled by 2.13.*

  Is that what you want?
Not sure :-(

Well, i failed to obtain three pages with one stanza per page
(i have not tried hard enough, maybe?..), but...
this does not matter, actually.

I believe there is some issues in vertical spacing mechanism (other my
posts about unwanted vertical space between lyrics are about that,
too), i would like to help (in any sense) to find this problem. I
personally *can not* find anything, i guess i am too unskilled, badly,
forever, lost for future .-)

I wish i could write a good bugreport for this issue .)

At least, i would like to have lilypond not crashed in such cases :-(

Thank You anyway!

ps.
http://lists.gnu.org/archive/html/lilypond-user/2010-02/msg00611.html
http://lists.gnu.org/archive/html/lilypond-user/2010-03/msg00347.html
http://code.google.com/p/lilypond/issues/detail?id=974
http://lists.gnu.org/archive/html/lilypond-user/2010-01/msg00081.html

pps. I feel like i can not help here, and the best thing i can do is
stop spamming. That's not a problem though --- my feelings are not a
problem at all .)

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


-- 
  Dmytro O. Redchuk



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


Re: 2.13.16 crashes while processing old good file (2.8.8 and 2.12.3 do not)

2010-03-23 Thread Carl Sorensen
On 3/23/10 2:26 AM, Dmytro O. Redchuk brownian@gmail.com wrote:

 Hi.
 
   My problem (again, yes, my own,) now is that 2.13.16 crashes on a
 file, which can happily be compiled with 2.12.3 and 2.8.8 (2.13.0
 segfaults, did not try others yet).
 
   Having no idea how to debug, i would like to ask what can i do to
 narrow down this problem.
 
   (Stripping the code to three stave do not help --- the problem
 disappears). Btw, uncommenting page-count and commenting out
 system-count gives strange result: lilypond says Solving 2
 page-breaking chunks...[1: 3 pages][2: 3 pages] but produces 6 pages
 pdf (some pages with 1 system only).

The clue here is that there is some kind of break in the middle of the score
that you've put in manually that confuses the layout engine.

Just remove the /pageBreak in the middle of your score and it works
perfectly.

HTH,

Carl



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


Re: 2.13.16 crashes while processing old good file (2.8.8 and 2.12.3 do not)

2010-03-23 Thread Dmytro O. Redchuk
У вт, 2010-03-23 у 08:25 -0600, Carl Sorensen пише:
 The clue here is that there is some kind of break in the middle of the score
 that you've put in manually that confuses the layout engine.
My fault!

 Just remove the /pageBreak in the middle of your score and it works
 perfectly.
Yes, almost .)

(I can use both system-count and page-count, replace \pageBreak with
\break, then adjust spacing to force three-systems-per-page desired
layout, with ragged-bottom=##t --- of course! Now i can see. Thank You.)

I've found issue 884, but here is something different --- here lilypond
can not produce anything, because of confusing \pageBreak. Well, if i
could provide tiny example, i would add issue titled \pageBreak
confuses layout engine *far* too much... But i can not, i guess.
I will try .)

Oh well.

Thank You anyway!
Thank You for Your time, sorry. My fault, in some sense, surely. Again.

 HTH,
 
 Carl

-- 
  Dmytro O. Redchuk



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


Re: Shapenote Repeats and Breaks

2010-03-23 Thread Tim Slattery
Robin Bannister r...@dataway.ch wrote:

Leland Kusmer wrote: 
 Is there a way to do this?

Lilypond does this according to bar-glyph-alist, 
by calling calc-glyph-name from within the barline print routine.
But when you override the BarLine stencil like this, 
you are bypassing the barline print routine. 

So try something (which calls calc-glyph-name) like 


#(define (with-shapenote-repeats grob) 
  (let ((g-n (ly:grob-property grob 'glyph-name)))
(cond 
  ((string=? g-n |:) (dotFn grob))
  ((string=? g-n :|) (barDotFn grob))
  (else (ly:bar-line::print grob)

And maybe the corresponding override doesn't need the \once ?

  \override Staff.BarLine #'stencil = #with-shapenote-repeats

I do shape note music from time to time also, and I'd love to use this
to get my output to look like the Sacred Harp book. It's LISP code
right? (I know, it's Scheme which is a LISP descendant of some sort.)

My knowledge of Lilypond does not include LISP/Scheme. How exactly
would I use this?

-- 
Tim Slattery
slatter...@bls.gov
http://members.cox.net/slatteryt



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


Re: Shapenote Repeats and Breaks

2010-03-23 Thread Leland Kusmer
Tim,

All you need to do is include that code somewhere in your file, and
then use \override in your \global section to activate the code that
Robin wrote. I've attached a file including all the code that I
currently have for Sacred Harp-style repeats.

I'm still working on other details of Sacred Harp-style engraving, but
these repeats go a long way towards making your music look
traditional.

-Leland

On Tue, Mar 23, 2010 at 11:03 AM, Tim Slattery slatter...@bls.gov wrote:
 Robin Bannister r...@dataway.ch wrote:

Leland Kusmer wrote:
 Is there a way to do this?

Lilypond does this according to bar-glyph-alist,
by calling calc-glyph-name from within the barline print routine.
But when you override the BarLine stencil like this,
you are bypassing the barline print routine.

So try something (which calls calc-glyph-name) like


#(define (with-shapenote-repeats grob)
  (let ((g-n (ly:grob-property grob 'glyph-name)))
    (cond
      ((string=? g-n |:) (dotFn grob))
      ((string=? g-n :|) (barDotFn grob))
      (else (ly:bar-line::print grob)

And maybe the corresponding override doesn't need the \once ?

  \override Staff.BarLine #'stencil = #with-shapenote-repeats

 I do shape note music from time to time also, and I'd love to use this
 to get my output to look like the Sacred Harp book. It's LISP code
 right? (I know, it's Scheme which is a LISP descendant of some sort.)

 My knowledge of Lilypond does not include LISP/Scheme. How exactly
 would I use this?

 --
 Tim Slattery
 slatter...@bls.gov
 http://members.cox.net/slatteryt



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



sacredHarpRepeats.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Shapenote Repeats and Breaks

2010-03-23 Thread Slattery, Tim - BLS
 Tim,
 
 All you need to do is include that code somewhere in your 
 file, and then use \override in your \global section to 
 activate the code that Robin wrote. I've attached a file 
 including all the code that I currently have for Sacred 
 Harp-style repeats.

I can't figure it out. I get nothing but error messages.


GNU LilyPond 2.12.1
Processing `alexander3.ly'
Parsing...
alexander3.ly:25:71: error: syntax error, unexpected \C[haracter]
 #:raise 2 #:override '(thickness . 5) #:draw-line '(0 . -4) ) ) ))
   \
alexander3.ly:65:1: error: GUILE signaled an error for the expression beginning
here
#
  (define (dotFn grob)\
alexander3.ly:82:39: Unknown # object: #\w
alexander3.ly:70:6: error: GUILE signaled an error for the expression beginning
here
 #
  :right-align\
Unbound variable: :right-align\
alexander3.ly:71:6: error: GUILE signaled an error for the expression beginning
here
 #
  :vcenter\
Unbound variable: :vcenter\
alexander3.ly:72:6: error: GUILE signaled an error for the expression beginning
here
 #
  :line (\
Unbound variable: :line
alexander3.ly:72:12: error: syntax error, unexpected '('
 #:line
(\
alexander3.ly:73:6: error: GUILE signaled an error for the expression beginning
here
 #
  :vcenter\
Unbound variable: :vcenter\
alexander3.ly:74:6: error: GUILE signaled an error for the expression beginning
here
 #
  :column (#:filled-box '(0 . 0.35) '(0 . 0.35) 0 \
Unbound variable: :column
alexander3.ly:74:16: error: GUILE signaled an error for the expression beginning
 here
 #:column (#
:filled-box '(0 . 0.35) '(0 . 0.35) 0 \
Unbound variable: :filled-box
alexander3.ly:75:20: error: GUILE signaled an error for the expression beginning
 here
   #
:filled-box '(0 . 0.35) '(0 . 0.35) 0  \
Unbound variable: :filled-box
alexander3.ly:76:20: error: GUILE signaled an error for the expression beginning
 here
   #
:filled-box '(0 . 0.35) '(0 . 0.35) 0  \
Unbound variable: :filled-box
alexander3.ly:77:20: error: GUILE signaled an error for the expression beginning
 here
   #
:filled-box '(0 . 0.35) '(0 . 0.35) 0  )}
Unbound variable: :filled-box
Interpreting music... [8][16]
Preprocessing graphical objects...alexander3.ly:6:7: In procedure memoization in
 expression (cond     ...):
alexander3.ly:6:7: In file alexander3.ly, line 5: Bad cond clause   in expres
sion (cond       ((string=? g-n |:) (dotFn grob))       ((string=? g-n 
:|) (barDotFn grob))   ...).

--
Tim Slattery
slatter...@bls.gov
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Shapenote Repeats and Breaks

2010-03-23 Thread Leland Kusmer
I'm sorry, I seem to have left off the closing parenthesis! Try again
with the code I have attached this time...

-Leland

On Tue, Mar 23, 2010 at 1:11 PM, Slattery, Tim - BLS
slattery@bls.gov wrote:
 Tim,

 All you need to do is include that code somewhere in your
 file, and then use \override in your \global section to
 activate the code that Robin wrote. I've attached a file
 including all the code that I currently have for Sacred
 Harp-style repeats.

 I can't figure it out. I get nothing but error messages.


 GNU LilyPond 2.12.1
 Processing `alexander3.ly'
 Parsing...
 alexander3.ly:25:71: error: syntax error, unexpected \C[haracter]
     #:raise 2 #:override '(thickness . 5) #:draw-line '(0 . -4) ) ) ))
                                                                       \
 alexander3.ly:65:1: error: GUILE signaled an error for the expression 
 beginning
 here
 #
  (define (dotFn grob)\
 alexander3.ly:82:39: Unknown # object: #\w
 alexander3.ly:70:6: error: GUILE signaled an error for the expression 
 beginning
 here
     #
      :right-align\
 Unbound variable: :right-align\
 alexander3.ly:71:6: error: GUILE signaled an error for the expression 
 beginning
 here
     #
      :vcenter\
 Unbound variable: :vcenter\
 alexander3.ly:72:6: error: GUILE signaled an error for the expression 
 beginning
 here
     #
      :line (\
 Unbound variable: :line
 alexander3.ly:72:12: error: syntax error, unexpected '('
     #:line
            (\
 alexander3.ly:73:6: error: GUILE signaled an error for the expression 
 beginning
 here
     #
      :vcenter\
 Unbound variable: :vcenter\
 alexander3.ly:74:6: error: GUILE signaled an error for the expression 
 beginning
 here
     #
      :column (#:filled-box '(0 . 0.35) '(0 . 0.35) 0 \
 Unbound variable: :column
 alexander3.ly:74:16: error: GUILE signaled an error for the expression 
 beginning
  here
     #:column (#
                :filled-box '(0 . 0.35) '(0 . 0.35) 0 \
 Unbound variable: :filled-box
 alexander3.ly:75:20: error: GUILE signaled an error for the expression 
 beginning
  here
                   #
                    :filled-box '(0 . 0.35) '(0 . 0.35) 0  \
 Unbound variable: :filled-box
 alexander3.ly:76:20: error: GUILE signaled an error for the expression 
 beginning
  here
                   #
                    :filled-box '(0 . 0.35) '(0 . 0.35) 0  \
 Unbound variable: :filled-box
 alexander3.ly:77:20: error: GUILE signaled an error for the expression 
 beginning
  here
                   #
                    :filled-box '(0 . 0.35) '(0 . 0.35) 0  )}
 Unbound variable: :filled-box
 Interpreting music... [8][16]
 Preprocessing graphical objects...alexander3.ly:6:7: In procedure memoization 
 in
  expression (cond ┬á ┬á ...):
 alexander3.ly:6:7: In file alexander3.ly, line 5: Bad cond clause   in 
 expres
 sion (cond       ((string=? g-n |:) (dotFn grob))       ((string=? 
 g-n 
 :|) (barDotFn grob))   ...).

 --
 Tim Slattery
 slatter...@bls.gov



sacredHarpRepeats.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Shapenote Repeats and Breaks

2010-03-23 Thread Slattery, Tim - BLS

 I'm sorry, I seem to have left off the closing parenthesis! 
 Try again with the code I have attached this time...

I'm trying to use your code as an include file, that should work,
shouldn't it?

I still get zillions of errors.

GNU LilyPond 2.12.1
Processing `alexander3.ly'
Parsing...
programming error: file name not normalized: ..\SHRepeats.ly
continuing, cross fingers
../SHRepeats.ly:1:1: error: unknown escaped string: `\rtf'
{
 \rtf1\ansi\ansicpg1252\cocoartf1038
../SHRepeats.ly:1:1: error: syntax error, unexpected STRING
{
 \rtf1\ansi\ansicpg1252\cocoartf1038
../SHRepeats.ly:1:6: error: unknown escaped string: `\ansi'
{\rtf1
  \ansi\ansicpg1252\cocoartf1038
../SHRepeats.ly:1:11: error: unknown escaped string: `\ansicpg'
{\rtf1\ansi
   \ansicpg1252\cocoartf1038
../SHRepeats.ly:1:23: error: unknown escaped string: `\cocoartf'
{\rtf1\ansi\ansicpg1252
   \cocoartf1038
../SHRepeats.ly:2:1: error: unknown escaped string: `\fonttbl'
{
 \fonttbl\f0\fswiss\fcharset0 Helvetica;}
../SHRepeats.ly:2:12: error: unknown escaped string: `\fswiss'
{\fonttbl\f0
\fswiss\fcharset0 Helvetica;}
../SHRepeats.ly:2:19: error: unknown escaped string: `\fcharset'
{\fonttbl\f0\fswiss
   \fcharset0 Helvetica;}
../SHRepeats.ly:3:1: error: unknown escaped string: `\colortbl'
{
 \colortbl;\red255\green255\blue255;}
../SHRepeats.ly:4:0: error: unknown escaped string: `\margl'

\margl1440\margr1440\vieww9000\viewh8400\viewkind0
../SHRepeats.ly:4:10: error: unknown escaped string: `\margr'
\margl1440
  \margr1440\vieww9000\viewh8400\viewkind0
../SHRepeats.ly:4:20: error: unknown escaped string: `\vieww'
\margl1440\margr1440
\vieww9000\viewh8400\viewkind0
../SHRepeats.ly:4:30: error: unknown escaped string: `\viewh'
\margl1440\margr1440\vieww9000
  \viewh8400\viewkind0
../SHRepeats.ly:4:40: error: unknown escaped string: `\viewkind'
\margl1440\margr1440\vieww9000\viewh8400
\viewkind0
../SHRepeats.ly:5:0: error: unknown escaped string: `\pard'

\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
00\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:5: error: unknown escaped string: `\tx'
\pard
 
\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx
792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:11: error: unknown escaped string: `\tx'
\pard\tx720
 
\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:18: error: unknown escaped string: `\tx'
\pard\tx720\tx1440
 
\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:25: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160
 
\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:32: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160\tx2880
 
\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:39: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160\tx2880\tx3600
 
\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:46: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320
 
\tx5040\tx5760\tx6480\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:53: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040
 
\tx5760\tx6480\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:60: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760
 
\tx6480\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:67: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480
 
\tx7200\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:74: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
00
 
\tx792
0\tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:81: error: unknown escaped string: `\tx'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
00\tx792
0

 \tx8640\ql\qnatural\pardirnatural
../SHRepeats.ly:5:88: error: unknown escaped string: `\ql'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
00\tx792
0\tx8640

\ql\qnatural\pardirnatural
../SHRepeats.ly:5:91: error: unknown escaped string: `\qnatural'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
00\tx792
0\tx8640\ql

   \qnatural\pardirnatural
../SHRepeats.ly:5:100: error: unknown escaped string: `\pardirnatural'
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
00\tx792
0\tx8640\ql\qnatural

\pardirnatural
../SHRepeats.ly:7:3: error: unknown escaped 

Re: Shapenote Repeats and Breaks

2010-03-23 Thread Leland Kusmer
I'm sorry, once last try: The file I've attached this time works as an
\include for me; it should work for you.

-Leland

On Tue, Mar 23, 2010 at 1:40 PM, Slattery, Tim - BLS
slattery@bls.gov wrote:

 I'm sorry, I seem to have left off the closing parenthesis!
 Try again with the code I have attached this time...

 I'm trying to use your code as an include file, that should work,
 shouldn't it?

 I still get zillions of errors.

 GNU LilyPond 2.12.1
 Processing `alexander3.ly'
 Parsing...
 programming error: file name not normalized: ..\SHRepeats.ly
 continuing, cross fingers
 ../SHRepeats.ly:1:1: error: unknown escaped string: `\rtf'
 {
  \rtf1\ansi\ansicpg1252\cocoartf1038
 ../SHRepeats.ly:1:1: error: syntax error, unexpected STRING
 {
  \rtf1\ansi\ansicpg1252\cocoartf1038
 ../SHRepeats.ly:1:6: error: unknown escaped string: `\ansi'
 {\rtf1
      \ansi\ansicpg1252\cocoartf1038
 ../SHRepeats.ly:1:11: error: unknown escaped string: `\ansicpg'
 {\rtf1\ansi
           \ansicpg1252\cocoartf1038
 ../SHRepeats.ly:1:23: error: unknown escaped string: `\cocoartf'
 {\rtf1\ansi\ansicpg1252
                       \cocoartf1038
 ../SHRepeats.ly:2:1: error: unknown escaped string: `\fonttbl'
 {
  \fonttbl\f0\fswiss\fcharset0 Helvetica;}
 ../SHRepeats.ly:2:12: error: unknown escaped string: `\fswiss'
 {\fonttbl\f0
            \fswiss\fcharset0 Helvetica;}
 ../SHRepeats.ly:2:19: error: unknown escaped string: `\fcharset'
 {\fonttbl\f0\fswiss
                   \fcharset0 Helvetica;}
 ../SHRepeats.ly:3:1: error: unknown escaped string: `\colortbl'
 {
  \colortbl;\red255\green255\blue255;}
 ../SHRepeats.ly:4:0: error: unknown escaped string: `\margl'

 \margl1440\margr1440\vieww9000\viewh8400\viewkind0
 ../SHRepeats.ly:4:10: error: unknown escaped string: `\margr'
 \margl1440
          \margr1440\vieww9000\viewh8400\viewkind0
 ../SHRepeats.ly:4:20: error: unknown escaped string: `\vieww'
 \margl1440\margr1440
                    \vieww9000\viewh8400\viewkind0
 ../SHRepeats.ly:4:30: error: unknown escaped string: `\viewh'
 \margl1440\margr1440\vieww9000
                              \viewh8400\viewkind0
 ../SHRepeats.ly:4:40: error: unknown escaped string: `\viewkind'
 \margl1440\margr1440\vieww9000\viewh8400
                                        \viewkind0
 ../SHRepeats.ly:5:0: error: unknown escaped string: `\pard'

 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
 00\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:5: error: unknown escaped string: `\tx'
 \pard

 \tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx
 792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:11: error: unknown escaped string: `\tx'
 \pard\tx720

 \tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:18: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440

 \tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:25: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160

 \tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:32: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160\tx2880

 \tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:39: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600

 \tx4320\tx5040\tx5760\tx6480\tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:46: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320

 \tx5040\tx5760\tx6480\tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:53: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040

 \tx5760\tx6480\tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:60: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760

 \tx6480\tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:67: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480

 \tx7200\tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:74: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
 00

 \tx792
 0\tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:81: error: unknown escaped string: `\tx'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
 00\tx792
 0

  \tx8640\ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:88: error: unknown escaped string: `\ql'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
 00\tx792
 0\tx8640

        \ql\qnatural\pardirnatural
 ../SHRepeats.ly:5:91: error: unknown escaped string: `\qnatural'
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx72
 00\tx792
 

RE: Shapenote Repeats and Breaks

2010-03-23 Thread Slattery, Tim - BLS
 I'm sorry, once last try: The file I've attached this time 
 works as an \include for me; it should work for you.

Thanks, that did the trick.

--
Tim Slattery
slatter...@bls.gov



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


Using Lilypond in LaTeX

2010-03-23 Thread Keith Weintraub
Folks,
   I am creating multiple piano staves with text between them for analysis on a 
page.

I would like to make sure that all staves on one page be the same width.

Is there a way to force the line-width to be a certain size AND (sorry for 
shouting) force the staves (across separate \begin{lilypond} \end{lilypond} 
blocks) to fill the lines so they are the same width across the page?

I have done something like this:

\begin{lilypond}
\layout {
  line-width = #150
  ragged-last = ##f
  ragged-last-bottom = ##f
  ragged-right = ##f
  ragged-bottom = ##f
}

\score {
  \new PianoStaff \with {
  \override SpacingSpanner #'uniform-stretching = ##t
} 
 \set Score.tempoHideNote = ##t
  ...
  ...
  ...
   \layout{}
   \midi{}
}

\end{lilypond}

I am sure that this is wrong and that I have cut and pasted a bunch of stuff 
that I don't really need. Any help that you could give would be greatly 
appreciated.

Thanks,
KW

--

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


Re: Using Lilypond in LaTeX

2010-03-23 Thread Jonathan Kulp
On Tue, Mar 23, 2010 at 1:58 PM, Keith Weintraub kw1...@gmail.com wrote:
 Folks,
    I am creating multiple piano staves with text between them for analysis
 on a page.
 I would like to make sure that all staves on one page be the same width.
 Is there a way to force the line-width to be a certain size AND (sorry for
 shouting) force the staves (across separate \begin{lilypond} \end{lilypond}
 blocks) to fill the lines so they are the same width across the page?
 I have done something like this:

 \begin{lilypond}

 \layout {
   line-width = #150
   ragged-last = ##f
   ragged-last-bottom = ##f
   ragged-right = ##f
   ragged-bottom = ##f
 }

 \score {
   \new PianoStaff \with {
  \override SpacingSpanner #'uniform-stretching = ##t
 } 
      \set Score.tempoHideNote = ##t
   ...
   ...
   ...
    \layout{}
    \midi{}
 }

 \end{lilypond}

 I am sure that this is wrong and that I have cut and pasted a bunch of stuff
 that I don't really need. Any help that you could give would be greatly
 appreciated.
 Thanks,
 KW

In my counterpoint workbook I use included lilypond files for the
exercises, each of which has the following parameters defined:

\paper {
  ragged-right = ##f
}

global = {
  #(set-global-staff-size 24)
}

With only these two parameters defined, all of my exercises are the
same staffsize and fill the same width of page. If you're interested
you can see the source code and pdf here:

http://music2.louisiana.edu/Gratis/

HTH,

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


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


Re: Using Lilypond in LaTeX

2010-03-23 Thread Keith Weintraub
Jon,
  That worked like a charm. I used 20 for my staff size but that is obviously 
not the game changer!

I thought I had tried the ragged-right fix but I must have done it wrong.

Thanks again,
KW

--

On Mar 23, 2010, at 4:27 PM, Jonathan Kulp wrote:

 On Tue, Mar 23, 2010 at 1:58 PM, Keith Weintraub kw1...@gmail.com wrote:
 Folks,
I am creating multiple piano staves with text between them for analysis
 on a page.
 I would like to make sure that all staves on one page be the same width.
 Is there a way to force the line-width to be a certain size AND (sorry for
 shouting) force the staves (across separate \begin{lilypond} \end{lilypond}
 blocks) to fill the lines so they are the same width across the page?
 I have done something like this:
 
 \begin{lilypond}
 
 \layout {
   line-width = #150
   ragged-last = ##f
   ragged-last-bottom = ##f
   ragged-right = ##f
   ragged-bottom = ##f
 }
 
 \score {
   \new PianoStaff \with {
  \override SpacingSpanner #'uniform-stretching = ##t
 } 
  \set Score.tempoHideNote = ##t
   ...
   ...
   ...
\layout{}
\midi{}
 }
 
 \end{lilypond}
 
 I am sure that this is wrong and that I have cut and pasted a bunch of stuff
 that I don't really need. Any help that you could give would be greatly
 appreciated.
 Thanks,
 KW
 
 In my counterpoint workbook I use included lilypond files for the
 exercises, each of which has the following parameters defined:
 
 \paper {
  ragged-right = ##f
 }
 
 global = {
  #(set-global-staff-size 24)
 }
 
 With only these two parameters defined, all of my exercises are the
 same staffsize and fill the same width of page. If you're interested
 you can see the source code and pdf here:
 
 http://music2.louisiana.edu/Gratis/
 
 HTH,
 
 Jon
 -- 
 Jonathan Kulp
 http://www.jonathankulp.com

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


Re: Using Lilypond in LaTeX

2010-03-23 Thread David Stocker
The difference is that ragged-right has to go in a \paper block and not 
a \layout block.


On 03/23/2010 05:36 PM, Keith Weintraub wrote:

Jon,
  That worked like a charm. I used 20 for my staff size but that is 
obviously not the game changer!


I thought I had tried the ragged-right fix but I must have done it wrong.

Thanks again,
KW

--

On Mar 23, 2010, at 4:27 PM, Jonathan Kulp wrote:

On Tue, Mar 23, 2010 at 1:58 PM, Keith Weintraub kw1...@gmail.com 
mailto:kw1...@gmail.com wrote:

Folks,
   I am creating multiple piano staves with text between them for 
analysis

on a page.
I would like to make sure that all staves on one page be the same width.
Is there a way to force the line-width to be a certain size AND 
(sorry for
shouting) force the staves (across separate \begin{lilypond} 
\end{lilypond}

blocks) to fill the lines so they are the same width across the page?
I have done something like this:

\begin{lilypond}

\layout {
  line-width = #150
  ragged-last = ##f
  ragged-last-bottom = ##f
  ragged-right = ##f
  ragged-bottom = ##f
}

\score {
  \new PianoStaff \with {
 \override SpacingSpanner #'uniform-stretching = ##t
} 
 \set Score.tempoHideNote = ##t
  ...
  ...
  ...
   \layout{}
   \midi{}
}

\end{lilypond}

I am sure that this is wrong and that I have cut and pasted a bunch 
of stuff

that I don't really need. Any help that you could give would be greatly
appreciated.
Thanks,
KW


In my counterpoint workbook I use included lilypond files for the
exercises, each of which has the following parameters defined:

\paper {
 ragged-right = ##f
}

global = {
 #(set-global-staff-size 24)
}

With only these two parameters defined, all of my exercises are the
same staffsize and fill the same width of page. If you're interested
you can see the source code and pdf here:

http://music2.louisiana.edu/Gratis/

HTH,

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



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


--
David Stocker
804-598-3762
http://notesettersinc.com

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


Re: Using Lilypond in LaTeX

2010-03-23 Thread Mats Bengtsson

Quoting Keith Weintraub kw1...@gmail.com:


Jon,
 That worked like a charm. I used 20 for my staff size but that is 
obviously not the game changer!


Note also that if you don't specify any line width in your LilyPond 
code, then lilypond-book will automatically use the line width from the 
text part of the document.


  /Mats



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


Re: Using Lilypond in LaTeX

2010-03-23 Thread Francisco Vila
2010/3/23 Keith Weintraub kw1...@gmail.com:
 Folks,
    I am creating multiple piano staves with text between them for analysis
 on a page.
 I would like to make sure that all staves on one page be the same width.
 Is there a way to force the line-width to be a certain size AND (sorry for
 shouting) force the staves (across separate \begin{lilypond} \end{lilypond}
 blocks) to fill the lines so they are the same width across the page?
 I have done something like this:

 \begin{lilypond}

 \layout {
   line-width = #150
   ragged-last = ##f
   ragged-last-bottom = ##f
   ragged-right = ##f
   ragged-bottom = ##f
 }

I often use something like

\begin[staffsize=15,line-width=17\cm,indent=0]{lilypond}

that is, specifying things at the lilypond block opening.  That gives
a consistent line width across the book.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


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


Tuplets, one-line staves etc. in lilypond-book

2010-03-23 Thread Siska Ádám
Hello Members,


I am writing a score with LaTeX  Lilypond-book where I need a lot of inline 
excerpts in the text. As I noticed, using the Lilypond environment doesn't let 
me inline citations of score fragments as it always creates a new paragraph for 
the music, therefore I can only live with the \lilypond command. However, since 
{ and } is not supported within this command, there are a couple of things I 
can't really solve. Here's a list of the things I couldn't find out up to now. 
Please, if anyone of you had a suggestion, don't hesitate to tell me. Thanks!

- Creating tuplets. Using the \times command won't put a bracket over my 
tuplets, as it applies only to the first note.
- Removing/modifying the staff. At a point I need to include a few rythm 
patterns for which I don't need a 5-line stave. I either need an one-line 
stave, or (which could be even better), I needed no stave at all, just the 
rythms.
- Including music signs without a staff. I can't find out how could I put (for 
example) a \pp sign in my text without getting a stave.


Thank you all for your kind help,
Ádám



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


Spanish Lyrics Error

2010-03-23 Thread Gus
Hello,

I am trying to add lyrics in Spanish to a song but I can't use the Spanish
specific characters like the ñ and the á because I get an error:

user:$ lilypond 1a_arriba-los-corazones.ly
GNU LilyPond 2.12.2
Processing `1a_arriba-los-corazones.ly'
Parsing...
Interpreting music... [8][16][24][32]
Preprocessing graphical objects...
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf
continuing, cross fingers
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `1a_arriba-los-corazones.ps'...
Converting to `./1a_arriba-los-corazones.pdf'...

Thanks.

Gus



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


Re: Spanish Lyrics Error

2010-03-23 Thread Jonathan Kulp
On Tue, Mar 23, 2010 at 7:42 PM, Gus gus@gmail.com wrote:
 Hello,

 I am trying to add lyrics in Spanish to a song but I can't use the Spanish
 specific characters like the ñ and the á because I get an error:

 user:$ lilypond 1a_arriba-los-corazones.ly
 GNU LilyPond 2.12.2
 Processing `1a_arriba-los-corazones.ly'
 Parsing...
 Interpreting music... [8][16][24][32]
 Preprocessing graphical objects...
 programming error: FT_Get_Glyph_Name () error: invalid argument
 continuing, cross fingers
 programming error: Glyph has no name, but font supports glyph naming.
 Skipping glyph U+, file
 /usr/local/lilypond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf
 continuing, cross fingers
 Finding the ideal number of pages...
 Fitting music on 1 page...
 Drawing systems...
 Layout output to `1a_arriba-los-corazones.ps'...
 Converting to `./1a_arriba-los-corazones.pdf'...

 Thanks.

 Gus


Check to make sure your source file has UTF-8 encoding and re-compile.
I use foreign characters like his frequently without errors. If you
still have errors, post a minimal example for us.

Jon


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


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


Re: Spanish Lyrics Error

2010-03-23 Thread Jonathan Kulp
On Tue, Mar 23, 2010 at 8:32 PM, Gustavo Caicedo gus@gmail.com wrote:
 Not sure what you mean. I use vim.

 user:$ file /mnt/sda1/opus/1a_arriba-los-corazones.ly
 /mnt/sda1/opus/1a_arriba-los-corazones.ly: ASCII text

 I guess it's set to ASCII. Is this the problem you're talking about?


Yes. that's it. Open up your file in vim and do this command:

:set encoding=utf-8

Then save and exit. Then run the file command and see if it says
utf-8 instead of ASCII. Once it has UTF-8 encoding I predict your
characters will appear correctly. When I do this, the file has to have
a utf-8 character (á or ñ for example) in the file before it'll say
utf-8 in the file command.

Jon

 On Tue, Mar 23, 2010 at 20:58, Jonathan Kulp jonlancek...@gmail.com wrote:

 On Tue, Mar 23, 2010 at 7:42 PM, Gus gus@gmail.com wrote:
  Hello,
 
  I am trying to add lyrics in Spanish to a song but I can't use the
  Spanish
  specific characters like the ñ and the á because I get an error:
 
  user:$ lilypond 1a_arriba-los-corazones.ly
  GNU LilyPond 2.12.2
  Processing `1a_arriba-los-corazones.ly'
  Parsing...
  Interpreting music... [8][16][24][32]
  Preprocessing graphical objects...
  programming error: FT_Get_Glyph_Name () error: invalid argument
  continuing, cross fingers
  programming error: Glyph has no name, but font supports glyph naming.
  Skipping glyph U+, file
 
  /usr/local/lilypond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf
  continuing, cross fingers
  Finding the ideal number of pages...
  Fitting music on 1 page...
  Drawing systems...
  Layout output to `1a_arriba-los-corazones.ps'...
  Converting to `./1a_arriba-los-corazones.pdf'...
 
  Thanks.
 
  Gus
 

 Check to make sure your source file has UTF-8 encoding and re-compile.
 I use foreign characters like his frequently without errors. If you
 still have errors, post a minimal example for us.

 Jon


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





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


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


Re: Spanish Lyrics Error

2010-03-23 Thread Patrick McCarty
On 2010-03-23, Jonathan Kulp wrote:
 On Tue, Mar 23, 2010 at 8:32 PM, Gustavo Caicedo gus@gmail.com wrote:
  Not sure what you mean. I use vim.
 
  user:$ file /mnt/sda1/opus/1a_arriba-los-corazones.ly
  /mnt/sda1/opus/1a_arriba-los-corazones.ly: ASCII text
 
  I guess it's set to ASCII. Is this the problem you're talking about?
 
 
 Yes. that's it. Open up your file in vim and do this command:
 
 :set encoding=utf-8
 
 Then save and exit. Then run the file command and see if it says
 utf-8 instead of ASCII. Once it has UTF-8 encoding I predict your
 characters will appear correctly. When I do this, the file has to have
 a utf-8 character (á or ñ for example) in the file before it'll say
 utf-8 in the file command.

It might depend on what version of Vim you are using, but I usually
need to run

  :set fileencoding=utf-8

as well.  That, along with Jon's suggestion, should solve your
problem.

-Patrick


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