As the title says I only wish to remove the page numbers not the acronym links to the glossary.
Using package option nonumberlist the numbers are removed but so are the links.
This code below gives me 'CT Computed Tomography. 1, Glossary: CT & Tomography' under Acronyms
\documentclass[british]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[a4paper]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{amsmath}
\usepackage[authoryear]{natbib}
\usepackage[hidelinks]{hyperref}
\usepackage{babel}
\usepackage[toc,acronym,style=long]{glossaries}
\makeglossaries
%%%%%%%%%%%Glossary%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newglossaryentry{ctg}{name={CT},
description={A medical imaging technique to investigate the anatomy using x-rays}}
%%% define the acronym and use the see= option
\newglossaryentry{ct}{type=\acronymtype, name={CT}, description={Computed Tomography},first={Computed Tomography (CT)\glsadd{ctg}}, see=[Glossary:]{ctg,tomo}}
\newglossaryentry{tomo}{name={Tomography},
description={Imaging by sections through an object}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
blah blah \gls{ct} blah
\glsadd{tomo}
\printglossary[type=\acronymtype]
\printglossary[type=main]
\end{document}
What I would like is 'CT Computed Tomography. Glossary: CT & Tomography', just the page number missing.
Any Ideas?
Thanks
James
Best Answer
The
see
key puts the cross-reference in the location list (this is how bothmakeindex
andxindy
behave), so if you suppress the location list (using thenonumberlist
option) this will also suppress the cross-reference. You can use theseeautonumberlist
package option (withnonumberlist
) to show the location list for just the entries that have thesee
key, but you will still get the locations listed for those entries as well as the cross-reference.Instead, I suggest you just put the cross-reference inside the description and suppress the location list with
nonumberlist
: