Feature request: paper variable for odd-only or even-only pagination

2018-09-11 Thread Simon Albrecht

Hello everybody,

this is a suggestion by Urs from a user list thread on 2018-08-30: for 
putting together scores of four-hand music with the typical primo right 
page, secondo left page layout it would be useful to select through a 
paper variable whether the music of a \book be typeset on only odd or 
only even pages, with according page numbers and margins (in case of 
twosided = ##t).


Best, Simon


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


Re: [LSR] multi-measure-rest-length-control.ly snippet should not use \compressFullBarRests

2018-09-11 Thread James Lowe

Federico


On 30/08/18 10:54, Federico Bruni wrote:

Hi folks

Bug Squad, this does not require a new issue in the tracker, but just 
someone who can fix the snippet on the LSR website.


There's a recent snippet file imported from LSR which contains 
\compressFullBarRests.


$ git grep \compressFullBarRests Documentation/snippets
Documentation/snippets/multi-measure-rest-length-control.ly:25: 
\compressFullBarRests
Documentation/snippets/new/multi-measure-rest-length-control.ly:17: 
\compressFullBarRests



Given this commit:

commit ba9a8dc730bb3a681455150bc0a3eef0976523af
Author: Trevor Daniels 
Date: Fri May 1 22:56:47 2015 +0100

   Issue 3687 (part 2): Amend docs to use \compressMMRests

 Amend the examples in the LM and NR to use the \compressMMRests
 music function rather than the predefs \compressFullBarRests and
 \expandFullBarRests to avoid advocating the use of techniques
 which may have undesirable side effects.


we should replace it with \compressMMRests.
Who can do this change in the LSR?

I cannot find this on the LSR.

It is in LilyPond's own Snippets (but that is not the same thing) so a 
change to this would require a change in git.


Also

grep -r "compressFullBarRests" * | wc -l

gives a count of 38 (of which 14 are *.po files) so we might as well 
change it for those files too right?


In which case a tracker would be best.

Let me know.

James





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


Re: X-aligning problems with chords containing unisons

2018-09-11 Thread James Lowe

Hello,

On 02/09/18 11:13, Torsten Hämmerle wrote:

Hi all,

Chords containing unison highest/lowest notes will sometimes produce wrong
positioning of articulation marks, dynamics, slurs, etc.
These grobs should be centred on the notehead that is on the correct side of
the stem (as Gould put it).

Technically, the "correct" side of the stem is determined by the first note
in the chord, i.e. the note opposite the stem's direction.

If this extremal note happens to have a unison sibling, LilyPond currently
will pick the wrong notehead in some cases (stem up), thus causing a wrong
positioning of articulations, dynamics, slurs, …  The spacing will be
widened up a bit, too, as a chord-building side-effect.



The misplaced grobs are coloured in red and below, there's my proposed
solution for correct positioning.

That's a nice little bug for the issue tracker, isn't it?

Thanks,
Torsten

for those that don't follow 'dev'

This is

https://sourceforge.net/p/testlilyissues/issues/5413/

James

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


Re: Feature request: paper variable for odd-only or even-only pagination

2018-09-11 Thread Peter Toye
Simon,

I would certainly vote for it!

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Tuesday, September 11, 2018, 11:03:04 AM, Simon Albrecht wrote:

> Hello everybody,

> this is a suggestion by Urs from a user list
> thread on 2018-08-30: for 
> putting together scores of four-hand music with
> the typical primo right 
> page, secondo left page layout it would be
> useful to select through a 
> paper variable whether the music of a \book be typeset on only odd or
> only even pages, with according page numbers
> and margins (in case of 
> twosided = ##t).

> Best, Simon


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


Re: musicxml2ly produces unexpected EOF in .ly file

2018-09-11 Thread James Lowe

Knut


On 27/08/18 16:14, Federico Bruni wrote:



Il giorno dom 26 ago 2018 alle 16:12, David Kastrup  ha 
scritto:

Victor Rouanet  writes:


 Le 26/08/2018 à 15:15, Victor Rouanet a écrit :

 Same result for me. According to Phil Homes in the lilypond-user
 topic, the shlex module (used by musicxml2ly in utilities.py) didn't
 support unicode input prior to Python 2.7.3.

 According to David Wright*
 I misread.


So we should upgrade Python in GUB?



https://github.com/gperciva/gub/pull/6

I hope more people will be able to run GUB successfully. Only Phil can 
run it at the moment?

I look forward to Knut's patch.



Your GUB patch has been sitting on the 'to push' list for a few weeks now.

Can you make the pull request please to https://github.com/gperciva/gub 
so that Phil can merge your changes into GUB?


Thanks

James

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


Re: Feature request: paper variable for odd-only or even-only pagination

2018-09-11 Thread James Lowe

Hello Simon,


On 11/09/18 11:03, Simon Albrecht wrote:

Hello everybody,

this is a suggestion by Urs from a user list thread on 2018-08-30: for 
putting together scores of four-hand music with the typical primo 
right page, secondo left page layout it would be useful to select 
through a paper variable whether the music of a \book be typeset on 
only odd or only even pages, with according page numbers and margins 
(in case of twosided = ##t).


Best, Simon


Added as https://sourceforge.net/p/testlilyissues/issues/5416/

James

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


Re: Feature request: paper variable for odd-only or even-only pagination

2018-09-11 Thread Simon Albrecht

On 11.09.2018 16:32, Aaron Hill wrote:

On 2018-09-11 3:03 am, Simon Albrecht wrote:

this is a suggestion by Urs from a user list thread on 2018-08-30: for
putting together scores of four-hand music with the typical primo
right page, secondo left page layout it would be useful to select
through a paper variable whether the music of a \book be typeset on
only odd or only even pages, with according page numbers and margins
(in case of twosided = ##t).


Just to clarify, is this request strictly about page numbering and 
margins (something I believe LilyPond already supports albeit via 
manual* configuration), or does it also encompass the automatic 
synchronization between the primo and secondo parts at each page break 
(also something that requires manual** intervention to achieve at the 
moment)?


* Each part's margins can be customized uniquely to achieve the 
desired mirroring, and the page numbering needs only a little 
arithmetic to show up as odd-only or even-only.


** Providing things do not align by chance, adding explicit \pageBreak 
commands would ensure that page turns happen at the same moment. 


This is not about automatic synchronization. That’s of course a far 
longer shot, and there’s already an issue for it (don’t want to search 
it right now).
If adding a simple switch for odd-only/even-only is only syntactic sugar 
of sorts for functionality that with some effort is already available, 
that’s all the better, then this is only about designing the interface.


Best, Simon

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


Re: Feature request: paper variable for odd-only or even-only pagination

2018-09-11 Thread Aaron Hill

On 2018-09-11 3:03 am, Simon Albrecht wrote:

this is a suggestion by Urs from a user list thread on 2018-08-30: for
putting together scores of four-hand music with the typical primo
right page, secondo left page layout it would be useful to select
through a paper variable whether the music of a \book be typeset on
only odd or only even pages, with according page numbers and margins
(in case of twosided = ##t).


Just to clarify, is this request strictly about page numbering and 
margins (something I believe LilyPond already supports albeit via 
manual* configuration), or does it also encompass the automatic 
synchronization between the primo and secondo parts at each page break 
(also something that requires manual** intervention to achieve at the 
moment)?


* Each part's margins can be customized uniquely to achieve the desired 
mirroring, and the page numbering needs only a little arithmetic to show 
up as odd-only or even-only.


** Providing things do not align by chance, adding explicit \pageBreak 
commands would ensure that page turns happen at the same moment.


-- Aaron Hill

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