我不知道为什么不显示页数:
“页数:??”
这是一张图片:
我的主要
\documentclass[a4paper,11pt,msc]{SBU}
\input{commands}
\begin{document}
\frontmatter
\thispagestyle{empty}
\begin{figure}
\centering
\includegraphics[width=\linewidth]{besm}
\end{figure}
\vfill
\clearpage
\newpage
\thispagestyle{empty}
\pagenumbering{adadi}
\input{fa_title}
\include{preface}
\clearpage{\pagestyle{empty}\cleardoublepage}
\tableofcontents
\clearpage{\pagestyle{empty}\cleardoublepage}
\listoftables
\clearpage{\pagestyle{empty}\cleardoublepage}
\listoffigures
\clearpage{\pagestyle{empty}\cleardoublepage}
\mainmatter
\clearpage{\pagestyle{empty}\cleardoublepage}
\include{chapter1}
\clearpage{\pagestyle{empty}\cleardoublepage}
\include{chapter2}
\clearpage{\pagestyle{empty}\cleardoublepage}
\include{chapter3}
\clearpage{\pagestyle{empty}\cleardoublepage}
\include{chapter4}
\clearpage{\pagestyle{empty}\cleardoublepage}
\include{conclusion}
\clearpage{\pagestyle{empty}\cleardoublepage}
\backmatter
{\small
{\baselineskip=.75cm
\include{dicfa2en}
\clearpage{\pagestyle{empty}\cleardoublepage}
\include{dicen2fa}}
\clearpage{\pagestyle{empty}\cleardoublepage}
\include{references}
}
\input{en_title}
\label{LastPage}
\end{document}
“还有我的英文标题”
\baselineskip=.6cm
\begin{latin}
\latinuniversity{ University}
\latinfaculty{Faculty of Mathematical Sciences}
\latindegree{M. Sc. }
\latinsubject{Department of Mathematics}
\latinfield{Computer Science}
\latintitle{Solving Fractional Differential Equations }
\firstlatinsupervisor{Dr. Kourosh }
\firstlatinadvisor{Dr. Ali }
\latinname{Mah}
\latinsurname{Alone}
\latinthesisdate{2013}
\latinkeywords{Spectral Methods, Fractional Defferential Equations,Chebyshev functions}
\en-abstract{\noindent
Computer Sciences are a connection between knowledge of Computer and Mathematics. }
\latinvtitle
\end{latin}
答案1
您是否运行过 pdflatex 两次?它至少需要运行两次才能找到标签的值。但是,如果您的页面编号为 1、2、... 直到最后一页,您才会得到有用的数字。如果您在某处切换编号(例如切换到 i、ii、iii),它会中断,您只会得到最后一页的页码(而不是总数)。
有一个包可以帮助解决后一种情况:http://www.ctan.org/pkg/pageslts