[XeTeX] \include File

A u akupadhyayula at gmail.com
Sun Nov 21 00:10:29 CET 2010


Hello,

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.

Once I load the file then I can use \nameref to call a particular item.


Thanks for your help

Anant


\documentclass[fleqn,12pt,a4paper]{article} % normal

\usepackage{fontspec,xltxtra,xunicode}

\usepackage{fancyhdr}

\pagestyle{fancy}

\usepackage{color}

\usepackage{setspace}

\usepackage{hyperref}

%\usepackage{fontenc}

%\usepackage{microtype}

%\usepackage[utf8x]{inputenc}

\usepackage{cmll}

\usepackage{tabularx}

\usepackage{pifont}

\usepackage{amstext, amsmath}

%\setmainfont[Script=Devanagari]{Sanskrit2003}


\begin{document}


\section{Enter you equation here 8.1.1} \label{8.1.1}


\section{Enter new equation Here 6.1.85} \label{8.1.2}


$ \mbox{Roots}\xrightarrow{\mbox {\scriptsize{\nameref{8.1.1}}}}
\mbox{Intermediate form} \xrightarrow{\mbox {\scriptsize{\nameref{8.1.2}}}}
\mbox{Final word} $ \\


\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101120/f7280c6e/attachment.html>


More information about the XeTeX mailing list