Needs work
Project:
DruTeX
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
26 Jan 2008 at 02:37 UTC
Updated:
2 Dec 2011 at 23:41 UTC
Jump to comment: Most recent file
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?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | drutex_render-disable-punctuation.patch | 1.4 KB | smokris |
Comments
Comment #1
steven jones commentedI 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.
Comment #2
steven jones commentedMaybe rewrite drutex to use the flexifilter module, then the user could define whatever syntax they wanted for DruTeX.
Comment #3
jseffel commentedI 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.
Comment #4
smokrisAs a workaround, the attached patch disables punctuation-based math in the drutex_render submodule.
Comment #5
abbasmousavi commentedThanks 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.