* Cannot run Lilypond [not found] <mailman.1.1243764002.5166.ntg-context@ntg.nl> @ 2009-05-31 14:19 ` Vyatcheslav Yatskovsky 2009-06-01 14:50 ` Lutz Haseloff 0 siblings, 1 reply; 12+ messages in thread From: Vyatcheslav Yatskovsky @ 2009-05-31 14:19 UTC (permalink / raw) To: ntg-context [-- Attachment #1: Type: text/plain, Size: 354 bytes --] Hello, I gave a try to LiliPond today, but it doesn't work for me. 1) I've installed LilyPond 2.12.2 on Windows 2) Ran a simple example \usemodule[lilypond] \starttext There are some notes \lilypond{ \relative{bes a c b} } embedded in this line. \stoptext 3) And got dummy image What's wrong? Details are attached. Regards, Vyatcheslav [-- Attachment #2: lily1.log --] [-- Type: text/plain, Size: 5041 bytes --] (lily1.tex color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated ConTeXt ver: 2009.05.22 09:27 MKIV fmt: 2009.5.24 int: english/english system : cont-new loaded (c:/contextminimal/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/contextminimal/texmf-context/tex/context/base/cont-new.mkiv) (c:/contextminimal/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (c:/contextminimal/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (c:/contextminimal/texmf-context/tex/context/user/cont-sys.rme (c:/contextminimal/texmf-context/tex/context/base/type-tmf.tex) (c:/contextminimal/texmf-context/tex/context/base/type-siz.tex (c:/contextminimal/texmf-context/tex/context/base/type-siz.mkiv)) (c:/contextminimal/texmf-context/tex/context/base/type-otf.tex (c:/contextminimal/texmf-context/tex/context/base/type-otf.mkiv))) system : lily1.top loaded % % begin of optionfile % % % runtime options files (command line driven) % \unprotect % % special commands, mostly for the ctx development team % % feedback and basic job control % % handy for special styles % \startluacode % document = document or { } % document.arguments={ % } % document.files={ % "lily1.tex", % } % \stopluacode % % process info % \setupsystem[\c!n=1,\c!m=1] % \setupsystem[\c!type=windows] % % modes % % options (not that important) % \startsetups *runtime:options % \setupoutput[pdftex] % \stopsetups % % styles and modules % \startsetups *runtime:modules % \stopsetups % % done % \protect \endinput % % end of optionfile % (lily1.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded language : language en is active system : module lilypond loaded (c:/contextminimal/texmf-context/tex/context/third/t-lilypond.tex loading : LilyPond module ) systems : begin file lily1 at line 3 LilyPond : lily1-lilypond-1 fonts : resetting map file list {c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-math {c:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {c:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1] systems : end file lily1 at line 7 system : cont-err loaded (c:/contextminimal/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) )<c:/contextminimal/texmf/fonts/opentype/public/lm/lmmono8-regular.otf><c:/contextminimal/texmf/fonts/opentype/public/lm/lmroman12-regular.otf> mkiv lua stats : used config path - c:/contextminimal/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - c:/contextminimal/texmf-cache mkiv lua stats : input load time - 0.016 seconds mkiv lua stats : stored bytecode data - 168 modules, 45 tables, 213 chunks mkiv lua stats : cleaned up reserved nodes - 23 nodes, 8 lists of 1411 mkiv lua stats : node memory usage - 19 glue_spec, 2 dir mkiv lua stats : loaded patterns - en:us:pat:exc:2 mkiv lua stats : startup time - 0.500 seconds (including runtime option file processing) mkiv lua stats : callbacks - direct: 171, indirect: 5079, total: 5250 mkiv lua stats : loaded fonts - 31 files: eufb10:tfm eufb7:tfm eufb9:tfm eufm10:tfm eufm7:tfm eufm9:tfm lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmmib10:tfm lmmib7:tfm lmmono12-regular:otf lmmono8-regular:otf lmmono9-regular:otf lmroman12-bold:otf lmroman12-regular:otf lmroman7-bold:otf lmroman7-regular:otf lmroman9-bold:otf lmroman9-regular:otf lmsans12-regular:otf lmsans8-regular:otf lmsans9-regular:otf lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm mkiv lua stats : fonts load time - 0.313 seconds mkiv lua stats : graphics processing time - 0.016 seconds including tex, n=1 mkiv lua stats : result saved in file - lily1.pdf mkiv lua stats : luatex banner - this is luatex, version beta-0.40.1-2009050910 mkiv lua stats : control sequences - 29782 of 165536 mkiv lua stats : current memory usage - 35 MB (ctx: 36 MB) mkiv lua stats : runtime - 1.172 seconds, 1 processed pages, 1 shipped pages, 0.853 pages/second [-- Attachment #3: lily1.pdf --] [-- Type: application/pdf, Size: 7565 bytes --] [-- Attachment #4: lily1.tex --] [-- Type: text/plain, Size: 123 bytes --] \usemodule[lilypond] \starttext There are some notes \lilypond{ \relative{bes a c b} } embedded in this line. \stoptext [-- Attachment #5: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 2009-05-31 14:19 ` Cannot run Lilypond Vyatcheslav Yatskovsky @ 2009-06-01 14:50 ` Lutz Haseloff 2009-06-02 8:31 ` Henning Hraban Ramm 0 siblings, 1 reply; 12+ messages in thread From: Lutz Haseloff @ 2009-06-01 14:50 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Vyatcheslav, Just a guess, I had a similar problem. I had to install ghostscript to get the pstopdf script working. Greetings Lutz ------------------------ -----Original Message----- From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com> Date: Sun, 31 May 2009 17:19:15 To: <ntg-context@ntg.nl> Subject: [NTG-context] Cannot run Lilypond Hello, I gave a try to LiliPond today, but it doesn't work for me. 1) I've installed LilyPond 2.12.2 on Windows 2) Ran a simple example \usemodule[lilypond] \starttext There are some notes \lilypond{ \relative{bes a c b} } embedded in this line. \stoptext 3) And got dummy image What's wrong? Details are attached. Regards, Vyatcheslav ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 2009-06-01 14:50 ` Lutz Haseloff @ 2009-06-02 8:31 ` Henning Hraban Ramm 2009-06-02 8:38 ` Lutz Haseloff 0 siblings, 1 reply; 12+ messages in thread From: Henning Hraban Ramm @ 2009-06-02 8:31 UTC (permalink / raw) To: mailing list for ConTeXt users Am 2009-06-01 um 16:50 schrieb Lutz Haseloff: > 1) I've installed LilyPond 2.12.2 on Windows > > 2) Ran a simple example Can you run "lilypond" on the command line? I.e. is it in your PATH? Is GhostScript installed and can you run "pstopdf" on the command line? 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 2009-06-02 8:31 ` Henning Hraban Ramm @ 2009-06-02 8:38 ` Lutz Haseloff 2009-06-02 9:18 ` Piotr Kopszak ` (2 more replies) 0 siblings, 3 replies; 12+ messages in thread From: Lutz Haseloff @ 2009-06-02 8:38 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1020 bytes --] 2009/6/2 Henning Hraban Ramm <hraban@fiee.net> > Am 2009-06-01 um 16:50 schrieb Lutz Haseloff: > >> 1) I've installed LilyPond 2.12.2 on Windows >> >> 2) Ran a simple example >> > > Can you run "lilypond" on the command line? I.e. is it in your PATH? Yes. > > Is GhostScript installed and can you run "pstopdf" on the command line? > Yes. > > > 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 > > ___________________________________________________________________________________ > [-- Attachment #1.2: Type: text/html, Size: 2398 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 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 2 siblings, 0 replies; 12+ messages in thread From: Piotr Kopszak @ 2009-06-02 9:18 UTC (permalink / raw) To: mailing list for ConTeXt users Hello Vyatcheslav and Lutz, I have just tested Lutz's test file and it compiles fine with luatex on linux-ppc. MTXrun | current version: 2009.05.29 15:44 LuaTeX, Version beta-0.40.1-2009051107 (Web2C 7.5.7) luatex.web >= v2376 GNU LilyPond 2.12.2 Piotr 2009/6/2 Lutz Haseloff <lutz.haseloff@googlemail.com>: > > > 2009/6/2 Henning Hraban Ramm <hraban@fiee.net> >> >> Am 2009-06-01 um 16:50 schrieb Lutz Haseloff: >>> >>> 1) I've installed LilyPond 2.12.2 on Windows >>> >>> 2) Ran a simple example >> >> Can you run "lilypond" on the command line? I.e. is it in your PATH? > > Yes. > >> >> Is GhostScript installed and can you run "pstopdf" on the command line? > > Yes. > >> >> 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 >> >> ___________________________________________________________________________________ > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > > -- http://okle.pl ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 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 2 siblings, 0 replies; 12+ messages in thread From: Henning Hraban Ramm @ 2009-06-02 9:49 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 536 bytes --] Am 2009-06-02 um 10:38 schrieb Lutz Haseloff: > Can you run "lilypond" on the command line? I.e. is it in your PATH? > Yes. > > Is GhostScript installed and can you run "pstopdf" on the command > line? > Yes. Please try the attachment (put it in your project directory and rename it to t-lilypond.tex). If you don't get "LilyPond ERROR" messages, the binaries are probably not found. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) [-- Attachment #2: t-lilypond-debug.tex --] [-- Type: application/x-tex, Size: 13076 bytes --] [-- Attachment #3: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 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 2 siblings, 0 replies; 12+ messages in thread From: Lutz Haseloff @ 2009-06-02 10:08 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1232 bytes --] Please excuse me, these questions were for Vyatcheslav. I answered in the wrong thread, sorry. Lutz 2009/6/2 Lutz Haseloff <lutz.haseloff@googlemail.com> > > > 2009/6/2 Henning Hraban Ramm <hraban@fiee.net> > >> Am 2009-06-01 um 16:50 schrieb Lutz Haseloff: >> >>> 1) I've installed LilyPond 2.12.2 on Windows >>> >>> 2) Ran a simple example >>> >> >> Can you run "lilypond" on the command line? I.e. is it in your PATH? > > > Yes. > > >> >> Is GhostScript installed and can you run "pstopdf" on the command line? >> > > Yes. > > >> >> >> 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 >> >> ___________________________________________________________________________________ >> > > [-- Attachment #1.2: Type: text/html, Size: 2907 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <mailman.1081.1243942690.3589.ntg-context@ntg.nl>]
* Re: Cannot run Lilypond [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 0 siblings, 1 reply; 12+ messages in thread From: Vyatcheslav Yatskovsky @ 2009-06-02 15:25 UTC (permalink / raw) To: ntg-context Thanks for the interest. I can run Lilypond from command line from any location. Also, I can run pstopdf, but the fact is that i didn't install GhostScript. But I'm not sure if it works, bacause when I run it it says nothing and exits. When I compile my Lily example, lily1-lilypond-1.tmp is created in both document dir and lilytemp subfolder. But lilypdfs remains empty. Best, Vyatccheslav ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 2009-06-02 15:25 ` Vyatcheslav Yatskovsky @ 2009-06-03 11:37 ` Henning Hraban Ramm [not found] ` <6faad9f00906030754s2a6bf10dpe64729c0e8083c35@mail.gmail.com> 0 siblings, 1 reply; 12+ messages in thread From: Henning Hraban Ramm @ 2009-06-03 11:37 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 1059 bytes --] Am 2009-06-02 um 17:25 schrieb Vyatcheslav Yatskovsky: > I can run Lilypond from command line from any location. > > Also, I can run pstopdf, but the fact is that i didn't install > GhostScript. But I'm not sure if it works, bacause when I run it it > says nothing and exits. pstopdf is part of the ConTeXt distribution and should give you something like: hraban$ pstopdf PsToPdf | version 2.0.1 - 2002-2006 - PRAGMA ADE/POD PsToPdf | --convert convert ps into pdf PsToPdf | --request handles exa request file PsToPdf | --watch watch folders for conversions (untested) > When I compile my Lily example, lily1-lilypond-1.tmp is created in > both document dir and lilytemp subfolder. But lilypdfs remains empty. Don't you get anything else, esp. EPS files? Then LilyPond isn't run. I don't know how to check for that OS-independently in my module. Please try the attached latest version. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) [-- Attachment #2: t-lilypond.tex --] [-- Type: application/x-tex, Size: 13161 bytes --] [-- Attachment #3: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <6faad9f00906030754s2a6bf10dpe64729c0e8083c35@mail.gmail.com>]
* Re: Cannot run Lilypond [not found] ` <6faad9f00906030754s2a6bf10dpe64729c0e8083c35@mail.gmail.com> @ 2009-06-04 7:23 ` Henning Hraban Ramm 2009-06-04 9:06 ` Lutz Haseloff 0 siblings, 1 reply; 12+ messages in thread From: Henning Hraban Ramm @ 2009-06-04 7:23 UTC (permalink / raw) To: mailing list for ConTeXt users Am 2009-06-03 um 16:54 schrieb Mojca Miklavec: >> pstopdf is part of the ConTeXt distribution and should give you >> something >> like: >> PsToPdf | version 2.0.1 - 2002-2006 - PRAGMA ADE/POD > Yes, but pstopdf relies on existance of ghostscript in path. pstopdf > is just a wrapper. If you don't have ghostscript installed, this is > unlikely to work. I know, but Vyatcheslav said, pstopdf would say "nothing", and that would be too less, even if GS isn't installed. > But ... I had some impression that lilypond is able to generate pdfs > on the fly? It has GS compiled in (or as a library or the like), but unfortunately it can't generate PDF snippets, only whole pages. And it generates always PostScript first (after a normal LP run you've a useless .ps file). EPS snippets (that we use here) were a special feature for the LaTeX "lilypond-book" process, that's why there were even more junk files created before v.12.2 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 2009-06-04 7:23 ` Henning Hraban Ramm @ 2009-06-04 9:06 ` Lutz Haseloff 2009-06-04 12:21 ` Henning Hraban Ramm 0 siblings, 1 reply; 12+ messages in thread From: Lutz Haseloff @ 2009-06-04 9:06 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2251 bytes --] 2009/6/4 Henning Hraban Ramm <hraban@fiee.net> > Am 2009-06-03 um 16:54 schrieb Mojca Miklavec: > > pstopdf is part of the ConTeXt distribution and should give you something >>> like: >>> PsToPdf | version 2.0.1 - 2002-2006 - PRAGMA ADE/POD >>> >> Yes, but pstopdf relies on existance of ghostscript in path. pstopdf >> is just a wrapper. If you don't have ghostscript installed, this is >> unlikely to work. >> > > I know, but Vyatcheslav said, pstopdf would say "nothing", and that would > be too less, even if GS isn't installed. > > But ... I had some impression that lilypond is able to generate pdfs on >> the fly? >> > > > 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. Lilypond writes: ... Systeme erstellen... Layout nach »lilytest-lilypond-1-1.eps« ausgeben... Konvertierung nach »./lilytest-lilypond-1-1.pdf«... Layout nach »lilytest-lilypond-1.eps« ausgeben... Konvertierung nach »./lilytest-lilypond-1.pdf«... ... > > And it generates always PostScript first (after a normal LP run you've a > useless .ps file). I get two .eps: filename-lilypond-1.eps and filename-lilypond-1-1.eps. > > EPS snippets (that we use here) were a special feature for the LaTeX > "lilypond-book" process, that's why there were even more junk files created > before v.12.2 > > > 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 > > ___________________________________________________________________________________ > [-- Attachment #1.2: Type: text/html, Size: 3993 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cannot run Lilypond 2009-06-04 9:06 ` Lutz Haseloff @ 2009-06-04 12:21 ` Henning Hraban Ramm 0 siblings, 0 replies; 12+ messages in thread From: Henning Hraban Ramm @ 2009-06-04 12:21 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-06-04 12:21 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.1.1243764002.5166.ntg-context@ntg.nl> 2009-05-31 14:19 ` Cannot run Lilypond 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 [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 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).