mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-30 19:50:01 +02:00
accented letter shimming
This commit is contained in:
@@ -41,6 +41,9 @@ if (latex === -1) {
|
||||
// strip any \[ and \], which is an block-level LaTeX markup indicator for MathJax:
|
||||
latex = latex.replace(/^'/,'').replace(/'$/,'').replace('\\[','').replace('\\]','');
|
||||
|
||||
// Accented letters need shimming. For now, at least, until I figure out
|
||||
// how to make mathjax-node use a full STIX or the like for typesetting.
|
||||
latex = latex.replace(/é/g,'\\acute{e}');
|
||||
|
||||
// set up the MathJax processor
|
||||
var API = require("mathjax-node/lib/mj-single");
|
||||
|
Reference in New Issue
Block a user