ratex-parser 0.1.1

LaTeX parser for RaTeX
Documentation
1
2
3
4
5
6
7
8
9
10
use std::collections::HashMap;

use crate::functions::FunctionSpec;

pub fn register(_map: &mut HashMap<&'static str, FunctionSpec>) {
    // Symbol commands like \alpha, \beta, \infty, etc. are NOT registered as functions.
    // They are handled by Parser::parse_symbol_inner via the ratex-font symbol table lookup.
    // This matches KaTeX's behavior where symbols.js defines these characters
    // and Parser.parseSymbol() resolves them.
}