Ok. So well.. I tweaked a little bit and now it seems to work. What I wanted is just the anhang (appendix) to be typesetted by lilypond, the other examples I wanted as simple images. So I kept the file structure and just made a file anhang.lytex which I compiled (tanks very much for the make file) and then just included the anhang.pdf in the regular document with includepdf. Then I had to tweak with setcounter and addtotoc. Well. That's how it worked. Maybe there's a neater solution... But at all thanks a lot for your help.
Cheers Stefan > This is the only thing I don't know how to do either. If I learn I'll > let you know. > All the best, > Hugo > > stefankaegi escreveu: > > That's great. :) > > There's one thing left. Somehow the table of contents and the list of > > figures isn't displayed. I don't know what I should do there to make it > > work. > > > > But thanks a lot for your help so far > > > > Stefan > > > >> Now it is working. I did a lot of changing, mainly the folders. I > >> deleted all. I don't know too much abou automatizing the 'makefile' so I > >> had to adapt your thesis to what I know. > >> > >> 1) I changed hauptdatei.tx to hauptdatei.lytex > >> 2) I created a 'make' file. so now the only thing you need to do is to > >> type 'sh make' and let the computer do the rest. > >> 3) I put all your tex files in the root directory, so the make file will > >> find them and work properly. > >> 4) I created one folder to the graphics. I inserted one example using > >> your motivation graphic. Take a look at the PDF. In order to the 'make' > >> file find your graphics, I needed to specify the path in the main file. > >> \graphicspath{{../graphics/}} > >> > >> 5) Now your mais file is like this: > >> > >> \begin{document} > >> \graphicspath{{../graphics/}} > >> > >> \input{titlepage} > >> \tableofcontents \setcounter{page}{1} > >> > >> \input{einleitung} > >> \input{analyse} > >> \input{feldarbeit} > >> \input{schlusswort} > >> \begin{appendix} > >> \input{anhang} > >> \end{appendix} > >> \listoffigures > >> > >> \end{document} > >> > >> As you can see, I removed all the references to folders and subfolders. > >> > >> 6) In your lilypond files, that are in the 'lily-examples' folder, I > >> comented some lines in order to make the 'fragment' option work under > >> the lilypondfile options. > >> > >> That's it. I think all your problem was all those folders. I know that > >> it is possible to make it that way, but I don't know how. Puting all the > >> tex files in the root directory is enough to make it work. > >> > >> Any doubts, just send me an email. > >> > >> All the best, > >> > >> and don't forget to let me know when you finish your thesis. > >> > >> Hugo > >> > >> p.s. your files (altered) are attached. > > > > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user