Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to resolve the issue of Latex Math anchor/numbering not working in Confluence Server after an upgrade.

If you're experiencing issues with When you encounter Latex Math issues in Confluence Server after upgrading updating to a new version, such as anchors not working or numbering numbers not working, there may be displaying, you might have an issue with the velocity templates for the Latex Math add-on. To . In order to resolve the issue, you need to update the velocity templates (Math Block velocity template and Math Block Reference velocity template) for the Latex Math add-on.

Instructions

  1. Login to Jira and click on the gear wheel Cogwheel icon in the top right corner of the screen and select "Manage Apps" from the dropdown menu.

  2. Search or scroll down until you see "Latex Math" and click on it. Select "Latex Math Configuration".

  3. Scroll down until you see "Math Block velocity template" and "Math Block Reference velocity template" as shown below.

  4. To edit each of the blocks, click anywhere within the block. This will open the corresponding velocity template, which you can then compare with the templates provided below. If you notice any differences, replace the existing template with the new one.

...

9. Make sure to save your changes after replacing the templates.

10. Refresh Try refreshing the Confluence page containing the Latex math macros to see if anchors and numbers display correctly.

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

  • Ensure to have appropriate permissions to chnage this settings.