[OS X TeX] how imitate TeXShop's pdflatexmk from command line
Murray Eisenberg
murrayeisenberg at gmail.com
Thu Aug 22 21:25:17 CEST 2019
Don’t I also need a similar dependency for the separate “names” index? If so, what?
> On 22 Aug2019, at 3:08 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
>> 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.nlo -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");
> }
>
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20190822/ba6e3d33/attachment.html>
-------------- next part --------------
----------- 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