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

Jeremy Conlin jlconlin at gmail.com
Thu Sep 30 16:14:52 CEST 2010


On Wed, Sep 29, 2010 at 11:53 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
> 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.

Is there anyway to set the previewer in latexmk to use Apple's Preview
and automatically update?  I really don't want to download another PDF
viewer just for this purpose.

Thanks,
Jeremy



More information about the macostex-archives mailing list