Re: guitar position indication

2013-12-23 Thread bart deruyter
hi, I've tried the solution from Simon, works very well, with one minor point. In frescobaldi, when rendering with the option to have controlepoints enabled, I get errors and rendering stops. rendering without control points works fine. according to the lilypond output the error occurs in:

Re: guitar position indication

2013-12-23 Thread David Nalesnik
Hi Bart, On Mon, Dec 23, 2013 at 4:43 AM, bart deruyter bart.deruy...@gmail.comwrote: hi, I've tried the solution from Simon, works very well, with one minor point. In frescobaldi, when rendering with the option to have controlepoints enabled, I get errors and rendering stops. rendering

Re: guitar position indication

2013-12-23 Thread Federico Bruni
2013/12/23 bart deruyter bart.deruy...@gmail.com according to the lilypond output the error occurs in: /usr/local/lib/python2.7/dist-packages/frescobaldi_app/preview_mode/display-control-points.ily:108:37http://1: Wrong type to apply: (#procedure normal-text-markup (layout props arg)

Re: guitar position indication

2013-12-23 Thread bart deruyter
Federico, thanks for the info. I just tried it, compiled the file but I get the same error. grtz, Bart http://www.bartart3d.be/ On facebook https://www.facebook.com/pages/BartArt3D/169488999795102 On Twitter https://twitter.com/#%21/Bart_Issimo On Identi.ca http://identi.ca/bartart3d On

Re: guitar position indication

2013-12-23 Thread Federico Bruni
2013/12/23 bart deruyter bart.deruy...@gmail.com Federico, thanks for the info. I just tried it, compiled the file but I get the same error. can you compile the lilypond file normally, without any layout control option? anyway, you'd better write to the frescobaldi mailing list (unless Urs

Re: guitar position indication

2013-12-23 Thread Urs Liska
Am 23.12.2013 15:18, schrieb Federico Bruni: 2013/12/23 bart deruyter bart.deruy...@gmail.com Federico, thanks for the info. I just tried it, compiled the file but I get the same error. can you compile the lilypond file normally, without any layout control option? anyway, you'd better

Re: guitar position indication

2013-12-23 Thread bart deruyter
Urs, no problem, I have what I've got in attachment here, and the second file added is a file as reusable library of stuff, including things I've learned in this conversation. The cause of the error could be in there too. I've now tried to render the sample code of Simon with control points, and

Re: guitar position indication

2013-12-23 Thread Thomas Morley
Hi Bart, 2013/12/23 bart deruyter bart.deruy...@gmail.com: Urs, no problem, I have what I've got in attachment here, and the second file added is a file as reusable library of stuff, including things I've learned in this conversation. The cause of the error could be in there too. it is.

Re: guitar position indication

2013-12-23 Thread bart deruyter
Hey, thanks :-), it did the trick indeed, I renamed to firstpos, secondpos, etc... with all those libraries, creating namingconventions becomes critical, certainly when the editor adds more functionality. I didn't even know frescobaldi adds this functionality with built-in lilypond code. I'm

Re: guitar position indication

2013-12-23 Thread Urs Liska
bart deruyter bart.deruy...@gmail.com schrieb: Hey, thanks :-), it did the trick indeed, I renamed to firstpos, secondpos, etc... with all those libraries, creating namingconventions becomes critical, certainly when the editor adds more functionality. I didn't even know frescobaldi adds this

Re: guitar position indication

2013-12-18 Thread David Kastrup
bart deruyter bart.deruy...@gmail.com writes: Hi all, I'm working on a piece for guitar here where in some parts I want to show the position it is played in (e.g. IV, forth position) . I know I have to use textspanners for this, but this is intended for 'spanning over a melody'. What

Re: guitar position indication

2013-12-18 Thread Simon Bailey
On Wed, Dec 18, 2013 at 3:59 PM, David Kastrup d...@gnu.org wrote: bart deruyter bart.deruy...@gmail.com writes: ...SNIPPETY SNIP... consistent way of indicating a position, without having to rely on spanners? What's wrong with spanners? You know about \endSpanners ? THAT is a cool

Re: guitar position indication

2013-12-18 Thread bart deruyter
Thanks for the tips, Simon's solution seems to be the best. Thank you very much :-D . @David Kastrup: I didn't know \endSpanners. It's an interesting solution, but it adds a spanner line up to the next note in my case. At least here it does with lilypond 2.17.97. I read in the manual it should

Re: guitar position indication

2013-12-18 Thread Simon Bailey
On Wed, Dec 18, 2013 at 5:12 PM, bart deruyter bart.deruy...@gmail.comwrote: Thanks for the tips, Simon's solution seems to be the best. Thank you very much :-D . you're welcome. i'll be needing this function in the next month or so, so it didn't hurt that you asked... :D @David Kastrup:

Re: guitar position indication

2013-12-18 Thread David Kastrup
bart deruyter bart.deruy...@gmail.com writes: Thanks for the tips, Simon's solution seems to be the best. Thank you very much :-D . @David Kastrup: I didn't know \endSpanners. It's an interesting solution, but it adds a spanner line up to the next note in my case. At least here it does with

Re: guitar position indication

2013-12-18 Thread Alex Loomis
You could define a function that formats its argument the way you want it to look. On Dec 18, 2013, at 9:21 AM, bart deruyter bart.deruy...@gmail.com wrote: Hi all, I'm working on a piece for guitar here where in some parts I want to show the position it is played in (e.g. IV, forth

Re: guitar position indication

2013-12-18 Thread marti...@gmail.com
Hello I prefer this : %%caseSpanner #case note\startTextSpan note note\stopTextSpan %%CUTE===CUTE caseSpanner = #(define-music-function (parser location str)(string?) #{ \once \override TextSpanner.style = #'line %or dashed-line \once \override