How to migrate content from MathJax mathinline macro to the LaTeX mathinline macro

How to migrate content from MathJax mathinline macro to the LaTeX mathinline macro

This article explains how to migrate the content from the Mathjax mathinline macro to the LaTeX mathinline macro.

Instructions

  1. Log in to Confluence instance as an Administrator and navigate to Cog Wheel >> Manage Apps

  2. Disable the MathJax/Other Math app installed in Confluence.

  3. Click on Find new apps to install the LaTeX Math. Refer to this marketplace link: https://marketplace.atlassian.com/apps/1210882/latex-math?tab=overview&hosting=server

  4. Once you install the app, add the license to the installed LaTeX Math app.

  5. Press the small + button on the right of the page where it says “x of x modules enabled”.



  6. Scroll down and find the “mathinline” module. When the mouse is over it, a “Disable” button is seen as shown below. Click on this and the module will show as disabled.

    Manage Apps page showing the mathinline module with a Disable button visible on hover

     

  7. In the Latex Math settings page, enable the “Automatic conversion to math macros” option.

    LaTeX Math settings page showing the Automatic conversion to math macros option enabled

     

  8. Navigate to the User Macros page in Confluence and enter the below details:

    • Macro Name: mathinline

    • Macro Body Processing: Unrendered

    • Copy the below template to the macro body.

      <ac:macro ac:name="latex"> <ac:plain-text-body><![CDATA\($!parambody$!body\)]></ac:plain-text-body> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> </ac:macro>#doNothing()



      User Macros page in Confluence showing the mathinline macro template configuration
  9. Click Save

  10. Refresh the Confluence page containing the mathline macro.

Perform the above steps in a staging environment before implementing them in production.

 

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.