Re: Error when using lilypond-book

2025-02-18 Thread SK
Thank you for your answer. I did some more testing. I don't want to use a different directory, or to use a subdirectory of my working folder - it is a folder that gets synchronized to the cloud, and the many files clutter things up pretty quickly. Interestingly, I did a reinstall of MikTex. It work

Re: Error when using lilypond-book

2025-02-15 Thread David Wright
On Wed 12 Feb 2025 at 17:52:38 (+0100), SK wrote: > since a few days I cannot use a script involving lilypond-book anymore. > It's really strange cause I don't remember to change anything for the > script, the included python or lilypond itself. Only thing I did was > cleaning up the output directo

Re: Error when using lilypond-book

2025-02-13 Thread SK via LilyPond user discussion
And here is my debug output - also attached for better readability. Thank you very much! python C:\Users\xxx\Documents\lilypond\bin\lilypond-book.py --output=C:\Users\xxx\Desktop\Tools\Songbook\Sample\pyOut1 --pdf -lERROR --lily-loglevel=DEBUG .\book_general.lytex Log level set to 287 GNU LilyPon

Re: Error when using lilypond-book

2025-02-13 Thread SK
Hello, thank you for your answer. I will post the output using debug as soon as I'm back on the computer. However, I noticed the following yesterday: If I change the output directory of my command to, say, "D:\test", it runs and generates the .tex files. "test" didn't exist before. But, deleting my

Re: Error when using lilypond-book

2025-02-13 Thread Knute Snortum
Remember to CC the mailing list or reply all! On Thu, Feb 13, 2025, 8:40 AM SK wrote: > Hello, thank you for your answer. I will post the output using debug as > soon as I'm back on the computer. However, I noticed the following > yesterday: If I change the output directory of my command to, say

Re: Error when using lilypond-book

2025-02-12 Thread Knute Snortum
On Wed, Feb 12, 2025 at 8:53 AM SK wrote: > Hello, > > since a few days I cannot use a script involving lilypond-book anymore. > It's really strange cause I don't remember to change anything for the > script, the included python or lilypond itself. Only thing I did was > cleaning up the output di

Error when using lilypond-book

2025-02-12 Thread SK
Hello, since a few days I cannot use a script involving lilypond-book anymore. It's really strange cause I don't remember to change anything for the script, the included python or lilypond itself. Only thing I did was cleaning up the output directory by deleting old files - as far as I understand

Re: latex with PNG images using lilypond-book?

2013-04-30 Thread Francisco Vila
2013/4/30 David Kastrup : > Francisco Vila writes: > >> 2013/4/30 Julien Rioux : >>> On 30/04/2013 5:56 AM, Francisco Vila wrote: In theory yes, but does this make lilypond-book generate a myfile.tex that includes the PNG images? I think not. >>> >>> The generated .tex file doe

Re: latex with PNG images using lilypond-book?

2013-04-30 Thread David Kastrup
Francisco Vila writes: > 2013/4/30 Julien Rioux : >> On 30/04/2013 5:56 AM, Francisco Vila wrote: >>> >>> In theory yes, but does this make lilypond-book generate a myfile.tex >>> that includes the PNG images? I think not. >>> >> >> The generated .tex file does not specify the file extension for

Re: latex with PNG images using lilypond-book?

2013-04-30 Thread Francisco Vila
2013/4/30 Julien Rioux : > On 30/04/2013 5:56 AM, Francisco Vila wrote: >> >> In theory yes, but does this make lilypond-book generate a myfile.tex >> that includes the PNG images? I think not. >> > > The generated .tex file does not specify the file extension for the imported > graphic files, so t

Re: latex with PNG images using lilypond-book?

2013-04-30 Thread Julien Rioux
On 30/04/2013 5:56 AM, Francisco Vila wrote: In theory yes, but does this make lilypond-book generate a myfile.tex that includes the PNG images? I think not. The generated .tex file does not specify the file extension for the imported graphic files, so that it is up to (pdf)latex to pick the

Re: latex with PNG images using lilypond-book?

2013-04-30 Thread Francisco Vila
2013/4/30 Julien Rioux : > On 29/04/2013 12:07 PM, Francisco Vila wrote: >> >> Hello. I am trying to create an e-book in ePub format from a latex >> document via lilypond-book and pandoc. >> >> EPubs can not have images in PDF format, so I'd like to prepare a >> latex file with PNG images. >> >>

Re: latex with PNG images using lilypond-book?

2013-04-30 Thread Julien Rioux
On 29/04/2013 12:07 PM, Francisco Vila wrote: Hello. I am trying to create an e-book in ePub format from a latex document via lilypond-book and pandoc. EPubs can not have images in PDF format, so I'd like to prepare a latex file with PNG images. ... I imagine that PNG images are created for

Re: latex with PNG images using lilypond-book?

2013-04-29 Thread Francisco Vila
2013/4/30 Kevin Patrick Barry : > Dear Francisco, > > I'm not sure I understand what you want; is it that you want to know how to > include PNG images in a latex document? The --png option in lilypond will > produce png images and they can be included in latex using the graphicx > package and \inc

latex with PNG images using lilypond-book?

2013-04-29 Thread Kevin Patrick Barry
Dear Francisco, I'm not sure I understand what you want; is it that you want to know how to include PNG images in a latex document? The --png option in lilypond will produce png images and they can be included in latex using the graphicx package and \includegraphics{}. Is that what you want? Ke

latex with PNG images using lilypond-book?

2013-04-29 Thread Francisco Vila
Hello. I am trying to create an e-book in ePub format from a latex document via lilypond-book and pandoc. EPubs can not have images in PDF format, so I'd like to prepare a latex file with PNG images. We are saying in the manuals (see http://www.lilypond.org/doc/v2.16/Documentation/usage/lilypond_0

Re: Using lilypond-book on Win7 x64

2013-01-02 Thread Olivier Biot
On Wed, Jan 2, 2013 at 11:58 PM, Julien Rioux wrote: > On 02/01/2013 5:03 PM, Olivier Biot wrote: > >> Dear all, >> >> I can't get lilypond-book.py to work. >> >> I added the LilyPond bin directory to %PATH%: >> C:\Program Files (x86)\LilyPond\usr\bin >> >> The PATH also contains a working LaTeX (

Re: Using lilypond-book on Win7 x64

2013-01-02 Thread Julien Rioux
On 02/01/2013 5:03 PM, Olivier Biot wrote: Dear all, I can't get lilypond-book.py to work. I added the LilyPond bin directory to %PATH%: C:\Program Files (x86)\LilyPond\usr\bin The PATH also contains a working LaTeX (proTeXt): C:\Program Files\MiKTeX 2.9\miktex\bin\x64\ When enabling verbose

Re: Using lilypond-book on Win7 x64

2013-01-02 Thread Hans Aikema
On 2-1-2013 23:03, Olivier Biot wrote: I added the LilyPond bin directory to %PATH%: C:\Program Files (x86)\LilyPond\usr\bin The PATH also contains a working LaTeX (proTeXt): C:\Program Files\MiKTeX 2.9\miktex\bin\x64\ Olivier, Don't know for sure, but this might very well be a 32/64-bit iss

Using lilypond-book on Win7 x64

2013-01-02 Thread Olivier Biot
Dear all, I can't get lilypond-book.py to work. I added the LilyPond bin directory to %PATH%: C:\Program Files (x86)\LilyPond\usr\bin The PATH also contains a working LaTeX (proTeXt): C:\Program Files\MiKTeX 2.9\miktex\bin\x64\ When enabling verbose mode in lilypond-book.py the following errors

Re: using lilypond book to create pdfs without latex

2008-06-27 Thread Graham Percival
On Fri, 27 Jun 2008 10:32:03 +0100 Torsten Anders <[EMAIL PROTECTED]> wrote: > thank you very much for sharing this -- I was looking for a long > time for something like this! For interested folks I summarise below > Karl's approach (for Lilypond version 2.10/2.11). This example > outputs an e

Re: using lilypond book to create pdfs without latex

2008-06-27 Thread Torsten Anders
Dear Karl, thank you very much for sharing this -- I was looking for a long time for something like this! For interested folks I summarise below Karl's approach (for Lilypond version 2.10/2.11). This example outputs an eps cropped to the size required for the music. Lily code: --

Re: using lilypond book to create pdfs without latex

2008-06-27 Thread Philip Chinery
Thank you very much, this looks like a great starting point for me :) I will have a look at it in the evening On Fri, 27 Jun 2008 09:10:24 +0200 (CEST), "Karl Hammar" <[EMAIL PROTECTED]> said: > Philip Chinery: > > I am working on a small songbook script and I would like to embed the > > lilypond

Re: using lilypond book to create pdfs without latex

2008-06-27 Thread Karl Hammar
Philip Chinery: > I am working on a small songbook script and I would like to embed the > lilypond pdfs (one pdf per line) into my pages. Is there a way to call > lilypond without having to create a surrounding tex file for that? ... Yes, there is. I am on the run so this message is incomplete, b

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Bertalan Fodor (LilyPondTool)
No, with DocBook PDF can be created. http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Integrating-DocBook-and-music#Integrating-DocBook-and-music and http://lilypondtool.organum.hu/fileadmin/lilypondtool/lily-docbook.pdf Bert Philip Chinery wrote: If I understand it right, DocBook crea

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Philip Chinery
If I understand it right, DocBook creates pixel images. As I want to print the result as well, this should be something like eps or pdf. regards, Philip On Thu, 26 Jun 2008 13:10:10 +0200, "Bertalan Fodor (LilyPondTool)" <[EMAIL PROTECTED]> said: > can't docbook integration help? > > Philip Chin

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Bertalan Fodor (LilyPondTool)
can't docbook integration help? Philip Chinery wrote: Then use this script to stick the chordpro files into separate lilypond files, compile each lilypnod file individually, and stick the resulting pdfs together however you want. I don't understand the problem -- you have a scripting language a

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Philip Chinery
> Then use this script to stick the chordpro files into separate > lilypond files, compile each lilypnod file individually, and stick > the resulting pdfs together however you want. > > I don't understand the problem -- you have a scripting language at > your disposal, so use it. I'll do a "bigge

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Graham Percival
On Thu, 26 Jun 2008 10:54:04 +0200 "Philip Chinery" <[EMAIL PROTECTED]> wrote: > > I still don't follow. This is a scripting language called > > "songbook"? > > it is a script that creates a songbook from a number of (extended, > i.e. with lilypond inclusions) chordpro files. Then use this scri

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Philip Chinery
> I still don't follow. This is a scripting language called > "songbook"? it is a script that creates a songbook from a number of (extended, i.e. with lilypond inclusions) chordpro files. > > I am basically looking for a promising place to start. > > > > I have found this > >

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Graham Percival
On Thu, 26 Jun 2008 10:27:44 +0200 "Philip Chinery" <[EMAIL PROTECTED]> wrote: > > Long answer: > > What do you mean by a "songbird script"? > > Oh dear, of course I mean "songbook script". My thoughts must have > wandered here... I still don't follow. This is a scripting language called "song

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Philip Chinery
> Please post under the text; this makes it much easier to follow > discussions. As you can see from this email, it becomes much > harder to read if you don't do this -- newcomers must read the > bottom two parts, then the top part, then this middle part. I'm sorry for that, I am currently using

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Graham Percival
On Thu, 26 Jun 2008 09:48:37 +0200 "Philip Chinery" <[EMAIL PROTECTED]> wrote: > Thank you for the quick answer, though this is sad news for me, of > course ;-) > > I am not really familiar with python and so I had a bit of a problem > looking at the code. In general, this should not be too hard

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Philip Chinery
Thank you for the quick answer, though this is sad news for me, of course ;-) I am not really familiar with python and so I had a bit of a problem looking at the code. In general, this should not be too hard to do, when the groundwork is solid, to run this with custom widths instead of the tex com

Re: using lilypond book to create pdfs without latex

2008-06-26 Thread Valentin Villenave
2008/6/26 Philip Chinery <[EMAIL PROTECTED]>: > I am working on a small songbook script and I would like to embed the > lilypond pdfs (one pdf per line) into my pages. Is there a way to call > lilypond without having to create a surrounding tex file for that? Greetings, I don't think this is pos

using lilypond book to create pdfs without latex

2008-06-26 Thread Philip Chinery
Hello, I am working on a small songbook script and I would like to embed the lilypond pdfs (one pdf per line) into my pages. Is there a way to call lilypond without having to create a surrounding tex file for that? Maybe I have missed something there, but I have been looking in the docs and the u

Re: Ignoring certain parts when using lilypond-book

2007-08-14 Thread Graham Percival
Reinhold Kainhofer wrote: Is there a way to ignore certain parts of a .ly file (e.g. the whole \paper{..} section) when including that .ly file in a tex file for lilypond-book. There isn't any dedicated command like this. You might be able to hack something together with tags (8.2.8 Multiple

Ignoring certain parts when using lilypond-book

2007-08-07 Thread Reinhold Kainhofer
Hi all! Probably I'm just blind, but I couldn't find anything in the online documentation: Is there a way to ignore certain parts of a .ly file (e.g. the whole \paper{..} section) when including that .ly file in a tex file for lilypond-book. In particular, I want to combine lots of christmas so

Re: Using lilypond-book with 2.8.0 on Windows XP

2006-03-29 Thread Mats Bengtsson
See http://lists.gnu.org/archive/html/lilypond-user/2006-03/msg00435.html /Mats Stefan Hackl wrote: Hello, I am trying to use lilypond-book on windows XP version of 2.8.0. Unfortunately I get an error: E:\Documents\Latex\Latex-Handbücher\> lilypond-book --output=out --psfonts test.tex

Using lilypond-book with 2.8.0 on Windows XP

2006-03-28 Thread Stefan Hackl
Hello, I am trying to use lilypond-book on windows XP version of 2.8.0. Unfortunately I get an error: E:\Documents\Latex\Latex-Handbücher\> lilypond-book --output=out --psfonts test.tex lilypond-book.py (GNU LilyPond) 2.8.0 Reading test.tex... Running latex...Traceback (most recent call last

Re: Using lilypond-book

2005-02-26 Thread Graham Percival
On 26-Feb-05, at 4:17 AM, Han-Wen Nienhuys wrote: [EMAIL PROTECTED] writes: I don't think that you _can_ turn off including \header{} objects in lilypond-book, but that should be an option. I've CC'd this to bug-lilypond to make this a feature request. It's possible by overriding book-title and sc

Re: Using lilypond-book

2005-02-26 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > > On 15-Feb-05, at 9:05 PM, Don Blaheta wrote: > > > Is there any way to turn off the header printing for all snippets? > > Nothing like that seems to be among the options. > > I don't think that you _can_ turn off including \header{} objects > in lilypond-book, but t

Re: Using lilypond-book

2005-02-17 Thread Graham Percival
On 15-Feb-05, at 9:05 PM, Don Blaheta wrote: Is there any way to turn off the header printing for all snippets? Nothing like that seems to be among the options. I don't think that you _can_ turn off including \header{} objects in lilypond-book, but that should be an option. I've CC'd this to bug-l

Re: Using lilypond-book

2005-02-16 Thread Jan Nieuwenhuizen
Don Blaheta writes: > lilypond-book --filter 'myscript' svc.lytex > > Even if I just put 'cat' in as the filter (which should just output what > was fed into it), I get the following error: > Am I using bad syntax, or is this just a bug? I'm using 2.5.0 from the > Mac OS X fink distribution.

Using lilypond-book

2005-02-15 Thread Don Blaheta
Today's questions are about using lilypond-book. I'm putting together a pamphlet with various short pieces for a service; in typing in the pieces, my metadata-happy self is putting in all the title, author, and meter info, but I don't really want all that in there when it's

Using lilypond-book with LaTeX enumerate environment

2004-01-09 Thread Bostjan Kuzman
I'm new to lily and I'd like to congratulate its authors for their work first. However, I already have some problems. Using lilypond-book, I'm trying to enumerate (or itemize...) some music fragments in a LaTeX document. The resulting fragments are too wide because of indentation

[Fwd: Re: trouble using lilypond-book]

2003-09-26 Thread arie-lily
-Forwarded Message- > From: Kieren MacMillan <[EMAIL PROTECTED]> > To: arie-lily <[EMAIL PROTECTED]> > Subject: Re: trouble using lilypond-book > Date: 26 Sep 2003 11:01:47 -0400 > > Hello, Arie: > > I had the same problem(s), and after some work, it s

Re: trouble using lilypond-book

2003-09-26 Thread Olivier Cloirec
I'm not sure, but -p is used for generate PDF files (it uses Type1 fonts) whereas -P generates PostScript output with bitmap fonts. Look at your /usr/(local/)share/lilypond/1.8.0/fonts if there are "afm" and "tfm" fonts... Olivier arie-lily wrote: On Fri, 2003-09-26 at 02:23, Olivier Cloirec w

Re: trouble using lilypond-book

2003-09-26 Thread arie-lily
On Fri, 2003-09-26 at 02:23, Olivier Cloirec wrote: > Is a simple .ly file works with a PostScript output? NO, it doesn't. If I run ly2dvi -P file.ly and then view the file with ghostview file.ps it gives the same terrible result. But... if I just run ly2dvi -p file.ly, a ps file is cr

Re: trouble using lilypond-book

2003-09-25 Thread Olivier Cloirec
Is a simple .ly file works with a PostScript output? Olivier ario wrote: I used lilypond-book 1.8.0 to create a latex file in RedHat 8. Then I ran latex on that file, creating a dvi file. This file was ok in xdvi. Then I ran dvips -Ppdf on the dvi file, resulting in warnings of all sorts, mainly

trouble using lilypond-book

2003-09-25 Thread ario
I used lilypond-book 1.8.0 to create a latex file in RedHat 8. Then I ran latex on that file, creating a dvi file. This file was ok in xdvi. Then I ran dvips -Ppdf on the dvi file, resulting in warnings of all sorts, mainly regarding feta fonts (see below), and resulting in a ps file which, in ghos