Quoting quoted material fails

2021-08-11 Thread Mats Bengtsson

Hi,

This is probably more of a limitation than a bug, but should at least be 
documented. If you try to quote a voice that itself contains quoted 
material, the nested quote fails (without any warning message).


Here's a reasonably minimal example.

\version "2.23.3"

A = \fixed c' {c4 d e f | g f e d | c1 }
\addQuote "A" {\A }

B = \fixed c' {\quoteDuring "A" s1 | g1 | \quoteDuring "A" s1 }
\addQuote "B" {\B}

% The first measure that attempts to quote quoted material is empty:
C = \fixed c' {\quoteDuring "B" s1*2 | e1 }

\score{
<<
  \new Staff \A
  \new Staff \B
  \new Staff \C
>>
}

I propose to add a sentence under Known issues and warnings in 
http://lilypond.org/doc/v2.23/Documentation/notation/writing-parts#quoting-other-voices, 
saying,


"Quoting music that itself contains quoted sections does not work."

I would also be happy if the possibility to do nested quotes could be 
recorded as a feature request. I just typeset a concerto grosso, where I 
in the ripieni string parts quoted sections from the solo string parts 
and where the woodwind parts were almost identical to the ripieni string 
parts and i hence tried to quote these, which resulted in mostly empty 
music, to my great surprise and disappointment. Apart from such use 
cases, I would expect that it could a more common problem when adding 
cue notes using \cueDuring of parts that themselves contain quoted 
material.


   /Mats



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


Re: Quoting quoted material fails

2021-08-12 Thread Pierre-Luc Gauthier
I wonder if akin to LaTeX you could do multiple compilation passes to get
those kinds of "references" right...

Le mer. 11 août 2021 à 10:05, Mats Bengtsson  a
écrit :

> Hi,
>
> This is probably more of a limitation than a bug, but should at least be
> documented. If you try to quote a voice that itself contains quoted
> material, the nested quote fails (without any warning message).
>
> Here's a reasonably minimal example.
>
> \version "2.23.3"
>
> A = \fixed c' {c4 d e f | g f e d | c1 }
> \addQuote "A" {\A }
>
> B = \fixed c' {\quoteDuring "A" s1 | g1 | \quoteDuring "A" s1 }
> \addQuote "B" {\B}
>
> % The first measure that attempts to quote quoted material is empty:
> C = \fixed c' {\quoteDuring "B" s1*2 | e1 }
>
> \score{
> <<
>\new Staff \A
>\new Staff \B
>\new Staff \C
>  >>
> }
>
> I propose to add a sentence under Known issues and warnings in
>
> http://lilypond.org/doc/v2.23/Documentation/notation/writing-parts#quoting-other-voices,
>
> saying,
>
> "Quoting music that itself contains quoted sections does not work."
>
> I would also be happy if the possibility to do nested quotes could be
> recorded as a feature request. I just typeset a concerto grosso, where I
> in the ripieni string parts quoted sections from the solo string parts
> and where the woodwind parts were almost identical to the ripieni string
> parts and i hence tried to quote these, which resulted in mostly empty
> music, to my great surprise and disappointment. Apart from such use
> cases, I would expect that it could a more common problem when adding
> cue notes using \cueDuring of parts that themselves contain quoted
> material.
>
> /Mats
>
>
>
> ___
> bug-lilypond mailing list
> bug-lilypond@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>


-- 
*Pierre-Luc Gauthier*
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Quoting quoted material fails

2021-08-17 Thread Jean Abou Samra

Hello,

Le 11/08/2021 à 15:07, Mats Bengtsson a écrit :

Hi,

This is probably more of a limitation than a bug, but should at least 
be documented. If you try to quote a voice that itself contains quoted 
material, the nested quote fails (without any warning message).


Here's a reasonably minimal example.

\version "2.23.3"

A = \fixed c' {c4 d e f | g f e d | c1 }
\addQuote "A" {\A }

B = \fixed c' {\quoteDuring "A" s1 | g1 | \quoteDuring "A" s1 }
\addQuote "B" {\B}

% The first measure that attempts to quote quoted material is empty:
C = \fixed c' {\quoteDuring "B" s1*2 | e1 }

\score{
<<
  \new Staff \A
  \new Staff \B
  \new Staff \C
>>
}



Thanks for your report — and nice to see a former contributor
lurking around! Here is a fresh ticket:

https://gitlab.com/lilypond/lilypond/-/issues/6164


I propose to add a sentence under Known issues and warnings in 
http://lilypond.org/doc/v2.23/Documentation/notation/writing-parts#quoting-other-voices, 
saying,


"Quoting music that itself contains quoted sections does not work."


Well, the contributor's guide [1] prescribes adding these warnings
for architectural issues that are known to be thorny or
half-bug-half-feature. Let's see how others respond on the ticket
(note that I know nothing about the operation of the Quote_iterator).

[1] 
http://lilypond.org/doc/v2.23/Documentation/contributor/section-organization



I would also be happy if the possibility to do nested quotes could be 
recorded as a feature request. I just typeset a concerto grosso, where 
I in the ripieni string parts quoted sections from the solo string 
parts and where the woodwind parts were almost identical to the 
ripieni string parts and i hence tried to quote these, which resulted 
in mostly empty music, to my great surprise and disappointment. Apart 
from such use cases, I would expect that it could a more common 
problem when adding cue notes using \cueDuring of parts that 
themselves contain quoted material.



Feature request is a nice wording. I'd just consider it
a bug ;-)

Best,
Jean

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