latex: do not cache font chars
This commit is contained in:
parent
0e35a1ea3f
commit
cf10aa1da3
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ const adaptor = MathJax._.adaptors.liteAdaptor.liteAdaptor();
|
||||||
MathJax._.handlers.html_ts.RegisterHTMLHandler(adaptor)
|
MathJax._.handlers.html_ts.RegisterHTMLHandler(adaptor)
|
||||||
const html = MathJax._.mathjax.mathjax.document('', {
|
const html = MathJax._.mathjax.mathjax.document('', {
|
||||||
InputJax: new MathJax._.input.tex_ts.TeX({ packages: ['base', 'mathtools', 'ams', 'amscd', 'braket', 'cancel', 'cases', 'color', 'gensymb', 'mhchem', 'physics'] }),
|
InputJax: new MathJax._.input.tex_ts.TeX({ packages: ['base', 'mathtools', 'ams', 'amscd', 'braket', 'cancel', 'cases', 'color', 'gensymb', 'mhchem', 'physics'] }),
|
||||||
OutputJax: new MathJax._.output.svg_ts.SVG(),
|
OutputJax: new MathJax._.output.svg_ts.SVG({fontCache: 'none'}),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (typeof globalThis !== 'undefined') {
|
if (typeof globalThis !== 'undefined') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue