This is a followup to my own post, after trying some more things.
"Laura" == Laura Conrad <address@hidden> writes:
"Mats" == Mats Bengtsson <address@hidden> writes:
Mats> I recommend to use the pdflatex mode of lilypond-book:
Mats> lilypond-book --pdf --output=out 1-test1.lytex
Mats> cd out
Mats> pdflatex 1-test1
Laura> I'm having trouble making this work. I'm on an Ubuntu edgy system
Laura> running lilypond 2.10. I can run the commands, but the PDF file has
Laura> only a page number, not any music or headers or anything. I get a
lot
Laura> of error messages of the form:
Laura> Non-PDF special ignored!
Googling on this error message, I find
<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nonpdfsp> which
suggests that I should replace the line:
\usepackage[dvips]{graphicx}
with:
\usepackage{graphicx}
This is in fact what I've done when I've used pdflatex with graphicx
in non-lilypond contexts.
But when I use this with lilypond-book pdflatex complains:
pdflatex> loading : Context Support Macros / PDF (2004.03.26)
pdflatex> ) (./lily-699cf55d03-systems.tex
pdflatex> ! LaTeX Error: File `lily-699cf55d03-1' not found.
pdflatex> See the LaTeX manual or LaTeX Companion for explanation.
pdflatex> Type H <return> for immediate help.
pdflatex> ...
pdflatex> l.1 \includegraphics{lily-699cf55d03-1}
I have the same problem when I say:
\usepackage[pdftex]{graphicx}
address@hidden:~/src/lilypond/test$ ls out/lily-699cf55d03-1*
out/lily-699cf55d03-10.eps out/lily-699cf55d03-16.eps
out/lily-699cf55d03-11.eps out/lily-699cf55d03-17.eps
out/lily-699cf55d03-12.eps out/lily-699cf55d03-18.eps
out/lily-699cf55d03-13.eps out/lily-699cf55d03-19.eps
out/lily-699cf55d03-14.eps out/lily-699cf55d03-1.eps
out/lily-699cf55d03-15.eps
address@hidden:~/src/lilypond/test$
So it looks like my version of pdflatex isn't finding .eps files with
no extension.
But when I add the extension, pdflatex says:
! LaTeX Error: Unknown graphics extension: .eps.
My impression is that pdflatex expects graphics as a png, jpg, or pdf,
not as an eps file.
Is anyone running Linux using the --pdf option to lilypond-book, and
if so can you send me a sample .lytex file?