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

設定ウィンドウは次のようになります (1 行に 1 つの「単語」)。新しいツールを追加します。Makeindex のツールは変更しないでください。

ここに画像の説明を入力してください

関連情報