[OS X TeX] TeXShop: platexmkrc for making glossaries (and indexes) with pdflatexmk engine?

Murray Eisenberg murrayeisenberg at gmail.com
Wed Sep 28 14:22:40 EDT 2016


I should add that one of the glossaries will be notation, and for that I do *not* want entries sorted (i.e., they should appear in the order of the page where they are first marked).  The other glossary will be of terminology, and that one I will want sorted alphabetically.

> On Sep 27, 2016, at 8:30 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> I’d like to be able to make glossaries (via the glossaries.sty package) when I run the pdflatexmk engine from within TeXShop.
> AND still to make multiple indexes.
> 
> Here’s the current platexmkrc file (in the document’s source file folder):
> 
>   add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
> 	sub makeglo2gls {
> 			system("makeindex -s basic.gst -t '$_[0]'.glg -o '$_[0]'.gls '$_[0]'.glo");
> 	};
>   $makeindex = "makeindex -s %R.ist %O -o %D %S”;
> 
> What changes are needed to that?
> 
> Note that I will likely be using different style files for the indexes, on the one hand, and the glossaries, on the other hand.
> 

---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334





More information about the MacOSX-TeX mailing list