[OS X TeX] Updated latexmk packaging for TeXShop.

Herbert Schulz herbs at wideopenwest.com
Sun Feb 28 11:53:11 EST 2010


On Feb 28, 2010, at 10:45 AM, Herbert Schulz wrote:

> On Feb 28, 2010, at 10:17 AM, George Gratzer wrote:
> 
>> 
>> On 2010-02-28, at 10:01 AM, Herbert Schulz wrote:
>> 
>>> 
>>> What is latexmk?
>>> 
>>> Compiling a .tex file that contains cross-references, bibliographic references and/or indexes is a multi-pass process; i.e., you've got to run (pdf/xe)latex multiple times with possible intermediate runs of bibtex and/or makeindex until all references are resolved. The latexmk perl program, rewritten and presently maintained by John Collins, automates this multi-pass process. By default it first runs (pdf/xe)latex on a source file, determines file dependencies by examining the .aux and .log files produced by the run and then automatically runs bibtex and/or makeindex, if needed, and the correct number of additional runs of (pdf/xe)latex to generate the bibliography, index and cross-references. This latest version of latexmk also works correctly with the nomencl package as well as the glossary and glossaries packages and other packages that produce multiple bibliographies or indexes.
>>> 
>> 
>> Herb,
>> 
>> Does it know that the aux files had to be discarded and so LaTeX has to be run twice?
>> 
>> GG
> 
> Howdy,
> 
> I'm not sure but the behavior is the same as the previous version so there is no change there.
> 
> Is there a reason to just discard aux file rather than all the auxiliary files created by the compile run? E.g., aux, log, synctex.gz, fdb_latexmk (creted by latexmk), etc?
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)

Howdy,

I just played with it a bit. If I just remove the aux file latexmk won't re-run but if I also remove the pdf file (or if the pdf was never created) it seems to rerun.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list