On 07.01.2010, at 00:03, John Mandereau wrote:
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.pdftex
This is normal: according to "4.5 Filename extensions" at
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/
Filename-extensions
you must specify --format command line option if you don't use a
filename extension recognized by lp-book.
Best,
John
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:
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.tex
There'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.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user