Skip to main content

expand_as_csname_text

Function expand_as_csname_text 

Source
pub fn expand_as_csname_text<T: Into<Tokens>>(tokens: T) -> Result<Tokens>
Expand description

Fully expand tokens as the name inside a \csname…\endcsname (\ifincsname true), the way LaTeX reads a file name: \set@curr@file (latex.ltx) expands \input’s argument within \csname, so an active character guarded by \ifincsname keeps its literal form there (underscore-ltx.sty’s _, utf8.def’s octets).