
我正在嘗試實現命名法,但它沒有列印。我見過其他相關情況,但通常這是因為它們無法正確執行命令,但是,我正確地將其用作 TeXMaker 命令,其中表示:
pdflatex -synctex=1 -interaction=nonstopmode %.tex|
makeindex %.nlo -s nomencl.ist -o %.els|
pdflatex -synctex=1 -interaction=nonstopmode %.tex|
"C:/Program Files/Adobe/Reader 11.0/Reader/AcroRd32.exe" %.pdf
我的 LaTeX 文件是手冊中的演示文件nomencl
(但有一些非常小的修改):
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel} % language modifications
\usepackage{nomencl}
\makenomenclature
\title{Nomencl}
\author{Yo}
\date\today
\begin{document}
\maketitle
\section*{Main equations}
\begin{equation}
a=\frac{N}{A}
\end{equation}%
\nomenclature{$a$}{The number of angels per unit area}%
\nomenclature{$N$}{The number of angels per needle point}%
\nomenclature{$A$}{The area of the needle point}%
The equation $\sigma = m a$%
\nomenclature{$\sigma$}{The total mass of angels per unit area}%
\nomenclature{$m$}{The mass of one angel}
follows easily.
\printnomenclature
\end{document}
該文件運行正確,沒有錯誤或任何類型的警告,但仍然不列印術語。有什麼幫助嗎?
答案1
好吧,抱歉,我實際上已經找到了我自己問題的答案,當我執行時它就起作用了
makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg
反而。