无法生成命名法

无法生成命名法

我正在尝试使文档与 Mac OSX 上的 TeXShop 中的命名法兼容。运行以下命令时:

\documentclass[journal]{IEEEtran}
\usepackage{nomencl}
\makenomenclature 

\begin{document}

\section*{nomenclature}

\nomenclature{$J$}{Juice}%
\nomenclature{$A$}{Apples}%
\nomenclature{$O$}{Oranges}%
\printnomenclature

\end{document}

我收到此错误:

This is makeindex, version 2.15 [TeX Live 2014] (kpathsea + Thai support).
Scanning input file L_Baron_Final_Report.idx...done (0 entries accepted, 0 rejected).
Nothing written in L_Baron_Final_Report.ind.
Transcript written in L_Baron_Final_Report.ilg.

我在需要命名的地方什么也没看到。在 Library/TeXShop/Engines 中,我有 Nomenclature.engine,其中包含:

#!/bin/sh

bfname=$(dirname "$1")/"`basename "$1" .tex`"
makeindex "$bfname".nlo -s nomencl.ist -o "$bfname".nls

我怎样才能让它工作?

相关内容