0
\documentclass[9pt,conference,a4paper,twocolumn]{IEEEtran}

 \usepackage{cite}
 \usepackage{amsmath,amssymb,amsfonts}
 \usepackage{algorithmic}
 \usepackage{graphicx}
 \usepackage{textcomp}
 \usepackage{xcolor}
 \usepackage{float}
 \usepackage{lscape}
 \usepackage{titlesec}
 \usepackage{nomencl}

 \makenomenclature


 \begin{document}


\nomenclature{$k$}{set of hourly intervals}
\nomenclature{$a$}{index for power}
\printnomenclature

\end{document}

Why every time I run, it will only show the first line which is 'k', and 'a' won't show up. Another mistake is that, every time I tried to edit the nomenclature, it will just repeat the fist specified nomenclature which is 'k'. For example: I change this \nomenclature{$k$}{set of hourly intervals} to the one below

\nomenclature{$t$}{index for time}

However, the output will still present k - set of hourly intervals

MCeee
  • 31
  • 1
  • 5
  • Try writing anything in the document and compiling it. The command does not print if there is nothing else in the document, for some reason. It worked for me. – Phelype Oleinik May 17 '19 at 15:40
  • actually, I wrote something, I just put the question that way to put focus on the problem. The problem is even worse, even if I haven't specified a nomenclature and just put \printnomenclature, it still results to the 'k'. @PhelypeOleinik – MCeee May 17 '19 at 15:44
  • Hm... Okay. Can you show me the .nlo and .ilg files, please? Perhaps they have something useful. – Phelype Oleinik May 17 '19 at 15:49
  • This is what i used: makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg @PhelypeOleinik – MCeee May 17 '19 at 15:51
  • Oh, sorry, then it's .nlo (the input file for makeindex) and .nlg (the log file). You can upload them to https://pastebin.com/ or something like that. – Phelype Oleinik May 17 '19 at 15:53
  • after downloading, where would i put it? @PhelypeOleinik – MCeee May 17 '19 at 15:55
  • Upload these two files to https://pastebin.com/ and give the link to them. – Phelype Oleinik May 17 '19 at 16:12

1 Answers1

0

I have solve the problem by:

1) Everytime you add multiple nomenclature, check via TOOLS

2) Click Index

3) Click Run, then VIOLA you have the desired output.

4) Do the same everytime you add another line, this is via texStudio

NOTE: Use this in Configuring your Index via commands

makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg
MCeee
  • 31
  • 1
  • 5