List of Symbols and List of Abbreviations are not showing [on hold]
up vote
0
down vote
favorite
In my thesis, the list of symbols and list of abbreviations are not showing in the table of contents and their pages are completely blank. I want to print the complete lists without using the command gls in the text. Any suggestions?
BTW: I am using the glossaries package.
The compilation is:
txs:///xelatex | txs:///makeglossaries | txs:///bibtex | txs:///xelatex | txs:///xelatex
Update:
The files full.glg and full.alg are not generated by default when I complile the TeX file full.tex . However, they exist in the default template folder and when I copy them to my thesis folder, the lists don't appear in the contents as well, and their pages are blank completely. The content of those two files
file.alg
;; This logfile was generated automatically by `xindy'
;; at 07.06.2018 14:36:15
;; Indexstyle: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\WqEjtu3MDA", Rawindex: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\zZIlis3k59", Output: "full.acr"
Building indexentry-tree:
Hierdepth of index is :TREE
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Forming letter-groups:
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Letter-group: "Ȥ" -> "P"
file.glg
;; This logfile was generated automatically by `xindy'
;; at 07.06.2018 14:36:16
;; Indexstyle: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\nsUEDYuUBD", Rawindex: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\O_IQAmQkS6", Output: "full.gls"
Building indexentry-tree:
Hierdepth of index is :TREE
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Forming letter-groups:
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Letter-group: "€»»€" -> "G"
When I copy the full.gls file, it prints only the default glossaries. Although I added new glossaries, they didn't appear.
full.gls
glossarysection[glossarytoctitle]{glossarytitle}glossarypreamble
providecommand*glsXpageXglsnumberformat[2]{setentrycounter[#1]{page}glsnumberformat{#2}}
providecommand*glsXpageXtextrm[2]{setentrycounter[#1]{page}textrm{#2}}
providecommand*glsXpageXtextsf[2]{setentrycounter[#1]{page}textsf{#2}}
providecommand*glsXpageXtexttt[2]{setentrycounter[#1]{page}texttt{#2}}
providecommand*glsXpageXtextbf[2]{setentrycounter[#1]{page}textbf{#2}}
providecommand*glsXpageXtextmd[2]{setentrycounter[#1]{page}textmd{#2}}
providecommand*glsXpageXtextit[2]{setentrycounter[#1]{page}textit{#2}}
providecommand*glsXpageXtextup[2]{setentrycounter[#1]{page}textup{#2}}
providecommand*glsXpageXtextsl[2]{setentrycounter[#1]{page}textsl{#2}}
providecommand*glsXpageXtextsc[2]{setentrycounter[#1]{page}textsc{#2}}
providecommand*glsXpageXemph[2]{setentrycounter[#1]{page}emph{#2}}
providecommand*glsXpageXglshypernumber[2]{setentrycounter[#1]{page}glshypernumber{#2}}
providecommand*glsXpageXhyperrm[2]{setentrycounter[#1]{page}hyperrm{#2}}
providecommand*glsXpageXhypersf[2]{setentrycounter[#1]{page}hypersf{#2}}
providecommand*glsXpageXhypertt[2]{setentrycounter[#1]{page}hypertt{#2}}
providecommand*glsXpageXhyperbf[2]{setentrycounter[#1]{page}hyperbf{#2}}
providecommand*glsXpageXhypermd[2]{setentrycounter[#1]{page}hypermd{#2}}
providecommand*glsXpageXhyperit[2]{setentrycounter[#1]{page}hyperit{#2}}
providecommand*glsXpageXhyperup[2]{setentrycounter[#1]{page}hyperup{#2}}
providecommand*glsXpageXhypersl[2]{setentrycounter[#1]{page}hypersl{#2}}
providecommand*glsXpageXhypersc[2]{setentrycounter[#1]{page}hypersc{#2}}
providecommand*glsXpageXhyperemph[2]{setentrycounter[#1]{page}hyperemph{#2}}
providecommand*glsXpageXglsignore[2]{setentrycounter[#1]{page}glsignore{#2}}
begin{theglossary}glossaryheader
glsgroupheading{G}relaxglsresetentrylist
glossentry{mysymbol}{glossaryentrynumbers{relax
glsXpageXglsnumberformat{}{1}}}%
end{theglossary}glossarypostamble
full.tex
documentclass[ms,twoside, 12pt]{thesis}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the inclusion of packages and some other required commands
input{setting}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the settings for including List of Abbreviations
input{set_loa}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the list of abbreviations
input{loa}
begin{document}
begin{preamble}
%Printing list of symbols and abbreviations
%setting the width of the labels the same as 2.5cm as required by DGS template
setlist[description]{leftmargin=!, labelwidth=2.5cm, font=normalfont} %
{setstretch{1.5}%
%
newpage
phantomsection
printglossary[title=LIST OF SYMBOLS, toctitle=LIST OF SYMBOLS, nogroupskip] %
%
newpage%
phantomsection
printglossary[title=LIST OF ABBREVIATIONS, toctitle=LIST OF ABBREVIATIONS,type=acronymtype,
nogroupskip] %
setstretch{2}%
}%
setlist[description]{style=standard} %
%
% The following file defines the Thesis abstract
end{preamble}
end{document}
setting.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The following is the list of most commonly used packages. If more / other packages are needed they are
%% to be added immediately after the following list.
usepackage{graphicx}
usepackage{latexsym}
usepackage{amsmath,epsfig}
usepackage{epstopdf}
usepackage{graphicx}
usepackage{epsfig}
usepackage{graphicx}
usepackage{latexsym}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mhsetup}
usepackage{mathtools}
usepackage{mathrsfs}
usepackage{float}
usepackage{xfrac}
usepackage{epsfig}
%The polyglossia package allows for using Arabic and English together in one document.
%IMPORTANT: polyglossia is only compatible with XeLaTeX
usepackage{polyglossia}%
setmainlanguage{english}%
%This handles a bug due to polyglossia which corrupts the maketitle command in hyperref
letkeptmaketitlemaketitle%
%This allows navigation using links
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue,
hidelinks=false %use this to change color of hyperlinks
}
%This package is used to get the correct formatting of the list of abbreviations and list of symbols using glossaries
usepackage{enumitem}
%--------------------------------------------------
% Needed to insert empty page between title and committe page in double sided document
newcommand{clearemptydoublepage}{%
clearpage
{pagestyle{empty}cleardoublepage}%
}
%--------------------------------------------------
%% The following is required for References
addto{captionsenglish}{%
renewcommand{bibname}{REFERENCES}
}
%% Thefollowing are the most common figure file extensions
DeclareGraphicsExtensions{.pdf,.png,.jpg, .eps}
set_loa.tex
%glossaries package for list of symbols and list of abbreviations
usepackage[xindy,toc,acronym,nonumberlist,nopostdot]{glossaries}
renewcommand*{glsclearpage}{}% to remove empty pages before the list of abbreviations and list of symbols
loa.tex
%to use the glossaries package, the symbols and acronyms have to be defined first
%SYMBOLS: Symbols can be defined using the following code
newcommand{sym}[4]{%This command can be used to define a symbol as explain below
newglossaryentry{#1}{%
name={#2},
description={#3},
symbol={#2},
sort={#4}
}%
}%
%The format for defining a symbol is as follows
%sym{label}{symbol}{description}{alphabetical sorting name}
%label: This will be used later on in the main body to use the symbol
%symbol: The actual symbol to be used
%description: The description of the symbol
%alphabetical sorting name: This name will be used to sort the symbol in alphabetical order if desired
%example symbol definition
sym{mysymbol}{ensuremath{Gamma}}{This is a symbol}{gamma}
%An acronym or abbreviation can be defined as follows
%newacronym{label}{short}{long}
%label: this will be used to call the acronym in the main body
%short: the acronym
%long: the full form of the acronym
%example acronym
newacronym{phd}{Ph.D.}{Doctor of Philosophy}
makeglossaries
glossaries thesis
New contributor
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by siracusa, Stefan Pinnow, Kurt, TeXnician, Phelype Oleinik 7 hours ago
- This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.
|
show 14 more comments
up vote
0
down vote
favorite
In my thesis, the list of symbols and list of abbreviations are not showing in the table of contents and their pages are completely blank. I want to print the complete lists without using the command gls in the text. Any suggestions?
BTW: I am using the glossaries package.
The compilation is:
txs:///xelatex | txs:///makeglossaries | txs:///bibtex | txs:///xelatex | txs:///xelatex
Update:
The files full.glg and full.alg are not generated by default when I complile the TeX file full.tex . However, they exist in the default template folder and when I copy them to my thesis folder, the lists don't appear in the contents as well, and their pages are blank completely. The content of those two files
file.alg
;; This logfile was generated automatically by `xindy'
;; at 07.06.2018 14:36:15
;; Indexstyle: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\WqEjtu3MDA", Rawindex: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\zZIlis3k59", Output: "full.acr"
Building indexentry-tree:
Hierdepth of index is :TREE
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Forming letter-groups:
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Letter-group: "Ȥ" -> "P"
file.glg
;; This logfile was generated automatically by `xindy'
;; at 07.06.2018 14:36:16
;; Indexstyle: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\nsUEDYuUBD", Rawindex: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\O_IQAmQkS6", Output: "full.gls"
Building indexentry-tree:
Hierdepth of index is :TREE
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Forming letter-groups:
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Letter-group: "€»»€" -> "G"
When I copy the full.gls file, it prints only the default glossaries. Although I added new glossaries, they didn't appear.
full.gls
glossarysection[glossarytoctitle]{glossarytitle}glossarypreamble
providecommand*glsXpageXglsnumberformat[2]{setentrycounter[#1]{page}glsnumberformat{#2}}
providecommand*glsXpageXtextrm[2]{setentrycounter[#1]{page}textrm{#2}}
providecommand*glsXpageXtextsf[2]{setentrycounter[#1]{page}textsf{#2}}
providecommand*glsXpageXtexttt[2]{setentrycounter[#1]{page}texttt{#2}}
providecommand*glsXpageXtextbf[2]{setentrycounter[#1]{page}textbf{#2}}
providecommand*glsXpageXtextmd[2]{setentrycounter[#1]{page}textmd{#2}}
providecommand*glsXpageXtextit[2]{setentrycounter[#1]{page}textit{#2}}
providecommand*glsXpageXtextup[2]{setentrycounter[#1]{page}textup{#2}}
providecommand*glsXpageXtextsl[2]{setentrycounter[#1]{page}textsl{#2}}
providecommand*glsXpageXtextsc[2]{setentrycounter[#1]{page}textsc{#2}}
providecommand*glsXpageXemph[2]{setentrycounter[#1]{page}emph{#2}}
providecommand*glsXpageXglshypernumber[2]{setentrycounter[#1]{page}glshypernumber{#2}}
providecommand*glsXpageXhyperrm[2]{setentrycounter[#1]{page}hyperrm{#2}}
providecommand*glsXpageXhypersf[2]{setentrycounter[#1]{page}hypersf{#2}}
providecommand*glsXpageXhypertt[2]{setentrycounter[#1]{page}hypertt{#2}}
providecommand*glsXpageXhyperbf[2]{setentrycounter[#1]{page}hyperbf{#2}}
providecommand*glsXpageXhypermd[2]{setentrycounter[#1]{page}hypermd{#2}}
providecommand*glsXpageXhyperit[2]{setentrycounter[#1]{page}hyperit{#2}}
providecommand*glsXpageXhyperup[2]{setentrycounter[#1]{page}hyperup{#2}}
providecommand*glsXpageXhypersl[2]{setentrycounter[#1]{page}hypersl{#2}}
providecommand*glsXpageXhypersc[2]{setentrycounter[#1]{page}hypersc{#2}}
providecommand*glsXpageXhyperemph[2]{setentrycounter[#1]{page}hyperemph{#2}}
providecommand*glsXpageXglsignore[2]{setentrycounter[#1]{page}glsignore{#2}}
begin{theglossary}glossaryheader
glsgroupheading{G}relaxglsresetentrylist
glossentry{mysymbol}{glossaryentrynumbers{relax
glsXpageXglsnumberformat{}{1}}}%
end{theglossary}glossarypostamble
full.tex
documentclass[ms,twoside, 12pt]{thesis}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the inclusion of packages and some other required commands
input{setting}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the settings for including List of Abbreviations
input{set_loa}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the list of abbreviations
input{loa}
begin{document}
begin{preamble}
%Printing list of symbols and abbreviations
%setting the width of the labels the same as 2.5cm as required by DGS template
setlist[description]{leftmargin=!, labelwidth=2.5cm, font=normalfont} %
{setstretch{1.5}%
%
newpage
phantomsection
printglossary[title=LIST OF SYMBOLS, toctitle=LIST OF SYMBOLS, nogroupskip] %
%
newpage%
phantomsection
printglossary[title=LIST OF ABBREVIATIONS, toctitle=LIST OF ABBREVIATIONS,type=acronymtype,
nogroupskip] %
setstretch{2}%
}%
setlist[description]{style=standard} %
%
% The following file defines the Thesis abstract
end{preamble}
end{document}
setting.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The following is the list of most commonly used packages. If more / other packages are needed they are
%% to be added immediately after the following list.
usepackage{graphicx}
usepackage{latexsym}
usepackage{amsmath,epsfig}
usepackage{epstopdf}
usepackage{graphicx}
usepackage{epsfig}
usepackage{graphicx}
usepackage{latexsym}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mhsetup}
usepackage{mathtools}
usepackage{mathrsfs}
usepackage{float}
usepackage{xfrac}
usepackage{epsfig}
%The polyglossia package allows for using Arabic and English together in one document.
%IMPORTANT: polyglossia is only compatible with XeLaTeX
usepackage{polyglossia}%
setmainlanguage{english}%
%This handles a bug due to polyglossia which corrupts the maketitle command in hyperref
letkeptmaketitlemaketitle%
%This allows navigation using links
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue,
hidelinks=false %use this to change color of hyperlinks
}
%This package is used to get the correct formatting of the list of abbreviations and list of symbols using glossaries
usepackage{enumitem}
%--------------------------------------------------
% Needed to insert empty page between title and committe page in double sided document
newcommand{clearemptydoublepage}{%
clearpage
{pagestyle{empty}cleardoublepage}%
}
%--------------------------------------------------
%% The following is required for References
addto{captionsenglish}{%
renewcommand{bibname}{REFERENCES}
}
%% Thefollowing are the most common figure file extensions
DeclareGraphicsExtensions{.pdf,.png,.jpg, .eps}
set_loa.tex
%glossaries package for list of symbols and list of abbreviations
usepackage[xindy,toc,acronym,nonumberlist,nopostdot]{glossaries}
renewcommand*{glsclearpage}{}% to remove empty pages before the list of abbreviations and list of symbols
loa.tex
%to use the glossaries package, the symbols and acronyms have to be defined first
%SYMBOLS: Symbols can be defined using the following code
newcommand{sym}[4]{%This command can be used to define a symbol as explain below
newglossaryentry{#1}{%
name={#2},
description={#3},
symbol={#2},
sort={#4}
}%
}%
%The format for defining a symbol is as follows
%sym{label}{symbol}{description}{alphabetical sorting name}
%label: This will be used later on in the main body to use the symbol
%symbol: The actual symbol to be used
%description: The description of the symbol
%alphabetical sorting name: This name will be used to sort the symbol in alphabetical order if desired
%example symbol definition
sym{mysymbol}{ensuremath{Gamma}}{This is a symbol}{gamma}
%An acronym or abbreviation can be defined as follows
%newacronym{label}{short}{long}
%label: this will be used to call the acronym in the main body
%short: the acronym
%long: the full form of the acronym
%example acronym
newacronym{phd}{Ph.D.}{Doctor of Philosophy}
makeglossaries
glossaries thesis
New contributor
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by siracusa, Stefan Pinnow, Kurt, TeXnician, Phelype Oleinik 7 hours ago
- This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.
That template is obsolete for years. Please also have a look at en.wikibooks.org/wiki/LaTeX/Scientific_Reports
– Johannes_B
yesterday
@Kurt This is the link to download it kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
@Johannes_B I am using a different one, you can download it here kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
1
@attavip: Such templates are basically of no use
– Christian Hupfer
yesterday
4
I'm voting to close this question as off-topic because it was solved in the comments
– siracusa
8 hours ago
|
show 14 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
In my thesis, the list of symbols and list of abbreviations are not showing in the table of contents and their pages are completely blank. I want to print the complete lists without using the command gls in the text. Any suggestions?
BTW: I am using the glossaries package.
The compilation is:
txs:///xelatex | txs:///makeglossaries | txs:///bibtex | txs:///xelatex | txs:///xelatex
Update:
The files full.glg and full.alg are not generated by default when I complile the TeX file full.tex . However, they exist in the default template folder and when I copy them to my thesis folder, the lists don't appear in the contents as well, and their pages are blank completely. The content of those two files
file.alg
;; This logfile was generated automatically by `xindy'
;; at 07.06.2018 14:36:15
;; Indexstyle: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\WqEjtu3MDA", Rawindex: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\zZIlis3k59", Output: "full.acr"
Building indexentry-tree:
Hierdepth of index is :TREE
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Forming letter-groups:
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Letter-group: "Ȥ" -> "P"
file.glg
;; This logfile was generated automatically by `xindy'
;; at 07.06.2018 14:36:16
;; Indexstyle: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\nsUEDYuUBD", Rawindex: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\O_IQAmQkS6", Output: "full.gls"
Building indexentry-tree:
Hierdepth of index is :TREE
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Forming letter-groups:
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Letter-group: "€»»€" -> "G"
When I copy the full.gls file, it prints only the default glossaries. Although I added new glossaries, they didn't appear.
full.gls
glossarysection[glossarytoctitle]{glossarytitle}glossarypreamble
providecommand*glsXpageXglsnumberformat[2]{setentrycounter[#1]{page}glsnumberformat{#2}}
providecommand*glsXpageXtextrm[2]{setentrycounter[#1]{page}textrm{#2}}
providecommand*glsXpageXtextsf[2]{setentrycounter[#1]{page}textsf{#2}}
providecommand*glsXpageXtexttt[2]{setentrycounter[#1]{page}texttt{#2}}
providecommand*glsXpageXtextbf[2]{setentrycounter[#1]{page}textbf{#2}}
providecommand*glsXpageXtextmd[2]{setentrycounter[#1]{page}textmd{#2}}
providecommand*glsXpageXtextit[2]{setentrycounter[#1]{page}textit{#2}}
providecommand*glsXpageXtextup[2]{setentrycounter[#1]{page}textup{#2}}
providecommand*glsXpageXtextsl[2]{setentrycounter[#1]{page}textsl{#2}}
providecommand*glsXpageXtextsc[2]{setentrycounter[#1]{page}textsc{#2}}
providecommand*glsXpageXemph[2]{setentrycounter[#1]{page}emph{#2}}
providecommand*glsXpageXglshypernumber[2]{setentrycounter[#1]{page}glshypernumber{#2}}
providecommand*glsXpageXhyperrm[2]{setentrycounter[#1]{page}hyperrm{#2}}
providecommand*glsXpageXhypersf[2]{setentrycounter[#1]{page}hypersf{#2}}
providecommand*glsXpageXhypertt[2]{setentrycounter[#1]{page}hypertt{#2}}
providecommand*glsXpageXhyperbf[2]{setentrycounter[#1]{page}hyperbf{#2}}
providecommand*glsXpageXhypermd[2]{setentrycounter[#1]{page}hypermd{#2}}
providecommand*glsXpageXhyperit[2]{setentrycounter[#1]{page}hyperit{#2}}
providecommand*glsXpageXhyperup[2]{setentrycounter[#1]{page}hyperup{#2}}
providecommand*glsXpageXhypersl[2]{setentrycounter[#1]{page}hypersl{#2}}
providecommand*glsXpageXhypersc[2]{setentrycounter[#1]{page}hypersc{#2}}
providecommand*glsXpageXhyperemph[2]{setentrycounter[#1]{page}hyperemph{#2}}
providecommand*glsXpageXglsignore[2]{setentrycounter[#1]{page}glsignore{#2}}
begin{theglossary}glossaryheader
glsgroupheading{G}relaxglsresetentrylist
glossentry{mysymbol}{glossaryentrynumbers{relax
glsXpageXglsnumberformat{}{1}}}%
end{theglossary}glossarypostamble
full.tex
documentclass[ms,twoside, 12pt]{thesis}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the inclusion of packages and some other required commands
input{setting}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the settings for including List of Abbreviations
input{set_loa}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the list of abbreviations
input{loa}
begin{document}
begin{preamble}
%Printing list of symbols and abbreviations
%setting the width of the labels the same as 2.5cm as required by DGS template
setlist[description]{leftmargin=!, labelwidth=2.5cm, font=normalfont} %
{setstretch{1.5}%
%
newpage
phantomsection
printglossary[title=LIST OF SYMBOLS, toctitle=LIST OF SYMBOLS, nogroupskip] %
%
newpage%
phantomsection
printglossary[title=LIST OF ABBREVIATIONS, toctitle=LIST OF ABBREVIATIONS,type=acronymtype,
nogroupskip] %
setstretch{2}%
}%
setlist[description]{style=standard} %
%
% The following file defines the Thesis abstract
end{preamble}
end{document}
setting.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The following is the list of most commonly used packages. If more / other packages are needed they are
%% to be added immediately after the following list.
usepackage{graphicx}
usepackage{latexsym}
usepackage{amsmath,epsfig}
usepackage{epstopdf}
usepackage{graphicx}
usepackage{epsfig}
usepackage{graphicx}
usepackage{latexsym}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mhsetup}
usepackage{mathtools}
usepackage{mathrsfs}
usepackage{float}
usepackage{xfrac}
usepackage{epsfig}
%The polyglossia package allows for using Arabic and English together in one document.
%IMPORTANT: polyglossia is only compatible with XeLaTeX
usepackage{polyglossia}%
setmainlanguage{english}%
%This handles a bug due to polyglossia which corrupts the maketitle command in hyperref
letkeptmaketitlemaketitle%
%This allows navigation using links
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue,
hidelinks=false %use this to change color of hyperlinks
}
%This package is used to get the correct formatting of the list of abbreviations and list of symbols using glossaries
usepackage{enumitem}
%--------------------------------------------------
% Needed to insert empty page between title and committe page in double sided document
newcommand{clearemptydoublepage}{%
clearpage
{pagestyle{empty}cleardoublepage}%
}
%--------------------------------------------------
%% The following is required for References
addto{captionsenglish}{%
renewcommand{bibname}{REFERENCES}
}
%% Thefollowing are the most common figure file extensions
DeclareGraphicsExtensions{.pdf,.png,.jpg, .eps}
set_loa.tex
%glossaries package for list of symbols and list of abbreviations
usepackage[xindy,toc,acronym,nonumberlist,nopostdot]{glossaries}
renewcommand*{glsclearpage}{}% to remove empty pages before the list of abbreviations and list of symbols
loa.tex
%to use the glossaries package, the symbols and acronyms have to be defined first
%SYMBOLS: Symbols can be defined using the following code
newcommand{sym}[4]{%This command can be used to define a symbol as explain below
newglossaryentry{#1}{%
name={#2},
description={#3},
symbol={#2},
sort={#4}
}%
}%
%The format for defining a symbol is as follows
%sym{label}{symbol}{description}{alphabetical sorting name}
%label: This will be used later on in the main body to use the symbol
%symbol: The actual symbol to be used
%description: The description of the symbol
%alphabetical sorting name: This name will be used to sort the symbol in alphabetical order if desired
%example symbol definition
sym{mysymbol}{ensuremath{Gamma}}{This is a symbol}{gamma}
%An acronym or abbreviation can be defined as follows
%newacronym{label}{short}{long}
%label: this will be used to call the acronym in the main body
%short: the acronym
%long: the full form of the acronym
%example acronym
newacronym{phd}{Ph.D.}{Doctor of Philosophy}
makeglossaries
glossaries thesis
New contributor
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
In my thesis, the list of symbols and list of abbreviations are not showing in the table of contents and their pages are completely blank. I want to print the complete lists without using the command gls in the text. Any suggestions?
BTW: I am using the glossaries package.
The compilation is:
txs:///xelatex | txs:///makeglossaries | txs:///bibtex | txs:///xelatex | txs:///xelatex
Update:
The files full.glg and full.alg are not generated by default when I complile the TeX file full.tex . However, they exist in the default template folder and when I copy them to my thesis folder, the lists don't appear in the contents as well, and their pages are blank completely. The content of those two files
file.alg
;; This logfile was generated automatically by `xindy'
;; at 07.06.2018 14:36:15
;; Indexstyle: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\WqEjtu3MDA", Rawindex: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\zZIlis3k59", Output: "full.acr"
Building indexentry-tree:
Hierdepth of index is :TREE
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Forming letter-groups:
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Letter-group: "Ȥ" -> "P"
file.glg
;; This logfile was generated automatically by `xindy'
;; at 07.06.2018 14:36:16
;; Indexstyle: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\nsUEDYuUBD", Rawindex: "D:\LatexThesisFiles\ThesisLatex\MajorUpdatebyWaqas\Double-Sided-Version\testingAfterCleanup\latex\O_IQAmQkS6", Output: "full.gls"
Building indexentry-tree:
Hierdepth of index is :TREE
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Forming letter-groups:
sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
Letter-group: "€»»€" -> "G"
When I copy the full.gls file, it prints only the default glossaries. Although I added new glossaries, they didn't appear.
full.gls
glossarysection[glossarytoctitle]{glossarytitle}glossarypreamble
providecommand*glsXpageXglsnumberformat[2]{setentrycounter[#1]{page}glsnumberformat{#2}}
providecommand*glsXpageXtextrm[2]{setentrycounter[#1]{page}textrm{#2}}
providecommand*glsXpageXtextsf[2]{setentrycounter[#1]{page}textsf{#2}}
providecommand*glsXpageXtexttt[2]{setentrycounter[#1]{page}texttt{#2}}
providecommand*glsXpageXtextbf[2]{setentrycounter[#1]{page}textbf{#2}}
providecommand*glsXpageXtextmd[2]{setentrycounter[#1]{page}textmd{#2}}
providecommand*glsXpageXtextit[2]{setentrycounter[#1]{page}textit{#2}}
providecommand*glsXpageXtextup[2]{setentrycounter[#1]{page}textup{#2}}
providecommand*glsXpageXtextsl[2]{setentrycounter[#1]{page}textsl{#2}}
providecommand*glsXpageXtextsc[2]{setentrycounter[#1]{page}textsc{#2}}
providecommand*glsXpageXemph[2]{setentrycounter[#1]{page}emph{#2}}
providecommand*glsXpageXglshypernumber[2]{setentrycounter[#1]{page}glshypernumber{#2}}
providecommand*glsXpageXhyperrm[2]{setentrycounter[#1]{page}hyperrm{#2}}
providecommand*glsXpageXhypersf[2]{setentrycounter[#1]{page}hypersf{#2}}
providecommand*glsXpageXhypertt[2]{setentrycounter[#1]{page}hypertt{#2}}
providecommand*glsXpageXhyperbf[2]{setentrycounter[#1]{page}hyperbf{#2}}
providecommand*glsXpageXhypermd[2]{setentrycounter[#1]{page}hypermd{#2}}
providecommand*glsXpageXhyperit[2]{setentrycounter[#1]{page}hyperit{#2}}
providecommand*glsXpageXhyperup[2]{setentrycounter[#1]{page}hyperup{#2}}
providecommand*glsXpageXhypersl[2]{setentrycounter[#1]{page}hypersl{#2}}
providecommand*glsXpageXhypersc[2]{setentrycounter[#1]{page}hypersc{#2}}
providecommand*glsXpageXhyperemph[2]{setentrycounter[#1]{page}hyperemph{#2}}
providecommand*glsXpageXglsignore[2]{setentrycounter[#1]{page}glsignore{#2}}
begin{theglossary}glossaryheader
glsgroupheading{G}relaxglsresetentrylist
glossentry{mysymbol}{glossaryentrynumbers{relax
glsXpageXglsnumberformat{}{1}}}%
end{theglossary}glossarypostamble
full.tex
documentclass[ms,twoside, 12pt]{thesis}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the inclusion of packages and some other required commands
input{setting}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the settings for including List of Abbreviations
input{set_loa}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following file defines the list of abbreviations
input{loa}
begin{document}
begin{preamble}
%Printing list of symbols and abbreviations
%setting the width of the labels the same as 2.5cm as required by DGS template
setlist[description]{leftmargin=!, labelwidth=2.5cm, font=normalfont} %
{setstretch{1.5}%
%
newpage
phantomsection
printglossary[title=LIST OF SYMBOLS, toctitle=LIST OF SYMBOLS, nogroupskip] %
%
newpage%
phantomsection
printglossary[title=LIST OF ABBREVIATIONS, toctitle=LIST OF ABBREVIATIONS,type=acronymtype,
nogroupskip] %
setstretch{2}%
}%
setlist[description]{style=standard} %
%
% The following file defines the Thesis abstract
end{preamble}
end{document}
setting.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The following is the list of most commonly used packages. If more / other packages are needed they are
%% to be added immediately after the following list.
usepackage{graphicx}
usepackage{latexsym}
usepackage{amsmath,epsfig}
usepackage{epstopdf}
usepackage{graphicx}
usepackage{epsfig}
usepackage{graphicx}
usepackage{latexsym}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mhsetup}
usepackage{mathtools}
usepackage{mathrsfs}
usepackage{float}
usepackage{xfrac}
usepackage{epsfig}
%The polyglossia package allows for using Arabic and English together in one document.
%IMPORTANT: polyglossia is only compatible with XeLaTeX
usepackage{polyglossia}%
setmainlanguage{english}%
%This handles a bug due to polyglossia which corrupts the maketitle command in hyperref
letkeptmaketitlemaketitle%
%This allows navigation using links
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue,
hidelinks=false %use this to change color of hyperlinks
}
%This package is used to get the correct formatting of the list of abbreviations and list of symbols using glossaries
usepackage{enumitem}
%--------------------------------------------------
% Needed to insert empty page between title and committe page in double sided document
newcommand{clearemptydoublepage}{%
clearpage
{pagestyle{empty}cleardoublepage}%
}
%--------------------------------------------------
%% The following is required for References
addto{captionsenglish}{%
renewcommand{bibname}{REFERENCES}
}
%% Thefollowing are the most common figure file extensions
DeclareGraphicsExtensions{.pdf,.png,.jpg, .eps}
set_loa.tex
%glossaries package for list of symbols and list of abbreviations
usepackage[xindy,toc,acronym,nonumberlist,nopostdot]{glossaries}
renewcommand*{glsclearpage}{}% to remove empty pages before the list of abbreviations and list of symbols
loa.tex
%to use the glossaries package, the symbols and acronyms have to be defined first
%SYMBOLS: Symbols can be defined using the following code
newcommand{sym}[4]{%This command can be used to define a symbol as explain below
newglossaryentry{#1}{%
name={#2},
description={#3},
symbol={#2},
sort={#4}
}%
}%
%The format for defining a symbol is as follows
%sym{label}{symbol}{description}{alphabetical sorting name}
%label: This will be used later on in the main body to use the symbol
%symbol: The actual symbol to be used
%description: The description of the symbol
%alphabetical sorting name: This name will be used to sort the symbol in alphabetical order if desired
%example symbol definition
sym{mysymbol}{ensuremath{Gamma}}{This is a symbol}{gamma}
%An acronym or abbreviation can be defined as follows
%newacronym{label}{short}{long}
%label: this will be used to call the acronym in the main body
%short: the acronym
%long: the full form of the acronym
%example acronym
newacronym{phd}{Ph.D.}{Doctor of Philosophy}
makeglossaries
glossaries thesis
glossaries thesis
New contributor
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
New contributor
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
attavip
13
13
New contributor
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
attavip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by siracusa, Stefan Pinnow, Kurt, TeXnician, Phelype Oleinik 7 hours ago
- This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by siracusa, Stefan Pinnow, Kurt, TeXnician, Phelype Oleinik 7 hours ago
- This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.
That template is obsolete for years. Please also have a look at en.wikibooks.org/wiki/LaTeX/Scientific_Reports
– Johannes_B
yesterday
@Kurt This is the link to download it kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
@Johannes_B I am using a different one, you can download it here kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
1
@attavip: Such templates are basically of no use
– Christian Hupfer
yesterday
4
I'm voting to close this question as off-topic because it was solved in the comments
– siracusa
8 hours ago
|
show 14 more comments
That template is obsolete for years. Please also have a look at en.wikibooks.org/wiki/LaTeX/Scientific_Reports
– Johannes_B
yesterday
@Kurt This is the link to download it kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
@Johannes_B I am using a different one, you can download it here kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
1
@attavip: Such templates are basically of no use
– Christian Hupfer
yesterday
4
I'm voting to close this question as off-topic because it was solved in the comments
– siracusa
8 hours ago
That template is obsolete for years. Please also have a look at en.wikibooks.org/wiki/LaTeX/Scientific_Reports
– Johannes_B
yesterday
That template is obsolete for years. Please also have a look at en.wikibooks.org/wiki/LaTeX/Scientific_Reports
– Johannes_B
yesterday
@Kurt This is the link to download it kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
@Kurt This is the link to download it kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
@Johannes_B I am using a different one, you can download it here kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
@Johannes_B I am using a different one, you can download it here kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
1
1
@attavip: Such templates are basically of no use
– Christian Hupfer
yesterday
@attavip: Such templates are basically of no use
– Christian Hupfer
yesterday
4
4
I'm voting to close this question as off-topic because it was solved in the comments
– siracusa
8 hours ago
I'm voting to close this question as off-topic because it was solved in the comments
– siracusa
8 hours ago
|
show 14 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
That template is obsolete for years. Please also have a look at en.wikibooks.org/wiki/LaTeX/Scientific_Reports
– Johannes_B
yesterday
@Kurt This is the link to download it kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
@Johannes_B I am using a different one, you can download it here kfupm.edu.sa/deanships/dgs/Pages/en/Thesis-Manual.aspx
– attavip
yesterday
1
@attavip: Such templates are basically of no use
– Christian Hupfer
yesterday
4
I'm voting to close this question as off-topic because it was solved in the comments
– siracusa
8 hours ago