Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread David Kastrup
Federico Bruni writes: > Il giorno ven 25 set 2015 alle 4:28, Daniel Miller > ha scritto: >> I'm new to the mailing list. I'm hoping that someone can give me >> some help with getting LilyPond to run on the command line. I >> followed the steps at http://www.lilypond.org/macos-x.html for >> inst

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Urs Liska
Am 25.09.2015 um 09:04 schrieb David Kastrup: > Federico Bruni writes: > >> Il giorno ven 25 set 2015 alle 4:28, Daniel Miller >> ha scritto: >>> I'm new to the mailing list. I'm hoping that someone can give me >>> some help with getting LilyPond to run on the command line. I >>> followed the st

Re: Multiple scores in a single document

2015-09-25 Thread Mats Bengtsson
Simon Albrecht mail.de> writes: > > On 22.09.2015 19:53, T. Michael Sommers wrote: > > Is it possible to have multiple independent scores in a single document, > > Of course it’s possible: just use more than one \score {} block. > > > with each score having its own title, composer, arranger, a

on-page procedure

2015-09-25 Thread Paul Scott
2.19.27 I can get other procedures to work in \on-the-fly but not on-page. The NR suggests: \on-the-fly (on-page nmbr) ... I have tried an integer for nmbr as well as an integer preceded by # . Does anyone have a working example? Thank you, Paul ___

Re: on-page procedure

2015-09-25 Thread Marc Hohl
Am 25.09.2015 um 10:05 schrieb Paul Scott: 2.19.27 I can get other procedures to work in \on-the-fly but not on-page. The NR suggests: \on-the-fly (on-page nmbr) ... IIUC, it has to be \on-the-fly #(on-page 2) "page-2-header-text" HTH, Marc __

Re: on-page procedure

2015-09-25 Thread David Kastrup
Paul Scott writes: > 2.19.27 > > I can get other procedures to work in \on-the-fly but not > on-page. The NR suggests: > > \on-the-fly (on-page nmbr) ... Not really. It would more or less suggest \on-the-fly \(on-page-nmbr) which is non-sensical of course. > I have tried an integer for

Re: on-page procedure

2015-09-25 Thread Paul Scott
On Fri, Sep 25, 2015 at 10:10:10AM +0200, Marc Hohl wrote: > Am 25.09.2015 um 10:05 schrieb Paul Scott: > >2.19.27 > > > >I can get other procedures to work in \on-the-fly but not > >on-page. The NR suggests: > > > >\on-the-fly (on-page nmbr) ... > > IIUC, it has to be > > \on-the-fly #(on-page

Re: on-page procedure

2015-09-25 Thread David Kastrup
Paul Scott writes: > On Fri, Sep 25, 2015 at 10:10:10AM +0200, Marc Hohl wrote: >> Am 25.09.2015 um 10:05 schrieb Paul Scott: >> >2.19.27 >> > >> >I can get other procedures to work in \on-the-fly but not >> >on-page. The NR suggests: >> > >> >\on-the-fly (on-page nmbr) ... >> >> IIUC, it has t

Re: on-page procedure

2015-09-25 Thread Paul Scott
On Fri, Sep 25, 2015 at 10:28:26AM +0200, David Kastrup wrote: > Paul Scott writes: > > > On Fri, Sep 25, 2015 at 10:10:10AM +0200, Marc Hohl wrote: > >> Am 25.09.2015 um 10:05 schrieb Paul Scott: > >> >2.19.27 > >> > > >> >I can get other procedures to work in \on-the-fly but not > >> >on-page.

Getting an override into a markup function

2015-09-25 Thread Urs Liska
When rotating markups they are by default rotated by their center, seemingly resulting in a horizontal shift (by half their width): { c'2 ^\markup \rotate #90 "This is a long markup" c } This can be handled by overriding the self-alignment-X property: { \override TextScript.self-alignment-X

Re: Multiple scores in a single document

2015-09-25 Thread T. Michael Sommers
On 9/25/2015 2:44 AM, Mats Bengtsson wrote: In particular, read about the setting print-all-headers! See also http://lsr.di.unimi.it/LSR/Item?id=310. There is no need to redefine the titling commands! I swear I tried that before and it gave an error message. Now it works in my test file, but

Re: Getting an override into a markup function

2015-09-25 Thread Malte Meyn
Am 25.09.2015 um 10:58 schrieb Urs Liska: { \override TextScript.self-alignment-X = #LEFT c'2 ^\markup \rotate #90 "This is a long markup" c } You could use an event function: % \version "2.19.27" verticalText = #(define-event-function (text) (markup?) #{ -\tweak TextScri

Re: Getting an override into a markup function

2015-09-25 Thread Urs Liska
Am 25.09.2015 um 12:28 schrieb Malte Meyn: > > Am 25.09.2015 um 10:58 schrieb Urs Liska: >> { >>\override TextScript.self-alignment-X = #LEFT >>c'2 ^\markup \rotate #90 "This is a long markup" c >> } >> > > You could use an event function: Thank you, this seems to be what I need. It wou

Re: Centering markup between staves

2015-09-25 Thread Simon Albrecht
Hello Robert, On 25.09.2015 01:17, Robert Clausecker wrote: Hello all! I'm currently trying to transcribe an organ score [1] which notes register changes between the two staves for the left and right hand. For æsthetic reasons, these annotations should be vertically centred precisely between th

Re: Centering markup between staves

2015-09-25 Thread Kieren MacMillan
Hi Simon, > Here’s a really nice version which uses the Stanza_number_engraver (normally > used in Lyrics contexts) to place the clavier indication before the moment > for which it applies. Besides, this fortunately ensures perfect alignment > with the dynamic following. > Also, the \general-al

Re: Centering markup between staves

2015-09-25 Thread Kieren MacMillan
Hi Simon (et al.), >> I hope this also work in more complicated situations. This (admittedly extreme) example shows that it doesn’t: \version "2.19.27" regR = \markup \general-align #Y #0 { \normal-text { R } \override #'(font-encoding . fetaBraces) \lookup #"brace60" } \score { \new PianoSt

Re: Multiple scores in a single document

2015-09-25 Thread Simon Albrecht
On 25.09.2015 03:15, Thomas Morley wrote: Though there is something strange with the snippet you linked to. Per default LilyPond does not support header-fields like: metre texidoc enteredby source ‘Does not support’ isn’t quite the right way to think about it: it doesn’t _print_ these. But ba

Re: Centering markup between staves

2015-09-25 Thread Simon Albrecht
On 25.09.2015 13:21, Kieren MacMillan wrote: Hi Simon (et al.), I hope this also work in more complicated situations. This (admittedly extreme) example shows that it doesn’t: \version "2.19.27" regR = \markup \general-align #Y #0 { \normal-text { R } \override #'(font-encoding . fetaBrace

Re: Centering markup between staves

2015-09-25 Thread Simon Albrecht
On 25.09.2015 14:29, Robert Clausecker wrote: Here’s a really nice version which uses the Stanza_number_engraver (normally used in Lyrics contexts) to place the clavier indication before the moment for which it applies. Besides, this fortunately ensures perfect alignment with the dynamic followin

Re: Centering markup between staves

2015-09-25 Thread Kieren MacMillan
Hi Simon, >> I wonder how to solve that… > Fix … That’s mine! ;) But it doesn’t completely fix this problem, unfortunately: there’s still the issue of properly extending the brace to fill the inter-staff gap. That might be best done with a

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread BB
If you are on Linux type find lilypond in a trminal window to check if and where lilypond is on your machine. To refine your search check find -help for options, in short: find {dir-name} -name {file-name} action On 25.09.2015 09:18, Urs Liska wrote: Am 25.09.2015 um 09:04 schrieb David Kast

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Federico Bruni
Il giorno ven 25 set 2015 alle 8:34, Federico Bruni ha scritto: Il giorno ven 25 set 2015 alle 4:28, Daniel Miller ha scritto: I'm new to the mailing list. I'm hoping that someone can give me some help with getting LilyPond to run on the command line. I followed the steps at http://www.lilypo

forcing individual grobs from one context "beyond" adjacent context(s)

2015-09-25 Thread Kieren MacMillan
Hi all, Problem/Use-Case: a Dynamics context is centered between two piano staves (i.e., Staff contexts), and the engraver wants to put one or more dynamic markings above the upper Staff [resp. below the lower Staff]. Current Solutions: 1. put “outlier” dynamics in the right-hand [resp. left-h

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Ralf Mattes
Am Freitag, 25. September 2015 15:29 CEST, BB schrieb: The OP wrote: "followed the steps at http://www.lilypond.org/macos-x.html"; > If you are on Linux type Can we please read (and understand) questions before adding noise? Cheers, Ralf Mattes

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread BB
Thank you for your noisy mail. Help him yourself! On 25.09.2015 15:38, Ralf Mattes wrote: Am Freitag, 25. September 2015 15:29 CEST, BB schrieb: The OP wrote: "followed the steps at http://www.lilypond.org/macos-x.html"; If you are on Linux type Can we please read (and understand) q

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread BB
May be you do not know that MxOs is a BSD unix? On 25.09.2015 15:43, BB wrote: Thank you for your noisy mail. Help him yourself! On 25.09.2015 15:38, Ralf Mattes wrote: Am Freitag, 25. September 2015 15:29 CEST, BB schrieb: The OP wrote: "followed the steps at http://www.lilypond.org/

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Federico Bruni
I didn't mean to be rude... I guess that you don't know what ~ means. That page is written by a Linux-minded/command-line user and a Mac user may not understand it well. When you save the file called lilypond using your favorite editor, make sure you save it in the folder bin under your home

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Ralf Mattes
Am Freitag, 25. September 2015 15:52 CEST, BB schrieb: > May be you do not know that MxOs is a BSD unix? Ohhh puahhhleease! Give me a break. I do know the origins of OS X, but that's beside the point. Neither is any BS derivate "a Linux" nor does either Linux nor BSD support Appication

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread BB
No problem at all, the net is as it is! But I definitely must declaire that I cannot find something like a clear "thread" and I cannot find the "core" of the question. But the thread is building yet. Obviously the other people trying to help are to be groping in the dark as well. One of the

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread BB
Sorry therre are some errors in my lost post: 1. I tried chmod u+x is citated wrong. Correct in the post is written I tried chmod +x ("u" would mean make executable for user, for the owner of the file, but that was not written in the post) 2. chmod a+x does mean, make it executable for

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Daniel Miller
Thanks for your help Federico (and David). As to posting a question in multiple places, I don't see that as a problem. Different online communities have different specialties and knowledge areas. As you can see, very few LilyPond users saw my post on stackoverflow... so I came here instead. At wor

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread David Kastrup
Daniel Miller writes: > Thanks for your help Federico (and David). > > As to posting a question in multiple places, I don't see that as a problem. > Different online communities have different specialties and knowledge > areas. As you can see, very few LilyPond users saw my post on > stackoverflo

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread BB
That thread was a piss-take! On stackoverflow the search for "Having some trouble getting LilyPond to run on the command line" does not give any hit. One wonders about what peaople are to romp about on this blog? Apple developers in adversity? On 25.09.2015 16:53, David Kastrup wrote: Danie

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Daniel Miller
That's certainly a valid criticism, David, and my intention is certainly not to waste anyone's time. However, I think it's natural that as users (particularly very new users) search for information online, they will find increasingly specialized help forums and/or will fail to find answers in one p

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Malte Meyn
Am 25.09.2015 um 16:53 schrieb David Kastrup: Now it sounds as if you did not get a useful answer on Stackoverflow. But he did on Facebook. So I am one of the people who spent time and posted a solution that was no longer needed (I did this before reading the mails from the list) … ___

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Malte Meyn
Am 25.09.2015 um 17:13 schrieb Malte Meyn: Am 25.09.2015 um 16:53 schrieb David Kastrup: Now it sounds as if you did not get a useful answer on Stackoverflow. But he did on Facebook. So I am one of the people who spent time and posted a solution that was no longer needed (I did this before

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Ralf Mattes
Am Freitag, 25. September 2015 17:03 CEST, Daniel Miller schrieb: > That's certainly a valid criticism, David, and my intention is certainly > not to waste anyone's time. However, I think it's natural that as users > (particularly very new users) search for information online, they will find

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Daniel Miller
Thanks Ralf (and everyone!). Editing the abjads configuration file fixed my problem immediately. Abjad now writes to LilyPond exactly as it should. My apologies for my general incompetence in explaining my problem and following all of your helpful instructions. As I'm sure is obvious, I'm pretty n

Re: Multiple scores in a single document

2015-09-25 Thread David Wright
Quoting Thomas Morley (thomasmorle...@gmail.com): > 2015-09-25 2:46 GMT+02:00 T. Michael Sommers : > > [...✂...] > Though there is something strange with the snippet you linked to. > Per default LilyPond does not support header-fields like: > metre > texidoc > enteredby > source metre looks like i

How to write slurs and ties with scheme

2015-09-25 Thread Rachael Thomas
Hello All: I am attempting to typeset some fingerstyle guitar music. We extensively use the TabStaff for the visual representation of this music. I have a lot of trouble with Slurs and Ties in the TabStaff. If I could individually instantiate Slurs and Ties my life would be much easier. I think

Re: Centering markup between staves

2015-09-25 Thread Michael Gerdau
> >> I hope this also work in more complicated situations. > > This (admittedly extreme) example shows that it doesn’t: > > \version "2.19.27" > regR = \markup \general-align #Y #0 { > \normal-text { R } > \override #'(font-encoding . fetaBraces) \lookup #"brace60" > } > > \score { > \new Pia

Box around multiple markups

2015-09-25 Thread Urs Liska
Hi all, I want to engrave something like the attached scaned image for an analytical music example. As you can see from the LilyPond attachments I have achieved most of it already, but I'm out of luck with the different boxes. What I'd basically need is boxes that enclose two or more independent

Re: Getting an override into a markup function

2015-09-25 Thread Thomas Morley
2015-09-25 12:28 GMT+02:00 Malte Meyn : > > > Am 25.09.2015 um 10:58 schrieb Urs Liska: >> >> { >>\override TextScript.self-alignment-X = #LEFT >>c'2 ^\markup \rotate #90 "This is a long markup" c >> } >> > > You could use an event function: > > % > \version "2.19.27" > > verticalText =

Re: Centering markup between staves

2015-09-25 Thread Robert Clausecker
Hello Kieren, Here is a "minimal" example where the \regR appears off-center. This does not occur if I cut out the \p, but that \p needs to be there in the score. regR = \markup \halign #4.5 \normal-text { \upright R \raise #0.7 { \override #'(font-encoding . fetaB

Re: Centering markup between staves

2015-09-25 Thread Robert Clausecker
Thank you! I'm going to try this out! Yours, Robert Clausecker 2015-09-25 3:11 GMT+02:00, Kieren MacMillan : > Hi Robert, > >> Here is a "minimal" example where the \regR appears off-center. This >> does not occur if I cut out the \p, but that \p needs to be there in the >> score. > > Well, Lilyp

Re: Centering markup between staves

2015-09-25 Thread Robert Clausecker
> Here’s a really nice version which uses the Stanza_number_engraver > (normally used in Lyrics contexts) to place the clavier indication > before the moment for which it applies. Besides, this fortunately > ensures perfect alignment with the dynamic following. > Also, the \general-align markup com

Re: Getting an override into a markup function

2015-09-25 Thread Simon Albrecht
On 25.09.2015 23:10, Thomas Morley wrote: 2015-09-25 12:28 GMT+02:00 Malte Meyn : Am 25.09.2015 um 10:58 schrieb Urs Liska: { \override TextScript.self-alignment-X = #LEFT c'2 ^\markup \rotate #90 "This is a long markup" c } You could use an event function: % \version "2.19.27"

Re: Box around multiple markups

2015-09-25 Thread Klaus Blum
Hi Urs, the only thing I can offer is to use HorizontalBracket and replace its stencil by a box as shown in http://lsr.di.unimi.it/LSR/Item?id=1000 Two drawbacks: 1. I don't know how to simulate dashed lines. 2. Vertical position of the upper and lower edge must be set manually. However, this

Re: Getting an override into a markup function

2015-09-25 Thread Stephen MacNeil
Hi Harm you can still d/l acroread up to 9.5.5 ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/ also Foxit Reader Goes upto 6400% Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Getting an override into a markup function

2015-09-25 Thread Michael Gerdau
While following this thread I've copied the various solutions into a growing file. Interstingly with all three proposed solution one after another the final resulting PDF is roted by 90 degree as well. Commenting out any of the 4 \markup (or note) lines does not rotate the PDF, but with all it doe

Re: Box around multiple markups

2015-09-25 Thread David Nalesnik
Hi, On Fri, Sep 25, 2015 at 5:58 PM, Klaus Blum wrote: > Hi Urs, > > the only thing I can offer is to use HorizontalBracket and replace its > stencil by a box as shown in > http://lsr.di.unimi.it/LSR/Item?id=1000 You could adapt ("coopt") an existing engraver, or ... (see below) > > Two dra

Re: Box around multiple markups

2015-09-25 Thread David Nalesnik
On Fri, Sep 25, 2015 at 6:25 PM, David Nalesnik wrote: > > Dashed lines may now (as of 2.19.27) be created using the function > ly:line-interface::line. This takes a grob argument from which it extracts > layout information. So you'd just override the 'style property. Dashed > lines would be t

Re: Getting an override into a markup function

2015-09-25 Thread Thomas Morley
2015-09-26 0:42 GMT+02:00 Simon Albrecht : > On 25.09.2015 23:10, Thomas Morley wrote: >> >> 2015-09-25 12:28 GMT+02:00 Malte Meyn : >>> >>> >>> Am 25.09.2015 um 10:58 schrieb Urs Liska: { \override TextScript.self-alignment-X = #LEFT c'2 ^\markup \rotate #90 "This is a

Re: Getting an override into a markup function

2015-09-25 Thread Thomas Morley
2015-09-26 1:00 GMT+02:00 Stephen MacNeil : > Hi Harm > > you can still d/l acroread up to 9.5.5 Last Modified: 10.05.2013 Not a real option... > > ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/ > > also Foxit Reader Goes upto 6400% Installed. Thanks for the hint. Harm > > Stephen

Re: Getting an override into a markup function

2015-09-25 Thread Simon Albrecht
On 26.09.2015 01:05, Michael Gerdau wrote: While following this thread I've copied the various solutions into a growing file. Interstingly with all three proposed solution one after another the final resulting PDF is roted by 90 degree as well. Commenting out any of the 4 \markup (or note) lines

Bar numbers seem to be one off

2015-09-25 Thread T. Michael Sommers
It seems that unless I put a \set Score.currentBarNumber = #0 at the top of a score, the bar numbers that get printed are one higher than they should be. For instance, this, with the above line commented out, labels the first bar "2". What am I missing? - snip - \version "2.

Re: Bar numbers seem to be one off

2015-09-25 Thread David Kastrup
"T. Michael Sommers" writes: > It seems that unless I put a > > \set Score.currentBarNumber = #0 > > at the top of a score, the bar numbers that get printed are one higher > than they should be. For instance, this, with the above line > commented out, labels the first bar "2". What am I mi

Re: Bar numbers seem to be one off

2015-09-25 Thread T. Michael Sommers
On 9/26/2015 1:53 AM, David Kastrup wrote: "T. Michael Sommers" writes: It seems that unless I put a \set Score.currentBarNumber = #0 at the top of a score, the bar numbers that get printed are one higher than they should be. For instance, this, with the above line commented out, la