LyricExtender suicide fix

2017-06-14 Thread Kieren MacMillan
Hello all,

The attached file includes a hack/fix I sponsored a couple of years ago.

Any thoughts/discussion towards putting this in the codebase would be 
appreciated. Happy to shepherd it myself, if it's just a matter of adding this 
code somewhere [not in C++] and submitting a patch.

Thanks,
Kieren.



LyricExtender-fix.ly
Description: Binary data




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

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


calc stem direction

2017-06-14 Thread Jan-Peter Voigt

Hi list,

in a scheme-engraver I want to get the stem-direction in the 
acknowledger-slot. When I use ly:stem::calc-direction the calculated 
direction is not always the visible one, when autobeaming is in effect. 
A manual beam crashes lily.


So my question is: How can I retrieve the actual/current stem direction?

TIA
Jan-Peter

% snip %
\version "2.19.62"

#(define-public (stem-direction-engraver context)
   (make-engraver
(acknowledgers
 ; store stem direction
 ((stem-interface engraver grob source-engraver)
  ; this function crashes, if a beam starts
  (ly:message "stem info ~A" (ly:stem::calc-direction grob))
  )
 )
))

\layout {
  \context {
\Voice
\consists #stem-direction-engraver
  }
}

\score {
  % the directions are not completely
  \relative { c''8 b bes a g f e d }
}

\score {
  % the function crashes with the beam-event
  \relative { c''8 b[ bes] a g f e d }
}

% /snip %




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


Re: lilypond export

2017-06-14 Thread Kieren MacMillan
Hi Jan-Peter,

> I have been working on an export module for lilypond. […]
> you have a command and a context-mod in place to export music with or without 
> typesetting it


This is very exciting! Thanks for the great work.

> I appreciate any feedback and maybe someone likes to collaborate?

I will test and give feedback. If there's a way I can contribute beyond that, I 
will do my best!

Cheers,
Kieren.


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


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


lilypond export

2017-06-14 Thread Jan-Peter Voigt

Hi list-members,

I have been working on an export module for lilypond. The last month 
there was no time to work on it. So I send you this link despite its 
pre-alpha state, because otherwise the project might fall asleep ;-)


https://github.com/jpvoigt/lilypond-export

It is designed as an openlilylib-plugin so you should clone it next to 
oll-core (if you want to try it) It comes with one example file that 
shows the core commands.


Now, if you import lilypond-export/package.ily you have a command and a 
context-mod in place to export music with or without typesetting it:


music = { ... }
\exportMusic \default xml \music

will export a MusicXML-file .xml in many cases. Well, it is in 
pre-alpha stage, but for example if you have a simple choir piece, it 
should produce a MusicXML-file that can be read by MuseScore.
The other exporter produces Humdrum, that can for example be tested at 
http://verovio.humdrum.org/


The exporter uses some engravers to collect all note-events and store 
them in a tree-structure. The exporter-modules then traverse the tree 
and writes the corresponding strings to the output file. Right now ties 
and slurs are not collected, but lyrics are exported to XML. Beams are 
watched and exported.


This is one first sketch how it should work. There is a lot to do to add 
basics, like ties and slurs, and to make it a stable export module that 
is able to handle complex scores. But I appreciate any feedback and 
maybe someone likes to collaborate?


Best
Jan-Peter

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


connecting lines (spanners?) between arbitrary grobs/locations

2017-06-14 Thread Kieren MacMillan
Hello all,

Inspired by a thread on the -user list, and my own recent struggles with the 
issue, I'm wondering about the technical possibilities of connecting arbitrary 
grobs on a system or page.

I've attached a screenshot of a Schenker graph (one of 22 I was hired to code 
for a music theory journal) in which I needed to have arrows connecting two 
notes (or at least pointing from one towards the other). One example was within 
a single staff, another was between two staves. In order to do this quickly, I 
resorted to trial-and-error markups — but I would have loved a mechanism by 
which I could identify the two "end-grobs", and then have the 
line/arrow/bracket/whatever drawn automagically.

I know we have spanner-id to connect multiple/nested spanners (e.g., slurs) in 
a single context.
Can the same concept be used between contexts?

Thanks for any insights!
Kieren.




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


Re: [Issue #3947] fixing \huge et al.

2017-06-14 Thread Kieren MacMillan
Hello,

Just checking on this, since a week has passed since I asked…
Should I start moving towards a submittable patch?

Thanks,
Kieren.

> Hi David,
> 
>> Maybe check the effects that super- and subscripts cause on a block of text?
> 
> 
> Good thought. Doesn't seem to have a negative effect.
> 
> Other thoughts?
> Or should I start moving towards a submittable patch?



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


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


PATCHES - Countdown for June 14th

2017-06-14 Thread James
Hello,

Here is the current patch countdown list. The next countdown will be on
June 17th.

A quick synopsis of all patches currently in the review process can be
found here:

http://philholmes.net/lilypond/allura/



Push:


5141 Fix typos in \offset documentation - David Nalesnik
https://sourceforge.net/p/testlilyissues/issues/5141
http://codereview.appspot.com/322040043


1388 Support OpenType font features - Jay Anderson
https://sourceforge.net/p/testlilyissues/issues/1388
http://codereview.appspot.com/323850043



Countdown:



5146 Don't use \line in the implementation of \concat - David Kastrup
https://sourceforge.net/p/testlilyissues/issues/5146
http://codereview.appspot.com/325860043


5145 Allow $... to specify a markup command - David Kastrup
https://sourceforge.net/p/testlilyissues/issues/5145
http://codereview.appspot.com/322090043


5144 lilypond-manuals.css: edit color scheme and some spacing - Paul
Morris https://sourceforge.net/p/testlilyissues/issues/5144
http://codereview.appspot.com/322070043



Review: No patches in Review at this time.



New:


5147 Add whether to use OTF feature depending on Pango version -
Masamichi Hosoda https://sourceforge.net/p/testlilyissues/issues/5147
http://codereview.appspot.com/323850043


1228 merge simultaneous rests of the same duration - Jay Anderson
https://sourceforge.net/p/testlilyissues/issues/1228
http://codereview.appspot.com/4005046/


Regards

James

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


Re: connecting lines (spanners?) between arbitrary grobs/locations

2017-06-14 Thread Simon Albrecht

On 14.06.2017 19:51, Kieren MacMillan wrote:

I've attached a screenshot of a Schenker graph


That seems to have gone amiss…

Best, Simon

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


Re: connecting lines (spanners?) between arbitrary grobs/locations

2017-06-14 Thread Simon Albrecht

On 14.06.2017 22:44, Kieren MacMillan wrote:

Hi Simon,

On 14.06.2017 19:51, Kieren MacMillan wrote:

I've attached a screenshot of a Schenker graph

That seems to have gone amiss…

That's the second time I've posted a screenshot, and the second time it didn't 
make it to the list.
Is there something I need to do to get images to post?


Crop/reduce/compress/post a link to external online storage… ? I’d 
assume it’s only a file size issue.

Best, Simon

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


Re: connecting lines (spanners?) between arbitrary grobs/locations

2017-06-14 Thread Kieren MacMillan
> Here's a 71KB version.

… or not.  :\

Kieren.


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


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


Re: connecting lines (spanners?) between arbitrary grobs/locations

2017-06-14 Thread Simon Albrecht

On 14.06.2017 22:53, Kieren MacMillan wrote:

Here's a 71KB version.


I can see it displayed below the footer in Thunderbird, though not as an 
ordinary attachment and it’s not a Schenker graph, but 7 staves of 
ordinary notation plus some annotations…

Best, Simon

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


Re: connecting lines (spanners?) between arbitrary grobs/locations

2017-06-14 Thread Kieren MacMillan
Hi Simon,

> I can see it displayed below the footer in Thunderbird, though not as an 
> ordinary attachment

Hmmm… curious.

> and it’s not a Schenker graph, but 7 staves of ordinary notation plus some 
> annotations…

No, it's absolutely a Schenker graph: it's an analysis of [parts of] a Corelli 
sonata.

Cheers,
Kieren.


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


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


Re: connecting lines (spanners?) between arbitrary grobs/locations

2017-06-14 Thread Kieren MacMillan
Hi Simon,

> On 14.06.2017 19:51, Kieren MacMillan wrote:
>> I've attached a screenshot of a Schenker graph
> 
> That seems to have gone amiss…

That's the second time I've posted a screenshot, and the second time it didn't 
make it to the list.
Is there something I need to do to get images to post?

Thanks,
Kieren.


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


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


Re: connecting lines (spanners?) between arbitrary grobs/locations

2017-06-14 Thread Kieren MacMillan
Hi Simon,

> I’d assume it’s only a file size issue.

Here's a 71KB version.

Cheers,
Kieren.


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

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


Re: lilypond-manuals.css: edit color scheme and some spacing

2017-06-14 Thread Flaming Hakama by Elaine
> -- Forwarded message --
> From: Paul 
> To: lilypond-devel@gnu.org
> Date: Mon, 12 Jun 2017 15:33:59 -0400
> Subject: Re: lilypond-manuals.css: edit color scheme and some spacing
> On 06/12/2017 03:02 PM, Flaming Hakama by Elaine wrote:
>
> CSS is happy with both properties set:
>> width as a percentage and min-width as an absolute value.
>>
>> There is no conflict and they should work together well.
>>
>
> Hi, yes, thanks, but... I glossed over the details.  If you look at the
> css file you'll find that the main content div is positioned so that its
> "left" property is a percentage that corresponds with the sidebar's "right"
> property.  There is actually no "width" property in use and I don't think
> there is a maximum left/right css property to use, thus... what I wrote in
> my previous email.
>
> -Paul
>
>


Oops, correct, I didn't look and didn't expect such a fragile way of
positioning two-column content.

Leaving the layout approach as-is, you can mimic this by using left:
calc(Xpx + Y%), where X is the minimum and Y is somewhat less than it was
previously.



David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel