How to use Japanese in a formula using the math directive

• I would like to use Japanese in mathema、 expressions with Sphinx.
When searching on the web, \mbox was used to use Japanese in the mathemaエラー expression, but Sphinx has an error, and Japanese cannot be used.
It is confirmed that the formula without Japanese is output.

The following error will occur.

.. math::
\mbox{日本語}



macOS Sierra,python 3.5.2,sphinx 1.4.1,MacTex 2016

• Prerequisite confirmation

• Rendering sphinx.ext.imgmath How to use?
• Is the output HTML?
• Attach a mathema text that you tried to output and an error log

sphinx.ext.imgmath renders the formula using dvipng.
However, https://yutarine.blogspot.jp/2009/07/latex-dvipng.html Comment

instead sphinx.ext.mathjax Use.

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2