This is my sample script. I want to print glosssaries. I am trying to do that but nothing gets printed. I am using

\documentclass[oneside,12pt]{report}
\usepackage{fancyheadings}
\usepackage[acronym]{glossaries}
\makeglossaries
\newglossaryentry{electrolyte}{name=electrolyte,%
description={solution able to conduct electric current}}
\newacronym{svm}{SVM}{support vector machine}
\begin{document}
\printglossary[type=acronym]
\printglossary
\chapter{\textbf{Background}}
Some text about \gls{svm}.
Some more text about \gls{svm}.
Some text about \gls{electrolyte}.
Some more text about \gls{electrolyte}.
\end{document}

Now I hope that this script works. I minimized the whole script to the point of problem. I compiled this..no glossaries are printing to my document..fortunately i can see them in .glo file..My command to execute the file is latexmk -pdf filename.tex..I included the following code in .latexmk file..

Your example doesn't compile without errors here. It loads e.g. local graphic files. Also it is much too long and contains tons of commands not relevant for your problem.
–
Ulrike FischerFeb 2 '12 at 15:40

2

No, I will not save the image. The image is irrelevant to the problem, so it is up to you to remove the reference (and a lot more) from your code. You sent more than 400 lines of code where at most 30 lines have to do with the glossaries. Remove all the unnessary lines. This will it make much easier for you and other to see the source of your problem. Btw: If nobody force you to use this template, don't do it. Start with a small document and add packages and code only one by one when the need arises.
–
Ulrike FischerFeb 2 '12 at 16:07

2

Please have a look at what is expected as a MWE to illustrate the problem. Start with what you have and remove items and see if the problem is still produced. Keep going until you have removed as much of it as possible. I am pretty sure this has nothing to do with the image, but on the off chance it does use \usepackage[demo]{graphicx}, then the actual image file won't be needed for others to compile. And ensure you have \printgloassary somewhere.
–
Peter GrillFeb 2 '12 at 16:17

3

I can see straight away that it can't work like this! You are using the nomencl package, but the makeglossaries script is part of another package -> glossaries that you are using as well. You are mixing the packages which may not be a good idea, but mainly you seem to miss a call of makindex for nomencl to work. Check the documentation of nomencl and see how this is done. My advise would be to chose 1 package only. As it seems you need more than 1 list, the glossaries package is best
–
Martin HFeb 2 '12 at 16:20