[OS X TeX] how imitate TeXShop's pdflatexmk from command line

Herbert Schulz herbs at wideopenwest.com
Thu Aug 22 15:08:15 EDT 2019


> On Aug 22, 2019, at 1:54 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> No, I am not using either glossaries or the old glossary package. Just nomencl for the index of notation.
> 
> Given that I now am using, at the command line, separate makeindex commands...
> 
> makeindex main -s main.ist -o main.nls              
> makeindex names.idx -s main.ist -o names.ind
> makeindex -s main.ist main
> 
> ...I don’t see what use to make of the custom dependencies in TeXShop’s latexmkrcedit. Specifically, is the custom dependency something I add to some config file for command-line use of the TeXLive latexmk?
> 
> 

Howdy,

The latexmkrc in the same folder as the root .tex file file should have

add_cus_dep('nlo', 'nls', 0, 'makenlo2nls');
sub makenlo2nls {
		system("makeindex -s nomencl.ist -o '$_[0]'.nls '$_[0]'.nlo");
}

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)



More information about the MacOSX-TeX mailing list