Re: Unexpected file name in EPS output
Il giorno lun 7 nov 2022 alle 23:47:29 +0100, bernhard kleine ha scritto: Am 07.11.2022 um 23:04 schrieb Federico Bruni: Ooops, the EPS backend creates the whole file plus one file per page. $ lilypond --eps myfile.ly Would one not expect this since eps creates single pages? I think you are right and we should probably open a new issue. The Usage manual says: -E, --eps Generate EPS files. This option is equivalent to specifying -dseparate-page-formats=ps. However, -dseparate-page-formats=ps creates only one file per page and no single full file: $ lilypond -dseparate-page-formats=ps myfile.ly GNU LilyPond 2.23.80 (running Guile 2.2) Processing `myfile.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 or 2 pages... Drawing systems... Layout output to `myfile-1.eps'... Layout output to `myfile-2.eps'... Success: compilation successfully completed $ ls *.eps myfile-1.eps myfile-2.eps This option should be probably fixed as well: separate-page-formats symbol Comma-separated list of formats (svg, pdf, png, or eps) to use for the separate page images in lilypond-book. It seems that svg should be removed from the list: $ lilypond -dseparate-page-formats=svg myfile.ly GNU LilyPond 2.23.80 (running Guile 2.2) Processing `myfile.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 or 2 pages... Drawing systems... warning: PS backend does not support SVG format Layout output to `myfile-1.eps'... warning: PS backend does not support SVG format Layout output to `myfile-2.eps'... Success: compilation successfully completed
Re: Unexpected file name in EPS output
Am 07.11.2022 um 23:04 schrieb Federico Bruni: Ooops, the EPS backend creates the whole file plus one file per page. $ lilypond --eps myfile.ly Would one not expect this since eps creates single pages? -- GPG Fingerabdruck: C76F A02E D525 7409 BEGIN:VCARD VERSION:4.0 N:Dr. Kleine;Bernhard;;; EMAIL;PREF=1:bernhard.kle...@gmx.net TEL;VALUE=TEXT:0049 160 998831 ADR:;;Steinbühlweg 1;Lenzkirch;;D-79853; NOTE:Ich mache auf mein Buch "670 Falterarten im Hochschwarzwald" aufwerksa m (aktuell vergriffen). END:VCARD
Re: Unexpected file name in EPS output
Il giorno dom 6 nov 2022 alle 21:17:38 +0100, Federico Bruni ha scritto: $ diff myfile-1.eps myfile.eps I don't know why two files are created, but it seems they are identical. Ooops, the EPS backend creates the whole file plus one file per page. $ cat myfile.ly \version "2.22.2" \relative c'' { c d e c \pageBreak b c b e } $ lilypond --eps myfile.ly GNU LilyPond 2.23.80 (running Guile 2.2) Processing `myfile.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 or 2 pages... Drawing systems... Layout output to `myfile.eps'... Layout output to `myfile-1.eps'... Layout output to `myfile-2.eps'... Success: compilation successfully completed
Re: Unexpected file name in EPS output
On Sun 06 Nov 2022 at 23:01:44 (+0100), Carlo Stemberger wrote: > Il giorno dom 6 nov 2022 alle ore 22:17 Knute Snortum > ha scritto: > > > On Sun, Nov 6, 2022 at 12:21 PM Federico Bruni wrote: > > > > > > Il giorno dom 6 nov 2022 alle 18:54:00 +0100, Carlo Stemberger > > > > Where did you see "lilypond -dbackend=eps myfile.ly"? > > Here: > > http://lilypond.org/doc/v2.22/Documentation/usage/other-programs.it.html As I pointed out earlier, https://lists.gnu.org/archive/html/lilypond-user/2022-07/msg00131.html the backends documentation is inconsistent, and unfortunately even more so in 2.23.x, including RC 2.23.80. Cheers, David.
Re: Unexpected file name in EPS output
Il giorno dom 6 nov 2022 alle ore 22:17 Knute Snortum ha scritto: > On Sun, Nov 6, 2022 at 12:21 PM Federico Bruni wrote: > > > > Il giorno dom 6 nov 2022 alle 18:54:00 +0100, Carlo Stemberger > > Where did you see "lilypond -dbackend=eps myfile.ly"? > Here: http://lilypond.org/doc/v2.22/Documentation/usage/other-programs.it.html Regards, Carlo
Re: Unexpected file name in EPS output
On Sun, Nov 6, 2022 at 12:21 PM Federico Bruni wrote: > > Il giorno dom 6 nov 2022 alle 18:54:00 +0100, Carlo Stemberger > ha scritto: > > Is this a bug? Do the next versions have the same behaviour? In this > > case I have to modify my script. > > I don't have 2.22.x installed, but here's what happens with 2.23.80: > > $ lilypond --eps myfile.ly > GNU LilyPond 2.23.80 (running Guile 2.2) > Processing `myfile.ly' > Parsing... > Interpreting music... > Preprocessing graphical objects... > Finding the ideal number of pages... > Fitting music on 1 page... > Drawing systems... > Layout output to `myfile.eps'... > Layout output to `myfile-1.eps'... > Success: compilation successfully completed > > $ diff myfile-1.eps myfile.eps > > I don't know why two files are created, but it seems they are identical. > I executed this: "lilypond -dbackend=eps myfile.ly" on LilyPond 2.22.2 on Ubuntu 22.04 and got these files: myfile-1.eps myfile-1.pdf myfile.ly myfile.pdf myfile-systems.count myfile-systems.tex myfile-systems.texi But when I execute "lilypond --eps myfile.ly", I just get one eps file. Where did you see "lilypond -dbackend=eps myfile.ly"? -- Knute Snortum
Re: Unexpected file name in EPS output
Il giorno dom 6 nov 2022 alle 18:54:00 +0100, Carlo Stemberger ha scritto: Is this a bug? Do the next versions have the same behaviour? In this case I have to modify my script. I don't have 2.22.x installed, but here's what happens with 2.23.80: $ lilypond --eps myfile.ly GNU LilyPond 2.23.80 (running Guile 2.2) Processing `myfile.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to `myfile.eps'... Layout output to `myfile-1.eps'... Success: compilation successfully completed $ diff myfile-1.eps myfile.eps I don't know why two files are created, but it seems they are identical.
Unexpected file name in EPS output
Hi, when I run `lilypond -dbackend=eps myfile.ly` with LilyPond 2.22.2 I get 2 PDF files (myfile.pdf and myfile-1.pdf) and an EPS file (myfile.esp). - %myfile.ly \version "2.22.2" \relative c'' {c d e c} - Why? Please note that myfile.pdf and myfile-1.pdf seem identical, but they aren't: diff myfile-1.pdf myfile.pdf Binary files myfile-1.pdf and myfile.pdf differ Some time ago the behaviour was different: I just got myfile.pdf and myfile.eps, if I remember correctly (in any case the EPS file didn't have any suffix). Unfortunately now I have trouble with a script... Is this a bug? Do the next versions have the same behaviour? In this case I have to modify my script. Thank you! Carlo