[Cook] LaTeX rule file
Marek Kubica
marek at xivilization.net
Sun Oct 12 08:21:14 EST 2008
Hi,
I'm currently writing a document using LaTeX and so I thought "why not
try using cook instread of make" (I also considered other build
systems like omake, scons or bjam, but decided to try cook first).
Unfortunately, cook does not ship any LaTeX build rules, so I decided
to hack my own. It isn't currently very sophisticated, but I am
planning on extending it, I just need to learn a bit more about how
exactly cook works and how to find out when a LaTeX file has finished
building (since LaTeX creates PDF files in multiple passes).
In the mean time, I wanted to attach the file, for all who don't need
any fancier features.
My document structure looks like this:
document/document.tex (which is the main document that gets compiled
by pdflatex)
and Howto.cook which only contains a single #include "latex"
I hope it is not too specific, but I tried generalizing my Howto.cook
untill, well, nothing was left. It currently does hardcode the LaTeX
processor etc. but I'll make this configurable soon.
regards,
Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: latex
Type: application/octet-stream
Size: 1708 bytes
Desc: not available
URL: <http://lists.auug.org.au/pipermail/cook-users/attachments/20081011/1b0c02e3/attachment.obj>
More information about the Cook-users
mailing list