Rename everything to KaTeX
Summary: Rename all instances of mjlite -> katex Test Plan: Run the local server, make sure things still work. Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D2977
This commit is contained in:
parent
c9c305d304
commit
adb8b5d671
.arcconfigMakefilekatex.jspackage.jsonserver.js
static
fonts
fonts.csskatex_ams-regular.eotkatex_ams-regular.ttfkatex_ams-regular.woffkatex_caligraphic-bold.eotkatex_caligraphic-bold.ttfkatex_caligraphic-bold.woffkatex_caligraphic-regular.eotkatex_caligraphic-regular.ttfkatex_caligraphic-regular.woffkatex_fraktur-bold.eotkatex_fraktur-bold.ttfkatex_fraktur-bold.woffkatex_fraktur-regular.eotkatex_fraktur-regular.ttfkatex_fraktur-regular.woffkatex_greek-bold.eotkatex_greek-bold.ttfkatex_greek-bold.woffkatex_greek-bolditalic.eotkatex_greek-bolditalic.ttfkatex_greek-bolditalic.woffkatex_greek-italic.eotkatex_greek-italic.ttfkatex_greek-italic.woffkatex_greek-regular.eotkatex_greek-regular.ttfkatex_greek-regular.woffkatex_main-bold.eotkatex_main-bold.ttfkatex_main-bold.woffkatex_main-italic.eotkatex_main-italic.ttfkatex_main-italic.woffkatex_main-regular.eotkatex_main-regular.ttfkatex_main-regular.woffkatex_math-bolditalic.eotkatex_math-bolditalic.ttfkatex_math-bolditalic.woffkatex_math-italic.eotkatex_math-italic.ttfkatex_math-italic.woffkatex_math-regular.eotkatex_math-regular.ttfkatex_math-regular.woffkatex_sansserif-bold.eotkatex_sansserif-bold.ttfkatex_sansserif-bold.woffkatex_sansserif-italic.eotkatex_sansserif-italic.ttfkatex_sansserif-italic.woffkatex_sansserif-regular.eotkatex_sansserif-regular.ttfkatex_sansserif-regular.woffkatex_script-regular.eotkatex_script-regular.ttfkatex_script-regular.woffkatex_size1-regular.eotkatex_size1-regular.ttfkatex_size1-regular.woffkatex_size2-regular.eotkatex_size2-regular.ttfkatex_size2-regular.woffkatex_size3-regular.eotkatex_size3-regular.ttfkatex_size3-regular.woffkatex_size4-regular.eotkatex_size4-regular.ttfkatex_size4-regular.woffkatex_typewriter-regular.eotkatex_typewriter-regular.ttfkatex_typewriter-regular.woff
index.htmlkatex.cssmain.js
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"project_id": "MJLite",
|
||||
"conduit_uri": "http://phabricator.benalpert.com/"
|
||||
"project_id": "KaTeX",
|
||||
"conduit_uri": "http://phabricator.khanacademy.org/"
|
||||
}
|
||||
|
|
10
Makefile
10
Makefile
|
@ -1,12 +1,12 @@
|
|||
.PHONY: build copy serve clean
|
||||
build: build/MJLite.js
|
||||
build: build/katex.js
|
||||
|
||||
build/MJLite.js: MJLite.js parser.jison lexer.js
|
||||
./node_modules/.bin/browserify $< --standalone MJLite -t ./jisonify > $@
|
||||
build/katex.js: katex.js parser.jison lexer.js
|
||||
./node_modules/.bin/browserify $< --standalone katex -t ./jisonify > $@
|
||||
|
||||
copy: build
|
||||
cp build/MJLite.js ../exercises/utils/MJLite.js
|
||||
cp static/mjlite.css ../exercises/css/
|
||||
cp build/katex.js ../exercises/utils/katex.js
|
||||
cp static/katex.css ../exercises/css/
|
||||
cp -R static/fonts ../exercises/css/
|
||||
|
||||
serve:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "mjlite",
|
||||
"name": "katex",
|
||||
"version": "0.0.1",
|
||||
"devDependencies": {
|
||||
"browserify": "~2.23.1",
|
||||
|
|
|
@ -9,12 +9,12 @@ var app = express();
|
|||
|
||||
app.use(express.logger());
|
||||
|
||||
app.get("/MJLite.js", function(req, res, next) {
|
||||
app.get("/katex.js", function(req, res, next) {
|
||||
var b = browserify();
|
||||
b.add("./MJLite");
|
||||
b.add("./katex");
|
||||
b.transform(jisonify);
|
||||
|
||||
var stream = b.bundle({standalone: "MJLite"});
|
||||
var stream = b.bundle({standalone: "katex"});
|
||||
|
||||
var body = "";
|
||||
stream.on("data", function(s) { body += s; });
|
||||
|
|
|
@ -1,239 +1,239 @@
|
|||
@font-face {
|
||||
font-family: 'mjlite_ams';
|
||||
src: url('mjlite_ams-regular.eot');
|
||||
src: url('mjlite_ams-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_ams-regular.woff') format('woff'),
|
||||
url('mjlite_ams-regular.ttf') format('truetype');
|
||||
font-family: 'katex_ams';
|
||||
src: url('katex_ams-regular.eot');
|
||||
src: url('katex_ams-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_ams-regular.woff') format('woff'),
|
||||
url('katex_ams-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_caligraphic';
|
||||
src: url('mjlite_caligraphic-bold.eot');
|
||||
src: url('mjlite_caligraphic-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_caligraphic-bold.woff') format('woff'),
|
||||
url('mjlite_caligraphic-bold.ttf') format('truetype');
|
||||
font-family: 'katex_caligraphic';
|
||||
src: url('katex_caligraphic-bold.eot');
|
||||
src: url('katex_caligraphic-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_caligraphic-bold.woff') format('woff'),
|
||||
url('katex_caligraphic-bold.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_caligraphic';
|
||||
src: url('mjlite_caligraphic-regular.eot');
|
||||
src: url('mjlite_caligraphic-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_caligraphic-regular.woff') format('woff'),
|
||||
url('mjlite_caligraphic-regular.ttf') format('truetype');
|
||||
font-family: 'katex_caligraphic';
|
||||
src: url('katex_caligraphic-regular.eot');
|
||||
src: url('katex_caligraphic-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_caligraphic-regular.woff') format('woff'),
|
||||
url('katex_caligraphic-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_fraktur';
|
||||
src: url('mjlite_fraktur-bold.eot');
|
||||
src: url('mjlite_fraktur-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_fraktur-bold.woff') format('woff'),
|
||||
url('mjlite_fraktur-bold.ttf') format('truetype');
|
||||
font-family: 'katex_fraktur';
|
||||
src: url('katex_fraktur-bold.eot');
|
||||
src: url('katex_fraktur-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_fraktur-bold.woff') format('woff'),
|
||||
url('katex_fraktur-bold.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_fraktur';
|
||||
src: url('mjlite_fraktur-regular.eot');
|
||||
src: url('mjlite_fraktur-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_fraktur-regular.woff') format('woff'),
|
||||
url('mjlite_fraktur-regular.ttf') format('truetype');
|
||||
font-family: 'katex_fraktur';
|
||||
src: url('katex_fraktur-regular.eot');
|
||||
src: url('katex_fraktur-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_fraktur-regular.woff') format('woff'),
|
||||
url('katex_fraktur-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_greek';
|
||||
src: url('mjlite_greek-bold.eot');
|
||||
src: url('mjlite_greek-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_greek-bold.woff') format('woff'),
|
||||
url('mjlite_greek-bold.ttf') format('truetype');
|
||||
font-family: 'katex_greek';
|
||||
src: url('katex_greek-bold.eot');
|
||||
src: url('katex_greek-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_greek-bold.woff') format('woff'),
|
||||
url('katex_greek-bold.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_greek';
|
||||
src: url('mjlite_greek-bolditalic.eot');
|
||||
src: url('mjlite_greek-bolditalic.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_greek-bolditalic.woff') format('woff'),
|
||||
url('mjlite_greek-bolditalic.ttf') format('truetype');
|
||||
font-family: 'katex_greek';
|
||||
src: url('katex_greek-bolditalic.eot');
|
||||
src: url('katex_greek-bolditalic.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_greek-bolditalic.woff') format('woff'),
|
||||
url('katex_greek-bolditalic.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_greek';
|
||||
src: url('mjlite_greek-italic.eot');
|
||||
src: url('mjlite_greek-italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_greek-italic.woff') format('woff'),
|
||||
url('mjlite_greek-italic.ttf') format('truetype');
|
||||
font-family: 'katex_greek';
|
||||
src: url('katex_greek-italic.eot');
|
||||
src: url('katex_greek-italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_greek-italic.woff') format('woff'),
|
||||
url('katex_greek-italic.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_greek';
|
||||
src: url('mjlite_greek-regular.eot');
|
||||
src: url('mjlite_greek-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_greek-regular.woff') format('woff'),
|
||||
url('mjlite_greek-regular.ttf') format('truetype');
|
||||
font-family: 'katex_greek';
|
||||
src: url('katex_greek-regular.eot');
|
||||
src: url('katex_greek-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_greek-regular.woff') format('woff'),
|
||||
url('katex_greek-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_main';
|
||||
src: url('mjlite_main-bold.eot');
|
||||
src: url('mjlite_main-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_main-bold.woff') format('woff'),
|
||||
url('mjlite_main-bold.ttf') format('truetype');
|
||||
font-family: 'katex_main';
|
||||
src: url('katex_main-bold.eot');
|
||||
src: url('katex_main-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_main-bold.woff') format('woff'),
|
||||
url('katex_main-bold.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_main';
|
||||
src: url('mjlite_main-italic.eot');
|
||||
src: url('mjlite_main-italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_main-italic.woff') format('woff'),
|
||||
url('mjlite_main-italic.ttf') format('truetype');
|
||||
font-family: 'katex_main';
|
||||
src: url('katex_main-italic.eot');
|
||||
src: url('katex_main-italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_main-italic.woff') format('woff'),
|
||||
url('katex_main-italic.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_main';
|
||||
src: url('mjlite_main-regular.eot');
|
||||
src: url('mjlite_main-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_main-regular.woff') format('woff'),
|
||||
url('mjlite_main-regular.ttf') format('truetype');
|
||||
font-family: 'katex_main';
|
||||
src: url('katex_main-regular.eot');
|
||||
src: url('katex_main-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_main-regular.woff') format('woff'),
|
||||
url('katex_main-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_math';
|
||||
src: url('mjlite_math-bolditalic.eot');
|
||||
src: url('mjlite_math-bolditalic.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_math-bolditalic.woff') format('woff'),
|
||||
url('mjlite_math-bolditalic.ttf') format('truetype');
|
||||
font-family: 'katex_math';
|
||||
src: url('katex_math-bolditalic.eot');
|
||||
src: url('katex_math-bolditalic.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_math-bolditalic.woff') format('woff'),
|
||||
url('katex_math-bolditalic.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_math';
|
||||
src: url('mjlite_math-italic.eot');
|
||||
src: url('mjlite_math-italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_math-italic.woff') format('woff'),
|
||||
url('mjlite_math-italic.ttf') format('truetype');
|
||||
font-family: 'katex_math';
|
||||
src: url('katex_math-italic.eot');
|
||||
src: url('katex_math-italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_math-italic.woff') format('woff'),
|
||||
url('katex_math-italic.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_math';
|
||||
src: url('mjlite_math-regular.eot');
|
||||
src: url('mjlite_math-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_math-regular.woff') format('woff'),
|
||||
url('mjlite_math-regular.ttf') format('truetype');
|
||||
font-family: 'katex_math';
|
||||
src: url('katex_math-regular.eot');
|
||||
src: url('katex_math-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_math-regular.woff') format('woff'),
|
||||
url('katex_math-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_sansserif';
|
||||
src: url('mjlite_sansserif-bold.eot');
|
||||
src: url('mjlite_sansserif-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_sansserif-bold.woff') format('woff'),
|
||||
url('mjlite_sansserif-bold.ttf') format('truetype');
|
||||
font-family: 'katex_sansserif';
|
||||
src: url('katex_sansserif-bold.eot');
|
||||
src: url('katex_sansserif-bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_sansserif-bold.woff') format('woff'),
|
||||
url('katex_sansserif-bold.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_sansserif';
|
||||
src: url('mjlite_sansserif-italic.eot');
|
||||
src: url('mjlite_sansserif-italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_sansserif-italic.woff') format('woff'),
|
||||
url('mjlite_sansserif-italic.ttf') format('truetype');
|
||||
font-family: 'katex_sansserif';
|
||||
src: url('katex_sansserif-italic.eot');
|
||||
src: url('katex_sansserif-italic.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_sansserif-italic.woff') format('woff'),
|
||||
url('katex_sansserif-italic.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_sansserif';
|
||||
src: url('mjlite_sansserif-regular.eot');
|
||||
src: url('mjlite_sansserif-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_sansserif-regular.woff') format('woff'),
|
||||
url('mjlite_sansserif-regular.ttf') format('truetype');
|
||||
font-family: 'katex_sansserif';
|
||||
src: url('katex_sansserif-regular.eot');
|
||||
src: url('katex_sansserif-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_sansserif-regular.woff') format('woff'),
|
||||
url('katex_sansserif-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_script';
|
||||
src: url('mjlite_script-regular.eot');
|
||||
src: url('mjlite_script-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_script-regular.woff') format('woff'),
|
||||
url('mjlite_script-regular.ttf') format('truetype');
|
||||
font-family: 'katex_script';
|
||||
src: url('katex_script-regular.eot');
|
||||
src: url('katex_script-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_script-regular.woff') format('woff'),
|
||||
url('katex_script-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_size1';
|
||||
src: url('mjlite_size1-regular.eot');
|
||||
src: url('mjlite_size1-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_size1-regular.woff') format('woff'),
|
||||
url('mjlite_size1-regular.ttf') format('truetype');
|
||||
font-family: 'katex_size1';
|
||||
src: url('katex_size1-regular.eot');
|
||||
src: url('katex_size1-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_size1-regular.woff') format('woff'),
|
||||
url('katex_size1-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_size2';
|
||||
src: url('mjlite_size2-regular.eot');
|
||||
src: url('mjlite_size2-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_size2-regular.woff') format('woff'),
|
||||
url('mjlite_size2-regular.ttf') format('truetype');
|
||||
font-family: 'katex_size2';
|
||||
src: url('katex_size2-regular.eot');
|
||||
src: url('katex_size2-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_size2-regular.woff') format('woff'),
|
||||
url('katex_size2-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_size3';
|
||||
src: url('mjlite_size3-regular.eot');
|
||||
src: url('mjlite_size3-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_size3-regular.woff') format('woff'),
|
||||
url('mjlite_size3-regular.ttf') format('truetype');
|
||||
font-family: 'katex_size3';
|
||||
src: url('katex_size3-regular.eot');
|
||||
src: url('katex_size3-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_size3-regular.woff') format('woff'),
|
||||
url('katex_size3-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_size4';
|
||||
src: url('mjlite_size4-regular.eot');
|
||||
src: url('mjlite_size4-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_size4-regular.woff') format('woff'),
|
||||
url('mjlite_size4-regular.ttf') format('truetype');
|
||||
font-family: 'katex_size4';
|
||||
src: url('katex_size4-regular.eot');
|
||||
src: url('katex_size4-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_size4-regular.woff') format('woff'),
|
||||
url('katex_size4-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'mjlite_typewriter';
|
||||
src: url('mjlite_typewriter-regular.eot');
|
||||
src: url('mjlite_typewriter-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('mjlite_typewriter-regular.woff') format('woff'),
|
||||
url('mjlite_typewriter-regular.ttf') format('truetype');
|
||||
font-family: 'katex_typewriter';
|
||||
src: url('katex_typewriter-regular.eot');
|
||||
src: url('katex_typewriter-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('katex_typewriter-regular.woff') format('woff'),
|
||||
url('katex_typewriter-regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>MJLite Test</title>
|
||||
<title>KaTeX Test</title>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js" type="text/javascript"></script>
|
||||
<script src="MJLite.js" type="text/javascript"></script>
|
||||
<script src="katex.js" type="text/javascript"></script>
|
||||
<script src="main.js" type="text/javascript"></script>
|
||||
<link href="mjlite.css" rel="stylesheet" type="text/css">
|
||||
<link href="katex.css" rel="stylesheet" type="text/css">
|
||||
<link href="main.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -15,12 +15,12 @@ big parens
|
|||
*/
|
||||
|
||||
.mathmathmath {
|
||||
font: normal 1.21em mjlite_main;
|
||||
font: normal 1.21em katex_main;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.mathit {
|
||||
font-family: mjlite_math;
|
||||
font-family: katex_math;
|
||||
font-style: italic;
|
||||
}
|
||||
|
|
@ -11,6 +11,6 @@ window.onload = function() {
|
|||
}
|
||||
|
||||
function reprocess() {
|
||||
MJLite.process(input.value, math);
|
||||
katex.process(input.value, math);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user