Nomenclature in Latex (Latex Basic Tutorial-14)
HTML-код
- Опубликовано: 17 сен 2024
- Copy the given code and paste into Texmaker setting : Path- Option - Configure Texmaker -Commands Makeindex
Code: makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg
---------------------------------------
►Nomenclature and Glossary: • Nomenclature and Gloss...
►Grouping and Sorting of Nomenclature: • Grouping and Sorting o...
►Add units in nomenclature: • Add Units in Nomenclat...
►Basic glossary with TeXmaker: • Create Glossaries in L...
-------------------------------------------------------
If this worked and helped you
► Do not forget to Like, Comment, and Subscribe !
=================================================
► To Watch all our videos, click here - goo.gl/aCCrzi
► Subscribe to our channel, click here - goo.gl/9QCQhC
After two hours looking on blogs about latex I came across with this video and all the problems solved. Thanks dude
Welcome man !
Me too!!
Dude i have seen plenty of latex videos but seriously nobody cd explain the way u cd...Keep up the good work! Cheers!
Puneet Kumar Thanks for the appreciation ...
I spend lot of time to make it, after seeing ur video it worked in first attempt, thank you very very much !
You are welcome !
i've googled a lot about the use of nomenclature and stumbled into this. OMG, this is soooo clear and solved all my questions at once. Thanks a lot,Chandra!
+susan xia Welcome Xia.
After spending hours on computer, I watch the video and it works perfectly with little modification( in my case). I was getting some error related to index , it was corrected by "\makenomenclature" command and adding % sign after
omenclature{}{}. Thank you so much for shearing helpful video.
it shows the error "Input index file JENSLY.nlo not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]" while giving the makeindex option
I love Indians, God Bless you for sharing this knowledge. I wouldn't have known that something like this exists. I Learn that I should learn to sacrifice for others, that is how to make the world a better place.
Thanks for the appreciation. This could be more useful: ruclips.net/video/7fQIiQ4eQRk/видео.html
First of all, I would like to express my sincere gratitude for your illustration as your tutorial is literally a spectacular comprehensive one.
But kindly don't use use background music so that the audience would be able to hear you clearer specially due to your lower tone voice and accent.
Thank you...
Thanks for the appreciation and suggestion.
Great video. After spending a lot of time online I finally found this video and it worked. Thanks!
Anastasia Nikolakopoulou pleased to hear that this tutorial helped you.
Very good video, it helped me a lot to define the nomenclature in my paper!! Thank you.
Glad to know this.
Wow, special thanks to you! Changing the code in the Makeindex options section finally (!) saved me and I get a List of Abbreviations! I feel like I want to kiss you xD. Thanks man.
Glad to know that it worked for you. Thanks for the appreciation.
Thankyou Sir... I was trying to make List of abbreviation for 3 days. but after watching your video im sucedded. thsnks again
Glad to hear that it worked for you.
Nice job! Had some problems before I watched your video! Thanks
Thanks for the comment Samir ! here is the another tutorial of nomenclature: ruclips.net/video/Mr0IRcCPPaM/видео.html
Thank you very much sir, you have done excellent work. All the videos are so helpful
Thanks for liking my videos.
Thank you very much Sir. It was helpful!
Glad to hear this.
Nice, works great with TeXstudio 2.12.22
Good.
Hi Chandra... Thanks a lot.
Keeping doing this good job,:)
Rahul Sharma Thanks for commenting.
I am so grateful!
Thanks.
Very helpful video
Thanks Chandra! You made my day!
Mohammadhosein Hasanbeig Enjoy LaTeXing...
Firts one, thanks so much for your help.
Thanks for the appreciation.
Hi chandra, thanks for this video, you are of great help
Savio Gomez My pleasure !
Thank you Sirji. It is really helpful and the issue solved :)
Enjoy LaTeXing!
How to adjust the vertical spacing in nomenclature?
It worked for me! Thanks a lot!
Claudie RattéFortin Most welcome !
Hello Chandra,
Many thanks for the video. I use Texmaker and I usually compile in the terminal. Following are the commands
latex %.tex
bibtex %
latex %.tex
latex %.tex
dvips %.dvi
ps2pdf %.ps
Please let me know where to put 'makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg' to compile nomenclature. I can compile properly in overleaf but not in Texmaker.
This has been shown in the video (see after 3:15 min).
Thank you
Life saver!
Mr. Chandra Has, I am using the template of the iet journal. Could you please help to include the nomenclature. I have used the method which you have explained in the video. But, it's not working.
Thank You for the information. How to change the color of the nomenclature and the symbols with \makenomenclature and \printnomenclature
use \usepackage{xcolor} in the preamble, and {\color{blue}\printnomenclature} in the document environment.
in toc of pdf viewer numbering of nomenclature appeared wrong. it's displaying the second-page number instead of first page one; of a two-page nomenclature list. what to do? TIA
Use (for article class)
\clearpage
\printnomenclature
\clearpage
Use \cleardoublepage in the case of report class.
Thanks! Worked for me :)
Thank you so much 😊
I followed all steps in your video, but when I run MakeIndex I get the following error: Error : could not start the command : makeindex "mydoc".nlo -s nomencl.ist -o "mydoc".nls -t "mydoc".nlg
Do you have any idea how to solve this? Thanks in advance!
what a legend
I have a list of symbols generated throught the nomencl package. It works fine. The only problem I have is:
How can I redefine the margins for the page? by default it is using the margins for chapter. I want to set smaller margin on top for this page.
Is it possible to generate nomenclature without a page break, like it starts where the previous text ends?
joaodmyamim you can try 'newgeometry' command with geometry package for the margin. The 'glossaries' package can be useful for continuing the symbol list.
Thank you for your help! You are the master of Latex!
Congratulations!!
Dear Mr. Chandra, I have a problem with my Nomencl, Thanks to you I can finally have my list of abbreviations, but I can not input the symbols as you did in the video (by writing
omenclature{}{} instead I need to input it directly in the .nls file. I wonder why I can not simply put it in as you did? I am not sure I know what I am doing wrong.
asih simanis Only 5 steps are required to print nomenclature:
1. Go to options > configure texmaker > editor > makeindex > (and paste) makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg
2. Before begin document, write \usepackage{nomencl} \makenomenclature
3. Write \printnomenclature in the document environment
4. use
omenclature{symbol}{description} for every symbol.
5. Compile: pdflatex > makeindex > pdflatex > viewpdf
-----------------------------
If you are following these steps, there will not be any problem. [Thanks for the comment].
Again, too many thanks for your tutorials. Would you help me to design two-column nomenclature?
Add the below code in the premable (before \begin{document}):
\usepackage{multicol}
enewcommand{
ompreamble}{\begin{multicols}{2}}
enewcommand{
ompostamble}{\end{multicols}}
Hi Chandra. Thanks for the video, it helped me a lot!!
I wanted to ask you, do you know how to create sections in nomenclature? I've been reading about it but I haven't got to any good result. Do you know a clear way to do it?
Thanks in advace. Regards.
Daniel Casas Orozco Of course you can do it.
Follow the given link: ruclips.net/video/Mr0IRcCPPaM/видео.html
Thank U 💙
Welcome.
I am using TeXstudio, and when I copy the code in Options>Configure TeXstudio>Makeindex ; it doesn't work.
Any help in this matter?
TheBirdofGreen I had to write \makenomenclature in the preamble after \usepackage{nomencl} to get it to work. He writes that line *after* he runs makeindex which didn't work for me... weird
TheBirdofGreen
You may follow this tutorial: ruclips.net/video/1hkfg_LvNHg/видео.html
Hasani Without using \makenomenclature command, one can not print nomenclature. This file was compiled with \usepackage{nomencl}\makenomenclature before making tutorial. In further compilation, nomenclature appears without using of \makenomenclature but one can not update the nomenclature. For updating one must use \makenomenclature command.
Viewers are requested to watch this tutorial completely (not partially) and after that follow all steps in their working tex file.
Hi Chandra, how to sort nomenclature (first I need latin characters, then Greek). Could I make it automatically?
ami Yes you can do. Pleaase follow this episode-
ruclips.net/video/Mr0IRcCPPaM/видео.html
Let me know in the case of any problem.
For those it didn't work, add the following after the \usepackage{nomencl} line
\makenomenclature
Thanks.
Sir, Nice tutorial. But please dont use background music. It is very distracting
@@manojprabhakar9111 sure. It's very old video where I added music but in generally I avoid to use now.
When I add nomenclature my citation order changes,.....how can i arrange citation order on text as 1,2,3,4.......
I don't think there is any relationship between noneclature and citations.
Good May ALLAH bless you !
Very good
I was getting some error related to index , it was corrected by "\makeindex" command
Talha Yousuf Great to hear that this video helped you.
thank you so much
Malek BENKOUIDER Welcome !
I followed the video but still nomenclature doesn't show up in my pdf. When I run makeindex it exits the process normally with this command
(This is makeindex, version 2.15 [MiKTeX 2.9] (kpathsea + Thai support). Scanning style file C:/Program Files/MiKTeX 2.9/makeindex/nomencl/nomencl.ist..........done (10 attributes redefined, 3 ignored). Scanning input file test.nlo...done (0 entries accepted, 11 rejected). Nothing written in test.nls. Transcript written in test.nlg.)
Any suggestion?
Make sure that you are not calling a separated tex file for specially "nomenclature" with the name of "\input{file.tex}" command. Just replace "\input" by "\include" and then try to compile your tex file.
Chandra Has I have made a very simple version of my file, not using input or include at all. But the problem still exists. There is not any error, just nomenclatures doesn't appear in the PDF.
Marzieh Ekhtiari Just mail me your simple tex file, i will look that and try to resolve your problem.
can you tell me how your problem was solved? i have the same one! :(
ok love you all! it worked by restarting my pc :)
Hi Chandra , after creating my list of abbreviation, i cannot see it in my table of contents. Any solution to this ?
Savio GomezChandra Has i got the solution myself , \usepackage[intoc]{nomencl}
Savio Gomez OK
How is it sorting the variables? Is it chronologically or alphabetically?
Default is alphabetical.
Process started: makeindex -s nomencl.ist -t "Thesis".nlg -o "Thesis".nls "Thesis".nlo
Index style file nomencl.ist not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Process exited with error(s)
I have massed up earlier and I have cleared auxiliary files and try to build it but then this error. Can anyone help?
The problem i have is that the pdflatex doesn't output a .nlo file so obviously the makeindex can't find it... I really can't find a solution to this problem.
Hi Thanks for making such a great video. It gives me a error when I run MakeIndex, Error : could not start the command : makeindex "NFMCF".nlo -s nomencl.ist -o "NFMCF".nls -t "NFMCF".nlg. P.S I am using MAC.
Hi Chandra, I followed your steps. After I ran MakeIndex, an error comes up "Index style file nomend.ist not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]". I searched on Google, no information about "nomend.ist". Do you know how to solve this problem?
solved. I typed a typo. should be "nomencl"
Great! You found the solution.
Dear Mr. Chandra, I would like add a nomenclature at the start/the end of each chapter? Symbols are the same, but the meaning of the different symbols on each chapter. Can you please help? Thanks a lot!
You can use glossaries package for printing symbols on each chapter.
Thanks you very much! Your video tutorials helped me a lot.
Thanks Has
+Stanley Ramalho Enjoy LaTeX.
How can I make a nomenclature and abbreviations with \makenomenclature?
example:
Nomenclature
- sigma stress
-etc
-etc
ewpage
List of Abbreviations
FEM Finite Element Method
etc
etc
This can be useful: ruclips.net/video/Mr0IRcCPPaM/видео.htmlm12s (just change the title).
Worked like a charm!
+Daniel Santiago Good to here that this works for you.
I cannot see my list of abbrevations. Can you please help?
can i see your tex file?
How to do separate compilation in Tex Studio?
Separate compilation means?
You have compiled PdfLatex first then MakeIndex and then again PdfLatex. But in Tex Studio how I do this compilation step wise?
@@subhasisshit1195 Nomenclature with TeXstudio: ruclips.net/video/7fQIiQ4eQRk/видео.html
Can you please explain how can we configure TexStudio for nomenclature same . I will be very thankful to you
It's very simple to configure TeXstudio.
Follow the steps:
Options --> Configure texstudio --> Build --> User commands (click at "Add") --> user0: Nomenclature --> Type the codes for nomenclature --> click at "Ok".
Now nomenclature option will show in the following path: tools --> user --> 1. Nomenclature.
For more details, watch this tutorial:
ruclips.net/video/1hkfg_LvNHg/видео.html
Thank you. I figured out. The method I followed is similar to the one you suggested for tex maker. I will mail you exactly what I did to get nomenclature when we just click compile and view >> button . Your videos are good and useful to many people Great work:-)
In this method i didn't add any new user commands, except the one you suggested for Texmaker to modify the make index command and add the commands in same order you suggested for texmaker in build and view command settings pdflatex->makeindex->padflatex->view
what abt arranging alphbetically and Greek symbol separate ?
We can do it by using "glossaries" package. It's a more powerful package than "nomenclature" package.
For people who have the problem with getting makeindex to work and get the missing .nlo file error:
Write \makenomenclature after \usepackage{nomencl} to solve it, then run the PDFLaTeX, MakeIndex, etc... like in the video
Hasani Yes, you are right. For avoiding any type of error, it is best way to write ''\makenomenclature'' just after ''nomencl'' package.
Sir !
I am getting the following error
Process started
Can't create transcript file ECC.nlg?. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Process exited with error(s)
initially, it was running fine but now getting this error. Any idea?
Whats the Songs name? I love it!
\subsection{Hey mate}
\subsubsection{this is the song you're after \textit{ruclips.net/video/7dO_MS9tZ5E/видео.html}}
i couldnt see nomenclature in my pdf, even if i edited makeindex
\usepackage{graphicx}
\usepackage{cite}
% correct bad hyphenation here
\hyphenation{op-tical net-works semi-conduc-tor}
%\usepackage{adjustbox}
\usepackage{array}
\usepackage{booktabs}
\usepackage{nomencl}
%
enewcommand{
oname}{list of abb}
\makenomenclature
\begin{document}
\printnomenclature
%
omenclature{$E_d_o$}{energy}
\begin{equation}
C=E_d_o_1 + E_d_o_2 = 6 E_t
\end{equation}
\end{document}
+nidhi jain don't use two subscripts consecutively without {}. You must use $E_{d_o}$. It will work for sure as i have checked it.
Hey Chandra I tried to copy your suggested Code into the makeindex space, but Texmaker is apparently unable to run the makeindex command. I cant solve the problem by myself,. I used your sample file (goo.gl/Z9VFIH) from your "Add Units in Nomenclature List " video. The log just shows:
Error : could not start the command : makeindex "nomunit".nlo -s nomencl.ist -o "nomunit".nls -t "nomunit".nlg
hope you can help me.
Best Regards
Andy
i m using miktex2.9
+nidhi jain no problem it will work. Just follow the steps.
Your accent makes me crazy
Sorry for that.
Irritating background music
This is a very old one, please ignore it. I have uploaded a new one on the same topic.
Dear sir, i am unable to print nomenclature in both the cases.
Case 1: with makeindex %.idx, I got the following error
Input index file sn-article.idx not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Case 2: makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg. I got the following message.
version 2.16 [MiKTeX 21.12.10]. Scanning style file C:/MikTex/makeindex/nomencl/nomencl.ist............done (12 attributes redefined, 3 ignored). Scanning input file Main_Manuscript.nlo...done (0 entries accepted, 2 rejected).
Nothing written in Main_Manuscript.nls. Transcript written in Main_Manuscript.nlg.
Kindly help.
Thank you sir.
Thank u so much
+A Ajj (zak) Welcome man !
Still i got error messages as follow...
"Process started
Input index file final thesis.nlo not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Process exited with error(s)"
i used "include" command to include chapters into main file named as "final thesis.tex"
Can anyone help me to solve my issue...??
Remove the blank space from the name of the main file.
Respected sir, Thank you for reply.
I remove the blank space, still i got following error during compilation of Make Index...
"Process started
Input index file main.nlo not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Process exited with error(s)"
.nlo file had already generated in "build sub directory" folder for output files.
I will have to see the tex file.
Thank you for reply, my problem is solved by putting build\ as shown below because enabled checkbox of build sub-directory for output files.
makeindex build\%.nlo -s nomencl.ist -o %.nls -t %.nlg
Good to know that you resolved your problem.