Re: Lilypond svg output to stdout?

2020-05-22 Thread Curt McDowell
A way to output to stdout directly (on Linux):    $ ln -s /dev/stdout foo.svg    $ lilypond -dbackend=svg -o foo music.ly Regards, Curt On 5/5/2020 2:42 PM, David Wright wrote: On Sun 03 May 2020 at 12:22:31 (+0200), Valentin Villenave wrote: On 4/30/20, David Wright wrote: On Thu 30 Apr 20

Re: Lilypond svg output to stdout?

2020-05-05 Thread David Wright
On Sun 03 May 2020 at 12:22:31 (+0200), Valentin Villenave wrote: > On 4/30/20, David Wright wrote: > > On Thu 30 Apr 2020 at 21:58:28 (+0200), Marcel Aartsen wrote: > > I don't think you can use stdout itself, as LP already uses it. > > Well, there *used* to be some work towards something like t

Re: Lilypond svg output to stdout?

2020-05-03 Thread Valentin Villenave
On 4/30/20, David Wright wrote: > On Thu 30 Apr 2020 at 21:58:28 (+0200), Marcel Aartsen wrote: > I don't think you can use stdout itself, as LP already uses it. Well, there *used* to be some work towards something like that; see the framework-socket.scm file in LilyPond’s source code… > I haven

Re: Lilypond svg output to stdout?

2020-04-30 Thread David Wright
On Thu 30 Apr 2020 at 21:58:28 (+0200), Marcel Aartsen wrote: > As the subject says, I would like to have Lilypond output svg to stdout. > Can it be done? How do I do that? I don't think you can use stdout itself, as LP already uses it. However, you can use a pipe: $ mkfifo foo.svg $ lilypond -db

Lilypond svg output to stdout?

2020-04-30 Thread Marcel Aartsen
Hi, As the subject says, I would like to have Lilypond output svg to stdout. Can it be done? How do I do that? Some background: I am developing an online course in Open edX [1], and for that course I am writing an XBlock [2]. This means that the user on the front end triggers a request that is pr

Re: Lilypond SVG output in 2.12.1

2009-02-04 Thread Vivian Barty-Taylor
I figured out what I'd done as I was going to sleep last night - funny how these things come to you! I'd failed to update the font file in .fonts so the files were still those of the last Lilypond release I was using - i.e. 2.10.33. Done this now, and it's working so no need for hexadecimal

Re: Lilypond SVG output in 2.12.1

2009-02-03 Thread Benjamin Esham
Vivian Barty-Taylor wrote: I've had a look at making this correction using a sed script, but can't find anything in the documentation relating to the handling of hexadecimal numbers. Does anyone have any ideas, before I write a script manually correcting each grob? Does anyone know where th

Re: Lilypond SVG output in 2.12.1

2009-02-03 Thread Patrick McCarty
On Tue, Feb 3, 2009 at 5:02 AM, Vivian Barty-Taylor wrote: > A while ago, we got a sed script working to fix Lilypond svg output. Looking > at the SVG output from 2.12.1 on OSX and using InkScape 0.45 all the grobs > are incorrect. I don't have the problems mentioned by other us

Lilypond SVG output in 2.12.1

2009-02-03 Thread Vivian Barty-Taylor
A while ago, we got a sed script working to fix Lilypond svg output. Looking at the SVG output from 2.12.1 on OSX and using InkScape 0.45 all the grobs are incorrect. I don't have the problems mentioned by other users of missing bar lines, so I'll leave this issue. I investigat

Re: Lilypond SVG output

2007-10-24 Thread Vivian Barty-Taylor
BTW, I could never fix the italic font in SVG output (I think the font file inside Lilypond is wrong - it seems to contain Cyrillic characters) so I installed Century Schoolbook Italic fonts separately and altered my .sed file to look like this: s/style="font-family:Schoolbook;font-style:L/

Re: Lilypond SVG output

2007-10-23 Thread Graham Percival
Graham Percival wrote: Benjamin Esham wrote: Needless to say, it would be more beneficial overall for someone to simply fix LilyPond's SVG output in the first place ;-) Patches accepted. :) BTW, it might not be all that hard -- the output comes from the file scm/output-svg.scm The fi

Re: Lilypond SVG output

2007-10-23 Thread Graham Percival
Benjamin Esham wrote: Needless to say, it would be more beneficial overall for someone to simply fix LilyPond's SVG output in the first place ;-) Patches accepted. :) Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://li

Re: Lilypond SVG output

2007-10-23 Thread Benjamin Esham
Graham Percival wrote: > Benjamin Esham wrote: > > > > > [getting usable SVG output from LilyPond] > > > > FWIW, this how-to is now available from the LSR at > > . > > Great! I'm very interested in this. Is there any way to automate the > inkscape

Re: Lilypond SVG output

2007-10-23 Thread Graham Percival
Benjamin Esham wrote: Benjamin Esham wrote: [getting usable SVG output from LilyPond] FWIW, this how-to is now available from the LSR at . Great! I'm very interested in this. Is there any way to automate the inkscape step? inkscape -T does "

Re: Lilypond SVG output

2007-10-23 Thread Benjamin Esham
Benjamin Esham wrote: > [getting usable SVG output from LilyPond] FWIW, this how-to is now available from the LSR at . Cheers, -- Benjamin D. Esham E-mail/Jabber: [EMAIL PROTECTED] | AIM bdesham128 | PGP D676BB9A "Science is a differential equation.

Re: Lilypond SVG output

2007-09-05 Thread Graham Percival
that I've got fixing the Lilypond SVG output down to three "replace" operations in EMacs. Editing the SVG file you replace: 1: all occurrences of "feta-alphabet20" with "Emmentaler" 2: all occurrences of "font-family:Century" with "font-famil

Re: Lilypond SVG output

2007-09-03 Thread Benjamin Esham
Benjamin Esham wrote: > [how to get usable SVG output from LilyPond] I neglected to mention two things... First, there are still some symbols (such as the piano-staff brace) that do not show up in Inkscape. I'm not sure whether this is a LilyPond issue, a font issue, or an Inkscape issue (altho

Re: Lilypond SVG output

2007-09-03 Thread Benjamin Esham
[cc'ing to the list] Vivian Barty-Taylor wrote: Dear Benjamin and Nick, This was just to let you know that I've got fixing the Lilypond SVG output down to three "replace" operations in EMacs. Editing the SVG file you replace: 1: all occurrences of "feta-alphab