problem with png-file and lilypond examples in a latex-file

2011-01-05 Thread Stefan Thomas
Dear community, I have a problem with including a png-file in a latex document, which also has lilypond-examples, that I process with lilypond-book. I think, it could have to do with the graphics-package of latex. The fact is, when I don't use figure environment, that document will be compiled

Re: problem with png-file and lilypond examples in a latex-file

2011-01-05 Thread Dmytro O. Redchuk
On Wed 05 Jan 2011, 11:11 Stefan Thomas wrote: Dear community, I have a problem with including a png-file in a latex document, which also has lilypond-examples, that I process with lilypond-book. I think, it could have to do with the graphics-package of latex. The fact is, when I don't use

Re: problem with png-file and lilypond examples in a latex-file

2011-01-05 Thread Stefan Thomas
Der Drnytro, I've tried it with the following minimal example. When I uncomment the line % \pause\begin{figure} % \centering % \includegraphics[height=5 cm]{./hexachorde.png} % \end{figure} I get an error message! I've compiled it with: mkdir -p out/ lilypond-book --pdf $1.tex

Re: problem with png-file and lilypond examples in a latex-file

2011-01-05 Thread Susan Dittmar
Dear Stefan, % \pause\begin{figure} % \centering % \includegraphics[height=5 cm]{./hexachorde.png} % \end{figure} Here you include a file called hexachorde.png. Where is it located? In the same directory as the tex-file? In that case, you would have include it as

Re: problem with png-file and lilypond examples in a latex-file

2011-01-05 Thread Stefan Thomas
Dear Susan, Yes, exactly, it helped! 2011/1/5 Susan Dittmar susan.ditt...@gmx.de Dear Stefan, % \pause\begin{figure} % \centering % \includegraphics[height=5 cm]{./hexachorde.png} % \end{figure} Here you include a file called hexachorde.png. Where is it located? In the same