• Resolved andreyrogatkin

    (@andreyrogatkin)


    Dear Van Abel. We are trying to use your plugin right now. It has a very promising functionality and we appreciate it. But after your last update there is a problem of activating it on WordPress.
    “Parse error: syntax error, unexpected ‘[‘ in /var…/latex2html/latex2html.php on line 29”
    as it is said. Please advise how to resolve this issue. Thank you very much. Andrey and math team.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Van Abel

    (@van-abel)

    This question has been discussed a few days ago on the manual page (Chinese), so I know that it can be solved by updating your php to version at least 5.4.

    The main issue is that the shorthand for array in php is not supported in the older version. As the official doc says:

    As of PHP 5.4 you can also use the short array syntax, which replaces array() with [].

    • This reply was modified 8 years ago by Van Abel.
    Thread Starter andreyrogatkin

    (@andreyrogatkin)

    Thank you!

    We set up PHP 5.4. version and it works well. Your plugin looks very far reaching.

    The next problem we face is that defn(Definition), prop(Proposition) and thm(Theorem) are not numbered independently. The first theorem in the text is called “Theorem 2” because we have “Definition 1” before it. Are there any possibilities to change it?

    Plugin Author Van Abel

    (@van-abel)

    No, this can’t be changed at current stage. The shared counter scheme of theorem like environments is in fact a feature of this plugin and I believe that it is a convention in mathematical scientific writing.

    But if you persist to use independent numbering, then you should consider to change the core code of the plugin, which on the other hand, I strongly do not recommend.

    • This reply was modified 8 years ago by Van Abel.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin could not be activated because it triggered a fatal error’ is closed to new replies.