Re: Piping contents of SVG directly to stdout

2022-07-17 Thread William
Hope you won’t mind me hopping in here a little late because this sounds similar to a project that I was using lilypond for. My workaround is, as you know, spinning up a temporary directory for the output and all the extra eps files, run lilypond, read the output file into program memory,

Re: Piping contents of SVG directly to stdout

2022-07-17 Thread Andrew Bernard
I'd avoid WSL like the plague. It's still half hearted, terribly slow with various filesystems and offers no advantages that I have seen so far over simply putting in Virtualbox and running full blown Linux of your choice. This is not merely my own opinion - there are dozens of websites

Re: Piping contents of SVG directly to stdout

2022-07-17 Thread DoubleFelix
Sorry. I think this should reply to all now. As for the example I sent, that's the barebones type. The ones I need to generate dynamically will have random notes and key signatures and what not. I'll try WSL though. I didn't even think of using that. I'll give it a go and respond here if something

Re: Code pointer from end-BarLine to previous NoteHead.?

2022-07-17 Thread David Kastrup
Jean Abou Samra writes: > Le 18/07/2022 à 00:44, David Kastrup a écrit : >> Jean Abou Samra writes: >> >> [Harm:] >> >> You are aware that you are not talking to a C++ programmer? Not exactly >> a motivating message under the circumstances... > > > > I learnt C++ (like many things) by

Re: Tempo arguments

2022-07-17 Thread David Kastrup
Jean Abou Samra writes: > Le 18/07/2022 à 00:35, David F. a écrit : >> \tempo 4 = 90 >> >> How is tempo able to take ‘4 = 90’ as an argument? Is this >> hardwired into the language or can any function take ‘x = y’ as an >> argument? > > It is hardwired. Music functions cannot take arguments

Re: Code pointer from end-BarLine to previous NoteHead.?

2022-07-17 Thread Jean Abou Samra
Le 18/07/2022 à 00:44, David Kastrup a écrit : Jean Abou Samra writes: [Harm:] You are aware that you are not talking to a C++ programmer? Not exactly a motivating message under the circumstances... I learnt C++ (like many things) by pretending I was a C++ programmer while I wasn't, and

Re: Code pointer from end-BarLine to previous NoteHead.?

2022-07-17 Thread David Kastrup
Jean Abou Samra writes: [Harm:] >> After some further hours of work, following a different idea, it now >> displays # (as it should). >> >> I'm not able to say what happened, I'm not able to debug because of >> that unhelpful (oh, I'm very polite this evening) guile messages, see >> the other

Re: Tempo arguments

2022-07-17 Thread Jean Abou Samra
Le 18/07/2022 à 00:35, David F. a écrit : \tempo 4 = 90 How is tempo able to take ‘4 = 90’ as an argument? Is this hardwired into the language or can any function take ‘x = y’ as an argument? It is hardwired. Music functions cannot take arguments with '='. Jean

Tempo arguments

2022-07-17 Thread David F.
\tempo 4 = 90 How is tempo able to take ‘4 = 90’ as an argument? Is this hardwired into the language or can any function take ‘x = y’ as an argument? David F.

Re: Questions about ragged-right and margins

2022-07-17 Thread Andrew Bernard
Not sure if this is helpful to your use case, but you may want to take a look at how to centre psalms on a page in LSR snippet 708. https://lsr.di.unimi.it/LSR/Item?id=708 Andrew

Re: Code pointer from end-BarLine to previous NoteHead.?

2022-07-17 Thread Jean Abou Samra
I tried to use ly.grob-original, though, in the real code it first returned #. Namely a dead grob, on which ly:grob-suicide! was called, and on which grob::is-live? will return #f. That's the sort of thing that can happen if your callback gets called after line breaking, at a point where

Re: lilypond-book texinfo and a two-book-ly-file

2022-07-17 Thread Thomas Morley
Am Sa., 9. Juli 2022 um 13:41 Uhr schrieb Thomas Morley : > (2) One of the books is in portrait the other in landscape format > Is there any texinfo option to get the landscape one rotated? > That landscape thingy is needed and I can't change it, it may be an > option to drop the portrait-book,

Re: Code pointer from end-BarLine to previous NoteHead.?

2022-07-17 Thread Thomas Morley
Am So., 17. Juli 2022 um 09:26 Uhr schrieb Jean Abou Samra : > > > > Le 17/07/2022 à 01:25, Thomas Morley a écrit : > > Thanks for your explanations, right now I had only a quick glance over > > them. > > I'll hopefully have some time soon to dive into it... > > Nevertheless, before I posted the

Re: error handling

2022-07-17 Thread Thomas Morley
Am Mi., 6. Juli 2022 um 19:07 Uhr schrieb Jean Abou Samra : > > > > On 7/5/22 01:10, Thomas Morley wrote: > > Am Di., 5. Juli 2022 um 00:34 Uhr schrieb Jean Abou Samra > > : > > > > I just detected I can't compile my code with 2.22. any more, due to > > the internal changes in \repeat volta. > >

Re: Piping contents of SVG directly to stdout

2022-07-17 Thread Jean Abou Samra
Again, please keep the list in the recipients. In your mail client, click "Reply to all", not "Reply". Le 17/07/2022 à 23:19, DoubleFelix a écrit : Oh I see. I looked at compiling LilyPond, but I'm windows and it seems like a pain (I have to set up some VM for a custom OS is what I got from

Re: Piping contents of SVG directly to stdout

2022-07-17 Thread Jean Abou Samra
Hi, Please keep the list posted, which allows everyone to comment and benefit from the answers. Le 17/07/2022 à 22:11, DoubleFelix a écrit : Oh I see. Thank you! While we're here, do you have any tips for speeding up lilypond generation times? If you're using the SVG backend, it is likely

Re: grace note arpeggio tied to chord

2022-07-17 Thread Jim Cline
ah, newbie mistake! thanks Jean! (actually I had searched the documentation but obviously not thoroughly enough) On Sun, 17 Jul 2022, Jean Abou Samra wrote: Le 17/07/2022 à 20:00, Jim Cline a écrit : Hello, sorry if I missed it, but I did not find it by searching the archives.  I would

Re: grace note arpeggio tied to chord

2022-07-17 Thread Jean Abou Samra
Le 17/07/2022 à 20:00, Jim Cline a écrit : Hello, sorry if I missed it, but I did not find it by searching the archives.  I would like to have a grace note arpeggio where each note is tied to the chord that follows: \grace{g16~ c~ e~}4 I only get the tie between the e's, not the other

grace note arpeggio tied to chord

2022-07-17 Thread Jim Cline
Hello, sorry if I missed it, but I did not find it by searching the archives. I would like to have a grace note arpeggio where each note is tied to the chord that follows: \grace{g16~ c~ e~}4 I only get the tie between the e's, not the other notes. This is similar to a rolled chord, but I

Re: subito PP

2022-07-17 Thread Xavier Scheuer
On Sun, 17 Jul 2022 at 10:12, Benjamin Tordoff wrote: > > Hi all, > > I'm typesetting a score that uses "subito p" and "subito pp" in a couple of places. I've found snippets explaining how to get this to look right (subito in normal italics, the "p" or "pp" in dynamic font), and another snippet

Re: subito PP

2022-07-17 Thread David Kastrup
Jean Abou Samra writes: > Le 17/07/2022 à 19:14, Benjamin Tordoff a écrit : >> Thanks David & Jean, both approaches work well and look good. The >> original indications were left aligned to the note so the alignment >> adjustment isn't needed in this case. I have no idea if one of these >> is

Re: subito PP

2022-07-17 Thread Jean Abou Samra
Le 17/07/2022 à 19:14, Benjamin Tordoff a écrit : Thanks David & Jean, both approaches work well and look good. The original indications were left aligned to the note so the alignment adjustment isn't needed in this case. I have no idea if one of these is technically superior to the other,

Re: subito PP

2022-07-17 Thread Benjamin Tordoff
Thanks David & Jean, both approaches work well and look good. The original indications were left aligned to the note so the alignment adjustment isn't needed in this case. I have no idea if one of these is technically superior to the other, although I suspect the fact I need both sub.P and

Re: subito PP

2022-07-17 Thread David Kastrup
David Kastrup writes: > Jean Abou Samra writes: > >> Le 17/07/2022 à 10:11, Benjamin Tordoff a écrit : >>> Hi all, >>> >>> I'm typesetting a score that uses "subito p" and "subito pp" in a couple of >>> places. I've found snippets explaining how to get this to look right >>> (subito in normal

Re: subito PP

2022-07-17 Thread David Kastrup
Jean Abou Samra writes: > Le 17/07/2022 à 10:11, Benjamin Tordoff a écrit : >> Hi all, >> >> I'm typesetting a score that uses "subito p" and "subito pp" in a couple of >> places. I've found snippets explaining how to get this to look right (subito >> in normal italics, the "p" or "pp" in

Re: subito PP

2022-07-17 Thread Jean Abou Samra
Le 17/07/2022 à 10:11, Benjamin Tordoff a écrit : Hi all, I'm typesetting a score that uses "subito p" and "subito pp" in a couple of places. I've found snippets explaining how to get this to look right (subito in normal italics, the "p" or "pp" in dynamic font), and another snippet showing

Re: Piping contents of SVG directly to stdout

2022-07-17 Thread Jean Abou Samra
Le 15/07/2022 à 21:15, DoubleFelix a écrit : Hello, I'm using lilypond to programmatically generate sheet music. I already have a system in place to crop the SVGs, but now I need to load them in my software. I could use the default behavior of letting lilypond write to some file, and then

Re: subito PP

2022-07-17 Thread Benjamin Tordoff
Thanks for the suggestion. Unless I'm doing something wrong this still seems to leave the volume unchanged (I put a normal \pp in the subsequent bar to check and playing the midi back in GarageBand I only hear the volume change on the \pp not the \subPP). Any further suggestions? Is there a

Re: Generating a spiccato

2022-07-17 Thread Ralph Palmer
On Sat, Jul 16, 2022 at 10:35 PM Jacques Menu wrote: > Hello Werner, > > Thanks for the clarification! > > JM > > > Le 13 juil. 2022 à 16:40, Werner LEMBERG a écrit : > > > > > >>> In MusixXML, this sign is (The element | > >>> MusicXML 4.0 (w3.org) > >>> < >

Re: Installing Lilypond 2.23.10

2022-07-17 Thread David Sumbler
On Fri, 2022-07-15 at 02:56 +0200, Jean Abou Samra wrote: > > > A more serious problem (for me) is that Emacs could no longer find > > Lilypond mode.  So I moved the new Lilypond to > > /usr/local/lilypond/usr/.  Emacs can now uses Lilypond mode, but > > can't > > compile a file - it produces

Re: Openlilylib

2022-07-17 Thread Mark Knoop
Hi Andrew and other OLL users, At 18:24 on 27 May 2022, Andrew Bernard wrote: The upshot of that is that I suppose I should revive the OLL work. I'll recreate the dedicated server I set up, recreate the Discourse forum for discussion, and work on the git repository, then people can

Re: subito PP

2022-07-17 Thread Eef Weenink
try this; \version "2.23.10" subPP = #(make-dynamic-script (markup #:line (#:normal-text #:italic "sub." #:dynamic "pp"))) \score { { c'2-\ff c'2-\subPP % Volume should be pp but is still ff } \layout {} \midi {} } Op 17 jul. 2022, om 10:11 heeft

Questions about ragged-right and margins

2022-07-17 Thread Carl Peterson
Hello All, I have two questions related to ragged-right. #1: Is it possible to change the behavior of ragged-right so that rather than a system being an arbitrary length, the length snaps to certain intervals? The out-of-the-box behavior of ragged-right = ##t can result in systems that are

subito PP

2022-07-17 Thread Benjamin Tordoff
Hi all, I'm typesetting a score that uses "subito p" and "subito pp" in a couple of places. I've found snippets explaining how to get this to look right (subito in normal italics, the "p" or "pp" in dynamic font), and another snippet showing how to create a custom dynamic that correctly sets

Re: Code pointer from end-BarLine to previous NoteHead.?

2022-07-17 Thread Thomas Morley
Am So., 17. Juli 2022 um 09:26 Uhr schrieb Jean Abou Samra : > > > > Le 17/07/2022 à 01:25, Thomas Morley a écrit : > > Thanks for your explanations, right now I had only a quick glance over > > them. > > I'll hopefully have some time soon to dive into it... > > Nevertheless, before I posted the

Re: Code pointer from end-BarLine to previous NoteHead.?

2022-07-17 Thread Jean Abou Samra
Le 17/07/2022 à 01:25, Thomas Morley a écrit : Thanks for your explanations, right now I had only a quick glance over them. I'll hopefully have some time soon to dive into it... Nevertheless, before I posted the problem I searched for an 'original'-BarLine-grob, as we have for broken