Skip to main content

is_glossary_ref_command

Function is_glossary_ref_command 

Source
pub fn is_glossary_ref_command(name: &str) -> bool
Expand description

Whether name is a glossary/acronym reference command whose first {…} group is an entry key (\gls, \acrshort, \glsxtrfull, …). Shared with the completion classifier (crate::completion), like ref_command and cite_command, so the name set has a single source of truth. Unlike citations, every command here takes exactly one key per group (no comma list).