[OS X TeX] Updated latexmk packaging for TeXShop.
Herbert Schulz
herbs at wideopenwest.com
Sun Feb 28 14:21:10 EST 2010
On Feb 28, 2010, at 1:19 PM, Herbert Schulz wrote:
>
> On Feb 28, 2010, at 11:14 AM, Herbert Schulz wrote:
>
>>
>> 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)
>>
>
> Howdy,
>
> Sorry I misunderstood what had happened. I added the fdb-latexmk extension along with others to my TeXShop a long time ago (using the Terminal command I gave above) so everything just worked on my end. I was also removing the bbl file so I'd get a complete re-compile. I've now tested by going back to TeXShop's defaults and only adding the fdb_latexmk extension to the File->Trash Aux Files and it does just the right things to completely regenerate the document.
>
> I hope this helps you. Sorry for any misunderstanding on my part.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
Howdy,
Sigh... that should be fdb_latexmk NOT fdb-latexmk in the first line above. The later reference is correct.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list