math-core 0.7.0

Convert LaTeX equations to MathML Core
Documentation
1
2
3
4
5
6
7
8
9
10
use rustc_hash::FxHashMap;

#[derive(Debug, Default)]
pub(crate) struct GlobalState {
    /// This is used for numbering equations in the document.
    pub(crate) equation_count: usize,
    /// This is used for resolving references to equations in the document. The keys are the labels
    /// defined in the document, and the values are the corresponding equation numbers (as strings).
    pub(crate) label_map: FxHashMap<Box<str>, Box<str>>,
}