[OS X TeX] platexmkrc: makeindex for nomenclature

Murray Eisenberg murrayeisenberg at gmail.com
Mon Apr 7 20:12:53 EDT 2025


the nomenclature is working now without the addtion to platexmrc. I have no idea what changed to cause my problem with it -- except possibly that pdflatexmk was exhausting the permitted number of passes before reaching stability. (Although the issue of nomenclature entries being "rejected" seemed, from the log, to happen well before the final pass.)


> On Apr 7, 2025, at 7:53 AM, Herbert Schulz <herbs2 at mac.com> wrote:
> 
> 
> 
>> On Apr 6, 2025, at 8:00 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>>> 
>>> On Apr 6, 2025, at 8:05 PM, Herbert Schulz <herbs2 at mac.com> wrote:
>>> 
>>> 
>>>> On Apr 6, 2025, at 5:57 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>>> 
>>>> That did it - thanks!
>>>> 
>>>> But was there some change in a TeXShop or texlive engine, or in pdflatex, or in nomencl.sty, causing that addition to be required?
>>>> 
>>>> I ask because I _think_ that, at least until recently, it sufficed to have the single line
>>>> 
>>>> $makeindex = "makeindex -s %R.ist %O -o %D %S";
>>>> 
>>>> in platexmkrc.
>>>> 
>>>>> On Apr 6, 2025, at 6:18 PM, Herbert Schulz via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>>>>> 
>>>>> 
>>>>> 
>>>>>> On Apr 6, 2025, at 3:40 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>>>>> 
>>>>>> nomencl
>>>>> 
>>>>> Howdy,
>>>>> 
>>>>> You don't want to to change the makeindex command since that will work for your standard indexes. Add the lines
>>>>> 
>>>>> add_cus_dep('nlo', 'nls', 0, 'makenlo2nls');
>>>>> sub makenlo2nls {
>>>>> system("makeindex -s nomencl.ist -o '$_[0]'.nls '$_[0]'.nlo");
>>>>> }
>>>>> 
>>>>> (line breaks may be bad here - I've attached a file with the proper line breaks) which deals with nlo->nls extensions separately.
>>>>> 
>>>>> <add to platexmkrc.tex>
>>>>> 
>>> 
>>> Looking at ~/Library/TeXShop/bin/latexmkrcedit I see that dependancy is actually there. Did you remove that file or edit it and remove that dependancy?
>>> 
>> 
>> File latexmkrcedit is indeed in ~/Library/TeXShop/bin/latexmkrcedit (although dated 2022, it's identical to the 2025 file ~/Library/TeXShop/bin/tslatexmk/latexmkDONTrcedi, and it already contains what you said to add to my platexmkrc, namely:
>> 
>> add_cus_dep('nlo', 'nls', 0, 'makenlo2nls');
>> sub makenlo2nls {
>> system("makeindex -s nomencl.ist -o '$_[0]'.nls '$_[0]'.nlo");
>> }
>> 
>> So now I'm really puzzled, since as soon as I added that to my platexmkrc, the nomenclature compiled. Before I added it, I saw the error that all the entries for the nomenclature had been "rejected"!
>> 
> 
> Howdy,
> 
> That is very puzzling. And yes, that file hasn't changed in a long time. It's automatically read by the pdflatexmk engine at the start of running.
> 
> Could you send me a test file that shows me the failure? My test file for using nomencl typesets fine with no changes.
> 
> Here's my simple test file:
> 

> 
> Good Luck,
> 
> Herb Schulz
> herbs2 at mac.com <mailto:herbs2 at mac.com>
---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20250407/0c0ff5dd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testnomencl.tex
Type: application/octet-stream
Size: 548 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20250407/0c0ff5dd/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20250407/0c0ff5dd/attachment-0001.htm>


More information about the MacOSX-TeX mailing list