<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;">Hello, <br></p><p style="margin: 0px; text-indent: 0px;">I want to keep all the \label{x.x.x} things in one TeX file and want to load and run but do not want it to print to the PDF file. <br>
</p><p style="margin: 0px; text-indent: 0px;">Once I load the file then I can use \nameref to call a particular item. <br></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">Thanks for your help</p>
<p style="margin: 0px; text-indent: 0px;">Anant<br></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">\documentclass[fleqn,12pt,a4paper]{article} % normal</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{fontspec,xltxtra,xunicode}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{fancyhdr}</p>
<p style="margin: 0px; text-indent: 0px;">\pagestyle{fancy}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{color}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{setspace}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{hyperref}</p>
<p style="margin: 0px; text-indent: 0px;">%\usepackage{fontenc}</p>
<p style="margin: 0px; text-indent: 0px;">%\usepackage{microtype}</p>
<p style="margin: 0px; text-indent: 0px;">%\usepackage[utf8x]{inputenc}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{cmll}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{tabularx}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{pifont}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{amstext, amsmath}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">%\setmainfont[Script=Devanagari]{Sanskrit2003}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">\begin{document} </p>
<p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">\section{Enter you equation here   8.1.1} \label{8.1.1}</p>
<p style="margin: 0px; text-indent: 0px;"><br></p>
<p style="margin: 0px; text-indent: 0px;">\section{Enter new equation Here  6.1.85} \label{8.1.2}</p>
<p style="margin: 0px; text-indent: 0px;"><br></p>
<p style="margin: 0px; text-indent: 0px;">$ \mbox{Roots}\xrightarrow{\mbox {\scriptsize{\nameref{8.1.1}}}} \mbox{Intermediate form} \xrightarrow{\mbox {\scriptsize{\nameref{8.1.2}}}} \mbox{Final word} $  \\</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">\end{document} </p>