LaTeX forum ⇒ Generalnomenclature not appearing in PDF Topic is solved

LaTeX specific issues not fitting into one of the other forums of this category.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

nomenclature not appearing in PDF  Topic is solved

Postby Colin93 » Thu Apr 07, 2016 2:10 pm

Hi everyone !

I can't get an output for my nomenclature. COuld you help me ?

I'm using \documentclass{report}

My script for the nomenclature part is :

\usepackage{amsmath,amsfonts,amsthm,amssymb} 
\usepackage{nomencl}

\begin{document} 

\makenomenclature

\renewcommand{\nomname}{List of Symbols}

\mbox{} 
\nomenclature{$c$}{Speed of light in a vacuum inertial frame}
\nomenclature{$h$}{Planck constant}
\printnomenclature

\end{document}
Last edited by cgnieder on Mon Apr 11, 2016 7:18 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

nomenclature not appearing in PDF

Postby Johannes_B » Thu Apr 07, 2016 10:36 pm

You need to run an extra tool, just like when you are creating a bibliography. The exact command is written out on the bottom of page two of the nomencl manual.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

nomenclature not appearing in PDF

Postby Colin93 » Fri Apr 08, 2016 3:40 pm

I will try. Thankyou again !

Do I write makeindex <filename> hfilenamei.nlo -s nomencl.ist -ohfilenamei <filename>.nls on a terminal ?
I've never used the bibliography commands so I don't really understand...
Last edited by cgnieder on Mon Apr 11, 2016 7:19 pm, edited 1 time in total.

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

nomenclature not appearing in PDF

Postby cgnieder » Mon Apr 11, 2016 7:22 pm

Yes, you need to run this on the command line/terminal. Suppose your file is named test.tex then you need to run

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


every time you change the the nomenclature. I'd run this a last time when the document is finished (and then compile the file once or twice again).

Regards
site moderator & package author

Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Re: nomenclature not appearing in PDF

Postby Colin93 » Wed Apr 13, 2016 11:13 am

Thankyou !


Return to “General”

Who is online

Users browsing this forum: No registered users and 34 guests