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용 도구를 수정하지 마세요.

여기에 이미지 설명을 입력하세요

관련 정보