[OS X TeX] Updated latexmk packaging for TeXShop.

Herbert Schulz herbs at wideopenwest.com
Sun Feb 28 17:01:27 CET 2010


Howdy,

While the latexmk version (4.13a) hasn't changed, the structure and organization of the files and engines for using latexmk with TeXShop has changed. Instead of a set of files placed directly in the ~/Library/TeXShop/bin/ folder they are now placed in a sub-folder, tslatexmk, of that directory. Also, most of the configuration that you might do (e.g., for custom glossaries using the glossaries package) is now stored in a file, latexmkrcedit, common to all of the engines, created in ~/Library/TeXShop/bin/ the first time you run any of the new engines (which are to be placed in ~/Library/TeXShop/Engines/). The original rc files are not disturbed so you can copy changes you made to them into the ltexmkrcedit file. Once you have the new setup running you may remove the rc files, the two .sh files and even the latexmk program from the ~/Library/TeXShop/bin/ folder since they will not be used by the new engines.

Starting with the next release of TeXShop any updates to the files in ~/Library/TeXShop/bin/tslatexmk/ will happen automatically when a new version of TeXShop is installed. Except for possible updates to the latexmk program itself and additional engines (e.g., one that uses latex->dvipdfmx was added in the last release) I expect those files to be stable.

You can get the update, with instructions for installing and using it, as Latexmk413aTeXShopV2.zip, from <http://homepage.mac.com/herbs2>. I know that there are sections of that documentation that are rather technical but you need only read the ``What is here?'' section for installation instructions and the ``Using latexmk with TeXShop'' section to get started using the engines.

For those of you that have no idea what using the latexmk engines does here is a general description, basically taken from the documentation:

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.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list