It will be nice if it's ok to disable some of the match patterns.
I believe for some people, they use $ a lot in reference for the dollar sign instead of for tex, so if the user turning on or off some of the matching patterns would be great.
it's currently possible to disable tex in part of the node, but it's still complicated.
And will there be any Drupal 6 support?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Steven Jones’s picture

I guess this wouldn't be too hard to do, but I'm short on time, so I don't think I'll have time to implement this. If you'd like to provide a patch, then I'd be more than happy to test and evaluate it.

Drupal 6, probably, I've not looked into how input filters are different 6.

Steven Jones’s picture

Version: master » 5.x-2.x-dev

Maybe rewrite drutex to use the flexifilter module, then the user could define whatever syntax they wanted for DruTeX.

jseffel’s picture

I have a problem with this because jQuery can show up in some of the nodes ($(document) etc) which triggers Drutex. I've solved it by letting Drutex be a standalone filter.

smokris’s picture

Version: 5.x-2.x-dev » 6.x-1.x-dev
FileSize
1.4 KB

As a workaround, the attached patch disables punctuation-based math in the drutex_render submodule.

abbasmousavi’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Assigned: Unassigned » abbasmousavi
Status: Active » Needs work

Thanks smokris.

I think that we should make some setting UI so that user can select match patterns from a select list or add new patterns. I will consider this for the next release.