FindMathJax2

Find MathJax2 for rendering LaTeX formulas in generated web documentation, especially Doxygen output.

This find-module searches for a local installation containing MathJax.js and provides the usual find_package(MathJax2) result variables.

Result Variables

This module defines the following variables:

MATHJAX2_FOUND

Boolean result indicating whether MathJax2 was found.

MATHJAX2_PATH

Directory containing the discovered MathJax.js script.

Hints

The following variable may be set to influence this module’s behavior:

MathJax2_ROOT

Preferred search prefix for the MathJax2 installation. If set, this path is searched before the built-in system locations.