Skip to main content

add_to_counter_reset

Function add_to_counter_reset 

Source
pub fn add_to_counter_reset(ctr: &str, within: &str) -> Result<()>
Expand description

Perl addtoCounterReset (latex_constructs.pool.ltxml:3005-3012): put \<ctr> and \UN<ctr> at the front of \cl@<within>, globally, as latex.ltx:10156’s \@cons \xdefs — a reset registered inside a group outlives it — and re-derive the list’s macro. Repro macro-state/counter_reset_lists_are_global.