[EMAIL PROTECTED] writes:
> pl4.uu1 changed the way graphics is included into the latex
> file created by mudela-book. I was not comfertable with the
> way this made a mudela-book session look like:
> 
>    mudela-book myfile.doc     (creates out/myfile.latex)
>    cd out              (trying to do latex out/myfile.latex 
> fails)
>    latex myfile.latex
>    xdvi myfile
>    cd ..
> 
> Some changes in pl4.uu1 was that graphics is included as
> filename-0.0.0.tex, not out/filename-0.0.0.tex. This mean 
> you have to cd into 'out' to process the file with latex, 
> 'latex out/myfile.latex' fails.

that's weird.  latex/myfile.latex  just works for me. 

> No one should really wany to edit out/myfile.latex before
> running latex on it. And if you need m4 processing you do it
> before you run mudela-book.

That's fine, but how would you (automatically) run bibtex and
makeindex? mudela-book should then provide hooks for that.

Oh, I see, you want mudela-book to be similar to "latex".

> All graphics files like myfile-0.0.0.tex will, as earlier,
> by default go into 'out'. Files created by latex, like
> '.log', '.aux' and '.ind' will be created in current dir,
> but this is how latex does things, and should not be a
> problem. This files should not be deleted by mudela-book
> after creating myfile.dvi because LaTeX need them for the
> second pass to create index and table of contents.

I disagree: all compilation mess (.aux, .log) should be in a 
different directory (for instance out/), otherwise source directories
get cluttered.

> To make mudela-book behave like I have described, things 
> should happen
> like this:
> * I will include tex and eps graphics into the latex
>   document the way before pl4.uu1, 
>   \input out/myfile-0.0.0.tex instead of 
>   \input myfile-0.0.0.tex
> * the generated latex document will go into 
>   'out/myfile.latex'
> * mudela-book will execute the command 
>   'latex out/myfile.latex' that creates 'myfile.dvi', even
>   if nothing has changed, because you might do it a second
>   time to update indexes. Lilypond, tex or 
>   dvips should only be run when files have changed.
> 
> If no one disagrees, I'll send a patch that makes the
> changes. (It is already written)

I am not the religious type of guy, I just want 

        make -C Documentation/tex WWW

to work.

-- 

Han-Wen Nienhuys, [EMAIL PROTECTED] ** GNU LilyPond - The Music Typesetter 
      http://www.cs.uu.nl/people/hanwen/lilypond/index.html 

Reply via email to