Re: Strings as variable names

2016-01-03 Thread Johan Vromans
On Sun, 3 Jan 2016 21:36:30 +0100 Simon Albrecht wrote: > > No, for the simple reasons that a) noone mentioned on the list there was > > a tracker item and b) even though I know now, I have been unable to > > find it. > > > > May I kindly request mentioning the URL to the list? > >

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread David Wright
On Sun 03 Jan 2016 at 15:33:39 (-0800), Ryan Michael wrote: > Thank you for the reminder, so he is a complete, however abridged version of > my > code:  > > viola = \new Voice \relative c' { > c1 c1 c1 > } > > recorder = \new Voice \relative c' { > c1 c1 c1 > } > > verseOne = \lyricmode { >   m

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread David Wright
On Mon 04 Jan 2016 at 00:26:44 (+0100), Simon Albrecht wrote: [...] > That said: The following code works for me. > > %% > \version "2.18.2" > global = { s1 } > recorder = { c''1 } > verseOne = \lyricmode { test } > \score { > \new StaffGroup << > > \new Staff << > \new Voice

Re: Strings as variable names

2016-01-03 Thread David Wright
On Sun 03 Jan 2016 at 16:22:29 (+0100), David Kastrup wrote: > David Wright writes: > > > On Mon 28 Dec 2015 at 20:27:22 (+0100), David Kastrup wrote: > >> > >> The strings in Python's regular expression replacements can interpolate > >> variable values, but those are not part of the string synt

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread Ryan Michael
Thank you for the reminder, so he is a complete, however abridged version of my code: viola = \new Voice \relative c' { c1 c1 c1 } recorder = \new Voice \relative c' { c1 c1 c1 } verseOne = \lyricmode { m -- -- -- } \score { \new StaffGroup << \new Staff << \new Voice \global \new

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread Simon Albrecht
Hello Ryan, please always reply on-list. Others may find the solution helpful as well. Also, please send complete compilable examples (with a version statement), else it’s difficult to figure out the problem. That said: The following code works for me. %% \version "2.18.2" global = { s

Re: adding a markup ("sim.") to the end of a SustainPedalBracket

2016-01-03 Thread Paul Morris
> On Dec 27, 2015, at 7:25 PM, David Kastrup wrote: > >> (2) >> The doc-string for `stencil-whiteout' implies that @var{thickness} is >> optional. As far as I understand it's not. You’re right that the doc-string is misleading. @var{thickness} is required as an argument but if its value is not

Re: Strings as variable names

2016-01-03 Thread Simon Albrecht
On 03.01.2016 21:34, Johan Vromans wrote: On Sun, 03 Jan 2016 21:16:27 +0100 David Kastrup wrote: Johan Vromans writes: Is this going to be taken seriously or can I spare the efforts? There is a tracker issue for it and some discussion. [..] Have you followed the discussion in the tracker?

Re: Strings as variable names

2016-01-03 Thread Johan Vromans
On Sun, 03 Jan 2016 21:16:27 +0100 David Kastrup wrote: > Johan Vromans writes: > > Is this going to be taken seriously or can I spare the efforts? > There is a tracker issue for it and some discussion. [..] Have you > followed the discussion in the tracker? No, for the simple reasons that a

Re: Strings as variable names

2016-01-03 Thread David Kastrup
Johan Vromans writes: > On Mon, 28 Dec 2015 20:28:58 +0100 > Johan Vromans wrote: > >> NR refers to >> http://www.lilypond.org/doc/v2.19/Documentation/learning/organizing-pieces-with-variables >> which does not mention the quoted syntax, and explicitly disallows dashes >> and underscores. >> >>

Re: turn off tab double half note stems

2016-01-03 Thread Marc Hohl
Am 03.01.2016 um 21:05 schrieb Paul Morris: On Dec 29, 2015, at 11:02 AM, Steve Fullerton mailto:sf...@verizon.net>> wrote: In tab, lilypond draws a double stem for half notes. This is done intentionally to distinguish half notes from quarter notes. I’m curious about these double stems. Does

Re: Strings as variable names

2016-01-03 Thread Johan Vromans
On Mon, 28 Dec 2015 20:28:58 +0100 Johan Vromans wrote: > NR refers to > http://www.lilypond.org/doc/v2.19/Documentation/learning/organizing-pieces-with-variables > which does not mention the quoted syntax, and explicitly disallows dashes > and underscores. > > === Suggested replacement text ===

Re: turn off tab double half note stems

2016-01-03 Thread Paul Morris
> On Dec 29, 2015, at 11:02 AM, Steve Fullerton wrote: > > In tab, lilypond draws a double stem for half notes. This is done > intentionally to distinguish half notes from quarter notes. I’m curious about these double stems. Does anyone know if they are a common/standard way to indicate half

Re: guileV2 and Lilypond (was: Strings as variable names)

2016-01-03 Thread Paul Morris
> On Jan 3, 2016, at 11:14 AM, Menu Jacques wrote: > > A newbie question: what are the expected benefits and challenges of moving > from guile 1.8.x to guile 2.y? As I understand it, guile 2.0 introduced significant performance improvements, mainly for compiled scheme, but since LilyPond inter

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread Simon Albrecht
On 03.01.2016 20:40, Ryan Michael wrote: I have the following lilypond code: \score { \new StaffGroup << \new Staff << \global \recorder >> \new Lyrics \lyricsto "recorder" { \verseOne } \new Staff << \global \viola >> >> \layout { } \midi { } } \lyricsto "recor

trying to attach lyrics to global variable in /score

2016-01-03 Thread Ryan Michael
I have the following lilypond code: \score { \new StaffGroup << \new Staff << \global \recorder >> \new Lyrics \lyricsto "recorder" { \verseOne } \new Staff << \global \viola >> >> \layout { } \midi { } } However I get the error: *cannot find Voice `recorder'* "

Re: guileV2 and Lilypond

2016-01-03 Thread David Kastrup
Menu Jacques writes: > Hello folks, > > A happy new year 2016 to everybody! > > A newbie question: what are the expected benefits and challenges of > moving from guile 1.8.x to guile 2.y? The same as last time the topic came up. -- David Kastrup ___

Re: Notation snippets

2016-01-03 Thread Marc Hohl
Am 03.01.2016 um 17:05 schrieb Jayaratna: Ouch, I thought you could import glyphs from svg: my knowledge of Metafont is = 0 I did not follow this thread closely, but if you want to add glyphs that are similar to those that already exist, then working with Metafont should not be all that hard IM

guileV2 and Lilypond (was: Strings as variable names)

2016-01-03 Thread Menu Jacques
Hello folks, A happy new year 2016 to everybody! A newbie question: what are the expected benefits and challenges of moving from guile 1.8.x to guile 2.y? JM ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo

Re: Notation snippets

2016-01-03 Thread Jayaratna
Ouch, I thought you could import glyphs from svg: my knowledge of Metafont is = 0 -- View this message in context: http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185496.html Sent from the User mailing list archive at Nabble.com. __

Re: Strings as variable names

2016-01-03 Thread Paul Morris
> On Jan 3, 2016, at 10:06 AM, David Wright wrote: > > Recognising the lack of this construct, python is currently adding string > interpolation to the language. Looks like a trend as Javascript also got it in the ECMAscript 2015 specification: https://developer.mozilla.org/en-US/docs/Web/Jav

Re: Strings as variable names

2016-01-03 Thread David Kastrup
David Wright writes: > On Mon 28 Dec 2015 at 20:27:22 (+0100), David Kastrup wrote: >> >> The strings in Python's regular expression replacements can interpolate >> variable values, but those are not part of the string syntax but of the >> regexp replacement semantics. > > Recognising the lack o

Re: Notation snippets

2016-01-03 Thread Thomas Morley
2015-12-29 19:32 GMT+01:00 Jayaratna : > > It's only 24 glyphs, not too much work. > I can export them in svg format, but I'd need two to know on what original > the petrucci noteheads have been drawn after. I've never made a font, I > guess the glyphs are to be precisely placed on their font slots

Re: Notation snippets

2016-01-03 Thread Thomas Morley
2015-12-27 22:53 GMT+01:00 Thomas Morley : > 2015-12-27 21:10 GMT+01:00 Thomas Morley : >> 2015-12-27 19:19 GMT+01:00 Jayaratna : >>> Hello, Harm, >>> >>> all notehad styles are supported, but petrucci, semipetrucci and >>> blackpetrucci styles do not give the proper flag: maybe I should post this

Re: Strings as variable names

2016-01-03 Thread David Wright
On Mon 28 Dec 2015 at 20:27:22 (+0100), David Kastrup wrote: > Johan Vromans writes: > > > On Mon, 28 Dec 2015 19:01:47 +0100 > > Urs Liska wrote: > > > >> > part = cello > >> > > >> > \score { > >> > \"bella_melodia_\part" > >> > } > >> > >> I think something like this should be achievable

Re: A twelve tone matrix engraver

2016-01-03 Thread David Kastrup
Caio Giovaneti de Barros writes: > On 02-01-2016 16:18, David Kastrup wrote: >> It might also be worth taking a look at the facilities provided by >> issue 4702 >> http://sourceforge.net/p/testlilyissues/issues/4702/> to see >> how (or whether) they would have helped here. > Do you think you cou

Re: A twelve tone matrix engraver

2016-01-03 Thread Caio Giovaneti de Barros
Hi Kieren On 02-01-2016 16:22, Kieren MacMillan wrote: 1. How difficult would it be to add a function which produced a row in “traditional format”, i.e., \tonerow #”RI4” would give you [from your example] { a’ gs’ c’’ d’’ ds’’ fs’ f’ e’ cs’’ g’ b’ as' } Not difficult at all! Try the attached f

Re: A twelve tone matrix engraver

2016-01-03 Thread Caio Giovaneti de Barros
On 02-01-2016 16:18, David Kastrup wrote: It might also be worth taking a look at the facilities provided by issue 4702 http://sourceforge.net/p/testlilyissues/issues/4702/> to see how (or whether) they would have helped here. Do you think you could write some small example of what those func

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-03 Thread Thomas Morley
2016-01-03 0:16 GMT+01:00 David Kastrup : > Thomas Morley writes: > >> If you do it 'before-line-breaking it works, yes, but can't be changed >> 'after-line-breaking anymore ... >> >> No idea what's happening and why. > > Caching? I don't see you using unpure-pure containers. Anything else > is

Re: changePitch and ties

2016-01-03 Thread Gilles THIBAULT
> I'll try to include it in a next release of changePitch.ly Done. http://gillesth.free.fr/Lilypond/changePitch/ Note that, you can deactivate the new automatic tie grouping, for pieces done with previous version of changePitch.ly. Please, see the (also new) doc, changePitch-doc.pdf (end of cha

Re: A twelve tone matrix engraver

2016-01-03 Thread Caio Giovaneti de Barros
Hello! On 02-01-2016 15:52, Urs Liska wrote: Hi, unfortunately I have only *very* limited time right now, but this looks absolutely great! Thanks! Just one minor suggestion: I'd insert \accidentalStyle dodecaphonic in the \layout block. That's a good idea. The less ambiguity the bet