Rests vs spacers style question

2018-01-23 Thread Menu Jacques
Hello folks,

P_POne_Staff_One_Voice_Two below contains rests which may seem to be make the 
score more difficult to read that spacers.

Apart for single voice staves where rests are necessary, is there a 
best-practise style for multivoice staves?

Thanks for your help!

JM

%%%

\version "2.19.80"

P_POne_Staff_One_Voice_One = \relative {
  \language "nederlands"
  \partial 4
  \numericTimeSignature \time 4/4
  c''4 | % 1
  c4 a f c' |
}

P_POne_Staff_One_Voice_Two = \relative {
  \language "nederlands"
  \partial 4
  \numericTimeSignature \time 4/4
  r4 | % 1
  r4 c' r2 |
}

\score {
  <<
\set PianoStaff.connectArpeggios = ##t

\new Staff = "P_POne_Staff_One"
\with {
}
<<
  \context Voice = "P_POne_Staff_One_Voice_One" <<
\voiceOne % 2 music voices

\P_POne_Staff_One_Voice_One
  >>
  \context Voice = "P_POne_Staff_One_Voice_Two" <<
\voiceTwo % 2 music voices

\P_POne_Staff_One_Voice_Two
  >>
>>
  >>
  
  \layout {
\context {
  \Score
  autoBeaming = ##f % to display tuplets brackets
}
% Uncomment and adapt next line as needed (default is 20)
% #(layout-set-staff-size 20)
  }
  
  \midi {
\tempo 4 = 90
  }
}

%

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


Re: Grace notes & Co, style question

2018-01-23 Thread Jacques Menu Muzhic
Hello Joram,

Thanks for the clarification!

JM

> Le 23 janv. 2018 à 21:42, Noeck  a écrit :
> 
> Hi Jacques,
> 
> in your 8 bars, you have only 4 different outcomes of your 8 different
> inputs, combinations of (slashed/unslashed) and (slurred/unslurred). I
> would just recommend to use the relevant command instead of adding extra
> slurs to the input, i.e. to use your first line:
> 
> 1. no slash, no slur: \grace
> 2. slash and slur: \acciaccatura
> 3. slash but no slur: \slashedGrace
> 4. no slash but slur: \appoggiatura
> 
> But that recommendation is just because it seems cleaner to me because
> it does not duplicate things (slurs).
> 
> At least the duplication does not seem to have side effects, there are
> no double slurs or so. I looked at the source code and the slurred
> variants have a 'SlurEvent ... START and ... STOP around them. So I
> guess if you add a slur, it does not change anything as the slur is
> alread "activated". But the developers might correct me.
> 
> Cheers,
> Joram
> 
> ___
> 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


5 string Banjo Tab

2018-01-23 Thread Richard Hoadley

 I just joined Lilypond, so am very new at this program. I can’t read music and 
depend totally on Tabs. I need a table or list that shows what letters create 
each of the notes on a Tab. Some samples of the text would be helpful. Most of 
my Tabs are in Clawhammer style and open G tuning.

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


Empty Staves & Overriding Sequences

2018-01-23 Thread joedavnport
Hi LilyPond,
Here are some general questions on coding, which I think can be answered in any 
way that works. The first, however, is more specific. 
Q1. Is there a way to create (and show) an empty stave in a score, rather than 
creating {s1 s1 s1} spaces? 
-because I'm lazy.
Q2. Sometimes I want to omit a phrasing for certain files (e.g. showing repeat 
marks), instead of showing the variation for a repeated phrase, or section. 
Feel free to share if this seems more or less integriful (music wise) but for 
the most part I'm wondering if it can be done beside phrases ordered within a 
single variable. 
-As of writing, most of my phrasing is sequenced under one variable and stays 
this way even with separate files. I came closer to identifying each part 
separately, with different variables, it is harder for me to get the right 
representation from the score. This means to me that I need to use an override 
inside a "relative c' {__ }" or within /score <>. Again, I want to adapt the output so as to have written parts for one 
section and repeat marks in the other.
Thanks to everyone who takes the time to contribute. If I do not hear back, I 
will certainly try to solve the problem on my own at some point. I consider 
myself fortunate, as is, to have found a viable means of copying music, 
accessible and without the environments of traditional software! 

joe  
p.s. if anyone wants to hear solutions i might find with independent variables, 
let me know. i think it can be done but probably requires a /score that is very 
specific. i hope this was not too difficult. 
Sent from my Galaxy Tab A___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: more Lead sheet with variables

2018-01-23 Thread Colin Campbell

On 2018-01-23 03:59 PM, Joseph Austin wrote:

Follow-up questions:

2. Where do I set the language option to get error messages in English?
I'm running Mac Sierra 10.3.3

3. Thanks to all who pointed out the invalid "\" before "melody".
So I applied the same to chords and lyrics and got new errors:
===
\version "2.19.40"
harmony = { c2 g:sus4 f e }
melody =   \relative c'' {
    a4 e c8 e r4
    b2 c4( d)
  }
words = { One day this shall be free __ }

\score {
<<
  \chords \harmony
  \melody
  \addlyrics \words
>>
\layout { }
}


You are mixing several modes of entry without declaring them properly. I 
*strongly* suggest you work through the Learning Manual online, which 
will solve your basic problems. Forgive my bluntness, but you seem to be 
poking a hornets' nest with a stick, and a bit of time with TFM will 
avoid a good bit of pain! BTW, welcome to LilyPond and don't be shy 
about asking further questions, especially after a trip through the manuals.


Cheers,
Colin


--
The problem with being sure that God is on your side is that you can't 
change your mind, because God sure isn't going to change His. - Roger 
Ebert, film-critic (1942- )
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: more Lead sheet with variables

2018-01-23 Thread Noeck
Hi Joseph,

> 2. Where do I set the language option to get error messages in English?
> I'm running Mac Sierra 10.3.3

How do you run lilypond? This works for me (switches from a German
environment to English output):

LANG="en" lilypond -v

Cheers,
Joram

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


Re: more Lead sheet with variables

2018-01-23 Thread Noeck
Dear Joseph,

I would like to suggest to read the learning manual. Many of these
issues are explained there. It really helps.

To your 3rd question:

% You started with the simplest form:

<<
  \chords { a4:m }
  \relative c' { a b }
  \addlyrics { a }
>>

% Lilypond does many things behind the scenes there. To make it more
% explicit, you could also write the following lines.

<<
  \new ChordNames \chordmode { a4:m }
  \new Staff \new Voice = "voice" \relative c' { a b }
  \new Lyrics \lyricmode { a }  % or \new Lyrics \lyricsto "voice" { a }
>>

% Now, you are ready to replace the content of each context with
% variables. You need to tell Lilypond the entry mode for your
% variables and the context in your score setup:

harmony = \chordmode {a4:m }
melody = \relative c' { a b }
words = \lyricmode { a }
<<
  \new ChordNames \harmony
  \new Staff \new Voice = "voice" \melody
  \new Lyrics \lyricsto "voice" \words
>>

% Please note, that this example is identical with the one before, if
% you replace the variables with their right hand side again.

In short (and only roughly correct):
\chords = \new ChordNames + \chordmode
{ } = \new Staff + { }
\addlyrics = \new Lyrics + \lyricmode

It works the same way for \figures, \drums.

I cannot explain why sometimes \lyricsto "voice" and \lyricmode works
together and sometimes not.

Cheers,
Joram

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


Re: more Lead sheet with variables

2018-01-23 Thread David Kastrup
Joseph Austin  writes:

> Follow-up questions:
>
> 2. Where do I set the language option to get error messages in English?
> I'm running Mac Sierra 10.3.3
>
> 3. Thanks to all who pointed out the invalid "\" before "melody".
> So I applied the same to chords and lyrics and got new errors:
> ===
> \version "2.19.40"
> harmony = { c2 g:sus4 f e }

harmony = \chordmode { c2 g:sus4 f e }

> melody =   \relative c'' {
> a4 e c8 e r4
> b2 c4( d)
>   }

> words = { One day this shall be free __ }

words = \lyricmode { One day ...

> /Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:2:18: error: cadena 
> no reconocida, no está dentro de un elemento de texto o \lyricmode
> harmony = { c2 g:
>  sus4 f e }
> /Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:11: error: cadena 
> no reconocida, no está dentro de un elemento de texto o \lyricmode
> words = { 
>   One day this shall be free __ }

The error messages would be helpful if you were able to read them...

-- 
David Kastrup

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


Re: Text in alternative endings

2018-01-23 Thread David Kastrup
Ralph Palmer  writes:

> Hi -
>
> I'm running LilyPond 2.19.80 with Frescobaldi 2.18.1 under Linux/Ubuntu.
>
> I'm trying to substitute text for the numbers in alternative endings. I've
> struggled with this before. I've tried looking in the Notation Reference
> and in the Snippet Repository. I'm attaching the closest I've been able to
> come to what I want.
>
> I have a partial measure at the beginning, before the repeat.
> I'd like to get rid of the end-repeat sign at the beginning of the first
> alternative.
> The notes are all there, where they're supposed to be.
> The "1., etc." for the first alternative is just the way I'd like it.
> However, the bracket for the first alternative closes the repeat structure,
> and there is no enclosure or text for the second alternative.
>
> This is not intuitive to me.
>
> Can someone please help me solve this?

Look up the syntax of \alternative maybe?  It only allows _one_
brace-enclosed sequential music expression.  Every expression in this
sequential music expression is one alternative.  In particular, your
\set-command, not being included in any other expression, is an
alternative of its own.

-- 
David Kastrup

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


Re: more Lead sheet with variables

2018-01-23 Thread Joseph Austin
Follow-up questions:

2. Where do I set the language option to get error messages in English?
I'm running Mac Sierra 10.3.3

3. Thanks to all who pointed out the invalid "\" before "melody".
So I applied the same to chords and lyrics and got new errors:
===
\version "2.19.40"
harmony = { c2 g:sus4 f e }
melody =   \relative c'' {
a4 e c8 e r4
b2 c4( d)
  }
words = { One day this shall be free __ }

\score {
<<
  \chords \harmony
  \melody 
  \addlyrics \words
>>
\layout { }
}
=== 
Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly»
Analizando...
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:2:18: error:  
Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly»
Analizando...
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:2:18: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode
harmony = { c2 g:
 sus4 f e }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:11: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode
words = { 
  One day this shall be free __ }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:15: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode

more messages like above

/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:11:11: error: syntax 
error, unexpected MUSIC_IDENTIFIER, expecting \sequential or \simultaneous or 
<< or '{'
  \chords 
  \harmony
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:10:1: error: se han 
encontrado errores, se ignora la expresión musical

<<
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:16:1: error: el código 
principal de entrada no ha finalizado

}
error fatal: archivos que han fallado: 
"/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly"
  no está dentro de un elemento de texto o \lyricmode
harmony = { c2 g:
 sus4 f e }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:11: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode
words = { 
  One day this shall be free __ }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:15: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode
words = { One 
  day this shall be free __ }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:19: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode
words = { One day 
  this shall be free __ }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:24: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode
words = { One day this 
   shall be free __ }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:30: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode
words = { One day this shall 
 be free __ }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:7:33: error: cadena no 
reconocida, no está dentro de un elemento de texto o \lyricmode
words = { One day this shall be 
free __ }
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:11:11: error: syntax 
error, unexpected MUSIC_IDENTIFIER, expecting \sequential or \simultaneous or 
<< or '{'
  \chords 
  \harmony
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:10:1: error: se han 
encontrado errores, se ignora la expresión musical

<<
/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly:16:1: error: el código 
principal de entrada no ha finalizado

}
error fatal: archivos que han fallado: 
"/Users/josephaustin/lilypond/scripts/TEST/leadSheet22.ly"


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


Text in alternative endings

2018-01-23 Thread Ralph Palmer
Hi -

I'm running LilyPond 2.19.80 with Frescobaldi 2.18.1 under Linux/Ubuntu.

I'm trying to substitute text for the numbers in alternative endings. I've
struggled with this before. I've tried looking in the Notation Reference
and in the Snippet Repository. I'm attaching the closest I've been able to
come to what I want.

I have a partial measure at the beginning, before the repeat.
I'd like to get rid of the end-repeat sign at the beginning of the first
alternative.
The notes are all there, where they're supposed to be.
The "1., etc." for the first alternative is just the way I'd like it.
However, the bracket for the first alternative closes the repeat structure,
and there is no enclosure or text for the second alternative.

This is not intuitive to me.

Can someone please help me solve this?

I appreciate your time and attention,

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
\version "2.19.80"

voltaFinal = \markup \text { Last time }
voltaEtc = \markup { 1., \text { etc. } }

tune = 
\relative c' {
  \clef treble
  \key c \major
  \time 3/4

  \partial 4 { d'4 } |
  \repeat volta 2 { 
g4. f8 f4 |
  }
  \alternative {
\set Score.repeatCommands =
#(list(list 'volta voltaEtc) 'end-repeat)
{
  d4 f g |
  a4 b4. a8 |
}
  }
  {\set Score.repeatCommands = #(list(list 'volta voltaFinal) 'end-repeat)
   {  
 d,4 e f |
 g4 r4 \bar "|."
   }
  }  
}


\score {
  \tune
}


AlternativeText.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Turkish Rythm template

2018-01-23 Thread Noeck
Dear Emre,

I will comment my example to make it more understandable. You can also
comment lines to see what changes if you leave them out.

> \version "2.19.65"
> 
> \new GrandStaff

Create a staff group with barlines connecting the staves but without
brace at the start, therefore the \omit below.

> \with {
>   instrumentName = \markup \number \column { 9 4 }

The instrumentName is misused as overall time signature. I was not sure
what the numbers mean in your example, but I guess it's the time
signature, so I used the number font. But you can also use normal serif
or sans-serif fonts.

>   \omit Score.SystemStartBrace
>   \override BarLine.bar-extent = #'(-0.01 . 0)

Barlines should only be between the lines and not above and below.

>   \override InstrumentName.extra-offset = #'(3 . 0)

Move the instrumentName (your "time signature") to the vertical center.

> }
> <<
>   \new Lyrics \lyricmode {
> \override Lyrics.LyricText.font-series = #'bold
> Düüm2 Te2 Düüm2

The text above the staff. You have to specify the rhythm. It would also
be possible to follow the "upper" voice lyrics. (**)

>   }
>   \new RhythmicStaff
>   \with {
> \numericTimeSignature

Do not use "C" as a time signature.

> \override TimeSignature.extra-offset = #'(0 . -4.5)

Move the time signatures from the upper staff down between the staves.

> \override TextScript.staff-padding = 2.5

Increase the free space between "+" or "/" and the notes such that "+"
and "/" are roughly on the same line. You can increase this padding
further to move them further down.

>   }
>   \new Voice = "upper" {
> \stemUp
> c2-"+" c4-"/" s
> \bar "!"
> \time 5/4
> c2 s2.

Your music. Use -"+" and -"/" for plus signs and slashes on notes. \bar
"!" is a dashed bar line. (*)

>   }
>   \new RhythmicStaff \with {
> \omit TimeSignature

Remove the time signatures from the lower staff. We already have them
from the upper staff

>   }
>   \new Voice = "lower" {
> \stemDown
> s2. c4^+ s2 c2^! c4

Your music on the lower staff. This was just for demonstration. You can
use ^"+" and ^"/" instead of ^+ and ^! to get the same appearance as on
the upper staff. (*)

>   }
>   \new Lyrics \lyricsto "lower" {
> Ke Teek Tek

The words for the lower staff notes. (**)

>   }
>>>


You could use this as a template and use variables for your rhythms (*)
and your text (**) to separate the style from the content.


--
Now your questions:

> 1) Can we write under the notes and on the writings centered on the notes?

You mean between the notes and the text? just add a _"here" to the note:
c4_"here"

> 2) Can we move the positions of the marks which + and /, below and above the 
> notes slightly further down and up?

Yes, increase the padding as described above.

> 3) How can we put the slash mark instead of the exclamation mark in the 
> second part?

Just do it the same way: ^"/"

> Could you also write the next passage to better understand the work being 
> done?

Please try it according to the explanation above. You have to add spacer
rests (s) to fill the bars according to their time signature. If there
are open issues. I'm sorry, I don't know how to make every time
signature appear (5/4 twice).


Best,
Joram

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


Re: Grace notes & Co, style question

2018-01-23 Thread Noeck
Hi Jacques,

in your 8 bars, you have only 4 different outcomes of your 8 different
inputs, combinations of (slashed/unslashed) and (slurred/unslurred). I
would just recommend to use the relevant command instead of adding extra
slurs to the input, i.e. to use your first line:

1. no slash, no slur: \grace
2. slash and slur: \acciaccatura
3. slash but no slur: \slashedGrace
4. no slash but slur: \appoggiatura

But that recommendation is just because it seems cleaner to me because
it does not duplicate things (slurs).

At least the duplication does not seem to have side effects, there are
no double slurs or so. I looked at the source code and the slurred
variants have a 'SlurEvent ... START and ... STOP around them. So I
guess if you add a slur, it does not change anything as the slur is
alread "activated". But the developers might correct me.

Cheers,
Joram

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


Re: font-table.ly

2018-01-23 Thread Thomas Morley
2018-01-23 19:35 GMT+01:00 Kale Good :
> Hello,
>
> I'm looking for font-table.ly. I wanted to run some of the files from the
> docs which require it. However, I can neither find it on my system nor find
> a way to generate it locally. What am I missing?
>
> Thanks,
>
> Kale

You can find it in your repository: Documentation/included/font-table.ly
or
http://git.savannah.gnu.org/cgit/lilypond.git/tree/Documentation/included/font-table.ly

HTH,
  Harm

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


Re: Lead sheet with variables

2018-01-23 Thread David Wright
On Tue 23 Jan 2018 at 11:58:39 (-0600), Tim McNamara wrote:
> 
> 
> > On Jan 23, 2018, at 9:23 AM, JH Austin  wrote:
> > 
> > I tried to modify the Lead Sheet example by using a variable:
> > ---
> > \version "2.19.40"
> > 
> > \music =   \relative c'' {
> >a4 e c8 e r4
> >b2 c4( d)
> >  }
> > \score {
> > <<
> >  \chords { c2 g:sus4 f e }
> >  \music
> >  \addlyrics { One day this shall be free __ }
> >>> 
> 
> I think there should be >> here to match the << under \score.  Instead your 
> example has something else.  AFAIK every bracket, parenthesis, etc., in 
> Lilypond has to be balanced:  { }  ( )  << >> etc.  Not having the needed one 
> will result in the compilation failing in most if not all cases.

It looks as if you have a problem with your mail client quoting.
In the line after addlyrics, there should be a space before the
last two > characters which has gone missing in your post.

These two characters belong to the quoted text and are what
correctly closes the << above. So, to spell it out, in this line:

> >>> 

The first "> " is me quoting you,
the second ">" (which has lost its following space for some
reason best known to you) is you quoting the OP, and the
final ">> " was LP source originally written by the OP.

Cheers,
David.

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


font-table.ly

2018-01-23 Thread Kale Good

Hello,

I'm looking for font-table.ly. I wanted to run some of the files from 
the docs which require it. However, I can neither find it on my system 
nor find a way to generate it locally. What am I missing?


Thanks,

Kale

--

Kale Good
Good Music Academy  ♫
4705 Baltimore Ave, Phila, PA 19143
phone: (215)260-5383

Facebook 
Google+ 
Read my article "The Seven Secrets to Six String Success 
" 
at GuitarNoise.com 


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


Re: Lead sheet with variables

2018-01-23 Thread Tim McNamara


> On Jan 23, 2018, at 9:23 AM, JH Austin  wrote:
> 
> I tried to modify the Lead Sheet example by using a variable:
> ---
> \version "2.19.40"
> 
> \music =   \relative c'' {
>a4 e c8 e r4
>b2 c4( d)
>  }
> \score {
> <<
>  \chords { c2 g:sus4 f e }
>  \music
>  \addlyrics { One day this shall be free __ }
>>> 

I think there should be >> here to match the << under \score.  Instead your 
example has something else.  AFAIK every bracket, parenthesis, etc., in 
Lilypond has to be balanced:  { }  ( )  << >> etc.  Not having the needed one 
will result in the compilation failing in most if not all cases.

>   \layout { }
> }
> 
> =
> and I got the following errors:
> ---
> Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly»
> Analizando...
> /Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly:3:1: error: cadena 
> de escape desconocida: `\music'
> 
> \music =   \relative c'' {
> Interpretando la música...
> Preprocesando los objetos gráficos...
> Buscando el número de páginas ideal...
> Disponiendo la música en una página...
> Dibujando los sistemas...
> Salida de la página hacia 
> «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
> Convirtiendo en «leadSheet07.pdf»...
> Suprimiendo 
> «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
> error fatal: archivos que han fallado: 
> "/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly"
> =
> 
> My questions:
> 1. what did I do wrong?
> 2. Can I get the error messages in English?
> 
> ___
> 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: Lead sheet with variables

2018-01-23 Thread Jacques Menu Muzhic
Hello JH,

music =   \relative c'’ {
 …
}


> Le 23 janv. 2018 à 16:23, JH Austin  a écrit :
> 
> I tried to modify the Lead Sheet example by using a variable:
> ---
> \version "2.19.40"
> 
> \music =   \relative c'' {
>a4 e c8 e r4
>b2 c4( d)
>  }
> \score {
> <<
>  \chords { c2 g:sus4 f e }
>  \music
>  \addlyrics { One day this shall be free __ }
>>> 
>   \layout { }
> }
> 
> =
> and I got the following errors:
> ---
> Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly»
> Analizando...
> /Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly:3:1: error: cadena 
> de escape desconocida: `\music'
> 
> \music =   \relative c'' {
> Interpretando la música...
> Preprocesando los objetos gráficos...
> Buscando el número de páginas ideal...
> Disponiendo la música en una página...
> Dibujando los sistemas...
> Salida de la página hacia 
> «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
> Convirtiendo en «leadSheet07.pdf»...
> Suprimiendo 
> «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
> error fatal: archivos que han fallado: 
> "/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly"
> =
> 
> My questions:
> 1. what did I do wrong?
> 2. Can I get the error messages in English?
> 
> ___
> 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


Lead sheet with variables

2018-01-23 Thread JH Austin
I tried to modify the Lead Sheet example by using a variable:---\version "2.19.40"\music =   \relative c'' {    a4 e c8 e r4    b2 c4( d)  }\score {<<  \chords { c2 g:sus4 f e }  \music  \addlyrics { One day this shall be free __ }	\layout { }}=and I got the following errors:--- Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly»Analizando.../Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly:3:1: error: cadena de escape desconocida: `\music'\music =   \relative c'' {Interpretando la música...Preprocesando los objetos gráficos...Buscando el número de páginas ideal...Disponiendo la música en una página...Dibujando los sistemas...Salida de la página hacia «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...Convirtiendo en «leadSheet07.pdf»...Suprimiendo «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...error fatal: archivos que han fallado: "/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly"=My questions:1. what did I do wrong?2. Can I get the error messages in English?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Any interest in participating in GSoC for SugarLabs project that utilizes lilypond?

2018-01-23 Thread Devin Ulibarri
Urs Liska:
> On the other hand what you are looking for is not a *developer*, but a
> *power user*.

Yes, we are totally looking for a knowledgeable and experienced power
user, not a developer.

> I have one caveat, though: you might want to double-check if that
> project is actually an acceptable GSoC project. 
> ...
> So you might at least reword your project suggestion and make the
> documentation aspect more of a by-product.

I will revise it based on your advice--especially since the
documentation really is a by-product for this project (but a really
important one, since solving these design issues can get complicated if
one does not stay organized.

Thanks you, Urs, for the thoughtful reply!

Devin

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


Re: Lead sheet with variables

2018-01-23 Thread Knute Snortum
The problem is here:

\music =   \relative c'' {

What you want is:

music =   \relative c'' {


---
Knute Snortum
(via Gmail)

2018-01-23 7:24 GMT-08:00 Joseph Austin :

> I tried to modify the Lead Sheet example by using a variable:
> ---
> \version "2.19.40"
>
> \music =   \relative c'' {
>a4 e c8 e r4
>b2 c4( d)
>  }
> \score {
> <<
>  \chords { c2 g:sus4 f e }
>  \music
>  \addlyrics { One day this shall be free __ }
> >>
> \layout { }
> }
>
> =
> and I got the following errors:
> ---
> Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly»
> Analizando...
> /Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly:3:1: error:
> cadena de escape desconocida: `\music'
>
> \music =   \relative c'' {
> Interpretando la música...
> Preprocesando los objetos gráficos...
> Buscando el número de páginas ideal...
> Disponiendo la música en una página...
> Dibujando los sistemas...
> Salida de la página hacia «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn
> /T//lilypond-M7rF1a»...
> Convirtiendo en «leadSheet07.pdf»...
> Suprimiendo «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn
> /T//lilypond-M7rF1a»...
> error fatal: archivos que han fallado: "/Users/josephaustin/lilypond/
> scripts/TEST/leadSheet07.ly"
> =
>
> My questions:
> 1. what did I do wrong?
> 2. Can I get the error messages in English?
>
>
> ___
> 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: Lead sheet with variables

2018-01-23 Thread David Kastrup
Joseph Austin  writes:

> I tried to modify the Lead Sheet example by using a variable:
> ---
> \version "2.19.40"
>
> \music =   \relative c'' {
>a4 e c8 e r4
>b2 c4( d)
>  }
> \score {
> <<
>  \chords { c2 g:sus4 f e }
>  \music
>  \addlyrics { One day this shall be free __ }
>>> 
>   \layout { }
> }
>
> =
> and I got the following errors:
> ---
> Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly»
> Analizando...
> /Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly:3:1: error: cadena 
> de escape desconocida: `\music'
>
> \music =   \relative c'' {
> Interpretando la música...
> Preprocesando los objetos gráficos...
> Buscando el número de páginas ideal...
> Disponiendo la música en una página...
> Dibujando los sistemas...
> Salida de la página hacia 
> «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
> Convirtiendo en «leadSheet07.pdf»...
> Suprimiendo 
> «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
> error fatal: archivos que han fallado: 
> "/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly"
> =
>
> My questions:
> 1. what did I do wrong?

Writing \music = ... instead of music = ...

> 2. Can I get the error messages in English?

Well, LilyPond must be thinking your locale isn't English.  Those
messages appear to be Spanish.  My cute guess would have been that you
are Canadian and specified a "ca" locale which would have been Catalan,
but those seem to be Spanish messages so I have no idea why LilyPond
offers them.

-- 
David Kastrup

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


Grace notes & Co, style question

2018-01-23 Thread Menu Jacques
Hello folks,

The example below illustrates the possibilities in LilyPond, and there are 
several ways to obtain the same graphics appearance, such as acciaccatura and 
slashedGrace slurred.

As a matter of style, are some of them to be preferred/avoided?

Thanks for your help!

JM



%

\version "2.19.80"

\layout {
  indent = 0\cm
}

\fixed c'' {
  \omit Staff.TimeSignature

  \grace { d16 } c1
  \acciaccatura { d16 } c1
  \slashedGrace { d16 } c1
  \appoggiatura { d16 } c1

  \break

  \grace { d16 ( } c1 )
  \acciaccatura { d16 ( } c1 )
  \slashedGrace { d16 ( } c1 )
  \appoggiatura {  d16 ( } c1 )
}

\addlyrics {
  \set stanza = #"1. "
  grace acciaccatura slashedGrace appoggiatura
  grace acciaccatura slashedGrace appoggiatura
}

\addlyrics {
  \set stanza = #"2. "
   "" " " " " " "
  slurred slurred slurred slurred
}

%%

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


Re: Lead sheet with variables

2018-01-23 Thread Abraham Lee
Hi, Joseph!

On Tue, Jan 23, 2018 at 8:25 AM Joseph Austin  wrote:

> I tried to modify the Lead Sheet example by using a variable:
> ---
> \version "2.19.40"
>
> \music =   \relative c'' {
>a4 e c8 e r4
>b2 c4( d)
>  }
> \score {
> <<
>  \chords { c2 g:sus4 f e }
>  \music
>  \addlyrics { One day this shall be free __ }
> >>
> \layout { }
> }
>
> =
> and I got the following errors:
> ---
> Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly»
> Analizando...
> /Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly:3:1: error:
> cadena de escape desconocida: `\music'
>
> \music =   \relative c'' {
> Interpretando la música...
> Preprocesando los objetos gráficos...
> Buscando el número de páginas ideal...
> Disponiendo la música en una página...
> Dibujando los sistemas...
> Salida de la página hacia
> «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
> Convirtiendo en «leadSheet07.pdf»...
> Suprimiendo
> «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
> error fatal: archivos que han fallado:
> "/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly"
> =
>
> My questions:
> 1. what did I do wrong?
> 2. Can I get the error messages in English?
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


The error is that you used a slash during variable assignment. So, it
should have been:

music = \relative ...

and not

\music = \relative ...

HTH,
Abraham

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


Lead sheet with variables

2018-01-23 Thread Joseph Austin
I tried to modify the Lead Sheet example by using a variable:
---
\version "2.19.40"

\music =   \relative c'' {
   a4 e c8 e r4
   b2 c4( d)
 }
\score {
<<
 \chords { c2 g:sus4 f e }
 \music
 \addlyrics { One day this shall be free __ }
>> 
\layout { }
}

=
and I got the following errors:
---
Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly»
Analizando...
/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly:3:1: error: cadena de 
escape desconocida: `\music'

\music =   \relative c'' {
Interpretando la música...
Preprocesando los objetos gráficos...
Buscando el número de páginas ideal...
Disponiendo la música en una página...
Dibujando los sistemas...
Salida de la página hacia 
«/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
Convirtiendo en «leadSheet07.pdf»...
Suprimiendo 
«/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6mgn/T//lilypond-M7rF1a»...
error fatal: archivos que han fallado: 
"/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly"
=

My questions:
1. what did I do wrong?
2. Can I get the error messages in English?


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


reloading \set TabStaff.minimumFret = #x

2018-01-23 Thread bb
Is it possible to omit \set TabStaff.minimumFret = #x for a sequence of 
measures/bars?


One can simply override the statement by defining a string for a note.

I have a couple of bars in sequence that should be fingered below that 
minimumFret. The fingering of the tones of the following bars should 
again resdtricted above some value. I like to avoid defining the strings 
for a long sequence of notes.


Thanks for help, regards.


\version "2.19.80"
music = {   \clef "bass_8" b'8(d'8)  fis'8(b'8)  g'8( e'8)  cis'8( e'8) |
  e,,1\4}  % a sequence of bars  I omitted to keep the 
example minimized


bass = \stringTuning 
\score {
  \context Staff <<
    \transpose c c, \music

  \new TabStaff {
  \tabFullNotation
  \set TabStaff.stringTunings = #bass
  \set TabStaff.minimumFret = #7
  \set TabStaff.restrainOpenStrings = ##t
  \music
    }
>>


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


Re: GhostScript Fail (regression 2.19.17 to 2.19.18)

2018-01-23 Thread Urs Liska



Am 23.01.2018 um 11:23 schrieb N. Andrew Walsh:

Well, since we're all here, I might as well join in as well.

I was getting the same ghostscript error, and I fixed it by doing the 
following:


Editing the /usr/share/ghostscript/9.20/Resource/Init/Fontmap file to 
comment out the line about local fontmaps results in successful 
compilation and display.


change the ghostscript directory for the version you have installed. I 
have to do this every time I update ghostscript, or I get error 256 on 
pdf generation.




How is your LilyPond installed? From the distribution repository or from 
the downloads on lilypond.org?



Hope this helps,

A

On Tue, Jan 23, 2018 at 10:17 AM, Urs Liska > wrote:


Hi Andrew(s)


Am 22.01.2018 um 23:07 schrieb Andrew Smith:

I'm getting a failure all-around on a new Arch VM I'm running in
my windows machine. I'm using lyp here to make a/b version
testing easier. Basically, the gs command is failing when
liilypond runs it but it works just fine when I copy/paste it and
run it manually.

2.19.17 works, but 2.19.18 fails. Shell info + file is below.
GhostScript system version is 9.22.

https://gist.github.com/andrewcsmith/eb17a859e62921f3ad50a4c5298628e9


This is urgent for me, as I don't have access to the old machine
where this worked, and I have some libraries that use the recent
font changes -- thanks a lot.



No guarantee it works for you, but I have a strong suspicion.
When installing LilyPond the normal way from the downloaded
archive it creates a wrapper command "lilypond" (usually as
~/bin/lilypond).
This doesn't only call the lilypond executable but also adds
    export LD_LIBRARY_PATH=/path/to/lilypond/usr/lib:$LD_LIBRARY_PATH

to make sure the libraries shipped with LilyPond are used and
avoid such version mismatches with system libraries.
I'm not sure how lyp invokes LilyPond but you should look into
this (and maybe call LilyPond directly/through a custom wrapper
script).

We had to learn that with Frescobaldi too. Frescobaldi can manage
arbitrary LilyPond installations, and by now it injects that
library path (for the chosen LilyPond) in the invocation command.

HTH
Urs



```
[vagrant@bazinga ly_test]$ lyp use 2.19.18
Using Lilypond version 2.19.18
[vagrant@bazinga ly_test]$ lyp compile test.ly 
Lyp 1.3.5
GNU LilyPond 2.19.18
Processing `/tmp/lyp/wrappers/test.ly '
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps '...
Converting to `./test.pdf'...
warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./test.pdf -c.setpdfwrite -ftest.ps
)' failed (256)

fatal error: failed files: "/tmp/lyp/wrappers/test.ly
"

[vagrant@bazinga ly_test]$ lyp use 2.19.17
Using Lilypond version 2.19.17
[vagrant@bazinga ly_test]$ lyp compile test.ly 
Lyp 1.3.5
GNU LilyPond 2.19.17
Processing `/tmp/lyp/wrappers/test.ly '
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps '...
Converting to `./test.pdf'...
Success: compilation successfully completed
```

File:

\score {
    \new Voice {
        c'4 d' e' f'
    }

    \layout { }
}





___
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





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


Re: Any interest in participating in GSoC for SugarLabs project that utilizes lilypond?

2018-01-23 Thread Urs Liska

Hi Devin,

thank you for getting in touch with us.

I think Music Blocks and its LilyPond integration is something our 
community definitely welcomes, and collaborating in the GSoC context is 
a great idea. However, I must warn you that we are having a hard time to 
find mentors for our own projects ourselves. On the other hand what you 
are looking for is not a *developer*, but a *power user*.


So this proposal would be an opportunity for someone to help and give 
something back who wouldn't consider themselves as fit for mentoring a 
coding student.


I have one caveat, though: you might want to double-check if that 
project is actually an acceptable GSoC project. In general the 
production of documentation of any kind is not eligible for GSoC 
projects. Last year i asked them about the possibility of a project to 
develop a documentation *generation system*, and they said this would be 
OK, but explicitly mentioned again that *writing* documentation isn't 
for GSoC
So you might at least reword your project suggestion and make the 
documentation aspect more of a by-product.


Best
Urs


Am 23.01.2018 um 03:35 schrieb Devin Ulibarri:

Hi,

I have been working together with the SugarLabs team to create a visual
programming language for music called Music Blocks (MB). Users code with
blocks (like Scratch), and they can also export to lilypond code.
SugarLabs is participating again in Google Summer of Code (GSoC) and we
would love to have another person on board as a mentor (or a candidate,
if any are reading this message).

It would be great to have another person involved as a mentor to help
inform the kind of lilypond code we are generating with our program. No
one here is particularly knowledgeable with Lilypond. We just read the
docs and create something that works well enough. We think that having
another, more knowledgeable, person would be very helpful for the summer.

Links: The development version is at walterbender.github.io/musicblocks,
but a version that can generate PDF using lilypond software on the
server is available at https://homegrownapps.tk/musicblocks/

Short instructions on Lilypond generation with MB is located at
https://github.com/walterbender/musicblocks/tree/master/guide#BEYOND-MUSIC-BLOCKS

This is the Google Summer of Code description:
(Originally Published at
https://wiki.sugarlabs.org/go/Summer_of_Code/2018#Project_Ideas)
Brief explanation
 Music Blocks is capable of exporting Lilypond code of which general
instructions can be found here in the Music Blocks guide and its source
code can be found here. We would like to 1) document how the Music
Blocks source code works for current and future developers to learn and
benefit from, 2) project manage this portion of Music Blocks development
(e.g. "what works" and "what needs to be done". An example of a draft of
a simple type of this analysis exists for you to start from.), and 3)
improve existing code where needed and implement needed features.
Expected results
 Detailed documentation created for developer audience that details
how Music Blocks exports to Lilypond; documentation to help manage what
needs to be completed; and implement and improve lilypond export features.
Knowledge prerequisites
 Literacy in reading music; functional knowledge of Lilypond code
(some of your own scores would be nice); Organizational and Project
Management Skills; JavaScript

If you are interested, please let me know.

Thanks!

___
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: GhostScript Fail (regression 2.19.17 to 2.19.18)

2018-01-23 Thread N. Andrew Walsh
Well, since we're all here, I might as well join in as well.

I was getting the same ghostscript error, and I fixed it by doing the
following:

Editing the /usr/share/ghostscript/9.20/Resource/Init/Fontmap file to
comment out the line about local fontmaps results in successful compilation
and display.

change the ghostscript directory for the version you have installed. I have
to do this every time I update ghostscript, or I get error 256 on pdf
generation.

Hope this helps,

A

On Tue, Jan 23, 2018 at 10:17 AM, Urs Liska  wrote:

> Hi Andrew(s)
>
> Am 22.01.2018 um 23:07 schrieb Andrew Smith:
>
> I'm getting a failure all-around on a new Arch VM I'm running in my
> windows machine. I'm using lyp here to make a/b version testing easier.
> Basically, the gs command is failing when liilypond runs it but it works
> just fine when I copy/paste it and run it manually.
>
> 2.19.17 works, but 2.19.18 fails. Shell info + file is below.
> GhostScript system version is 9.22.
>
> https://gist.github.com/andrewcsmith/eb17a859e62921f3ad50a4c5298628e9
>
> This is urgent for me, as I don't have access to the old machine where
> this worked, and I have some libraries that use the recent font changes --
> thanks a lot.
>
>
> No guarantee it works for you, but I have a strong suspicion.
> When installing LilyPond the normal way from the downloaded archive it
> creates a wrapper command "lilypond" (usually as ~/bin/lilypond).
> This doesn't only call the lilypond executable but also adds
> export LD_LIBRARY_PATH=/path/to/lilypond/usr/lib:$LD_LIBRARY_PATH
>
> to make sure the libraries shipped with LilyPond are used and avoid such
> version mismatches with system libraries.
> I'm not sure how lyp invokes LilyPond but you should look into this (and
> maybe call LilyPond directly/through a custom wrapper script).
>
> We had to learn that with Frescobaldi too. Frescobaldi can manage
> arbitrary LilyPond installations, and by now it injects that library path
> (for the chosen LilyPond) in the invocation command.
>
> HTH
> Urs
>
>
> ```
> [vagrant@bazinga ly_test]$ lyp use 2.19.18
> Using Lilypond version 2.19.18
> [vagrant@bazinga ly_test]$ lyp compile test.ly
> Lyp 1.3.5
> GNU LilyPond 2.19.18
> Processing `/tmp/lyp/wrappers/test.ly'
> Parsing...
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Layout output to `test.ps'...
> Converting to `./test.pdf'...
> warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28
> -dDEVICEHEIGHTPOINTS=841.89
> -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
> -sOutputFile=./test.pdf -c.setpdfwrite -ftest.ps)' failed (256)
>
> fatal error: failed files: "/tmp/lyp/wrappers/test.ly"
>
> [vagrant@bazinga ly_test]$ lyp use 2.19.17
> Using Lilypond version 2.19.17
> [vagrant@bazinga ly_test]$ lyp compile test.ly
> Lyp 1.3.5
> GNU LilyPond 2.19.17
> Processing `/tmp/lyp/wrappers/test.ly'
> Parsing...
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Layout output to `test.ps'...
> Converting to `./test.pdf'...
> Success: compilation successfully completed
> ```
>
> File:
>
> \score {
> \new Voice {
> c'4 d' e' f'
> }
>
> \layout { }
> }
>
>
>
>
>
> ___
> lilypond-user mailing 
> listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> ___
> 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: GhostScript Fail (regression 2.19.17 to 2.19.18)

2018-01-23 Thread Urs Liska

Hi Andrew(s)


Am 22.01.2018 um 23:07 schrieb Andrew Smith:
I'm getting a failure all-around on a new Arch VM I'm running in my 
windows machine. I'm using lyp here to make a/b version testing 
easier. Basically, the gs command is failing when liilypond runs it 
but it works just fine when I copy/paste it and run it manually.


2.19.17 works, but 2.19.18 fails. Shell info + file is below.
GhostScript system version is 9.22.

https://gist.github.com/andrewcsmith/eb17a859e62921f3ad50a4c5298628e9

This is urgent for me, as I don't have access to the old machine where 
this worked, and I have some libraries that use the recent font 
changes -- thanks a lot.




No guarantee it works for you, but I have a strong suspicion.
When installing LilyPond the normal way from the downloaded archive it 
creates a wrapper command "lilypond" (usually as ~/bin/lilypond).

This doesn't only call the lilypond executable but also adds
    export LD_LIBRARY_PATH=/path/to/lilypond/usr/lib:$LD_LIBRARY_PATH

to make sure the libraries shipped with LilyPond are used and avoid such 
version mismatches with system libraries.
I'm not sure how lyp invokes LilyPond but you should look into this (and 
maybe call LilyPond directly/through a custom wrapper script).


We had to learn that with Frescobaldi too. Frescobaldi can manage 
arbitrary LilyPond installations, and by now it injects that library 
path (for the chosen LilyPond) in the invocation command.


HTH
Urs



```
[vagrant@bazinga ly_test]$ lyp use 2.19.18
Using Lilypond version 2.19.18
[vagrant@bazinga ly_test]$ lyp compile test.ly 
Lyp 1.3.5
GNU LilyPond 2.19.18
Processing `/tmp/lyp/wrappers/test.ly '
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps '...
Converting to `./test.pdf'...
warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 
-dDEVICEHEIGHTPOINTS=841.89

-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./test.pdf -c.setpdfwrite -ftest.ps )' 
failed (256)


fatal error: failed files: "/tmp/lyp/wrappers/test.ly "

[vagrant@bazinga ly_test]$ lyp use 2.19.17
Using Lilypond version 2.19.17
[vagrant@bazinga ly_test]$ lyp compile test.ly 
Lyp 1.3.5
GNU LilyPond 2.19.17
Processing `/tmp/lyp/wrappers/test.ly '
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps '...
Converting to `./test.pdf'...
Success: compilation successfully completed
```

File:

\score {
    \new Voice {
        c'4 d' e' f'
    }

    \layout { }
}





___
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: GhostScript Fail (regression 2.19.17 to 2.19.18)

2018-01-23 Thread Andrew Bernard
Hi Andrew,

I don't run Arch, but rather Ubuntu, so I can't offer a great deal of help.
Can you run this with plain lilypond, not lyp, to test?

And how about 2.19.80, a bit more advanced than 2.19.18?

Excellent as Arch may be, I abandoned it (twice!) after getting into the
inevitable dependency hell that Arch produces after some time dealing with
the rolling release model. To be fair, others have success, but this error
looks like a dependency mismatch to me.


Andrew


On 23 January 2018 at 09:07, Andrew Smith 
wrote:

> I'm getting a failure all-around on a new Arch VM I'm running in my
> windows machine. I'm using lyp here to make a/b version testing easier.
> Basically, the gs command is failing when liilypond runs it but it works
> just fine when I copy/paste it and run it manually.
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: GhostScript Fail (regression 2.19.17 to 2.19.18)

2018-01-23 Thread Andrew Bernard
Wasn't there a thread a while back about issues with GS 9.22? Sorry if this
is just noise and I am mistaken.

Your code compiles just fine on Ubuntu 16.04 with GS 9.21.

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