ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Cannot run Lilypond
Date: Thu, 4 Jun 2009 14:21:37 +0200	[thread overview]
Message-ID: <2A0B01E4-46B5-4CF8-9B44-965654E526D0@fiee.net> (raw)
In-Reply-To: <a09128560906040206j3c413674m7eeac93e3757c6b7@mail.gmail.com>

Am 2009-06-04 um 11:06 schrieb Lutz Haseloff:

>> It has GS compiled in (or as a library or the like), but  
>> unfortunately it can't generate PDF snippets, only whole pages.
>
> Not true on my Windows machine. After every run of LP there is a  
> filename-lilypond-1-1.pdf with exactly the same size as the pstopdf  
> generated.

Ok, you're right - a normal LP run (PDF backend) cannot create  
snippets, but the EPS-backend run does - *plus* it converts eps to pdf  
by itself. I didn't know the latter; I guess it was introduced only  
some versions before.

Try to compile the .tmp file with a normal LilyPond call, and you get  
a page-size PDF. The intermediate .ps file is deleted by LilyPond  
itself, but you can see it sometimes flash. LilyPond does the  
conversion to PDF in a second step, AFAIK with its build-in GhostScript.

This is a normal LilyPond run (in German); it mentions the  
intermediate .ps file and the conversion:

hraban$ lilypond test.ly
GNU LilyPond 2.12.2
»test.ly« wird verarbeitet
Analysieren...
Interpretation der Musik...
Vorverarbeitung der grafischen Elemente...
Ideale Seitenanzahl wird gefunden...
Musik wird auf eine Seite angepasst...
Systeme erstellen...
Layout nach »test.ps« ausgeben...
Konvertierung nach »./test.pdf«...


This is the LilyPond run as executed by t-lilypond:

hraban$ lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts - 
ddelete-intermediate-files -o"test" test.ly
GNU LilyPond 2.12.2
»test.ly« wird verarbeitet
Analysieren...
Interpretation der Musik...
Vorverarbeitung der grafischen Elemente...
Ideale Seitenanzahl wird gefunden...
Musik wird auf eine Seite angepasst...
Systeme erstellen...
Layout nach »test-1.eps« ausgeben...
Konvertierung nach »./test-1.pdf«...
Layout nach »test.eps« ausgeben...
Konvertierung nach »./test.pdf«...
.../LilyPond.app/Contents/Resources/share/lilypond/current/scm/backend- 
library.scm:149:21: In procedure delete-file in expression (delete- 
file (string-append base "." ...)):
.../LilyPond.app/Contents/Resources/share/lilypond/current/scm/backend- 
library.scm:149:21: No such file or directory

You see it creates from the one input file two EPS and PDF files each,  
that seem exactly the same - I'll investigate and ask on the LilyPond  
mailing list.
The error message isn't nice either, but it doesn't seem to hurt -  
maybe it's about the useless files, since it mentions "delete-file".



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-06-04 12:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1081.1243942690.3589.ntg-context@ntg.nl>
2009-06-02 15:25 ` Vyatcheslav Yatskovsky
2009-06-03 11:37   ` Henning Hraban Ramm
     [not found]     ` <6faad9f00906030754s2a6bf10dpe64729c0e8083c35@mail.gmail.com>
2009-06-04  7:23       ` Henning Hraban Ramm
2009-06-04  9:06         ` Lutz Haseloff
2009-06-04 12:21           ` Henning Hraban Ramm [this message]
     [not found] <mailman.1.1243764002.5166.ntg-context@ntg.nl>
2009-05-31 14:19 ` Vyatcheslav Yatskovsky
2009-06-01 14:50   ` Lutz Haseloff
2009-06-02  8:31     ` Henning Hraban Ramm
2009-06-02  8:38       ` Lutz Haseloff
2009-06-02  9:18         ` Piotr Kopszak
2009-06-02  9:49         ` Henning Hraban Ramm
2009-06-02 10:08         ` Lutz Haseloff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2A0B01E4-46B5-4CF8-9B44-965654E526D0@fiee.net \
    --to=hraban@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).