[OS X TeX] Updated latexmk packaging for TeXShop.

Herbert Schulz herbs at wideopenwest.com
Sun Feb 28 18:14:34 CET 2010


On Feb 28, 2010, at 10:55 AM, George Gratzer wrote:

> 
> On 2010-02-28, 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)
> 
> Of course, I discard with the 
> 
> Trash Aux Files
> 
> which throughs out everything but the kitchen sink.
> 
> But you did not respond. This would be really nice to have.
> 
> GG

Howdy,

I've added the ``fdb_latexmk'' file extension to what the `Trash Aux Files' command does using

defaults write TeXShop OtherTrashExtensions -array-add "fdb_latexmk"

in Terminal. When I run the ``Trash Aux Files'' menu item and then re-compile the complete compile, bibtex and/or makeindex, compile, etc., cycle is done.

Basically, removing the .fdb_latexmk file gives latexmk a lobotomy about previous runs. :-) 

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list