lib/softcover/mathjax.rb in softcover-1.2.15 vs lib/softcover/mathjax.rb in softcover-1.3.0
- old
+ new
@@ -40,11 +40,12 @@
#{custom_macros}
}
},
showProcessingMessages: false,
messageStyle: "none",
- imageFont: null
+ imageFont: null,
+ "AssistiveMML": { disabled: true }
});
EOS
config
end
@@ -55,11 +56,10 @@
self.config(options).gsub('\\', '\\\\\\\\')
end
MATHJAX = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config='
AMS_HTML = MATHJAX + 'TeX-AMS_HTML'
- MATHJAX_LOCAL = 'MathJax/MathJax.js?config='
- AMS_SVG = MATHJAX_LOCAL + 'TeX-AMS-MML_SVG'
+ AMS_SVG = MATHJAX + 'TeX-AMS-MML_SVG'
# Returns the custom macros as defined in the custom style file.
def self.custom_macros
extract_macros(Softcover.custom_styles)
end