### Re: [ALPHA] MathJax phpBB Integration

Posted:

**Sat Mar 02, 2013 11:53 pm**Citromon, yes there are. Have a look at this thread. Never tried, but I suppose the server will need latex installed (or equivalent).

Home of phpBB

https://www.phpbb.com/community/

https://www.phpbb.com/community/viewtopic.php?f=70&t=2133985

Page **6** of **10**

Posted: **Sat Mar 02, 2013 11:53 pm**

Citromon, yes there are. Have a look at this thread. Never tried, but I suppose the server will need latex installed (or equivalent).

Posted: **Sun Mar 03, 2013 2:22 am**

You might also try Mimetex. It works quite well if you don't have a LaTeX distribution on your server.

MathTex is nicer, but you'll need LaTeX or a host that can provide you access to a cgi-bin parser as a remote call.

MathTex is nicer, but you'll need LaTeX or a host that can provide you access to a cgi-bin parser as a remote call.

Posted: **Sun Mar 17, 2013 11:35 pm**

Is there a way to have math input on a phpbb forum without knowing LaTEX syntax?

Posted: **Mon Mar 18, 2013 2:06 am**

Your posters are going to need *some* standard syntax to use a bbCode to render math..

I don't quite understand what you mean.

I don't quite understand what you mean.

Posted: **Mon Mar 18, 2013 2:11 am**

I'm trying to integrate math into my forum but I want to make it user friendly. For example to use the bold tags, you use tags.muggins wrote:Your posters are going to needsomestandard syntax to use a bbCode to render math..

I don't quite understand what you mean.

When I integrate this, all math will be entered using the [tex][/tex] tags.

The problem is users will need to enter their input as \sqrt2 etc. and I don't think they will want to learn this syntax

Posted: **Mon Mar 18, 2013 2:43 am**

That is something to address with your users.

Posted: **Mon Mar 18, 2013 12:20 pm**

If you really must, have a look at this equation editor and the associated tutorial.engines wrote:Is there a way to have math input on a phpbb forum without knowing LaTEX syntax?

Posted: **Tue Jul 09, 2013 4:00 pm**

Today I opened my forum and I saw that all math formulas do not display. I do not know what has happened. Instead of formulas there is only written
Does somebody know what should I check in order to find out what has happened?

Well, I have phpbb 3.0.11 and I am using mathjax CDN.

Here is a sample what I see as I write
http://math.ge/forum/viewtopic.php?f=31&t=656

And one more question: I actually forgot where I have indicated

mathjax CDN: http://cdn.mathjax.org/mathjax/latest/M ... _HTMLorMML

Can somebody remind me where this address is indicated in my forum? I just want to check that I indicated it correctly. Probably I indicated this address during the instalation of the MOD, but I don't remember because I intalled this MOD few months ago

Code: Select all

`[math]`

Well, I have phpbb 3.0.11 and I am using mathjax CDN.

Here is a sample what I see as I write

Code: Select all

`[tex] x^{2} [/tex]`

And one more question: I actually forgot where I have indicated

mathjax CDN: http://cdn.mathjax.org/mathjax/latest/M ... _HTMLorMML

Can somebody remind me where this address is indicated in my forum? I just want to check that I indicated it correctly. Probably I indicated this address during the instalation of the MOD, but I don't remember because I intalled this MOD few months ago

Posted: **Tue Jul 09, 2013 4:14 pm**

Paata, it seems MathJax changed their CDN provider.

The HTTP url remains the same, however the HTTPS url was changed.

I'll push a new version ASAP. In the meantime you can disable "force HTTPS" in the mod settings (.MODS category).

The new SSL URL is:
Btw you're using (just checked the page source), it can be changed in the CP.

The HTTP url remains the same, however the HTTPS url was changed.

I'll push a new version ASAP. In the meantime you can disable "force HTTPS" in the mod settings (.MODS category).

The new SSL URL is:

Code: Select all

`https://c328740.ssl.cf1.rackcdn.com/mathjax/latest`

Code: Select all

`config=TeX-AMS-MML_HTMLorMML`

Posted: **Tue Jul 09, 2013 9:19 pm**

- Updated the HTTPS URL of MathJax's CDN.
- Updated UMIL from v1.0.4 to v1.0.5.
- Updated MODX from v1.2.5 to v1.2.6.
- Updated the Mod version check URL.

Posted: **Wed Jul 10, 2013 8:29 am**

When mathjax is processing there is big padding inline text. and after loading completely padding get out and is nice.

Where can change**text-align** and **direction **of **MathJax** css selector?

Where can change

Posted: **Wed Jul 10, 2013 10:21 am**

To override MathJax CSS, you need to add the rules in JSON notation on themathdlir wrote:When mathjax is processing there is big padding inline text. and after loading completely padding get out and is nice.

Where can changetext-alignanddirectionofMathJaxcss selector?

`MathJax.Hub.Config()`

call.You should edit

`styles/prosilver/template/mathjax.html`

.Example:

Code: Select all

```
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
styles: {
".MathJax": {
"text-align": "center",
"direction": "rtl",
},
},
},
// ...
});
// ...
</script>
```

`MathJax_Preview`

.Posted: **Wed Jul 10, 2013 10:36 am**

Thank **Citromon**. How to put equation in center. [latex] is for inline equations?

for example in some boards $ is for inline and $$ is for display equation (new line in center).

How can we do this in MathJax MOD?

for example in some boards $ is for inline and $$ is for display equation (new line in center).

How can we do this in MathJax MOD?

Posted: **Wed Jul 10, 2013 10:56 am**

mathdlir wrote:ThankCitromon. How to put equation in center. [latex] is for inline equations?

for example in some boards $ is for inline and $$ is for display equation (new line in center).

How can we do this in MathJax MOD?

- Go to .MODS->Mathjax->BBCode Settings and create a new BBCode.
- Now go to Posting->Messages->BBCodes and edit that bbcode HTML replacement code.
- Find:
`<span class="MathJaxBB">`

- Replace with:
`<span class="MathJaxBB" style="display:block;text-align:center;">`

Posted: **Wed Jul 10, 2013 3:28 pm**

How can we disable MathJax for a specific paragraph?