[Groff] groff_lilypond

2013-02-09 Thread Bernd Warken
Adding lilypond parts into groff files by using groff requests `.lilypond start' and `.lilytpond end'. These parts are tranformed into eps-files that can be displayed with `.PSPIC'. There is a Perl-program `groff_lilypond.pl' and a corresponding man-page. Both files are found in `groff/contrib/lil

Re: [Groff] .PSPIC seems to be broken

2013-02-09 Thread Tadziu Hoffmann
> PS: How did I get the EPS-file? With lilypond. The file lilypond creates doesn't have a %%BoundingBox comment, so PSPIC doesn't know how the "picture" should be scaled. (This can be fixed with a little shell script calling "gs -sDEVICE=bbox" to get the bounding box and sed to insert the commen

Re: [Groff] .PSPIC seems to be broken

2013-02-09 Thread Bernd Warken
> Von: "Deri James" > > I got successful results by letting lilypond output as a pdf and using this > workflow:- > > lilypond -> pdf2ps -> ps2eps Yes, that worked for me, too. > Bear in mind also that the resulting eps is exactly a4 page size, no matter > how little music is produced. You cou

Re: [Groff] .PSPIC seems to be broken

2013-02-09 Thread Bernd Warken
> Von: "Denis M. Wilson" > > It all works for me, except for ps2eps. I used > ImageMagick to trim and convert (getting rid of > the "Engraved by Lilypond" banner at the foot of the > page). I'm using Lilypond 2.12.3. To get rid of the banner would be nice. But I could not use convert to transfor

Re: [Groff] .PSPIC seems to be broken

2013-02-09 Thread Bernd Warken
> Von: Tethys > > "Bernd Warken" writes: > > >.PSPIC is documented in groff_tmac(5). It is supposed to load an EPS-file. > >That should work in the troff modes. In tty-modes and in X-mode it is not > >possible to show the EPS-file, so only a box with the file name is generated. > > > >But that

Re: [Groff] .PSPIC seems to be broken

2013-02-09 Thread Deri James
On Saturday 09 Feb 2013 02:20:29 Bernd Warken wrote: > .PSPIC is documented in groff_tmac(5). It is supposed to load an EPS-file. > That should work in the troff modes. In tty-modes and in X-mode it is not > possible to show the EPS-file, so only a box with the file name is > generated. > > But

Re: [Groff] .PSPIC seems to be broken

2013-02-09 Thread Denis M. Wilson
It all works for me, except for ps2eps. I used ImageMagick to trim and convert (getting rid of the "Engraved by Lilypond" banner at the foot of the page). I'm using Lilypond 2.12.3. Denis On Sat, 9 Feb 2013 02:20:29 +0100 (CET) "Bernd Warken" wrote: > .PSPIC is documented in groff_tmac(5). It

Re: [Groff] .PSPIC seems to be broken

2013-02-09 Thread Tethys
"Bernd Warken" writes: >.PSPIC is documented in groff_tmac(5). It is supposed to load an EPS-file. >That should work in the troff modes. In tty-modes and in X-mode it is not >possible to show the EPS-file, so only a box with the file name is generated. > >But that does not work. Works for me.