printnomenclature does not work












0














My problem arises when I want to obtain the nomenclature page in Thesis work. I used usepackage{nomencl}

makenomenclature
and then, in the Nomenclature I get this weird result.enter image description here



I have also tried to insert nomenclature in the chapters afterwords but it did not even include them. I guess that I have to do it directly in the nomenclature.tex file... am I right?



code:



documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin] 
begin{document} include{Abstract/abstract}
include{Sammanfattning/sammanfattning}
include{Preface/preface}
include{Nomenclature/nomenclature}
tableofcontents
printnomenclature
listoffigures
listoftables
usepackage{nomencl}


makenomenclature Lines within nomenclature.tex are nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature.










share|improve this question
























  • You don't need the begin{nomenclature}...end{nomenclature} thing
    – Phelype Oleinik
    Aug 10 at 22:57










  • What I get is a white page then...
    – cjl
    Aug 10 at 23:01






  • 1




    The syntax on the screenshot is apparently correct otherwise. Please post a compilable minimal working example (MWE) then, so we can see what's going on.
    – Phelype Oleinik
    Aug 10 at 23:03
















0














My problem arises when I want to obtain the nomenclature page in Thesis work. I used usepackage{nomencl}

makenomenclature
and then, in the Nomenclature I get this weird result.enter image description here



I have also tried to insert nomenclature in the chapters afterwords but it did not even include them. I guess that I have to do it directly in the nomenclature.tex file... am I right?



code:



documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin] 
begin{document} include{Abstract/abstract}
include{Sammanfattning/sammanfattning}
include{Preface/preface}
include{Nomenclature/nomenclature}
tableofcontents
printnomenclature
listoffigures
listoftables
usepackage{nomencl}


makenomenclature Lines within nomenclature.tex are nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature.










share|improve this question
























  • You don't need the begin{nomenclature}...end{nomenclature} thing
    – Phelype Oleinik
    Aug 10 at 22:57










  • What I get is a white page then...
    – cjl
    Aug 10 at 23:01






  • 1




    The syntax on the screenshot is apparently correct otherwise. Please post a compilable minimal working example (MWE) then, so we can see what's going on.
    – Phelype Oleinik
    Aug 10 at 23:03














0












0








0







My problem arises when I want to obtain the nomenclature page in Thesis work. I used usepackage{nomencl}

makenomenclature
and then, in the Nomenclature I get this weird result.enter image description here



I have also tried to insert nomenclature in the chapters afterwords but it did not even include them. I guess that I have to do it directly in the nomenclature.tex file... am I right?



code:



documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin] 
begin{document} include{Abstract/abstract}
include{Sammanfattning/sammanfattning}
include{Preface/preface}
include{Nomenclature/nomenclature}
tableofcontents
printnomenclature
listoffigures
listoftables
usepackage{nomencl}


makenomenclature Lines within nomenclature.tex are nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature.










share|improve this question















My problem arises when I want to obtain the nomenclature page in Thesis work. I used usepackage{nomencl}

makenomenclature
and then, in the Nomenclature I get this weird result.enter image description here



I have also tried to insert nomenclature in the chapters afterwords but it did not even include them. I guess that I have to do it directly in the nomenclature.tex file... am I right?



code:



documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin] 
begin{document} include{Abstract/abstract}
include{Sammanfattning/sammanfattning}
include{Preface/preface}
include{Nomenclature/nomenclature}
tableofcontents
printnomenclature
listoffigures
listoftables
usepackage{nomencl}


makenomenclature Lines within nomenclature.tex are nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature.







nomenclature nomencl






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 9 at 11:55









Bobyandbob

3,89851265




3,89851265










asked Aug 10 at 22:55









cjl

64




64












  • You don't need the begin{nomenclature}...end{nomenclature} thing
    – Phelype Oleinik
    Aug 10 at 22:57










  • What I get is a white page then...
    – cjl
    Aug 10 at 23:01






  • 1




    The syntax on the screenshot is apparently correct otherwise. Please post a compilable minimal working example (MWE) then, so we can see what's going on.
    – Phelype Oleinik
    Aug 10 at 23:03


















  • You don't need the begin{nomenclature}...end{nomenclature} thing
    – Phelype Oleinik
    Aug 10 at 22:57










  • What I get is a white page then...
    – cjl
    Aug 10 at 23:01






  • 1




    The syntax on the screenshot is apparently correct otherwise. Please post a compilable minimal working example (MWE) then, so we can see what's going on.
    – Phelype Oleinik
    Aug 10 at 23:03
















You don't need the begin{nomenclature}...end{nomenclature} thing
– Phelype Oleinik
Aug 10 at 22:57




You don't need the begin{nomenclature}...end{nomenclature} thing
– Phelype Oleinik
Aug 10 at 22:57












What I get is a white page then...
– cjl
Aug 10 at 23:01




What I get is a white page then...
– cjl
Aug 10 at 23:01




1




1




The syntax on the screenshot is apparently correct otherwise. Please post a compilable minimal working example (MWE) then, so we can see what's going on.
– Phelype Oleinik
Aug 10 at 23:03




The syntax on the screenshot is apparently correct otherwise. Please post a compilable minimal working example (MWE) then, so we can see what's going on.
– Phelype Oleinik
Aug 10 at 23:03










1 Answer
1






active

oldest

votes


















0














What you posted in the comments is far from "Working". Here's a MWE taken from the documentation of nomencl. Adapt your code to look like this and it should work:



documentclass{article}
usepackage{nomencl}
makenomenclature
begin{document}
section*{Main equations}
begin{equation}
a=frac{N}{A}
end{equation}%
nomenclature{$a$}{The number of angels per unit area}%
nomenclature{$N$}{The number of angels per needle point}%
nomenclature{$A$}{The area of the needle point}%
The equation $sigma = m a$%
nomenclature{$sigma$}{The total mass of angels per unit area}%
nomenclature{$m$}{The mass of one angel}
follows easily.
printnomenclature
end{document}





share|improve this answer





















  • Sorry, I am new and I am overwhelmed by new commands: documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin]{Classes/PhDThesisPSnPDF} usepackage{nomencl} makenomenclature begin{document} include{Nomenclature/nomenclature} begin{nomenclature} nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature end{nomenclature} end{document}
    – cjl
    Aug 10 at 23:39










  • I have tried my best to do the breakline, but I have not figured it out yet, sorry again.
    – cjl
    Aug 10 at 23:40










  • @cjl You cannot add line breaks in comments. With the example code you posted (and removing the begin{nomenclature} and end{nomenclature}, and changing the class to article) it works. Are you running makeindex?
    – Phelype Oleinik
    Aug 10 at 23:47










  • If I change Classes into Article it does not compile properly. Secondly, I am not running makeindex, I have not found clarifying answers in the forum. Does it suppose a conflite makeindex with my table of contents?
    – cjl
    Aug 10 at 23:55










  • @cjl To make it work with article you have to use documentclass{article}, not documentclass{Classes/article}, as I suppose you are trying. makeindex is a program, it does not conflict with your table of contents. You have to run makeindex in order to have the nomenclature. See this post on how to run makeindex.
    – Phelype Oleinik
    Aug 11 at 0:16













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f445567%2fprintnomenclature-does-not-work%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














What you posted in the comments is far from "Working". Here's a MWE taken from the documentation of nomencl. Adapt your code to look like this and it should work:



documentclass{article}
usepackage{nomencl}
makenomenclature
begin{document}
section*{Main equations}
begin{equation}
a=frac{N}{A}
end{equation}%
nomenclature{$a$}{The number of angels per unit area}%
nomenclature{$N$}{The number of angels per needle point}%
nomenclature{$A$}{The area of the needle point}%
The equation $sigma = m a$%
nomenclature{$sigma$}{The total mass of angels per unit area}%
nomenclature{$m$}{The mass of one angel}
follows easily.
printnomenclature
end{document}





share|improve this answer





















  • Sorry, I am new and I am overwhelmed by new commands: documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin]{Classes/PhDThesisPSnPDF} usepackage{nomencl} makenomenclature begin{document} include{Nomenclature/nomenclature} begin{nomenclature} nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature end{nomenclature} end{document}
    – cjl
    Aug 10 at 23:39










  • I have tried my best to do the breakline, but I have not figured it out yet, sorry again.
    – cjl
    Aug 10 at 23:40










  • @cjl You cannot add line breaks in comments. With the example code you posted (and removing the begin{nomenclature} and end{nomenclature}, and changing the class to article) it works. Are you running makeindex?
    – Phelype Oleinik
    Aug 10 at 23:47










  • If I change Classes into Article it does not compile properly. Secondly, I am not running makeindex, I have not found clarifying answers in the forum. Does it suppose a conflite makeindex with my table of contents?
    – cjl
    Aug 10 at 23:55










  • @cjl To make it work with article you have to use documentclass{article}, not documentclass{Classes/article}, as I suppose you are trying. makeindex is a program, it does not conflict with your table of contents. You have to run makeindex in order to have the nomenclature. See this post on how to run makeindex.
    – Phelype Oleinik
    Aug 11 at 0:16


















0














What you posted in the comments is far from "Working". Here's a MWE taken from the documentation of nomencl. Adapt your code to look like this and it should work:



documentclass{article}
usepackage{nomencl}
makenomenclature
begin{document}
section*{Main equations}
begin{equation}
a=frac{N}{A}
end{equation}%
nomenclature{$a$}{The number of angels per unit area}%
nomenclature{$N$}{The number of angels per needle point}%
nomenclature{$A$}{The area of the needle point}%
The equation $sigma = m a$%
nomenclature{$sigma$}{The total mass of angels per unit area}%
nomenclature{$m$}{The mass of one angel}
follows easily.
printnomenclature
end{document}





share|improve this answer





















  • Sorry, I am new and I am overwhelmed by new commands: documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin]{Classes/PhDThesisPSnPDF} usepackage{nomencl} makenomenclature begin{document} include{Nomenclature/nomenclature} begin{nomenclature} nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature end{nomenclature} end{document}
    – cjl
    Aug 10 at 23:39










  • I have tried my best to do the breakline, but I have not figured it out yet, sorry again.
    – cjl
    Aug 10 at 23:40










  • @cjl You cannot add line breaks in comments. With the example code you posted (and removing the begin{nomenclature} and end{nomenclature}, and changing the class to article) it works. Are you running makeindex?
    – Phelype Oleinik
    Aug 10 at 23:47










  • If I change Classes into Article it does not compile properly. Secondly, I am not running makeindex, I have not found clarifying answers in the forum. Does it suppose a conflite makeindex with my table of contents?
    – cjl
    Aug 10 at 23:55










  • @cjl To make it work with article you have to use documentclass{article}, not documentclass{Classes/article}, as I suppose you are trying. makeindex is a program, it does not conflict with your table of contents. You have to run makeindex in order to have the nomenclature. See this post on how to run makeindex.
    – Phelype Oleinik
    Aug 11 at 0:16
















0












0








0






What you posted in the comments is far from "Working". Here's a MWE taken from the documentation of nomencl. Adapt your code to look like this and it should work:



documentclass{article}
usepackage{nomencl}
makenomenclature
begin{document}
section*{Main equations}
begin{equation}
a=frac{N}{A}
end{equation}%
nomenclature{$a$}{The number of angels per unit area}%
nomenclature{$N$}{The number of angels per needle point}%
nomenclature{$A$}{The area of the needle point}%
The equation $sigma = m a$%
nomenclature{$sigma$}{The total mass of angels per unit area}%
nomenclature{$m$}{The mass of one angel}
follows easily.
printnomenclature
end{document}





share|improve this answer












What you posted in the comments is far from "Working". Here's a MWE taken from the documentation of nomencl. Adapt your code to look like this and it should work:



documentclass{article}
usepackage{nomencl}
makenomenclature
begin{document}
section*{Main equations}
begin{equation}
a=frac{N}{A}
end{equation}%
nomenclature{$a$}{The number of angels per unit area}%
nomenclature{$N$}{The number of angels per needle point}%
nomenclature{$A$}{The area of the needle point}%
The equation $sigma = m a$%
nomenclature{$sigma$}{The total mass of angels per unit area}%
nomenclature{$m$}{The mass of one angel}
follows easily.
printnomenclature
end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 10 at 23:31









Phelype Oleinik

21.4k54381




21.4k54381












  • Sorry, I am new and I am overwhelmed by new commands: documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin]{Classes/PhDThesisPSnPDF} usepackage{nomencl} makenomenclature begin{document} include{Nomenclature/nomenclature} begin{nomenclature} nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature end{nomenclature} end{document}
    – cjl
    Aug 10 at 23:39










  • I have tried my best to do the breakline, but I have not figured it out yet, sorry again.
    – cjl
    Aug 10 at 23:40










  • @cjl You cannot add line breaks in comments. With the example code you posted (and removing the begin{nomenclature} and end{nomenclature}, and changing the class to article) it works. Are you running makeindex?
    – Phelype Oleinik
    Aug 10 at 23:47










  • If I change Classes into Article it does not compile properly. Secondly, I am not running makeindex, I have not found clarifying answers in the forum. Does it suppose a conflite makeindex with my table of contents?
    – cjl
    Aug 10 at 23:55










  • @cjl To make it work with article you have to use documentclass{article}, not documentclass{Classes/article}, as I suppose you are trying. makeindex is a program, it does not conflict with your table of contents. You have to run makeindex in order to have the nomenclature. See this post on how to run makeindex.
    – Phelype Oleinik
    Aug 11 at 0:16




















  • Sorry, I am new and I am overwhelmed by new commands: documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin]{Classes/PhDThesisPSnPDF} usepackage{nomencl} makenomenclature begin{document} include{Nomenclature/nomenclature} begin{nomenclature} nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature end{nomenclature} end{document}
    – cjl
    Aug 10 at 23:39










  • I have tried my best to do the breakline, but I have not figured it out yet, sorry again.
    – cjl
    Aug 10 at 23:40










  • @cjl You cannot add line breaks in comments. With the example code you posted (and removing the begin{nomenclature} and end{nomenclature}, and changing the class to article) it works. Are you running makeindex?
    – Phelype Oleinik
    Aug 10 at 23:47










  • If I change Classes into Article it does not compile properly. Secondly, I am not running makeindex, I have not found clarifying answers in the forum. Does it suppose a conflite makeindex with my table of contents?
    – cjl
    Aug 10 at 23:55










  • @cjl To make it work with article you have to use documentclass{article}, not documentclass{Classes/article}, as I suppose you are trying. makeindex is a program, it does not conflict with your table of contents. You have to run makeindex in order to have the nomenclature. See this post on how to run makeindex.
    – Phelype Oleinik
    Aug 11 at 0:16


















Sorry, I am new and I am overwhelmed by new commands: documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin]{Classes/PhDThesisPSnPDF} usepackage{nomencl} makenomenclature begin{document} include{Nomenclature/nomenclature} begin{nomenclature} nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature end{nomenclature} end{document}
– cjl
Aug 10 at 23:39




Sorry, I am new and I am overwhelmed by new commands: documentclass[a4paper,11pt,customfont,authoryear,print,index,custommargin]{Classes/PhDThesisPSnPDF} usepackage{nomencl} makenomenclature begin{document} include{Nomenclature/nomenclature} begin{nomenclature} nomenclature{$c$}{Speed of light in a vacuum inertial frame} nomenclature{$h$}{Planck constant} printnomenclature end{nomenclature} end{document}
– cjl
Aug 10 at 23:39












I have tried my best to do the breakline, but I have not figured it out yet, sorry again.
– cjl
Aug 10 at 23:40




I have tried my best to do the breakline, but I have not figured it out yet, sorry again.
– cjl
Aug 10 at 23:40












@cjl You cannot add line breaks in comments. With the example code you posted (and removing the begin{nomenclature} and end{nomenclature}, and changing the class to article) it works. Are you running makeindex?
– Phelype Oleinik
Aug 10 at 23:47




@cjl You cannot add line breaks in comments. With the example code you posted (and removing the begin{nomenclature} and end{nomenclature}, and changing the class to article) it works. Are you running makeindex?
– Phelype Oleinik
Aug 10 at 23:47












If I change Classes into Article it does not compile properly. Secondly, I am not running makeindex, I have not found clarifying answers in the forum. Does it suppose a conflite makeindex with my table of contents?
– cjl
Aug 10 at 23:55




If I change Classes into Article it does not compile properly. Secondly, I am not running makeindex, I have not found clarifying answers in the forum. Does it suppose a conflite makeindex with my table of contents?
– cjl
Aug 10 at 23:55












@cjl To make it work with article you have to use documentclass{article}, not documentclass{Classes/article}, as I suppose you are trying. makeindex is a program, it does not conflict with your table of contents. You have to run makeindex in order to have the nomenclature. See this post on how to run makeindex.
– Phelype Oleinik
Aug 11 at 0:16






@cjl To make it work with article you have to use documentclass{article}, not documentclass{Classes/article}, as I suppose you are trying. makeindex is a program, it does not conflict with your table of contents. You have to run makeindex in order to have the nomenclature. See this post on how to run makeindex.
– Phelype Oleinik
Aug 11 at 0:16




















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f445567%2fprintnomenclature-does-not-work%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?