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

Herbert Schulz herbs at wideopenwest.com
Thu Aug 22 21:08:15 CEST 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)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list