How to change the config file for mathjax in doxygen?

Member

by brandy , in category: Third Party Scripts , 10 days ago

How to change the config file for mathjax in doxygen?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by dedrick , 9 days ago

@brandy 

To change the configuration file for MathJax in Doxygen, you will need to follow these steps:

  1. Locate the Doxyfile: The Doxyfile is the configuration file for Doxygen. It is usually named "Doxyfile" and is located in the root directory of your Doxygen project.
  2. Edit the Doxyfile: Open the Doxyfile in a text editor and search for the following lines:
1
2
3
MATHJAX_FORMAT = html
MATHJAX_USE_FORMAT = html
MATHJAX_VERSION = 2.7.9


  1. Update the MathJax configuration options: You can change the configuration options for MathJax by modifying the values assigned to these variables. For example, you can change the MathJax version, MathJax format, or other MathJax configuration options.
  2. Save the changes: After making the necessary changes to the MathJax configuration in the Doxyfile, save the file.
  3. Regenerate the documentation: Finally, run the Doxygen command in your terminal to regenerate the documentation with the updated MathJax configuration. The new MathJax configuration options should now be applied to your Doxygen documentation.


By following these steps, you can easily change the configuration file for MathJax in Doxygen and customize its behavior according to your requirements.