printnomencl and windows .bat file

This commit is contained in:
Krishna Kumar 2013-11-26 18:18:30 +00:00
parent 76a733ee30
commit 00bc0c553e
5 changed files with 55 additions and 5 deletions

View File

@ -575,8 +575,10 @@
}% matches Roman Symbols > A
% Add nomenclature to contents and print out nomenclature
\newcommand{\printnomencl}{
\printnomenclature
\newcommand{\printnomencl}[1][]{
\ifthenelse{\equal {#1}{}}
{\printnomenclature}
{\printnomenclature[#1]}
\addcontentsline{toc}{chapter}{\nomname}
}

View File

@ -0,0 +1,47 @@
SET FILENAME=thesis
DEL "%FILENAME%.aux"
DEL "%FILENAME%.bbl"
DEL "%FILENAME%.blg"
DEL "%FILENAME%.d"
DEL "%FILENAME%.fls"
DEL "%FILENAME%.ild"
DEL "%FILENAME%.ind"
DEL "%FILENAME%.toc"
DEL "%FILENAME%.lot"
DEL "%FILENAME%.lof"
DEL "%FILENAME%.idx"
DEL "%FILENAME%.out"
DEL "%FILENAME%.nlo"
DEL "%FILENAME%.nls"
DEL "%FILENAME%.pdf"
DEL "%FILENAME%.ps"
DEL "%FILENAME%.dvi"
pdflatex -interaction=nonstopmode "%FILENAME%.tex"
bibtex "%FILENAME%.aux"
makeindex "%FILENAME%.aux"
makeindex "%FILENAME%.idx"
makeindex "%FILENAME%.nlo" -s nomencl.ist -o "%FILENAME%".nls
pdflatex -interaction=nonstopmode "%FILENAME%.tex"
makeindex "%FILENAME%.nlo" -s nomencl.ist -o "%FILENAME%".nls
pdflatex -interaction=nonstopmode "%FILENAME%.tex"
DEL "%FILENAME%.aux"
DEL "%FILENAME%.bbl"
DEL "%FILENAME%.blg"
DEL "%FILENAME%.d"
DEL "%FILENAME%.fls"
DEL "%FILENAME%.ild"
DEL "%FILENAME%.ind"
DEL "%FILENAME%.toc"
DEL "%FILENAME%.lot"
DEL "%FILENAME%.lof"
DEL "%FILENAME%.idx"
DEL "%FILENAME%.out"
DEL "%FILENAME%.nlo"
DEL "%FILENAME%.nls"
"%FILENAME%.pdf"

View File

@ -69,8 +69,9 @@ if [ $1 = $clean ]; then
elif [ $1 = $compile ]; then
echo "Compiling your PhD Thesis...please wait...!"
pdflatex -interaction=nonstopmode $filename.tex
bibtex $filename.aux
pdflatex -interaction=nonstopmode $filename.tex
bibtex $filename.aux
makeindex $filename.aux
makeindex $filename.idx
makeindex $filename.nlo -s nomencl.ist -o $filename.nls
pdflatex -interaction=nonstopmode $filename.tex
makeindex $filename.nlo -s nomencl.ist -o $filename.nls

Binary file not shown.

View File

@ -112,9 +112,9 @@
\listoftables
% \printnomenclature[space] space can be set as 2.5cm between symbol and description
\printnomencl
% ***********************************Main Matter***********************************
\mainmatter