I am running this latex file through PDFLaTeX i am getting this warnings
- latex warning: there were undefined references.
- latex warning: label(s) may have changed. Rerun to get cross-reference right.
latex warning: reference 'lastpage' on page 76 undefined on input line 3200. like this on every page end.
my latex file is like this
Code: Select all
\documentclass[a4paper,leqno,twoside]{article}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{multirow}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{color}
\usepackage[colorlinks=true]{hyperref}
\usepackage{draftwatermark}
\SetWatermarkText{EXPERIMENTAL}
\SetWatermarkScale{0.6}
\usepackage{parskip}
\graphicspath{{Figure/}}
\let\oldsection\section
\renewcommand{\section}{\clearpage\oldsection}
\begin{document}
% Issued by {Name, acronym, department, phone}
\issuedby{vrebwr}
% Checked by
\checkedby{-}
% Approved by
\approvedby{-}
% Document title. Use \doctitleShort{} to insert a shorter title in the header.
\doctitle{test numbers with id}
\doctitleShort{document for tests}
% Publish date
\publishdate{\today}
% Titlepage
\frontmatter % Should be on first page
\maketitle
\vspace*{08eX}
\begin{center}
\subsection*{Abstract}
\end{center}
\noindent
it contains information about tests.
\newpage
\mainmatter
% Main pages. This command should be on page 2 or later.
\phantom{phantom}
\cleardoublepage
\subsection*{Change Record}
\begin{itemize}
\item R.1: Initial version.
\begin{itemize}
\item generation of documentation using the vrebwr
\end{itemize}
\end{itemize}
\cleardoublepage
\setcounter{tocdepth}{2}
\tableofcontents
\cleardoublepage
\section{ How to read the tset information}
\begin{enumerate}
\item information how to read
\item information of tests
\end{enumerate}
\section{test numbers}
\subsection*{1, temperature sensor. }
\addcontentsline{toc}{subsection}{ 1, temperature sensor.}
\subsubsection*{data}
some data regarding test where we performed
\subsubsection*{values}
temperature sensor value here three or more.
\subsubsection*{reason}
why we get like this.
\newpage
\subsection*{2, humidity sensor. }
\addcontentsline{toc}{subsection}{ 2, humidity sensor.}
\subsubsection*{data}
some data regarding test where we performed
\subsubsection*{values}
humidity sensor value here three or more.
\subsubsection*{reason}
why we get like this.
\subsection*{3, pressure sensor. }
\addcontentsline{toc}{subsection}{ 3, pressure sensor.}
\subsubsection*{data}
some data regarding test where we performed
\subsubsection*{values}
pressure sensor value here three or more.
\subsubsection*{reason}
why we get like this.
\newpage
\end{document}
Code: Select all
\addcontentsline{toc}{subsection}{1,temperature sensor.}