DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mathjax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:mathjax [2020-12-14 23:55] – Correct statement on MathJax v3; fix example URLs. liffitonplugin:mathjax [2024-02-13 04:53] (current) – Mark compatible with Kaos release liffiton
Line 6: Line 6:
 email      : liffiton@gmail.com email      : liffiton@gmail.com
 type       : action, syntax type       : action, syntax
-lastupdate : 2018-06-23 +lastupdate : 2021-11-20 
-compatible : Hogfather, Greebo, Frusterick Manners, Ponder Stibbons, Rincewind, Angua, Adora Belle, Weatherwax, Binky, 2014-09-29 "Hrun", Detritus, Elenor of Tsort+compatible :  Ponder Stibbons, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum, Kaos
 depends    :  depends    : 
 conflicts  : creole, indexmenu2, revealjs, s5 conflicts  : creole, indexmenu2, revealjs, s5
Line 79: Line 79:
 ==== Third-Party Extensions ==== ==== Third-Party Extensions ====
  
-Some [[https://docs.mathjax.org/en/v2.7-latest/options/ThirdParty.html|third-party MathJax extensions]] may require a different configuration than the plugin's default to operate properly.  For example, it has been reported that the XyJax extension does not function with the "CHTML" renderer.  In that case, set the Dokuwiki configuration option ''plugin»mathjax»url'' to ''%%https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_HTML.js%%'' (changing it to use the ''Tex-AMS_HTML'' MathJax configuration rather than ''TeX-AMS_CHTML'') to allow XyJax to work.+Some [[https://docs.mathjax.org/en/v2.7-latest/options/ThirdParty.html|third-party MathJax extensions]] may require a different configuration than the plugin's default to operate properly.  For example, it has been reported that the XyJax extension does not function with the "CHTML" renderer.  In that case, set the Dokuwiki configuration option ''plugin»mathjax»url'' to ''%%https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-AMS_HTML.js%%'' (changing it to use the ''Tex-AMS_HTML'' MathJax configuration rather than ''TeX-AMS_CHTML'') to allow XyJax to work.
  
 ==== AsciiMath ==== ==== AsciiMath ====
  
-MathJax has the ability to parse and render [[http://asciimath.org/|AsciiMath]] markup, but it is not enabled in the default configuration of this plugin.  One easy way to enable the AsciiMath preprocessor is to use a different [[http://docs.mathjax.org/en/v2.7-latest/config-files.html|configuration file]]: set ''plugin»mathjax»url'' to ''%%https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML.js%%'' (That configuration enables both TeX and AsciiMath; see the list of configuration files for other options. You may want to modify some [[https://mathjax.readthedocs.org/en/v2.7-latest/options/asciimath2jax.html#configure-asciimath2jax|AsciiMath-specific settings]] as well.+MathJax has the ability to parse and render [[http://asciimath.org/|AsciiMath]] markup, but it is not enabled in the default configuration of this plugin.  One easy way to enable the AsciiMath preprocessor is to use a different [[http://docs.mathjax.org/en/v2.7-latest/config-files.html|configuration file]]: set ''plugin»mathjax»url'' to ''%%https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=AM_CHTML.js%%''. 
 + 
 +If you want to use AsciiMath, you should also enable the "asciimath" configuration option (in the MathJax section of your wiki'configuration manager).
  
 ==== Automatic Equation Numbering ==== ==== Automatic Equation Numbering ====
Line 100: Line 102:
 The line ''TeX: { equationNumbers: {autoNumber: "AMS"} }'' enables the equation numbering. The line ''TeX: { equationNumbers: {autoNumber: "AMS"} }'' enables the equation numbering.
  
-See the [[http://docs.mathjax.org/en/v2.7-latest/tex.html#automatic-equation-numbering|MathJax documentation]] or the [[https://cdn.rawgit.com/mathjax/MathJax/2.7.7/test/examples.html|MathJax examples page]] for the syntax for creating automatic references to equations, as well.+See the [[http://docs.mathjax.org/en/v2.7-latest/tex.html#automatic-equation-numbering|MathJax documentation]] or the [[https://cdn.rawgit.com/mathjax/MathJax/2.7.9/test/examples.html|MathJax examples page]] for the syntax for creating automatic references to equations, as well.
  
 ==== Changing default size or scale ==== ==== Changing default size or scale ====
plugin/mathjax.1607986548.txt.gz · Last modified: 2020-12-14 23:55 by liffiton

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki