Skip to main content

split_off_after_leading_math

Function split_off_after_leading_math 

Source
pub fn split_off_after_leading_math(boxes: &mut Vec<Digested>) -> Vec<Digested>
Expand description

The boxes of an unfinished math list a Fatal left pending that its construct does not own (OD #251): from the first box that is not math material on, when the list leads with math. A math construct whose ender failed (a stray $, an \end against an open group) takes in the text, displays and sections after it, where the formula drops them (2203.12624, cond-mat9807003); they go back to the enclosing list, in order, as the salvage did before closers.