
同じことを説明する用語集の単語がたくさんある場合、これらを用語集にきちんとまとめるにはどうすればよいでしょうか。理想的には、次のようになります。
\newglossaryentry{digest, hash, hash code} {
name=digest, description={The output of a hash function).}
}
生産する
ダイジェスト、ハッシュまたはハッシュコードハッシュ関数の出力。
私が探しているのはこれですが、どこにも見つからないようです。
答え1
通常の方法で1つのエントリ(ダイジェストなど)を定義し、\gls{digest}
代替エントリの説明フィールドで使用します。glossaries
マニュアルのセクション8詳細については。
\documentclass{article}
\usepackage[nonumberlist]{glossaries}
\makeglossaries
\newglossaryentry{digest}{name={digest (\textmd{also} hash, hash code)},%
text=digest,description={The output of a hash function}}
\newglossaryentry{hash}
{name=hash,description={\emph{See} \gls{digest}}}
\newglossaryentry{hash code}
{name={hash code},description={\emph{See} \gls{digest}}}
\begin{document}
\null\vfill% just for the example
Some text about \gls{digest}.
Some text about \gls{hash}.
Some text about \gls{hash code}.
\printglossaries
\end{document}