MathJax

How to define macro, to be available on phpbb posts? - MathJax

How to define macro, to be available on phpbb posts?

by mpaw » Mon Sep 16, 2019 1:14 pm

Hi.

Is is possible, to define macro, which would be availble in all posts at forum phpbb?

Thanks
Mike.
mpaw
Registered User
Posts: 141
Joined: Mon Sep 16, 2019 1:09 pm

Re: How to define macro, to be available on phpbb posts?

by mpaw » Wed Sep 18, 2019 5:15 pm

Hi.

I've figured it out.
I had to add, in

Code: Select all

\ext\kinerity\mathjax\styles\prosilver\template\event\overall_footer_after.html
file, before the MathJax include js, a savascript with

Code: Select all

MathJax.Hub.Config(
. Example is here: https://docs.mathjax.org/en/v1.0/configuration.html

Thanks anyway for visiting.
Mike
mpaw
Registered User
Posts: 141
Joined: Mon Sep 16, 2019 1:09 pm

Re: How to define macro, to be available on phpbb posts?

by mpaw » Wed Sep 18, 2019 5:18 pm

Post Scriptum.

Oh, I've forgotten.

After modification of this file, I needed to clear buffer (cleare cache). You can do it in Admin Panel with all rights.
mpaw
Registered User
Posts: 141
Joined: Mon Sep 16, 2019 1:09 pm