Re: Unable to use repeat volta

2022-04-07 Thread David Kastrup
Omer Katzir  writes:

>> On 7 Apr 2022, at 18:03, David Kastrup  wrote:
>> 
>> Omer Katzir  writes:
>> 
>>> Using on macOS Monterey, compiled from macports 
>>> 
>>> Taken the snippet from 
>>> https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats
>>> 
>> 
>> You see the v2.23 in that URL?
>> 
>>> Starting lilypond 2.22.2 [Untitled]...
>> 
>> There is no guarantee that future extensions of LilyPond will be
>> undocumented, so if you use documentation for future versions of
>> LilyPond (compared to the version you use), you might run into problems
>> occasionally.
>
> Thank you everyone for your answers, Google wasn’t the best choice
> when I was looking for this. Thank you for guiding me for the right
> place!

It usually works reasonably well when finding a page like that to
replace just the version number in the URL to get suitable information.
Occasionally you will hit a chapter that does not exist for v2.22 while
it does for v2.23, but the vast majority will be a modification of what
was there before and named identically apart from the version number.

-- 
David Kastrup



Re: Unable to use repeat volta

2022-04-07 Thread Omer Katzir
Thank you everyone for your answers, Google wasn’t the best choice when I was 
looking for this. Thank you for guiding me for the right place!

> On 7 Apr 2022, at 18:03, David Kastrup  wrote:
> 
> Omer Katzir  writes:
> 
>> Using on macOS Monterey, compiled from macports 
>> 
>> Taken the snippet from 
>> https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats 
>> 
> 
> You see the v2.23 in that URL?
> 
>> Starting lilypond 2.22.2 [Untitled]...
> 
> There is no guarantee that future extensions of LilyPond will be
> undocumented, so if you use documentation for future versions of
> LilyPond (compared to the version you use), you might run into problems
> occasionally.
> 
> -- 
> David Kastrup




Re: Unable to use repeat volta

2022-04-07 Thread David Kastrup
Omer Katzir  writes:

> Using on macOS Monterey, compiled from macports 
>
> Taken the snippet from 
> https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats 
> 

You see the v2.23 in that URL?

> Starting lilypond 2.22.2 [Untitled]...

There is no guarantee that future extensions of LilyPond will be
undocumented, so if you use documentation for future versions of
LilyPond (compared to the version you use), you might run into problems
occasionally.

-- 
David Kastrup



Re: Unable to use repeat volta

2022-04-07 Thread Michael Gerdau

Using on macOS Monterey, compiled from macports

Taken the snippet from
https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats 






Here the line

\fixed c'' {

is missing.


   \repeat volta 6 {
     c4 d e f
     \alternative {
       \volta 1,2,3 { c2 e }
       \volta 4,5 { f2 d }
       \volta 6 { e2 f }
     }
   }
   c1
}

%


With the above line it works for me.
Even w/o that line I get at least some of the above compiled. I 
certainly do not get your erros. I'm on Windows and 2.23.7 though.


Kind regards,
Michael

--
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver



Re: Unable to use repeat volta

2022-04-07 Thread Xavier Scheuer
On Thu, 7 Apr 2022 at 16:20, Omer Katzir  wrote:
>
> Using on macOS Monterey, compiled from macports
>
> Taken the snippet from
> https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats
>
> (snip)
>

Hello,

You are using development version (2.23.x) syntax/features with stable
(2.22.2) version installed.

Cheers,
Xavier

-- 
Xavier Scheuer 


Re: Unable to use repeat volta

2022-04-07 Thread Jean Abou Samra


> Le 07/04/2022 16:19, Omer Katzir  a écrit :
> 
> 
> Using on macOS Monterey, compiled from macports
> 
> Taken the snippet from
> https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats
> 
> 
> 
> 
> \repeat volta 6 {
> c4 d e f
> \alternative {
> \volta 1,2,3 { c2 e }
> \volta 4,5 { f2 d }
> \volta 6 { e2 f }
> }
> }
> c1
> }
> 
> %
> 
> Getting
> Starting lilypond 2.22.2 [Untitled]...
> Processing 
> `/var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly
>  (http://document.ly)'
> Parsing...
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:5:5:
>  error: syntax error, unexpected \alternative
> 
> \alternative {
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:6:7:
>  error: unknown escaped string: `\volta'
> 
> \volta 1,2,3 { c2 e }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:6:7:
>  error: string outside of text script or \lyricmode
> 
> \volta 1,2,3 { c2 e }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:6:15:
>  error: syntax error, unexpected ','
> \volta 1
> ,2,3 { c2 e }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:6:18:
>  error: not a duration
> \volta 1,2,
> 3 { c2 e }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:7:7:
>  error: unknown escaped string: `\volta'
> 
> \volta 4,5 { f2 d }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:7:7:
>  error: string outside of text script or \lyricmode
> 
> \volta 4,5 { f2 d }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:7:15:
>  error: syntax error, unexpected ','
> \volta 4
> ,5 { f2 d }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:7:16:
>  error: not a duration
> \volta 4,
> 5 { f2 d }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:8:7:
>  error: unknown escaped string: `\volta'
> 
> \volta 6 { e2 f }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:8:7:
>  error: string outside of text script or \lyricmode
> 
> \volta 6 { e2 f }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:8:14:
>  error: not a duration
> \volta
> 6 { e2 f }
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:3:3:
>  error: errors found, ignoring music expression
> 
> \repeat volta 6 {
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:11:3:
>  error: syntax error, unexpected NOTENAME_PITCH
> 
> c1
> /var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly:1:
>  warning: no \version statement found, please add
> 
> \version "2.22.2"
> 
> for future compatibility
> fatal error: failed files: 
> "/var/folders/8x/x05z181s41d8dywq2scxmj90gn/T/frescobaldi-75pltjx1/tmpmzxk_18u/document.ly
>  (http://document.ly)"
> Exited with return code 1.


You are using LilyPond 2.22. \volta is new in 2.23.

Best,
Jean