[OS X TeX] Does anyone have a LaTeX Makefile?

Herbert Schulz herbs at wideopenwest.com
Wed Sep 29 19:53:01 CEST 2010


On Sep 29, 2010, at 10:26 AM, Jeremy Conlin wrote:

> On Wed, Sep 29, 2010 at 9:18 AM, William Adams <will.adams at frycomm.com> wrote:
>> On Sep 29, 2010, at 11:02 AM, Jeremy Conlin wrote:
>> 
>>> I am looking for a Makefile for LaTeX so I don't have to make one up
>>> myself.  I am particularly interested in one that is smart about when
>>> it needs to compile multiple times or if one time is sufficient.
>>> Usually, when I'm writing a paper, the bibliography information
>>> doesn't change much.  But once in awhile, I will add a new citation
>>> and the bibliography will have to be generated again.  Unless a new
>>> citation is added I would like the Makefile to only compile LaTeX
>>> once, because that is all that is required.
>>> 
>>> Does anyone have such a Makefile?
>> 
>> I believe you want the nifty latexmk --- there should be an engine and documentation for it in:
>> 
>> /Users/<yourusernamehere>/Library/TeXShop/Engines/Inactive/Latexmk
>> 
>> Very, very cool.
> 
> Very, very cool indeed.  Thanks for pointing that out to me.  Now I
> just need to check out all the options.
> 
> Jeremy

If you're not using TeXShop (with the engines, etc.) TeX Live has latexmk so you can get the full original documentation (the documentation that comes with TeXShop is more about the engines supplied) by running

texdoc latexmk

in Terminal. It might be worth your while to look at the `rc' files in ~/Library/TeXShop/bin/tslatexmk/ and examine the engine files in ~/Library/TeXShop/Engines/Inactive/Latexmk/ for some ideas if you want to build your own or use latexmk with another editor/front end.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list