使用 nomentbl 生成命名法

使用 nomentbl 生成命名法

我正在尝试使用包生成命名法nomentbl。我发现 user11232 在带符号和注释的页面.代码如下

\documentclass{article}
\usepackage[intoc]{nomentbl}
\makenomenclature
\renewcommand{\nomname}{List of Abbreviations and Symbols}
\renewcommand{\nompreamble}{Following symbols are used in the present work:}
\setlength{\nomitemsep}{-\parsep}
\usepackage[colorlinks=true]{hyperref}

\begin{document}
\printnomenclature
\clearpage
\phantomsection
This is $F$\label{nomen:F} \nomenclature[EF]{$F$}{Objective function}{}{\pageref{nomen:F}}
\clearpage
\newpage
\phantomsection
This is $ND\_SNK$\label{nomen:ND} \nomenclature[EN]{$ND\_SNK$}{Total number of load buses in sink area}{}{\pageref{nomen:ND}}
\newpage
\phantomsection
This is $P_{Gi}$\label{nomen:Gi} \nomenclature[EP]{$P_{Gi}$}{Real power generation at bus $i$}{MW}{\pageref{nomen:Gi}}

\end{document}

我被指示先用 编译它pdflatex,然后运行makeindex.exe -s nomentbl.ist -t "doi.nlg" -o "doi.nls" "doi.nlo"​​。所以我为 TeXworks 添加了一个新的处理工具,如下所示,

在此处输入图片描述

然后我使用“makeindex”运行我的 tex 文件“doi.tex”,但出现以下控制台输出:

Expected -s <stylefile>
Usage: makeindex [-ilqrcg] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]

任何能解决此问题的帮助都将不胜感激。

答案1

配置窗口应该像下面这样(每行一个“字”)。添加一个新工具,不要修改 Makeindex 的工具。

在此处输入图片描述

相关内容