Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to access body content of disabled macro - MathJax

Mike 1234
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 2, 2024

Hello,

We have some old pages which contain MathJax LaTeX macros using mathinline and mathdisplay macros.

The MathJax plugin has been uninstalled by our IT team several years ago. Does anyone know how to access the body content of these macros? IT currently won't reinstall the plugin.

I've tried the method of trying to edit the macro and then choosing another macro, but that didn't work. The body content is still empty.

many thanks for any advice you can give

Confluence 7.19

 

2 answers

1 vote
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2024

Without the plugin installed to "load" the content, you can only access it from SQL (raw page content in storage format), or by using a source code editor,

 

More on that here: https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html

 

Storage format is.. well, not the most user friendly thing. In either case you would need to find the macro in it's xml format, and get the content from it, so in case of SQL first you would need to query for the text matches in page content, redirect that to somewhere (files), then parse the files to get the content you're after, whereas with the source editor plugin, it is the same thing, but you can do it on a page-level inside browser so it's not as much of a console work.

 

So I would say that whoever made the decision to uninstall the app, should do the heavy work here, but then again now we're more in politics, responsibilities, budgeting, yada yada territory. All I can say is those are practically the only 2 options to get the data, if the plugin is not installed back.

And, it could be installed back "temporarily" just for the macro to load on the pages, then uninstalled again in the future, only this time without locking your content behind SQL.

 

 

0 votes
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 2, 2024

Hi @Mike 1234 , welcome to the community and thanks for your question.

Are you able to identify who the vendor is for the app? I would approach them for help with this. 

https://marketplace.atlassian.com/apps/207/latex-and-mathjax?hosting=datacenter&tab=support 

This app has support and the documentation available, which might help you unpick this issue - https://thepluginpeople.atlassian.net/wiki/spaces/CLATEX/overview 

Hope this helps.

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events