Re: partcombine and multi-measure rests

2015-10-23 Thread David Kastrup
David Wright  writes:

> Quoting Gilberto Agostinho (gilbertohasn...@gmail.com):
>> Simon Albrecht-2 wrote
>> > On 14.10.2015 20:41, Gilberto Agostinho wrote:
>> >> \version "2.17.95"
>> > 
>> > Just out of interest: what makes you still use that particular version?
>> 
>> I don't, I actually use 2.19.15. The thing is I have several little
>> templates that I use when creating functions and I ended up copying the
>> version of when that template was created.
>
> That reminds me. I too put \version in my sources and each of my .ily
> files ready for conversion at some time in the future. When a 2.18.2
> source is run on older (or, indeed, newer) versions, does LP behave
> any differently as a consequence of the \version read as the file is
> being processed? (ie, beyond mentioning version numbers in the text of
> any error messages generated.)

In LilyPond itself, \version is only used for the version check, nothing
else.

-- 
David Kastrup

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


Re: partcombine and multi-measure rests

2015-10-22 Thread David Wright
Quoting Gilberto Agostinho (gilbertohasn...@gmail.com):
> Simon Albrecht-2 wrote
> > On 14.10.2015 20:41, Gilberto Agostinho wrote:
> >> \version "2.17.95"
> > 
> > Just out of interest: what makes you still use that particular version?
> 
> I don't, I actually use 2.19.15. The thing is I have several little
> templates that I use when creating functions and I ended up copying the
> version of when that template was created.

That reminds me. I too put \version in my sources and each of my .ily
files ready for conversion at some time in the future. When a 2.18.2
source is run on older (or, indeed, newer) versions, does LP behave
any differently as a consequence of the \version read as the file is
being processed? (ie, beyond mentioning version numbers in the text of
any error messages generated.)

Cheers,
David.

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


Re: partcombine and multi-measure rests

2015-10-17 Thread Gilberto Agostinho
Hi Phil,


Phil Holmes-2 wrote
> You did the correct thing.  Simon may be referring to the request to check 
> to see whether the bug already exists.

Great to hear that, thanks for the reply!

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/partcombine-and-multi-measure-rests-tp182372p182428.html
Sent from the User mailing list archive at Nabble.com.

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


Re: partcombine and multi-measure rests

2015-10-17 Thread Phil Holmes
- Original Message - 
From: "Gilberto Agostinho" 

To: 
Sent: Saturday, October 17, 2015 1:04 PM
Subject: Re: partcombine and multi-measure rests



Hi Simon,


Simon Albrecht-2 wrote

So if you like you may raise a bug report, always following the steps on
<http://lilypond.org/bug-reports.html>; – but now using the 
temporary

issue tracker at <http://sourceforge.net/p/testlilyissues/issues/>;.


I did a report as usual, by sending a detailed e-mail to
bug-lilyp...@gnu.org together with a tiny example. But this time I got no
reply, so is there some modification to the procedure? You mentioned a
temporary issue tracker, but I never used any tracker to report bugs, I
always thought that users should report only by the mailing list. Can you
confirm to me if I am doing something wrong? Thanks a lot!

Cheers,
Gilberto



You did the correct thing.  Simon may be referring to the request to check 
to see whether the bug already exists.


--
Phil Holmes 



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


Re: partcombine and multi-measure rests

2015-10-17 Thread Gilberto Agostinho
Hi Simon,


Simon Albrecht-2 wrote
> So if you like you may raise a bug report, always following the steps on 
> <http://lilypond.org/bug-reports.html>; – but now using the temporary 
> issue tracker at <http://sourceforge.net/p/testlilyissues/issues/>;.

I did a report as usual, by sending a detailed e-mail to
bug-lilyp...@gnu.org together with a tiny example. But this time I got no
reply, so is there some modification to the procedure? You mentioned a
temporary issue tracker, but I never used any tracker to report bugs, I
always thought that users should report only by the mailing list. Can you
confirm to me if I am doing something wrong? Thanks a lot!

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/partcombine-and-multi-measure-rests-tp182372p182426.html
Sent from the User mailing list archive at Nabble.com.

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


Re: partcombine and multi-measure rests

2015-10-14 Thread Gilberto Agostinho
Hi Simon,


Simon Albrecht-2 wrote
> This is not a full solution: if you try \compressFullBarRests, you’ll 
> notice different behaviour (some wrote a music function to deal with 
> this though).

You are right, I haven't spotted this shortcoming.


Simon Albrecht-2 wrote
> I’d say that the partcombiner should be able to deal with this. 
> [...] 
> So if you like you may raise a bug report

Sounds good, I will do that right away!


Simon Albrecht-2 wrote
> On 14.10.2015 20:41, Gilberto Agostinho wrote:
>> \version "2.17.95"
> 
> Just out of interest: what makes you still use that particular version?

I don't, I actually use 2.19.15. The thing is I have several little
templates that I use when creating functions and I ended up copying the
version of when that template was created.

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/partcombine-and-multi-measure-rests-tp182372p182378.html
Sent from the User mailing list archive at Nabble.com.

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


Re: partcombine and multi-measure rests

2015-10-14 Thread Simon Albrecht

On 14.10.2015 20:41, Gilberto Agostinho wrote:

\version "2.17.95"


Just out of interest: what makes you still use that particular version?

Regards, Simon

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


Re: partcombine and multi-measure rests

2015-10-14 Thread Simon Albrecht

On 14.10.2015 20:41, Gilberto Agostinho wrote:

Something just crossed my mind and this works out well: by using \repeat
unfold N R1 we can solve this problem,


This is not a full solution: if you try \compressFullBarRests, you’ll 
notice different behaviour (some wrote a music function to deal with 
this though).
I’d say that the partcombiner should be able to deal with this. It’s 
inappropriate to change the input code of either of the voices to make 
up for deficiencies of the partcombiner – at least if you should need to 
print both separately, and that’s part of the point in using \partcombine.
So if you like you may raise a bug report, always following the steps on 
 – but now using the temporary 
issue tracker at .


Yours, Simon

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


Re: partcombine and multi-measure rests

2015-10-14 Thread Gilberto Agostinho
Something just crossed my mind and this works out well: by using \repeat
unfold N R1 we can solve this problem, as it creates N individual R1's
instead of enlarging a single one. For the lazy ones (like me), defining a
function \RN makes life even easier:

\version "2.17.95" 

RN = #(define-music-function 
(parser location N) 
(integer?) 
#{ 
  \repeat unfold $N R1 
#}
) 

{
  \RN 10
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/partcombine-and-multi-measure-rests-tp182372p182375.html
Sent from the User mailing list archive at Nabble.com.

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


Re: partcombine and multi-measure rests

2015-10-14 Thread Gilberto Agostinho
David Wright wrote
> I think you're making the assumption that R1*4 is just a textual
> shorthand for R1 R1 R1 R1 but it isn't. R1*4 is a single "chunk".

Oh, I see. So the chunk already happened before the different \partcombine
option is selected. Well, this makes combining parts slightly more annoying
in cases like the one I posted above since one has to manually find the
point to break the chunk of R1, but I do understand it isn't a bug.

Thanks for your reply and take care,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/partcombine-and-multi-measure-rests-tp182372p182374.html
Sent from the User mailing list archive at Nabble.com.

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


Re: partcombine and multi-measure rests

2015-10-14 Thread David Wright
Quoting Gilberto Agostinho (gilbertohasn...@gmail.com):

> When changing the type of \partcombine (for instance, using
> \partcombineApart in the middle of the score) when one of the parts has
> multi-measure rests I get some strange results:
> 
>  
> code:  partbug.ly
>   
> 
> Is this a bug or am I wrongly using \partcombine?

I think you're making the assumption that R1*4 is just a textual
shorthand for R1 R1 R1 R1 but it isn't. R1*4 is a single "chunk".
Take a very careful look at the section "Scaling Durations" in the
Notation manual, particularly b16*4.

Cheers,
David.

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


partcombine and multi-measure rests

2015-10-14 Thread Gilberto Agostinho
Hello LilyPonders,

When changing the type of \partcombine (for instance, using
\partcombineApart in the middle of the score) when one of the parts has
multi-measure rests I get some strange results:

<http://lilypond.1069038.n5.nabble.com/file/n182372/39.png> 
code:  partbug.ly
<http://lilypond.1069038.n5.nabble.com/file/n182372/partbug.ly>  

Is this a bug or am I wrongly using \partcombine?

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/partcombine-and-multi-measure-rests-tp182372.html
Sent from the User mailing list archive at Nabble.com.

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