Trouble Selecting Correct Font-series

2015-08-25 Thread Ben Strecker
I'm using Lilypond version 2.19.25 on a mac running Yosemite, and I'm trying to use the font family Iowan Old Style. In addition to the regular styles (roman, bold, italic, bolditalic, etc.) this family comes with Black and BlackItalic styles. in my small example below, the markup gets

Re: vertical spacing of rests

2015-08-25 Thread Michael Gerdau
Why would you want to use odd values here? I was just playing with values. If only even numbers are supposed to be used since they are the only sensible choices, then why not have all values doubled internally anyway ? W/o a documentation I can't judge whether that's intended, but it is at

Re: OT: Beauty of programming languages

2015-08-25 Thread Werner LEMBERG
In a review on languages in the Communications of the ACM a long time ago, each language was described by a caption and a short paragraph. Sample captions: APL : I can read hieroglyphs too. Prolog : If Prolog is the answer, then what was the question? LOL! Can you give a

Re-use \chordmode for strumming patterns

2015-08-25 Thread Joel Ebel
Hi. I'm curious if there's a way to re-use a variable containing chords entered in \chordmode to create strumming patterns with Pitch_squash_engraver and \improvisationOn. I like only having to enter the chords once, so if I change something, I only need to do it in one place, and I also would

Re: vertical spacing of rests

2015-08-25 Thread Trevor Daniels
Michael Gerdau wrote Tuesday, August 25, 2015 3:27 PM \override Rest.voiced-position = 0 Yes, first available in 2.19.15, courtesy of Keith O'Hara. Yet to be documented in the NR, I believe. I have used Peter's example code and tried various parameter to voiced-position (see

Re: Re-use \chordmode for strumming patterns

2015-08-25 Thread David Kastrup
Joel Ebel jbe...@mybox.org writes: Hi. I'm curious if there's a way to re-use a variable containing chords entered in \chordmode to create strumming patterns with Pitch_squash_engraver and \improvisationOn. I like only having to enter the chords once, so if I change something, I only need to

Re: Equal spacing of notes in a bar

2015-08-25 Thread William Marchant
Very many thanks, Simon Bill On 15-08-25 08:18 AM, Simon Albrecht wrote: Am 25.08.2015 um 02:51 schrieb William Marchant: Thanks to Simon and Abraham. I found the quoted reference on my own, but I need something which can be applied to several single bars throughout the music. It is the

Re: vertical spacing of rests

2015-08-25 Thread Phil Holmes
- Original Message - From: Michael Gerdau m...@qata.de To: lilypond-user@gnu.org Sent: Tuesday, August 25, 2015 3:27 PM Subject: Re: vertical spacing of rests \override Rest.voiced-position = 0 Yes, first available in 2.19.15, courtesy of Keith O'Hara. Yet to be documented in the

Re: vertical spacing of rests

2015-08-25 Thread David Kastrup
Michael Gerdau m...@qata.de writes: \override Rest.voiced-position = 0 Yes, first available in 2.19.15, courtesy of Keith O'Hara. Yet to be documented in the NR, I believe. I have used Peter's example code and tried various parameter to voiced-position (see attached). It is my impression

Re: Equal spacing of notes in a bar

2015-08-25 Thread William Marchant
Thanks David. That looks like a solution for me. Bill On 15-08-24 10:13 PM, David Nalesnik wrote: On Mon, Aug 24, 2015 at 7:51 PM, William Marchant wmarch...@eastlink.ca mailto:wmarch...@eastlink.ca wrote: Thanks to Simon and Abraham. I found the quoted reference on my own, but I

Repeats in \parallelMusic

2015-08-25 Thread David Sumbler
Is there a way of using \repeat volta 2 and similar when using the \parallelMusic command? The following does not work: \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''1 | \repeat volta 2 { f'1 | %bar 2 c''1 } | e'1 } | } \score { \new Staff

Re: Re-use \chordmode for strumming patterns

2015-08-25 Thread Joel Ebel
chordRoot = #(define-music-function (m) (ly:music?) (event-chord-reduce m)) That works perfectly! I don't like the name. Once we come up with a nice bike shed color, we probably should provide that function in LilyPond proper and document it along with Pitch_squash_engraver. I agree that

Re: vertical spacing of rests

2015-08-25 Thread Trevor Daniels
Peter Selinger wrote Tuesday, August 25, 2015 2:28 PM I think using \override Rest.voiced-position = 0 in the voice in which you have rests might do the trick for you. Trevor This shows that I should read my emails in the correct order. Thanks for the tip about voiced-position.

Re: Repeats in \parallelMusic

2015-08-25 Thread David Kastrup
David Sumbler da...@aeolia.co.uk writes: Is there a way of using \repeat volta 2 and similar when using the \parallelMusic command? The following does not work: \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''1 | \repeat volta 2 { f'1 | %bar 2

Re: OT: Beauty of programming languages (was: Way to flatten nested \include's?)

2015-08-25 Thread Jacques Menu
Hello Michæl, In the APL course I took years ago, the teacher said: « Exercice for the next two weeks : find out what this sample program (25 symbols altogether) does. A guy says two weeks later: « It does this and that… but it took me two and a half hours to find out! » And teacher answers: «

Re: Make a new staff occupy the same vertical space as a previous staff

2015-08-25 Thread Joel Ebel
On Tue, Aug 25, 2015 at 9:53 PM, David Kastrup d...@gnu.org wrote: The following appears to work here. Of course it begs the question whether we should provide a context definition like that, possibly with a better name, in LilyPond by default. Excellent! That does work, which is good because

Re: Way to flatten nested \include's?

2015-08-25 Thread Johan Vromans
On Tue, 25 Aug 2015 09:23:12 +1000 Andrew Bernard andrew.bern...@gmail.com wrote: Unless you enjoy writing Scheme as much as I do! I programmed quite a lot in lisp and APL, but never quite liked it. From a practical point of view: every linux system comes with Perl and Python. If you're lucky

Re: Way to flatten nested \include's?

2015-08-25 Thread Andrew Bernard
That was the general idea. I posted some instructions about how to add the utility to a lilypond installation for people but in a new thread. It was actually one of the main reasons I did it in Scheme - there would be a guaranteed known execution environment installed if the user is using

Re: Errors when using TabStaff with stringTunings

2015-08-25 Thread David Kastrup
Blöchl Bernhard b_120902342...@telecolumbus.net writes: I sent that post on Monday August 24th at about 17:00 UTC. It never appeared on the list for reasons I do not know. For another trial I send that mail again. I cannot tell you the reason #'( -5 -10 -15 -20) does not work. But I

Re: Errors when using TabStaff with stringTunings

2015-08-25 Thread David Kastrup
Blöchl Bernhard b_120902342...@telecolumbus.net writes: with That even works with \version 2.12.3. I just reference to the original code under question. It obviously used lilypond \version 2.12.3 But it's a bad idea to tack on a version header referring to a version with which the file

Re: Errors when using TabStaff with stringTunings

2015-08-25 Thread Blöchl Bernhard
with That even works with \version 2.12.3. I just reference to the original code under question. It obviously used lilypond \version 2.12.3 Regards Am 25.08.2015 09:13, schrieb David Kastrup: Blöchl Bernhard b_120902342...@telecolumbus.net writes: I sent that post on Monday August 24th at

Re: OT: Beauty of programming languages

2015-08-25 Thread Johan Vromans
On Tue, 25 Aug 2015 15:29:56 +1000 Andrew Bernard andrew.bern...@gmail.com wrote: quicksort=: (($:@(#[), (=#[), $:@(#[)) ({~ ?@#)) ^: (1#) It's hard to believe that people only complained about Perl being line noise... -- Johan ___ lilypond-user

Re: Way to flatten nested \include's?

2015-08-25 Thread David Kastrup
Johan Vromans jvrom...@squirrel.nl writes: On Tue, 25 Aug 2015 09:23:12 +1000 Andrew Bernard andrew.bern...@gmail.com wrote: Unless you enjoy writing Scheme as much as I do! I programmed quite a lot in lisp and APL, but never quite liked it. From a practical point of view: every linux

Re: Way to flatten nested \include's?

2015-08-25 Thread David Kastrup
Andrew Bernard andrew.bern...@gmail.com writes: lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of d...@gnu.org wrote: If all else fails, the lilypond binary itself can serve as a GUILE interpreter. That was the general idea. I posted some instructions about how to add the

Re: Errors when using TabStaff with stringTunings

2015-08-25 Thread Blöchl Bernhard
I sent that post on Monday August 24th at about 17:00 UTC. It never appeared on the list for reasons I do not know. For another trial I send that mail again. I cannot tell you the reason #'( -5 -10 -15 -20) does not work. But I can tell you how I do it:

Re: Way to flatten nested \include's?

2015-08-25 Thread Andrew Bernard
I am not sure I understand. Is having a symlink: flatten-ly - /home/username/bin/lilypond-wrapper.guile not correct? The convert-ly utility is set up as: convert-ly - /home/username/bin/lilypond-wrapper.python Andrew On 25/08/2015 18:11, David Kastrup d...@gnu.org wrote: It's not just

Re: Way to flatten nested \include's?

2015-08-25 Thread Marc Hohl
Am 25.08.2015 um 10:11 schrieb David Kastrup: Andrew Bernard andrew.bern...@gmail.com writes: lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of d...@gnu.org wrote: If all else fails, the lilypond binary itself can serve as a GUILE interpreter. That was the general idea.

Re: Way to flatten nested \include's?

2015-08-25 Thread Marc Hohl
Am 25.08.2015 um 11:12 schrieb Andrew Bernard: I am not sure I understand. Is having a symlink: flatten-ly - /home/username/bin/lilypond-wrapper.guile not correct? The convert-ly utility is set up as: convert-ly - /home/username/bin/lilypond-wrapper.python I think that David meant

Re: vertical spacing of rests

2015-08-25 Thread 70147persson
Den 2015-08-23 00:01, skrev Peter Selinger: Hello again, this is a true newbie question. I am trying to engrave two polyphonic voices on a single staff. Since the two voices have all their rests in common, I only want to typeset each rest once, so I use spacer rests in the second voice. Still

Re: Way to flatten nested \include's?

2015-08-25 Thread David Kastrup
Andrew Bernard andrew.bern...@gmail.com writes: On 25/08/2015 18:11, David Kastrup d...@gnu.org wrote: It's not just that. It's also that the lilypond executable is pretty sure to know the search paths of LilyPond. You cannot really get them reliably without calling LilyPond, and if you

lyric-text::interpolate-alignment

2015-08-25 Thread Simon Albrecht
Hello, with my current project I wanted to avoid making too many manual adjustments on LyricText.self-alignment-X, and so I made an essay at having this done automatically depending on the width of the syllable. It’s not a very sophisticated approach – a really intelligent solution is still

Make a new staff occupy the same vertical space as a previous staff

2015-08-25 Thread Joel Ebel
I'm sure this is documented somewhere and I just can't seem to find it. How do I get a new staff to immediately follow a previous staff in the same vertical space. In this simple example, I'd like the TabStaff to end, and the RhythmicStaff to immediately follow in the same vertical space, rather

Re: lyric-text::interpolate-alignment

2015-08-25 Thread Simon Albrecht
Am 26.08.2015 um 00:04 schrieb Simon Albrecht: Hello, with my current project I wanted to avoid making too many manual adjustments on LyricText.self-alignment-X, and so I made an essay at having this done automatically depending on the width of the syllable. It’s not a very sophisticated

Re: vertical spacing of rests

2015-08-25 Thread Peter Selinger
Phil Holmes wrote: - Original Message - From: Michael Gerdau m...@qata.de To: lilypond-user@gnu.org Sent: Tuesday, August 25, 2015 3:27 PM Subject: Re: vertical spacing of rests \override Rest.voiced-position = 0 Yes, first available in 2.19.15, courtesy of Keith O'Hara.

Re: Equal spacing of notes in a bar

2015-08-25 Thread Simon Albrecht
Am 25.08.2015 um 02:51 schrieb William Marchant: Thanks to Simon and Abraham. I found the quoted reference on my own, but I need something which can be applied to several single bars throughout the music. It is the lyrics which are distorting just a few bars. I had hoped there would be a

Re: Putting flatten-ly into your lilypond installation

2015-08-25 Thread Martin Tarenskeen
On Tue, 25 Aug 2015, Andrew Bernard wrote: If you want to put flatten-ly into your lilypond installation, copy it to the lilypond installation bin directory, and make a symbolic link to the lilypond guile wrapper in your bin directory where the other lilypond tools are. For example: $ cp

Re: Errors when using TabStaff with stringTunings

2015-08-25 Thread Blöchl Bernhard
That cannot work as you overwrite your setting \set Staff.stringTunings = \stringTuning e,, a,, d, g, with \set Staff.stringTunings = #bass-tuning #bass-tuning is preset in the list in lilypond you got shortly with another mail. Correct use is \new TabStaff { \set Staff.stringTunings =

Re: lyric-text::interpolate-alignment

2015-08-25 Thread David Nalesnik
Simon, On Tue, Aug 25, 2015 at 5:40 PM, Simon Albrecht simon.albre...@mail.de wrote: Am 26.08.2015 um 00:04 schrieb Simon Albrecht: Hello, with my current project I wanted to avoid making too many manual adjustments on LyricText.self-alignment-X, and so I made an essay at having this done

Re: vertical spacing of rests

2015-08-25 Thread Peter Selinger
70147pers...@telia.com wrote: Hello, There might be another aspect of positioning (common) rests from different voices. This is beside all the technical solutions presented earlier in this thread. All these work more or less fine for half rests as well as full rests. But when it comes to

Re: vertical spacing of rests

2015-08-25 Thread Peter Selinger
Trevor Daniels wrote: selin...@mathstat.dal.ca (Peter Selinger) writes: this is a true newbie question. I am trying to engrave two polyphonic voices on a single staff. Since the two voices have all their rests in common, I only want to typeset each rest once, so I use spacer rests in

Re: Make a new staff occupy the same vertical space as a previous staff

2015-08-25 Thread Joel Ebel
The closest I've been able to get so far is to instantiate the TabStaff and the RhythmicStaff inside the ChordNames in parallel with the chords I want to make. I still don't get the TabStaff and the RhythmicStaff on the same line, but if I insert a \break (commented out below) in between them,

Re: lyric-text::interpolate-alignment

2015-08-25 Thread Kieren MacMillan
Hi David (et al.), This is one of my biggest pet peeves. It was part of the GSoC lyric work that never got completed. My sponsorship offer for a fix remains open! =) Cheers, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email:

Re: Make a new staff occupy the same vertical space as a previous staff

2015-08-25 Thread David Kastrup
Joel Ebel jbe...@mybox.org writes: I'm sure this is documented somewhere and I just can't seem to find it. How do I get a new staff to immediately follow a previous staff in the same vertical space. In this simple example, I'd like the TabStaff to end, and the RhythmicStaff to immediately