[OS X TeX] TexShop's lualatexmk not creating index of names or nomenclature

Herbert Schulz herbs2 at mac.com
Sat Jan 17 10:56:13 EST 2026



> On Jan 17, 2026, at 9:34 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> I have a book-length document with an index along with a separate index of names and an index of notation, the latter produces with the nomencl package. And f course the premable includes
> 
> \makenomenclature
> \makeindex[names]
> \makeindex
> 
> and the document ends with
> 
> \printnomenclature
> \printindex[names]
> \printindex
> 
> (with some related styling commands and changes of \indexname).
> 
> Yet when using lualatexmk with TeXShop 5.57, the nomenclature index and the index of names are not printed.
> 
> What's wrong?
> 
> The source depends on the following files:
> 
> % Top of main source file:
> % !TEX program = lualatex
> % !BIB program = biber 
> \NeedsTeXFormat{LaTeX2e}[2025-11-01]
> 
> % platexmkrc
> $makeindex = "makeindex -s %R.ist %O -o %D %S";
> 
> \ProvidesFile{nomencl.ist}[2023-05-30 nomenclature style file] 
> %% ---- for input file ----
> keyword   "\\nomenclatureentry"
> quote '%'
> %% ---- for output file ----
> preamble   "\n\\begin{thenomenclature} \n"%
> postamble  "\n\n\\end{thenomenclature}\n" group_skip "\n"
> delim_0    ""
> delim_1    ""
> delim_2    ""
> %% The next lines will produce some warnings when
> %% running Makeindex as they try to cover two different
> %% versions of the program:
> lethead_prefix "\\nomgroup{"
> lethead_suffix "}"
> lethead_flag   1
> heading_prefix "\\nomgroup{"
> heading_suffix "}"
> headings_flag  1
> line_max 1000
> \endinput
> 
> Also, a nomencl.cfg *which I don't think is relevant to the problem.)
> 
> 
> ---
> Murray Eisenberg murrayeisenberg at gmail.com

Howdy,

First notice that you are running lualatex not lualatexmk.

Second, what .nlo files are produced by the run of lualatex?

Note: the latexmkrcedit file found in ~/Library/TeXShop/bin already has a rule for latexmk to produce the proper .lnd file when a .nlo is produced. there is no need for a separate definition of $makeindex in a platexmkrc file.

Good Luck,

Herb Schulz
herbs2 at mac.com




More information about the MacOSX-TeX mailing list