From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51021 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: Cannot run Lilypond Date: Thu, 4 Jun 2009 14:21:37 +0200 Message-ID: <2A0B01E4-46B5-4CF8-9B44-965654E526D0@fiee.net> References: <4A25444D.7090104@gmail.com> <032C9E9E-32B2-4B72-986F-5CFD77AACFB7@fiee.net> <6faad9f00906030754s2a6bf10dpe64729c0e8083c35@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244118170 32163 80.91.229.12 (4 Jun 2009 12:22:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jun 2009 12:22:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 04 14:22:45 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MCBy1-0007RJ-13 for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jun 2009 14:22:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6DC401FB60; Thu, 4 Jun 2009 14:22:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27662-07; Thu, 4 Jun 2009 14:21:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BFA11FB49; Thu, 4 Jun 2009 14:21:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 493E01FB49 for ; Thu, 4 Jun 2009 14:21:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32226-05-4 for ; Thu, 4 Jun 2009 14:21:41 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by ronja.ntg.nl (Postfix) with ESMTP id E8E961FB38 for ; Thu, 4 Jun 2009 14:21:40 +0200 (CEST) Original-Received: from turan.fiee.net (lvps87-230-77-106.dedicated.hosteurope.de [87.230.77.106]) by filter2-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n54CLdM8023283 for ; Thu, 4 Jun 2009 14:21:40 +0200 Original-Received: from turan.fiee.net (lvps87-230-77-106.dedicated.hosteurope.de [127.0.0.1]) by turan.fiee.net (Postfix) with ESMTP id 3D5BB18E08004 for ; Thu, 4 Jun 2009 14:21:39 +0200 (CEST) Received-SPF: neutral (lvps87-230-77-106.dedicated.hosteurope.de: 79.207.38.191 is neither permitted nor denied by domain of fiee.net) client-ip=79.207.38.191; envelope-from=hraban@fiee.net; helo=[192.168.23.150]; Original-Received: from [192.168.23.150] (p4FCF26BF.dip0.t-ipconnect.de [79.207.38.191]) by turan.fiee.net (Postfix) with ESMTP for ; Thu, 4 Jun 2009 14:21:37 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=87.230.77.106; country=DE; region=07; city=Host; latitude=51.6500; longitude=6.1833; http://maps.google.com/maps?q=51.6500,6.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 237405032 - cd21e221a0f7 - 20090604 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51021 Archived-At: 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 =BBtest.ly=AB wird verarbeitet Analysieren... Interpretation der Musik... Vorverarbeitung der grafischen Elemente... Ideale Seitenanzahl wird gefunden... Musik wird auf eine Seite angepasst... Systeme erstellen... Layout nach =BBtest.ps=AB ausgeben... Konvertierung nach =BB./test.pdf=AB... This is the LilyPond run as executed by t-lilypond: hraban$ lilypond -dbackend=3Deps -dno-gs-load-fonts -dinclude-eps-fonts - = ddelete-intermediate-files -o"test" test.ly GNU LilyPond 2.12.2 =BBtest.ly=AB wird verarbeitet Analysieren... Interpretation der Musik... Vorverarbeitung der grafischen Elemente... Ideale Seitenanzahl wird gefunden... Musik wird auf eine Seite angepasst... Systeme erstellen... Layout nach =BBtest-1.eps=AB ausgeben... Konvertierung nach =BB./test-1.pdf=AB... Layout nach =BBtest.eps=AB ausgeben... Konvertierung nach =BB./test.pdf=AB... .../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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________