Re: Putting flatten-ly into your lilypond installation

2015-08-24 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 f

Re: Errors when using TabStaff with stringTunings

2015-08-24 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: OT: Beauty of programming languages

2015-08-24 Thread Andrew Bernard
Before we all get booted off for being OT, here’s quicksort in J, using a concept called tacit programming: quicksort=: (($:@(<#[), (=#[), $:@(>#[)) ({~ ?@#)) ^: (1<#) Truly beautiful, in all seriousness. This is not a joke! :-) Andrew ___ lilypond-

Re: OT: Beauty of programming languages

2015-08-24 Thread Andrew Bernard
Very amusing! But what about B, C, D, E, F, G, K (an APL derivative), L (several), R, S, T (a Scheme dialect) to name a few? Seriously now, APL had special keyboards with the symbols which were wondrous to behold. And indeed, J was constructed in recognition of the divine impracticality of it:

Re: OT: Beauty of programming languages

2015-08-24 Thread David Kastrup
PMA writes: > Michael Gerdau wrote: >> Anybody remembering APL ? > > APL was my main lang. for decades, > as is now its superset/descendant, J. It is fitting that the language name is now a single character. I am just surprised that it is one in the ASCII character set. -- David Kastrup

Re: Equal spacing of notes in a bar

2015-08-24 Thread David Nalesnik
On Mon, Aug 24, 2015 at 7:51 PM, William Marchant wrote: > 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

Re: Equal spacing of notes in a bar

2015-08-24 Thread 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 snippet I am unable to find. Is there one? TIA.

Re: Change size of notes in addQuote passage

2015-08-24 Thread Owain Sutton
Indeed. I did manage to miss the Score.quotedCueEventTypes part of the docs before, my error. I'd prefer not to have to list the events in this way, I just want everything included, and listing them sets up the potential for error, in omitting some. As I indicated earlier, I don't know whether

Re: OT: Beauty of programming languages

2015-08-24 Thread PMA
Michael Gerdau wrote: Anybody remembering APL ? APL was my main lang. for decades, as is now its superset/descendant, J. I've got weary trying to tell anybody why. But the curious might take a peek at http://www.jsoftware.com/ Pete ___ lilypond-

Putting flatten-ly into your lilypond installation

2015-08-24 Thread Andrew Bernard
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 flatten-ly ~/lilypond/usr/bin $ ln -s ~/bin/lilyp

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

2015-08-24 Thread Andrew Bernard
Greetings Michael, I used to use APL! Truly wonderful. As to beauty, while subjective, amongst mathematicians at least there is a shared sense of the beautiful, and not purely personal taste. Scheme has the elegance mathematicians and computer scientists perceive. Nobody could say Python is _b

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

2015-08-24 Thread Michael Gerdau
> While guile is aimed at being an extension language, don't forget that > Scheme was taught at MIT for many, many years as the finest language to > give students a deep insight into computing and computer science (refer > SICP). [Sadly, they now teach Python instead. Real world practicality > defe

Re: Way to flatten nested \include's?

2015-08-24 Thread Andrew Bernard
Hi Johan, Unless you enjoy writing Scheme as much as I do! Scheme is perfectly fine for utility programs. It may be less maintainable for the hoi polloi - but then, the same can be said of llypond! :-) While guile is aimed at being an extension language, don't forget that Scheme was taught at

flatten-ly

2015-08-24 Thread Andrew Bernard
Greetings All, The utility to flatten nested includes, vastly improved. The moment I posted the initial draft I realised people keep includes in directories other than the current directory. This takes account of that. Will publish to openlilylib when I make a lilypond wrapper for it similar to

Re: vertical spacing of rests

2015-08-24 Thread Trevor Daniels
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 the second voice. Still th

Re: vertical spacing of rests

2015-08-24 Thread Ralph Palmer
On Mon, Aug 24, 2015 at 2:56 PM, David Kastrup 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 e

Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Kevin Nowaczyk
In this case..the band is little known and no longer together. I had it hidden from view for anonymous visitors except open it up for the next couple days for people here who were interested in checking it out. I do like the automatic midi feature. It helps identify mistakes pretty easily. Kevi

Re: Allow LyricText/SpanBar overlapping

2015-08-24 Thread Thomas Morley
2015-08-24 21:27 GMT+02:00 Simon Albrecht : > Hello, > > following 19th century practice, I am using StaffGroup for choir scores. > When there are longer syllables at the end of a measure, they avoid to > overlap with the span bar, which costs horizontal space. I’d prefer this to > be turned off, b

Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Simon Albrecht
Am 24.08.2015 um 22:12 schrieb Kevin Nowaczyk: Thanks for the help everyone, I would up changing the stringTungings line to: \set Staff.stringTunings = \stringTuning And everything works fine. However, I also tried the notaion: \set Staff.stringTunings = #bass-tuning but that didn't work. I'll

Re: Way to flatten nested \include's?

2015-08-24 Thread Simon Albrecht
Am 24.08.2015 um 21:57 schrieb Blöchl Bernhard: The attached file is a binary, not a lilypond file, regardless of the extension .ly? Have another look: it’s not flatten.ly, but flatten-ly – without any file name extension. It’s not a binary either, but plain text, and is used as a shell script,

Re: Way to flatten nested \include's?

2015-08-24 Thread Orm Finnendahl
Am Montag, den 24. August 2015 um 21:57:37 Uhr (+0200) schrieb Blöchl Bernhard: > The attached file is a binary, not a lilypond file, regardless of the > extension .ly? No, it is a text file but the mime type of the attachment is specified as application/octet stream. I changed it to text/plain in

Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Kevin Nowaczyk
Thanks for the help everyone, I would up changing the stringTungings line to: \set Staff.stringTunings = \stringTuning And everything works fine. However, I also tried the notaion: \set Staff.stringTunings = #bass-tuning but that didn't work. I'll have to figure that out at a later time. All-in-

Re: Way to flatten nested \include's?

2015-08-24 Thread Blöchl Bernhard
The attached file is a binary, not a lilypond file, regardless of the extension .ly? Am 24.08.2015 03:23, schrieb Andrew Bernard: Greetings Javier. Here is a program I wrote for you, flatten-ly to read a lilypond file and output it recursively flattening all the nested includes. It's a shell

Re: Way to flatten nested \include's?

2015-08-24 Thread Simon Albrecht
Hi Andrew, many thanks for your work. I just tried the script and can’t avoid getting an error about lacking rights. My command was: $flatten-ly 18-der-stuermische-morgen.ly > debug.ly sudo doesn’t help and it’s regardless of whether I place the script in /usr/bin/ or in ~/. Can you tell why

Allow LyricText/SpanBar overlapping

2015-08-24 Thread Simon Albrecht
Hello, following 19th century practice, I am using StaffGroup for choir scores. When there are longer syllables at the end of a measure, they avoid to overlap with the span bar, which costs horizontal space. I’d prefer this to be turned off, but how? I might conduct a lengthy and imprecise se

Re: Equal spacing of notes in a bar

2015-08-24 Thread tisimst
How about this: http://www.lilypond.org/doc/v2.18/Documentation/notation/proportional-notation - Abraham On 8/24/2015 12:55 PM, William Marchant [via Lilypond] wrote: > I have looked though the documentation without finding what I need. The > attached code gives me a triplet whose notes are spac

Re: vertical spacing of rests

2015-08-24 Thread David Kastrup
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 the second voice. Still t

Re: Equal spacing of notes in a bar

2015-08-24 Thread Simon Albrecht
Hi Bill, ‘proportional notation’ is the magic word: . HTH, Simon Am 24.08.2015 um 20:54 schrieb William Marchant: I have looked though the documentation without finding what I need. The attached code gives me a tripl

Equal spacing of notes in a bar

2015-08-24 Thread William Marchant
I have looked though the documentation without finding what I need. The attached code gives me a triplet whose notes are spaced according to the words. I would like to equalize the spacing between the notes. Is there a snippet I have missed, or some technique that will provide this? Bill \v

Re: Change size of notes in addQuote passage

2015-08-24 Thread Wols Lists
On 24/08/15 19:32, Simon Albrecht wrote: > Am 24.08.2015 um 18:59 schrieb owainsut...@gmail.com: >> Is there a way to (a) use 'transposedCueDuring' which retains these >> details >> from the original, > Yes, see >

Re: Change size of notes in addQuote passage

2015-08-24 Thread Simon Albrecht
Am 24.08.2015 um 18:59 schrieb owainsut...@gmail.com: Is there a way to (a) use 'transposedCueDuring' which retains these details from the original, Yes, see . Although actually a ‘cue’, as you are prob

Re: Change size of notes in addQuote passage

2015-08-24 Thread owainsutton
On Sun, Aug 23, 2015 at 4:55 PM, Owain Sutton wrote: > I want a full quote of the line, including slurs/dynamics/etc. so it's > playable > by a different instrument if the intended one is not present, so I'm not > using > Cue instead. However, I want the quote to be with reduced size noteheads

Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread David Kastrup
Kevin Nowaczyk writes: > I have a lilypond file which used to parse perfectly well several > years ago. Run convert-ly -ed on the file. At least on your example file, it upgraded the version successfully. The resulting code is rather ugly but works. You might want to look up the \stringTuning

Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Marc Hohl
Am 24.08.2015 um 17:36 schrieb Kevin Nowaczyk: I have a lilypond file which used to parse perfectly well several years ago. I recently reinstalled lilypond (2.18.2 from debian-stable) and now I receive an error. I've reduced the file down and determined that setting the stringTunings is the pr

Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Simon Albrecht
Hello Kevin, welcome back to the Pond :-) There have been many syntax changes since v2.12, and one of them is the culprit here, so you’ll want to get a look at . (In case you’re using Frescobaldi: Tools/Updat

Errors when using TabStaff with stringTunings

2015-08-24 Thread Kevin Nowaczyk
I have a lilypond file which used to parse perfectly well several years ago. I recently reinstalled lilypond (2.18.2 from debian-stable) and now I receive an error. I've reduced the file down and determined that setting the stringTunings is the problem. The file I have has both guitar tab and ba

Re: vertical spacing of rests

2015-08-24 Thread David Kastrup
Paul Morris writes: >> On Aug 23, 2015, at 4:29 PM, Peter Selinger wrote: >> >> - (ly:grob-set-property! rest 'stencil #f) >> + (ly:grob-set-property! rest 'Y-offset offset) > > I wonder if this might work instead: > > (ly:grob-set-property! rest 'stencil empty-stencil) You'd want

Re: LilyJAZZ

2015-08-24 Thread Blöchl Bernhard
It might be helpful to have lilyjazz examples old/new side by side with explicite evidence to the unbeautiful elements? I just got the "new" version happily to work. I cannot make such examples as I do not have the old/new version working simultaneosly. I fear my lilypond skills are not suffic

Re: Way to flatten nested \include's?

2015-08-24 Thread Johan Vromans
On Mon, 24 Aug 2015 09:35:35 +1000 Andrew Bernard wrote: > Although it can be written in Python or any language, I felt Scheme is in > the spirit of lilypond. Scheme is for LP extenstions. This tool, being a standalone program, can much better be written in Perl or Python. -- Johan ___

Re: Way to flatten nested \include's?

2015-08-24 Thread Andrew Bernard
Greetings Javier. Here is a program I wrote for you, flatten-ly to read a lilypond file and output it recursively flattening all the nested includes. It’s a shell script invoking guile. Usage: flatten-ly file Outputs to standard output. Unashamedly Linux. I’ll make it more robust, and add a

Re: A call to Cantique de Fauré

2015-08-24 Thread Andrew Bernard
Hi Brian, It can hardly be censoring. :-) Recently I have posted several messages to this list and they simply do not appear, causing me to think my mailer is defective, only to eventually turn up days later. There must be an oddity in the mailing list software. It’s not discriminating against

Re: Change size of notes in addQuote passage

2015-08-24 Thread Ralph Palmer
On Sun, Aug 23, 2015 at 4:55 PM, Owain Sutton wrote: > I want a full quote of the line, including slurs/dynamics/etc. so it's > playable > by a different instrument if the intended one is not present, so I'm not > using > Cue instead. However, I want the quote to be with reduced size noteheads.

Tilde expansion in \include

2015-08-24 Thread Andrew Bernard
While writing flatten-ly to recursively flatten nested include files, I notice that lilypond 2.19.25 (at least) does not honour ~ in a path name, and throws a fatal error. The NR says you can say: \include "~/libA/libA.ly” Am I missing something? Setting this has no effect (and why should it?

Re: Way to flatten nested \include's?

2015-08-24 Thread Andrew Bernard
Of course I shall add include path arguments, and ~ expansion. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user