pub fn with_pretended_load<R>(file: &str, read: impl FnOnce() -> R) -> RExpand description
Run read with file marked loaded in the current group, its record and \ver@<file>, where it is not loaded
and not recorded (a recorded load the document unmarked keeps its record): cleveref’s binding reads cleveref.sty as
if amsmath were loaded (Perl cleveref.sty.ltxml:23-27).