Skip to main content

copy_provides_wrap

Function copy_provides_wrap 

Source
pub fn copy_provides_wrap(tokens: Tokens) -> Tokens
Expand description

The code a stand-in’s copy registers with \AtEndOfClass/\AtEndOfPackage, which runs at the end of its own load: wrapped in the copy’s scope markers \lx@copy@provides@begin{N} … \lx@copy@provides@end, so it runs under the copy’s provides-mode, with the copy’s own definitions in force (enter_copy_provides_frame; aa.cls:71’s \AtEndOfClass redefinition of {abstract} keeps the binding’s). tokens unchanged when no copy is read or it is wrapped already.