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 :

  1. \usepackage{amsmath,amsfonts,amsthm,amssymb}
  2. \usepackage{nomencl}
  3.  
  4. \begin{document}
  5.  
  6. \makenomenclature
  7.  
  8. \renewcommand{\nomname}{List of Symbols}
  9.  
  10. \mbox{}
  11. \nomenclature{$c$}{Speed of light in a vacuum inertial frame}
  12. \nomenclature{$h$}{Planck constant}
  13. \printnomenclature
  14.  
  15. \end{document}
Last edited by cgnieder on Mon Apr 11, 2016 7:18 pm, edited 1 time in total.
Reason: added code markup

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 4104
Joined: Thu Nov 01, 2012 4:08 pm

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

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.
Reason: added code markup

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

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

  1. 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
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

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

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

Thankyou !


Return to “General”

Who is online

Users browsing this forum: MSN [Bot] and 8 guests