Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-06 03:13:01


Hi Zbynek,

> Has anyone tried to make toolset for LaTeX for v2? What would it take?

I think that for a basic ".tex" -> ".dvi" transformation you would want to
create file "tex.jam", declare two new target types and a generator to
convert between them.

The attached project can serve as an example. You'd need to do some renames
and of course change the command itself.

There are some problems. First, you need to run latex three times, to resolve
all references. Human can avoid it by looking at the output (I think), but
bjam is not hunam. Second, tex produces a lot of additional files. Unless you
tell Boost.Build about those files, "clean" won't remove them. The problem is
that the list of files is different depending on how you use tex (with
BibTex, or without, and so on). Finally, I forgot how BibTeX is really used,
so this might add more complexities.

But a simple first version should be easy.

- Volodya
 --Boundary-00=_NwBPBKiBmnNKHd9 Content-Type: application/x-zip;
name="mex.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="mex.zip"

[Attachment content not displayed.] --Boundary-00=_NwBPBKiBmnNKHd9--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk