Skip to main content

digest_in_group

Function digest_in_group 

Source
pub fn digest_in_group(token: Token) -> Result<Digested>
Expand description

A name macro a heading is set from (\contentsname, \refname, \indexname, \acknowledgmentsname, …) digested in a group of its own, {\name}, as a class’s \section*{\name} sets it: a font switch it makes unbraced stays in the heading (RecipeBook.cls:207-209 \renewcommand{\contentsname}{\hypertarget{contents}{\bfseries \fontsize{…}{…}\selectfont Recipes}} leaked into every later heading and paragraph; recipebook/LongSample), and a \centering in it, applied at the group’s end, still centres the heading (tidyres-doc.tex:9). Perl digests the list names as text (DigestText, latex_constructs.pool.ltxml:734; Package.pm:405-411, a restricted-horizontal mode frame that scopes the font but drops the \centering; the port’s bare digest leaked, Rust-only) and \refname/\bibname/\indexname bare (DigestIf, :3885, :4523), which leaks the font in Perl too. OXIDIZED_DESIGN #528, KNOWN_PERL_ERRORS #606.