Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I have a patch that fixes this problem. This is a patch off the 6.x development branch to create a 7.x compatible module. This patch does not "integrate" the module into drupal 7's new look, just makes it work.
I'm a bit confused on the integration for Drupal 7 and php3.0.8. Am I correct in assuming that it isn't possible as of now? If that is correct, when will the "patch" be put into place and how would it be applied? Is it possible to revert back to Drupal 6.??? and use the module to integrate to PHP 3.0.8? I am in the process of testing to see if the two different sites will fit my needs/purpose.
I run a couple science sites and am a HEAVY mathfilter user that is trying to upgrade to Drupal 7--so not having a D7 version has been a showstopper.
Doesn't look like much activity has been going on here, so I updated the mathfilter code myself to be fully integrated with D7, fixed all the reported bugs (including caching), put in most of the requested enhancements (CSS class support, short latex-style tags [$2+2=4$]) and did a lot of code optimization and Drupal standards conformance. (With something like 4000 [tex] equations on my sites, that cache makes a HUGE difference.)
My first effort at Drupal programming, but it came out rather nice. I am using it with Windows 7 (test), Linux CentOS (production), with Apache 2.2 and PHP 5.3.6.
I would like to offer my assistance as a co-maintainer of this project, at least for the D7 implementation. I would like to see this project continue on, as it is one of my favorites.
It started as a patch, but ended up as a major rewrite. I have a page on my research site where you can download it: mathfilter-7.x. There are instructions on the page. Any updates I make will be there for now.
I'm still learning the Drupal API and development environment, so it is a work-in-progress. Hopefully I'll hear back from the author and be able to provide official support in the future, as I am heavily dependent on this module (the forum on the site has hundreds of mathfilter equations, from simple stuff to complex matrices).
Let me know if it works for you. All you should have to do is install it and enable the filter on the appropriate text formats, and all the old equations should show up. Should be 100% compatible with the V6 [tex] commands. The V7 mathfilter will report problems on the Reports/Status Report page, which can be really helpful. Settings are in the Configuration / Content Authoring section. Help in admin/help.
This worked for me with practically no modifications and thank you very much, for the old [tex] tags worked, although I do not use the graph, just to display equations.
From the statistics, only 30 sites are using this module, so may I suggest taking bperet's port and starting from there as a Drupal 7 version?
I am in process of upgrading to D7 at the moment, so any problems, rewrites I have to do to fix any problems, I can report here. So far on my sandbox it works like a charm.
@RobertOak The working port at http://rs2theory.org/drupal/mathfilter is no more. Can you please attach it here? I had it working on my school's site, but lost the file recently. Thanks
Comments
Comment #1
krzysz00 commentedI'm hacking on this.
Comment #2
krzysz00 commentedI have a patch that fixes this problem. This is a patch off the 6.x development branch to create a 7.x compatible module. This patch does not "integrate" the module into drupal 7's new look, just makes it work.
Comment #3
Milkman Mike commentedI'm a bit confused on the integration for Drupal 7 and php3.0.8. Am I correct in assuming that it isn't possible as of now? If that is correct, when will the "patch" be put into place and how would it be applied? Is it possible to revert back to Drupal 6.??? and use the module to integrate to PHP 3.0.8? I am in the process of testing to see if the two different sites will fit my needs/purpose.
Thanks
Mike
Comment #4
bperet commentedI run a couple science sites and am a HEAVY mathfilter user that is trying to upgrade to Drupal 7--so not having a D7 version has been a showstopper.
Doesn't look like much activity has been going on here, so I updated the mathfilter code myself to be fully integrated with D7, fixed all the reported bugs (including caching), put in most of the requested enhancements (CSS class support, short latex-style tags [$2+2=4$]) and did a lot of code optimization and Drupal standards conformance. (With something like 4000 [tex] equations on my sites, that cache makes a HUGE difference.)
My first effort at Drupal programming, but it came out rather nice. I am using it with Windows 7 (test), Linux CentOS (production), with Apache 2.2 and PHP 5.3.6.
I would like to offer my assistance as a co-maintainer of this project, at least for the D7 implementation. I would like to see this project continue on, as it is one of my favorites.
Comment #5
krzysz00 commentedCould you post the patch that adds all of the fixes you mentioned?
Comment #6
bperet commentedIt started as a patch, but ended up as a major rewrite. I have a page on my research site where you can download it: mathfilter-7.x. There are instructions on the page. Any updates I make will be there for now.
I'm still learning the Drupal API and development environment, so it is a work-in-progress. Hopefully I'll hear back from the author and be able to provide official support in the future, as I am heavily dependent on this module (the forum on the site has hundreds of mathfilter equations, from simple stuff to complex matrices).
Let me know if it works for you. All you should have to do is install it and enable the filter on the appropriate text formats, and all the old equations should show up. Should be 100% compatible with the V6 [tex] commands. The V7 mathfilter will report problems on the Reports/Status Report page, which can be really helpful. Settings are in the Configuration / Content Authoring section. Help in admin/help.
Comment #7
RobertOak commentedThis worked for me with practically no modifications and thank you very much, for the old [tex] tags worked, although I do not use the graph, just to display equations.
http://rs2theory.org/drupal/mathfilter
From the statistics, only 30 sites are using this module, so may I suggest taking bperet's port and starting from there as a Drupal 7 version?
I am in process of upgrading to D7 at the moment, so any problems, rewrites I have to do to fix any problems, I can report here. So far on my sandbox it works like a charm.
Thank you VERY much for doing this!
Comment #8
djandrey commented1
Comment #9
djandrey commentedComment #10
karnakitab commented@RobertOak The working port at http://rs2theory.org/drupal/mathfilter is no more. Can you please attach it here? I had it working on my school's site, but lost the file recently. Thanks