Integrating MathJax into XenForo: A Simple Solution

  • Context: LaTeX 
  • Thread starter Thread starter jy76
  • Start date Start date
  • Tags Tags
    install
Click For Summary

Discussion Overview

The discussion revolves around integrating MathJax into XenForo, focusing on potential solutions, configurations, and modifications. Participants explore various resources, tutorials, and personal experiences related to this integration.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants inquire about available tutorials or modifications for integrating MathJax into XenForo.
  • One participant suggests checking the MathJax website and the Physics Forums help page for resources.
  • Another participant references a previous post about MathJax and provides a link to it.
  • It is mentioned that MathJax can automatically render LaTeX code based on specific tagging, potentially replacing it with images or canvases.
  • A participant points out a specific LaTeX mod found on a support forum, though they express uncertainty about its use on the current forum.
  • One participant claims that no modification is necessary, stating that MathJax is simply a JavaScript library requiring minimal configuration.
  • Concerns are raised about the appearance of the mod, specifically the background color not matching the forum's theme.
  • Another participant echoes concerns about the background color and questions its relevance to MathJax.
  • One participant expresses uncertainty about the technical details but is willing to learn how to implement MathJax.
  • A later reply suggests that including the MathJax script in the header is sufficient for integration.

Areas of Agreement / Disagreement

Participants express a mix of opinions regarding the necessity of modifications and the appearance of the integration. There is no consensus on the best approach or solution for integrating MathJax into XenForo.

Contextual Notes

Some participants mention specific configurations and aesthetic preferences, indicating that the integration may depend on individual forum themes and settings.

jy76
Messages
5
Reaction score
0
Any tutorials or mods out there - free or paid?
 
Physics news on Phys.org
Mathjax is included in the web,page and when loading discovers the latex code based on the tagging used and replaces it with an image or canvas with the rendered equation.

You could look at how the PF pages do it. PF is hosted on XenForo software so you could check with @Greg Bernhardt if there's anything special that he does to make it work,
 
No mod is needed, it's just a simple javascript library and you do a little configuration.
 
The problem I see with the mod is the background is white and I'd rather it match the blue color of my forum.
 
jy76 said:
The problem I see with the mod is the background is white and I'd rather it match the blue color of my forum.
I don't see what this has to do with mathjax
 
I don't know the details about the stuff - but I can figure it out eventually. Possibly mathjax renders things differently.
 
  • #10
Forget about the addon. Just include the mathjax script in the header and you're good to go.
 

Similar threads

Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
10K
  • · Replies 340 ·
12
Replies
340
Views
53K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
7K