Merge pull request #880 from tamuratak/display_userdefined_seq

Display user-defined control sequence as is.
This commit is contained in:
James Yu 2018-10-16 17:20:33 +08:00 committed by GitHub
commit b44ba13c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ export class Viewer {
useGlobalCache: false useGlobalCache: false
}, },
TeX: { TeX: {
extensions: ["AMSmath.js", "AMSsymbols.js", "autoload-all.js"] extensions: ["AMSmath.js", "AMSsymbols.js", "noUndefined.js", "autoload-all.js"]
}, },
tex2jax: { tex2jax: {
inlineMath: [ ['\$','\$'], ['\\\\(', '\\\\)'] ] inlineMath: [ ['\$','\$'], ['\\\\(', '\\\\)'] ]