Re: [Denemo-devel] percent style repeats

2016-09-20 Thread Richard Shann
On Mon, 2016-09-19 at 21:50 +0100, Richard Shann wrote:
> On Mon, 2016-09-19 at 20:02 +0100, Richard Shann wrote:
> > On Mon, 2016-09-19 at 11:01 -0700, Donald J. Stewart wrote:
> > > great! I'm using Ubuntu 16.04 and had to download the deb file to 
> > > upgrade, 
> > > as the Ubuntu depository only had 2.0.2...that's another post, though...
> > > 
> > > On Monday, September 19, 2016 6:49:46 PM PDT you wrote:
> > > > On Mon, 2016-09-19 at 12:37 +0100, Richard Shann wrote:
> > > > > I'll try and create this command today (so it will be available in the
> > > > > builds from tonight).
> > > > 
> > > > I've done this now - it's in the Notes/Rests->Note Insertion menu.
> > 
> > Beware - it works on %-repeats of more than one bar, but hangs if there
> > is no empty measure into which the repeat has to go.
> > I'll look into this tomorrow.
> 
> I think I fixed this - more testing tomorrow...

Most everything appears to be in working order. Please report any
problems with tomorrow's build.

I've added the option to number the repeats for the case of whole
measure repeats. This will be in tomorrow's builds. That includes the
http://www.denemo.org/~aschneider/daily/?C=M;O=A builds for
Debian/Ubuntu ...

Richard



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] percent style repeats

2016-09-19 Thread Richard Shann
On Mon, 2016-09-19 at 20:02 +0100, Richard Shann wrote:
> On Mon, 2016-09-19 at 11:01 -0700, Donald J. Stewart wrote:
> > great! I'm using Ubuntu 16.04 and had to download the deb file to upgrade, 
> > as the Ubuntu depository only had 2.0.2...that's another post, though...
> > 
> > On Monday, September 19, 2016 6:49:46 PM PDT you wrote:
> > > On Mon, 2016-09-19 at 12:37 +0100, Richard Shann wrote:
> > > > I'll try and create this command today (so it will be available in the
> > > > builds from tonight).
> > > 
> > > I've done this now - it's in the Notes/Rests->Note Insertion menu.
> 
> Beware - it works on %-repeats of more than one bar, but hangs if there
> is no empty measure into which the repeat has to go.
> I'll look into this tomorrow.

I think I fixed this - more testing tomorrow...

Richard



> 
> Richard
> 
> 
> > > Available in binary form from tomorrow - see denemo.org for details of
> > > latest builds.
> > > 
> > > Richard
> > 
> > 
> 
> 
> 
> ___
> Denemo-devel mailing list
> Denemo-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/denemo-devel



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] percent style repeats

2016-09-19 Thread Richard Shann
On Mon, 2016-09-19 at 11:01 -0700, Donald J. Stewart wrote:
> great! I'm using Ubuntu 16.04 and had to download the deb file to upgrade, 
> as the Ubuntu depository only had 2.0.2...that's another post, though...
> 
> On Monday, September 19, 2016 6:49:46 PM PDT you wrote:
> > On Mon, 2016-09-19 at 12:37 +0100, Richard Shann wrote:
> > > I'll try and create this command today (so it will be available in the
> > > builds from tonight).
> > 
> > I've done this now - it's in the Notes/Rests->Note Insertion menu.

Beware - it works on %-repeats of more than one bar, but hangs if there
is no empty measure into which the repeat has to go.
I'll look into this tomorrow.

Richard


> > Available in binary form from tomorrow - see denemo.org for details of
> > latest builds.
> > 
> > Richard
> 
> 



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] percent style repeats

2016-09-19 Thread Richard Shann
On Mon, 2016-09-19 at 12:37 +0100, Richard Shann wrote:
> I'll try and create this command today (so it will be available in the
> builds from tonight).

I've done this now - it's in the Notes/Rests->Note Insertion menu.
Available in binary form from tomorrow - see denemo.org for details of
latest builds.

Richard



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] percent style repeats

2016-09-19 Thread Richard Shann
On Mon, 2016-09-19 at 09:53 +0100, Richard Shann wrote:
> And it would be
> (much) more difficult to arrange for Denemo to display anything like
> what the typesetter will generate or to get the quick Denemo playback
> (as opposed to the Playback View playback)to play the repeats.

Mulling this over, Denemo could support this feature rather well - you
would type in the initial pattern of notes that starts the bar and then
issue the command, Denemo can fill the bar with that pattern and then
surround that with the syntax to tell LilyPond to use the repeat
typesetting. The result is that Denemo will play it correctly and
LilyPond will typeset it correctly.
I'll try and create this command today (so it will be available in the
builds from tonight).

Richard



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] percent style repeats

2016-09-19 Thread Richard Shann
On Sun, 2016-09-18 at 19:20 -0700, Donald J. Stewart wrote:
> is there a percent style repeat sign denemo uses?
> 
> http://lilypond.org/doc/v2.18/Documentation/notation/short-repeats#percent-repeats
> 

Denemo doesn't (yet) have any commands generating that sort of syntax.

In the View->Command Center  I searched for "repeat" and came across
this:

Command: Whole Measure Repeat
Inserts a whole measure repeat sign.
Location: ObjectMenu->MeasureMenu
Internal Name: WholeMeasureRepeat

Trying it out, and then looking at the LilyPond syntax it generated, it
inserts a  whole one bar rest (e.g. R1*4/4) and then overrides the
stencil to draw it as a percent repeat.

It will have been me that created this script and clearly I was avoiding
using \repeat { } style syntax. The reason is the same as the reason why
the commands for standard repeats using { } around the music, although
present, are hidden, namely, for non-LilyPond-aware users they cause the
typesetting to fail when the user makes an error (e.g. deleting the
opening { without deleting the closing }).

Having said that, it is easy enough to generate the syntax
(Directives->Insert LilyPond) and you can elevate such an insert into a
full-blown Denemo command, right-clicking at the menu position where you
want the command and then adding a keyboard short cut. And it would be
(much) more difficult to arrange for Denemo to display anything like
what the typesetter will generate or to get the quick Denemo playback
(as opposed to the Playback View playback)to play the repeats.

HTH

Richard





> ___
> Denemo-devel mailing list
> Denemo-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/denemo-devel



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel