mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 11:48:41 +00:00
* \html@mathml Fix #1452 * Add missing file * Implement \char (via internal \@char) * Remove excess <mstyle> wrapper on \mathbin etc. * Fix tests * Add Unicode support for \copyright and \textregistered Testing that this doesn't lead to an infinite loop thanks to \char` escaping. * Add tests * Use assertNodeType * Switch from regex to lookup table, and no parseInt
48 lines
1.4 KiB
JavaScript
48 lines
1.4 KiB
JavaScript
// @flow
|
|
/** Include this to ensure that all functions are defined. */
|
|
import {_functions} from "./defineFunction";
|
|
|
|
const functions = _functions;
|
|
export default functions;
|
|
|
|
// TODO(kevinb): have functions return an object and call defineFunction with
|
|
// that object in this file instead of relying on side-effects.
|
|
import "./functions/accent";
|
|
import "./functions/accentunder";
|
|
import "./functions/arrow";
|
|
import "./functions/char";
|
|
import "./functions/color";
|
|
import "./functions/cr";
|
|
import "./functions/delimsizing";
|
|
import "./functions/enclose";
|
|
import "./functions/environment";
|
|
import "./functions/font";
|
|
import "./functions/genfrac";
|
|
import "./functions/horizBrace";
|
|
import "./functions/href";
|
|
import "./functions/htmlmathml";
|
|
import "./functions/kern";
|
|
import "./functions/lap";
|
|
import "./functions/math";
|
|
import "./functions/mathchoice";
|
|
import "./functions/mclass";
|
|
import "./functions/op";
|
|
import "./functions/operatorname";
|
|
import "./functions/ordgroup";
|
|
import "./functions/overline";
|
|
import "./functions/phantom";
|
|
import "./functions/raisebox";
|
|
import "./functions/rule";
|
|
import "./functions/sizing";
|
|
import "./functions/smash";
|
|
import "./functions/sqrt";
|
|
import "./functions/styling";
|
|
import "./functions/supsub";
|
|
import "./functions/symbolsOp";
|
|
import "./functions/symbolsOrd";
|
|
import "./functions/symbolsSpacing";
|
|
import "./functions/tag";
|
|
import "./functions/text";
|
|
import "./functions/underline";
|
|
import "./functions/verb";
|