Commit 6db69ad3 authored by Adam Wujek's avatar Adam Wujek 💬 Committed by Grzegorz Daniluk

doc/wrs_failures: simplify command \snmpadd in latex

use \glsadd instead of \glsdisp[hyper=false]{x#1}{}
remove \texttt from \snmpadd
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent d8aeb8ad
......@@ -99,11 +99,13 @@
\newglossary*{snmp_other}{Objects from other MIBs}
% alphabetical list of all entries
\newglossary*{snmp_all}{All SNMP objects}
% default formating for alphabetical list, display nothing
\defglsentryfmt[snmp_all]{}
\defglsentryfmt[snmp_status]{\texttt{\glsentryfmt}}
\defglsentryfmt[snmp_expert]{\texttt{\glsentryfmt}}
\defglsentryfmt[snmp_other]{\texttt{\glsentryfmt}}
% macro to add entires
\newcommand{\snmpadd}[1]{
\texttt{\glspl{#1}}\glsdisp[hyper=false]{x#1}{}%
\glspl{#1}\glsadd{x#1}%
}
% helpers to add glossary entries
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment