[OS X TeX] Why won't TeXShop pdflatexmk use index style

Murray Eisenberg murrayeisenberg at gmail.com
Fri Aug 5 23:41:45 CEST 2016

> On Aug 5, 2016, at 5:10 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>> On Aug 5, 2016, at 3:47 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> Is $B supposed to be the name (before extension) of the base .tex file?
> ...I believe %B is supposed to be the basename of the input file to the command being executed. Did you reatain that dependency and rule you originally wrote? If so please remove it and substitute the one I gave.
> If %B doesn't work then try %R which is supposed to be the base name of the original .tex file. Maybe that is what you want anyway….
> Good Luck,
> Herb Schulz

No “luck” needed, just your experience & expertise! Thanks so much once again.

Using %R instead of $B works just find in my platexmkrc, which for the possible benefit of others who see this is now:

    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";

(I did _not_ retain the original add_cus_dep('idx', 'ind', 0, 'makeidx2ind’); sub makidx2ind rule that I had tried in platexmkrc .)

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: <http://tug.org/pipermail/macostex-archives/attachments/20160805/e4d59893/attachment-0001.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
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