Got this issue dude.

Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Using version ^0.3.2 for the-turk/flarum-mathren
./composer.json has been updated
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for the-turk/flarum-mathren ^0.3.2 -> satisfiable by the-turk/flarum-mathren[0.3.2].
    - Conclusion: remove flarum/core v0.1.0-beta.15
    - Conclusion: don't install flarum/core v0.1.0-beta.15
    - the-turk/flarum-mathren 0.3.2 requires flarum/core >=0.1.0-beta.10 <0.1.0-beta.14 -> satisfiable by flarum/core[v0.1.0-beta.10, v0.1.0-beta.11, v0.1.0-beta.11.1, v0.1.0-beta.12, v0.1.0-beta.13].
    - Can only install one of: flarum/core[v0.1.0-beta.10, v0.1.0-beta.15].
    - Can only install one of: flarum/core[v0.1.0-beta.11, v0.1.0-beta.15].
    - Can only install one of: flarum/core[v0.1.0-beta.11.1, v0.1.0-beta.15].
    - Can only install one of: flarum/core[v0.1.0-beta.12, v0.1.0-beta.15].
    - Can only install one of: flarum/core[v0.1.0-beta.13, v0.1.0-beta.15].
    - Installation request for flarum/core (locked at v0.1.0-beta.15, required as ^0.1.0) -> satisfiable by flarum/core[v0.1.0-beta.15].


Installation failed, reverting ./composer.json to its original content.

It seems like it's not compatible with either beta 14 or 15.

I'll add the incompatible tag.

    • [deleted]

    Bishwas-py no, unless someone forks this and makes it compatible

    10 days later

    Bishwas-py We have made mathren compatible with the current version of flarum but the functionality of the plugin is insufficient for our purposes anyway.
    For example there is no equation numbering or \eqnarray or \mbox. Let alone the cumbersome [math][/math] wrappers instead of $$.

    We will try to implement MathJax in a new latex plugin. Should have it by the end of March 2021.

    a month later
    2 months later

    0.3.3

    • Flarum v1.0.2 compatible
    • fof/best-answer compatible
    • Update KaTeX to v0.13.11 (see their changelog).

    0.3.4

    • Fix usernames were rendering in .PostStream-item if they contains math delimiters (such as [math]username[/math]).

    0.3.5

    • Fix posts in discussion won't render if you edit and save a post.
    • Fix posts in discussion won't render if you change route while editing a post.

      Kylo hi, I run into a problem that the rendering only works when I insert delimiters into codes. So I have to choose the expression first, type the expression and enclose it into codes <ctrl-'> to make it work.

      • Kylo replied to this.

        ParlorPink I can't reproduce this, any console logs, errors? What happens if you just type [math]x2[/math] and post it? Could you provide your forum's URL so maybe I can take a look at it?

          Kylo yeah, my url is bookclubforgrads.com The problem for me right now is [math]x2[/math] works but [math]\psi[/math] does not.

          • Kylo replied to this.

            Kylo also, it is not consistently rendered, after refreshing, the rendering is gone

            ParlorPink yeah something very strange going on there and I can't figure out why is that happening. There might be a conflict with another one, could you paste here your php flarum info output? And make sure you're on the latest version (which is 0.3.5)

              Hi, just to say, the tag [math] is not so friendly to me, since standard tag $ or $$ in LaTeX is much more efficeit.
              Maybe it is a choice to discuss with FlaJax and make a nicer extension out of it... Good luck.

              • Kylo replied to this.

                kaifang actually I have that feature but decided to keep it unreleased 'cause I know it'll give us all nothing but headaches (i.e. Kylo) and lots of comments here just asking for support (and for free $). I can assure you it's more complex than you think, especially when it comes to single page application.

                All FlaJax is doing rendering the whole page using Mathjax script and that's it, there's literally nothing that I could implement from it. And look all the features we got here just because we're not using the ordinary dollar signs as delimiters 🤷.

                What makes you think using dollar signs are more efficient by the way?

                  Kylo Flarum core 1.0.3
                  PHP version: 7.4.11
                  Loaded extensions: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, bcmath, dom, fileinfo, gd, imagick, imap, intl, json, exif, mysqlnd, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, soap, sockets, sqlite3, tidy, timezonedb, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache
                  +-----------------------+---------------+--------+
                  | Flarum Extensions | | |
                  +-----------------------+---------------+--------+
                  | ID | Version | Commit |
                  +-----------------------+---------------+--------+
                  | flarum-flags | v1.0.0 | |
                  | flarum-markdown | v1.0.1 | |
                  | the-turk-mathren | 0.3.5 | |
                  | flarum-approval | v1.0.0 | |
                  | flarum-bbcode | v1.0.0 | |
                  | flarum-emoji | v1.0.0 | |
                  | flarum-lang-english | v1.0.0 | |
                  | flarum-likes | v1.0.0 | |
                  | flarum-lock | v1.0.0 | |
                  | flarum-mentions | v1.0.0 | |
                  | flarum-statistics | v1.0.0 | |
                  | flarum-sticky | v1.0.0 | |
                  | flarum-subscriptions | v1.0.0 | |
                  | flarum-suspend | v1.0.0 | |
                  | flarum-tags | v1.0.3 | |
                  | glowingblue-rich-text | v2.0.4-beta.1 | |

                  • Kylo replied to this.

                    ParlorPink most likely the glowingblue-rich-text extension causing this issue, try disabling it.

                      Kylo thanks for the comments.
                      I’m just a user of flarum without any js/php programming experience, but now I know the problem you’re facing.

                      I think $ is more efficient is that i got used to it and [math] is clearly longer to type right? Anyway, MathRen is nice, and thanks for your contribution!