Re: Barline at beginning of lines of music.

2014-07-15 Thread Marc Hohl

Am 15.07.2014 16:14, schrieb Richard Shann:

Well, I'm not sure I follow the distinction between defined bar-types
and not, this code

\version "2.18.0"
\defineBarLine ":" #'(":" ":" ":")
\defineBarLine "|" #'(":" ":" ":")
\score {

 \new PianoStaff <<
 \new Staff = "RH"  <<
  \new Voice  {
  c''  c'' c'' c'' c'' c''  }
 >>
 \new Staff = "LH"  <<
  \new Voice  {
   c''  c'' c'' c'' c'' c''  }
 >>
 >>
}

gives no warning but prints the double dots above instead of below the
top staff.
But perhaps that is a separate bug.


IIRC, it is not possible to use the repeat colons as span bars, they are 
placed above the first system and not repeated even if you use more than 
two staves (and therefore more than one instance of a span bar).


Do you have a real-world example where this would be of some use?


In any case, I seem to have a workable method for creating the bar types
needed for chord charts. Attached is an example of the sort of output.
The code to generate this is now in Denemo's git and will be in the
1.1.8 release.


Looks good!

Marc


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


Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line

2014-07-15 Thread Thomas Morley
2014-07-15 20:08 GMT+02:00 John McWilliam :
> Thanks Thomas for your input. I have applied your first alternative - the
>
> simpler one - to a four part piece. This is the classical length of a
>
> march in piping. The enclosed snippet illustrates the result. The end of
>
> the first part looses its repeat barline. I have tried introducing a \bar
>
> ":|." at the end of the first part, however, this causes the repeat
>
> barline at the begining of the second part to be surpressed. Using manual
>
> commands instead of the \repeat volta format for the first part doesn't
>
> improve the situation. I feel that we are very close to a solution and
>
> would appreciate any suggestions you may be able to offer.
>
> 
>
> \version "2.18.0"
>
> \defineBarLine ".|:-|." #'("|." ".|:" "|.") % needed to allow the
>
> % "volta-hook" mid-line:
> #(allow-volta-hook ".|:-|.")
>
> music = \relative c' {
> \key c \major
> \time 4/4
>  \bar ".|:"
>
> %Part 1
> \repeat volta 2 {
> a4. a8 b4. b8
> c4. c8 d4. d8
> \break }
>
> %Part 2
> \set Score.repeatCommands = #'(start-repeat)
> e4. e8 f4. f8
> \set Score.repeatCommands = #'((volta "1."))
> g4. g8 a4. a8
> \set Score.repeatCommands = #'((volta #f) (volta "2. --1,2")
>
> end-repeat)
> b4. b8 c4. c8
> \bar ".|:-|."
> \set Score.repeatCommands = #'((volta #f))
>
> \break
>
> %Part 3
> \repeat volta 2 {
> a4. a8 b4. b8
> c4. c8 d4. d8
> \break }
>
>
> %% not changed:
> %Part 4
> \repeat volta 2 {
> e4. e8 f4. f8
> \set Score.repeatCommands = #'((volta "1."))
> g4. g8 f4.f8
> \set Score.repeatCommands = #'((volta #f))
> }
>
> }% end relative
>
> \score  {
>\new Staff { \music }
> }

how about:

\version "2.18.0"

\defineBarLine ".|:-|." #'("|." ".|:" "|.")

% needed to allow the "volta-hook" mid-line:
#(allow-volta-hook ".|:-|.")

music = \relative c' {
\key c \major
\time 4/4
\bar ".|:"

%Part 1
\repeat volta 2 {
a4. a8 b4. b8
c4. c8 d4. d8
\bar ":..:"
\break }

%Part 2
\set Score.repeatCommands = #'(start-repeat)
e4. e8 f4. f8
\set Score.repeatCommands = #'((volta "1."))
g4. g8 a4. a8
\set Score.repeatCommands = #'((volta #f) (volta "2. --1,2") end-repeat)
b4. b8 c4. c8
\bar ".|:-|."
\set Score.repeatCommands = #'((volta #f))
\break

%Part 3
\repeat volta 2 {
a4. a8 b4. b8
c4. c8 d4. d8
\break }

%Part 4
\repeat volta 2 {
e4. e8 f4. f8
\set Score.repeatCommands = #'((volta "1."))
g4. g8 f4.f8
\set Score.repeatCommands = #'((volta #f))
}

}% end relative

\score {
   \new Staff \music
}


2014-07-15 20:06 GMT+02:00 John McWilliam :
[...]
>   You advise against combining the two approaches to writing repeats, the 
> \repeat volta and the manual approach, however, the second part of the 
> snippet does just that. Do the problems only arise when using the 
> \alternative option?

Well, it's possible to combine them, though you need to use correct code/syntax

> Finally, should my comments have been posted on the forum instead of
> via a personal email?

Yes.
Please always reply to all!

Cheers,
  Harm

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


Re: How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread Karol Majewski
Very nice, Kieren! But still there are some issues:

1) place the first \mark at the begin and you'll get an error:

programming error: cyclic chain in pure-Y-offset callbacks

2) Take a look at this example:

%%%

\version "2.19.10"

\layout {
 \context {
   \type "Engraver_group"
   \name ScoreMarks
   \consists "Staff_collecting_engraver"
   \consists "Axis_group_engraver"
   \override VerticalAxisGroup.staff-affinity = #DOWN
   \consists "Mark_engraver"
   \consists "Time_signature_engraver"
   \override TimeSignature.stencil = #point-stencil
 }
 \context {
   \Score
   \remove "Mark_engraver"
   \accepts ScoreMarks
 }
}

global = {
 \time 3/4
 \tempo "Allegro"
 \mark \default s4 s2
 s4 \mark \default s2
 \tempo "Adagio" s4*3
}

part = {
 \clef treble
 c'4 d' e'
 c'4 d' e'
 c'''4 d''' e'''
}

\score {
 <<
   \new ScoreMarks \global
   \new Staff << \global \part >>
>> 
}

%%%

Here, I'd like to have both A and B _above_ Adagio (see attachment).
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread David Kastrup
"Karol Majewski"  writes:

> Hi,
>
> I'm having a hard time trying put all RehearsalMarks on their own horizontal 
> line. This is an example:
>
> %%
>
> \version "2.19.10"
>
> global = {
>   \time 3/4 \tempo "Allegro" s1*3/4*2
> }
>
> part = {
>   \clef treble
>   c'4 \mark \default d'4 e'4
>   c'4 \mark \default d'4 e'4
> }
>
> \score {
>   \new Staff <<
> \global
> \part
>   >>
> }
>
> %%
>
> Here, I want "B" to be higher - on the same line as "A". In other words, I 
> want rehearsalm marks to behave like expression marks in Dynamics context.
>
> I tried to define new context, but with no success.
>
> Any ideas appreciated.

The following appears to work.

\version "2.19.10"

global = {
  \time 3/4 \tempo "Allegro" s1*3/4*2
}

part = {
  \clef treble
  c'4 \mark \default d'4 e'4
  c'4 \mark \default d'4 e'4
}

\score {
  <<
\new Marks \part
\new Staff <<
  \global
  \part
>>
  >>
}

\layout {
  \context {
\Score
\remove "Mark_engraver"
\accepts "Marks"
  }
  \context {
\name "Marks"
\type "Engraver_group"
\alias Staff % swallow Staff-level settings
\alias Voice % swallow Voice-level settings
\consists "Mark_engraver"
\consists "Axis_group_engraver"
\override VerticalAxisGroup.staff-affinity = #UP
  }
}

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


Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line

2014-07-15 Thread Paul Morris
Marc Hohl wrote
> Looks nice! Do you think that \setRepeatCommand should be included in 
> the sources? I'd always found the manual tweaking of the text in the 
> volta brackets somewhat clumsy...

Or at least it could be added to the LSR?

-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Repeat-volta-not-at-beginning-of-piece-doesn-t-get-initial-repeat-bar-line-tp163676p164504.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: How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread Kieren MacMillan
Hi Karol,

> I tried to define new context, but with no success.

It would help if you included a minimal code example, so we could diagnose the 
problem.

This does what you want, I think:

\version "2.19.10"

\layout {
 \context {
   \type "Engraver_group"
   \name ScoreMarks
   \consists "Staff_collecting_engraver"
   \consists "Axis_group_engraver"
   \override VerticalAxisGroup.staff-affinity = #DOWN
   \consists "Mark_engraver"
   \consists "Time_signature_engraver"
   \override TimeSignature.stencil = #point-stencil
 }
 \context {
   \Score
   \remove "Mark_engraver"
   \accepts ScoreMarks
 }
}

global = {
 \time 3/4
 \tempo "Allegro"
 s4 \mark \default s2
 s4 \mark \default s2
}

part = {
 \clef treble
 c'4 d' e'
 c'4 d' e'
}

\score {
 <<
   \new ScoreMarks \global
   \new Staff << \global \part >>
>> 
}

Hope this helps!
Kieren.
___

Kieren MacMillan, composer
www:  
email:  i...@kierenmacmillan.info
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line

2014-07-15 Thread John McWilliam
Thanks Thomas for your input. I have applied your first alternative - the 

simpler one - to a four part piece. This is the classical length of a 

march in piping. The enclosed snippet illustrates the result. The end of 

the first part looses its repeat barline. I have tried introducing a \bar 

":|." at the end of the first part, however, this causes the repeat 

barline at the beginning of the second part to be supressed. Using manual 

commands instead of the \repeat volta format for the first part doesn't 

improve the situation. I feel that we are very close to a solution and 

would appreciate any suggestions you may be able to offer.



\version "2.18.0"

\defineBarLine ".|:-|." #'("|." ".|:" "|.") % needed to allow the   

% "volta-hook" mid-line:
#(allow-volta-hook ".|:-|.")

music = \relative c' {
\key c \major
\time 4/4
 \bar ".|:"
 
%Part 1
\repeat volta 2 {
a4. a8 b4. b8
c4. c8 d4. d8   
\break }
 
%Part 2 
\set Score.repeatCommands = #'(start-repeat)
e4. e8 f4. f8
\set Score.repeatCommands = #'((volta "1."))
g4. g8 a4. a8
\set Score.repeatCommands = #'((volta #f) (volta "2. --2,4") 

end-repeat)
b4. b8 c4. c8
\bar ".|:-|."
\set Score.repeatCommands = #'((volta #f))

\break

%Part 3
\repeat volta 2 {
a4. a8 b4. b8
c4. c8 d4. d8   
\break }


%% not changed:
%Part 4
\repeat volta 2 {
e4. e8 f4. f8
\set Score.repeatCommands = #'((volta "1."))
g4. g8 f4.f8
\set Score.repeatCommands = #'((volta #f))
}

}% end relative

\score  {
   \new Staff { \music }
}




-
John McWilliam
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Repeat-volta-not-at-beginning-of-piece-doesn-t-get-initial-repeat-bar-line-tp163676p164502.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: How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread Karol Majewski
> 
> See Vertical collision avoidance in the NR:
> 
> \score {
> \new Staff <<
> \override Score.RehearsalMark.outside-staff-priority = #0
> \global
> \part
> >>
> }
> 

Hi Phil, I tried that before, but this solution has one drawback: rehearsal 
marks are _below_ tempo marks. And I want to place them _above_ tempo marks.




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


Re: How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread Phil Holmes
- Original Message - 
From: "Karol Majewski" 

To: "lilypond-user" 
Sent: Tuesday, July 15, 2014 6:03 PM
Subject: How to put RehearsalMarks on their own horizontal line?



Hi,

I'm having a hard time trying put all RehearsalMarks on their own 
horizontal line. This is an example:


%%

\version "2.19.10"

global = {
 \time 3/4 \tempo "Allegro" s1*3/4*2
}

part = {
 \clef treble
 c'4 \mark \default d'4 e'4
 c'4 \mark \default d'4 e'4
}

\score {
 \new Staff <<
   \global
   \part
 >>
}

%%

Here, I want "B" to be higher - on the same line as "A". In other words, I 
want rehearsalm marks to behave like expression marks in Dynamics context.


I tried to define new context, but with no success.

Any ideas appreciated.

--Best
Karol


See Vertical collision avoidance in the NR:

\score {
\new Staff <<
\override Score.RehearsalMark.outside-staff-priority = #0
\global
\part



}


--
Phil Holmes 



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


How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread Karol Majewski
Hi,

I'm having a hard time trying put all RehearsalMarks on their own horizontal 
line. This is an example:

%%

\version "2.19.10"

global = {
  \time 3/4 \tempo "Allegro" s1*3/4*2
}

part = {
  \clef treble
  c'4 \mark \default d'4 e'4
  c'4 \mark \default d'4 e'4
}

\score {
  \new Staff <<
\global
\part
  >>
}

%%

Here, I want "B" to be higher - on the same line as "A". In other words, I want 
rehearsalm marks to behave like expression marks in Dynamics context.

I tried to define new context, but with no success.

Any ideas appreciated.

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


Re: [openlilylib] documentation browser and generator (start)

2014-07-15 Thread Paul Morris
Urs Liska wrote
> - generate HTML documentation for the library
> - browse the library by snippet name, category, tag, author (and 
> possibly more options in the future)
> - display documentation for a selected snippet (built on-the-fly from 
> the actual snippet)

Hi Urs, 

Wow, looking good!  

Unfortunately, I doubt I'll have time to help out over the next few weeks,
but I'd like to help when I can.  Looks like a good opportunity to learn
some python.

Cheers,
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/openlilylib-documentation-browser-and-generator-start-tp164486p164498.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: Suggestion for improvement

2014-07-15 Thread Alexander Kobel

On 07/15/2014 04:19 PM, Alexander Kobel wrote:

Fortunately, other readers exist which don't lock the file and even take
notice of file updates automagically.  SumatraPDF [2] is the one
recommended most often.


Oh, and if you don't desperately need a bunch of buttons to click on, 
check out if the Windows port of MuPDF [1] works nicely for you.  I like 
it a lot on Linux; it's faster than everything else I've seen, and it's 
rendering is pretty accurate and nice.



HTH,
Alexander

[1] http://www.mupdf.com/

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


Re: Suggestion for improvement

2014-07-15 Thread Alexander Kobel

On 07/15/2014 04:30 PM, Knute Snortum wrote:

Is there an OS-agnostic way of checking if the PDF is locked and issuing
a more user-friendly message?


I assume so, yes; but judging from the error message, you'd rather have 
to ask the GhostScript people to add it.  IMHO it makes sense for 
LilyPond that it does not try to interpret the error messages from an 
external tool, but prints them in verbatim.



Best,
Alexander

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


Re: Suggestion for improvement

2014-07-15 Thread Knute Snortum
Is there an OS-agnostic way of checking if the PDF is locked and issuing a
more user-friendly message?


Knute Snortum
(via Gmail)


On Tue, Jul 15, 2014 at 7:26 AM, Alexander Kobel  wrote:

> On 07/15/2014 04:19 PM, Alexander Kobel wrote:
>
>> Fortunately, other readers exist which don't lock the file and even take
>> notice of file updates automagically.  SumatraPDF [2] is the one
>> recommended most often.
>>
>
> Oh, and if you don't desperately need a bunch of buttons to click on,
> check out if the Windows port of MuPDF [1] works nicely for you.  I like it
> a lot on Linux; it's faster than everything else I've seen, and it's
> rendering is pretty accurate and nice.
>
>
> HTH,
> Alexander
>
> [1] http://www.mupdf.com/
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Suggestion for improvement

2014-07-15 Thread Alexander Kobel

On 07/15/2014 03:58 PM, Urs Liska wrote:

Am 15.07.2014 15:56, schrieb Knute Snortum:

Any other thoughts?


Nothing constructive, only the observation (for the record) that this is
a Windows-only issue.


Just for the record, it's not a Windows issue rather than an 
Adobe-Reader-on-Windows issue (see, e.g., [1]).  For some reason I never 
understood, it opens the file in a blocking mode on Windows.  Same issue 
for, e.g., LaTeX.
Closing it might technically be possible, but it's not nice to kill 
other processes.  There are different options to replace content 
(rewrite the file, or delete and move a new one to the same place), and 
they do make a difference, but AFAIK, Adobe does not play nicely with 
both.  And what you really want is that your reader auto-refreshes when 
new content arrives, which requires some support on the viewer side.
In short: it's a well-known annoyance that is beyond the PDF creator's 
domain.


Fortunately, other readers exist which don't lock the file and even take 
notice of file updates automagically.  SumatraPDF [2] is the one 
recommended most often.



HTH,
Alexander

[1] 
http://mathoverflow.net/questions/1329/automatically-updating-pdf-reader-for-windows

[2] http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html

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


Re: Spanner.center.text property?

2014-07-15 Thread Kieren MacMillan
Hi David et al.,

I’ve been out of the loop/Pond recently… what’s the current status on 
“measure-attached spanners”?


I’m trying to get my musicals/* code base ready to donate to openlilylib, and 
would love to have this in there (and available for me, too!).

Thanks,
Kieren.
___

Kieren MacMillan, composer
www:  
email:  i...@kierenmacmillan.info


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


Re: Suggestion for improvement

2014-07-15 Thread Urs Liska

Am 15.07.2014 15:56, schrieb Knute Snortum:

Any other thoughts?


Nothing constructive, only the observation (for the record) that this is 
a Windows-only issue.


Urs

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


Suggestion for improvement

2014-07-15 Thread Knute Snortum
This isn't a bug, so I wanted to post it here first -- see what other
people think.

If I compile a PDF with LilyPond and open it with Adobe Reader, then run
LilyPond again, I get this error:



Converting to `./pictures-at-an-exhibition-all.pdf'...

warning: `(gs -q -dNOSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -sOutputFile=./pictures-at-an-exhibition-all.pdf
-c.setpdfwrite -fpictures-at-an-exhibition-all.ps)' failed (1)

fatal error: failed files:
"C:/Users/Knute/Documents/GitHub/The-Mutopia-Project/ftp/MussorgskyM/pictures-at-an-exhibition/pictures-at-an-exhibition-lys/
pictures-at-an-exhibition-all.ly"

Exited with return code 1.

--


Now I'm a programmer, and I can figure out that this that this is
GhostScript failing to convert the PS file to PDF, because I have it open
and it needs to close it and recreate it.


But it took me a while.  For those non-programmer LilyPoders, I would think
a better error message is in order.  Maybe LilyPond can check if the PDF
exists and try to close or delete it.


Any other thoughts?

Knute Snortum
(via Gmail)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread Gilberto Agostinho
Hi David,


David Nalesnik-2 wrote
> No :)  (And I should probably take a lesson from some of my own music...)

Same here, when I first saw your proposition I was also surprised with the
default behaviour of LilyPond, but then by checking some of my own scores
for the "annoying repeated accidentals" after rests, I realized that they
were pretty much always necessary!

Take care,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Accidentals-on-repeated-notes-separated-by-rests-in-certain-styles-tp164462p164489.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: Score alignment

2014-07-15 Thread Samuel Toogood
On 12 Jul 2014 10:54, "Phil Holmes"  wrote:
>
> - Original Message - From: "Samuel Toogood" <
sam_toog...@athsoc.org.uk>
> To: 
> Sent: Saturday, July 12, 2014 9:42 AM
> Subject: Score alignment
>
>
>
>> Apologies for asking such a basic sounding question, but I have looked
>> and looked and come up with nothing. Is it possible to horizontally
>> align whole scores to the right edge rather than the left?
>>
>>
>> Many thanks,
>>
>>
>> Sam Toogood
>
>
>
> Well, by default they're aligned to the right _and_ left edge.  Are you
asking for something like ragged-left?
>
> --
> Phil Holmes
Yes, something like ragged-left. Sorry for not making that clear.

Thanks,

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


Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
Hi Gilberto,


On Tue, Jul 15, 2014 at 7:25 AM, Gilberto Agostinho <
gilbertohasn...@gmail.com> wrote:

> Hi David,
>
> Concerning the style dodecaphonic-no-repeat, I think that the current
> behaviour is exactly how it should be! Sure, in your simple example above
> the accidental looks superfluous, but usually the works that really benefit
> from dodecaphonic-no-repeat have a much more complex musical texture. Have
> a
> look on this example below:
>
> 
> example.ly 
>
> Would you say your suggestion is beneficial here?
>
>
No :)  (And I should probably take a lesson from some of my own music...)

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


[openlilylib] documentation browser and generator (start)

2014-07-15 Thread Urs Liska

Hi all,

despite the fact that I absolutely can't afford it I have started 
writing some stuff for a new openlilylib.
As it turned out  we won't have a script to (only) generate 
documentation for the library but rather a tool that can


- generate HTML documentation for the library
- browse the library by snippet name, category, tag, author (and 
possibly more options in the future)
- display documentation for a selected snippet (built on-the-fly from 
the actual snippet)


That's what I started to implement, you can have an impression from the 
screenshot:

http://openlilylib.org/screenshots/oll-doc-screenshot.png

In addition one will be able to use the tool to _edit_ snippet metadata, 
e.g. by selecting tags from existing ones etc. and having instant 
feedback from the generated documentation page.


As this implies that the whole documentation for openlilylib will be 
built from the snippets themselves there will be some restrictions to 
the coding conventions. These will have to be updated during the 
reorganization. For example any free-form comments will be discarded, so 
everything has to go into explicit fields. On the other hand I find it 
nice that you can now see how for example the "snippet-description" will 
turn out in the documentation page, so this will be an incentive to 
write better headers for new and existing snippets.


There is still a long way to go, but I think we have a great start. And 
I would like to ask anybody who is willing and able for assistance. If 
more people help working on this we will reach something beautiful 
earlier ;-)
The program itself is a PyQt application (like Frescobaldi), but there 
is significant headroom for help in the HTML/CSS part and for general 
discussion.
One particular topic I would appreciate someone to look into is 
integrating the ly-music module from Frescobaldi, initially at least to 
provide formatted LilyPond listings in the tool and in the generated 
HTML docs.


Anybody who wants to have a look is encouraged to (git) checkout the 
reorganization or the doc-script branch from the openlilylib repo.


Best
Urs

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


Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread Gilberto Agostinho
Hi David,

Concerning the style dodecaphonic-no-repeat, I think that the current
behaviour is exactly how it should be! Sure, in your simple example above
the accidental looks superfluous, but usually the works that really benefit
from dodecaphonic-no-repeat have a much more complex musical texture. Have a
look on this example below:

 
example.ly   

Would you say your suggestion is beneficial here?

Regards,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Accidentals-on-repeated-notes-separated-by-rests-in-certain-styles-tp164462p164485.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: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
On Tue, Jul 15, 2014 at 7:04 AM, David Nalesnik 
wrote:

>
>> Take neo-modern and neo-modern-cautionary out of the mix.  My observation
> holds for neo-modern and dodecaphonic-no-repeat, which both operate at a
> staff level.
>

*Arghh* I meant neo-modern-voice, of course.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
On Tue, Jul 15, 2014 at 7:04 AM, David Nalesnik 
wrote:

>
>
>
> On Tue, Jul 15, 2014 at 6:52 AM, David Kastrup  wrote:
>
>>
>>
>> So what about
>>
>> { { fis'8 r8 r4 r4 r8 fis'8 } \\ { r8 cis'8 f' r2 } } ?
>>
>
> I think you mean
>
>  << { fis'8 r8 r4 r4 r8 fis'8 } \\ { r8 cis'8 f' r2 } >>
>
>
>> Should neo-modern-voice really consider the second fis'8 a repetition of
>> the first one?  I think that's stretching it.  A lot.
>>
>>
> Well, that example certainly would be.  Take neo-modern and
> neo-modern-cautionary out of the mix.  My observation holds for neo-modern
> and dodecaphonic-no-repeat, which both operate at a staff level.
>
>
In any case, the method of determining automatic accidentals should take
into account more than local alterations and the key signature.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
On Tue, Jul 15, 2014 at 6:52 AM, David Kastrup  wrote:

>
>
> So what about
>
> { { fis'8 r8 r4 r4 r8 fis'8 } \\ { r8 cis'8 f' r2 } } ?
>

I think you mean

 << { fis'8 r8 r4 r4 r8 fis'8 } \\ { r8 cis'8 f' r2 } >>


> Should neo-modern-voice really consider the second fis'8 a repetition of
> the first one?  I think that's stretching it.  A lot.
>
>
Well, that example certainly would be.  Take neo-modern and
neo-modern-cautionary out of the mix.  My observation holds for neo-modern
and dodecaphonic-no-repeat, which both operate at a staff level.

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


Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Kastrup
David Nalesnik  writes:

> -- Forwarded message --
> From: guoguocuozuoduo 
> Date: Tue, Jul 15, 2014 at 12:13 AM
> Subject: RE: Accidentals on repeated notes separated by rests in certain
> styles
> To: David Nalesnik 
>
>
>>There should be for neo-modern, neo-modern-cautionary, neo-modern-voice,
> neo-modern-voice-cautionary, but not dodecaphonic-no->repeat.
>
> For the record, I think that all of the styles should suppress the repeated
> accidental, or none should.  It comes down to whether the same pitch
> separated by a rest should be considered an immediate repetition.  I think
> so.  Consider the following:
>
> { fis'4-. fis'-. }
>
> vs.
>
> { fis'8 r fis' r }
>
> It doesn't make much sense to me that there should be a difference in
> behavior between the two in any style which detects immediate repetition.

So what about

{ { fis'8 r8 r4 r4 r8 fis'8 } \\ { r8 cis'8 f' r2 } } ?

Should neo-modern-voice really consider the second fis'8 a repetition of
the first one?  I think that's stretching it.  A lot.

-- 
David Kastrup

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


Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
-- Forwarded message --
From: guoguocuozuoduo 
Date: Tue, Jul 15, 2014 at 12:13 AM
Subject: RE: Accidentals on repeated notes separated by rests in certain
styles
To: David Nalesnik 


>There should be for neo-modern, neo-modern-cautionary, neo-modern-voice,
neo-modern-voice-cautionary, but not dodecaphonic-no->repeat.

For the record, I think that all of the styles should suppress the repeated
accidental, or none should.  It comes down to whether the same pitch
separated by a rest should be considered an immediate repetition.  I think
so.  Consider the following:

{ fis'4-. fis'-. }

vs.

{ fis'8 r fis' r }

It doesn't make much sense to me that there should be a difference in
behavior between the two in any style which detects immediate repetition.

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