Skip to main content

copy_provides_text_default_yields

Function copy_provides_text_default_yields 

Source
pub fn copy_provides_text_default_yields(token: &Token) -> bool
Expand description

Does a stand-in’s copy, read now, \newcommand a text default its binding does not own (unowned_text_default), in a real class that lacks the name? Then the declaration defines it, as it does in TeX: LaTeXML’s kernel or the binding’s base class predefined it, and no base class the copy loads defines it — a standalone class (ws-rv9x6.cls:91 \newcommand\bibname{References}, 2301.03442), or a name its base class lacks (article.cls has no \bibname). A name the base class the copy \LoadClasses defines is the real class’s already, so its \newcommand is TeX’s “already defined” (copy_provides_text_default_clashes).