|
From: | James Bailey |
Subject: | Re: lilypond-book question |
Date: | Thu, 7 Jan 2010 00:42:12 +0100 |
On 07.01.2010, at 00:03, John Mandereau wrote:
I feel like I'm going mad. Am I looking at the wrong documentation? When I go to kainhofer, and I look at the documentation for 2.13. in the Application Usage manual, section 3.4, Invoking lilypond-book, I see:Le mardi 05 janvier 2010 à 10:35 +0100, James Bailey a écrit :Firstly, lilypond complains that it doesn't understand this extension.lilypond-book: error: cannot determine format for: lily-book- sample.pdftexThis is normal: according to "4.5 Filename extensions" athttp://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/ Filename-extensionsyou must specify --format command line option if you don't use a filename extension recognized by lp-book. Best, John
There are two ways of processing your LaTeX document for printing or publishing: getting a PDF file directly with PDFLaTeX, or getting a PostScript file with LaTeX via a DVI to PostScript translator like dvips. The first way is simpler and recommended1, and whichever way you use, you can easily convert between PostScript and PDF with tools, like ps2pdf and pdf2ps included in Ghostscript package.
To produce a PDF file through PDFLaTeX, use lilypond-book --pdf yourfile.pdftex pdflatex yourfile.texThere's really no mention of --format there, or anything, really. It seems pretty spartan, and I think the commands there, really don't work, regardless of the input file.
As to my other problems with graphicx and pdftex, I can compile files just find with the --latex-program=pdflatex except I can't include other images. I'm still working on it.
[Prev in Thread] | Current Thread | [Next in Thread] |