Difference between revisions of "Ans. M6"

From STMDocs
Jump to: navigation, search
(New page: <Back Please follow the instruction which are given below: * In the preamble (before <code>\begin{document}</code>) of your TeX file, please provide: <geshi lang=...)
 
Line 9: Line 9:
 
* Provide the command <code>\printnomenclature</code> in the body, where you want to print the nomenclature list. May be before the first section or before the bibliography.
 
* Provide the command <code>\printnomenclature</code> in the body, where you want to print the nomenclature list. May be before the first section or before the bibliography.
 
* Then do the following
 
* Then do the following
** Compile your document. Then a file with .nlo extension will be created. In this case YourFilename.nlo will be generated.
+
** Compile your document. Then a file with <code>.nlo</code> extension will be created. In this case <code>YourFilename.nlo</code> will be generated.
 
** Then do
 
** Then do
 
<geshi lang="latex">
 
<geshi lang="latex">

Revision as of 16:57, 9 June 2009

<Back

Please follow the instruction which are given below:

  • In the preamble (before \begin{document}) of your TeX file, please provide:

<geshi lang="latex">

  \usepackage{nomencl}
  \makenomenclature

</geshi>

  • Provide the command \printnomenclature in the body, where you want to print the nomenclature list. May be before the first section or before the bibliography.
  • Then do the following
    • Compile your document. Then a file with .nlo extension will be created. In this case YourFilename.nlo will be generated.
    • Then do

<geshi lang="latex">

         makeindex YourFilename.nlo -s nomencl.ist -o YourFilename.nls

</geshi>

    • Then compile your document. You can see nomenclature is printed at the place where you have given \printnomenclature command.