Opened 12 years ago

Closed 10 years ago

#10257 closed enhancement (wontfix)

Incompatible with TracMathJax (possibly TracMath)

Reported by: Sam Halliday Owned by: Jun Omae
Priority: low Component: TracWysiwygPlugin
Severity: normal Keywords:
Cc: Kamil Kisiel Trac Release: 0.11


Before we get started, I'm not suggesting that the math should be WYSIWYG ;-)

However, the WYSIWYG should completely ignore everything inside a math area. Currently the WYSIWYG fails on these simple test cases in two ways:

Here is an inline equation: \( y = x^2 \)

Here is a block equation: $$ y = x^2 $$

Firstly, it tries to render everything after the caret as superscript. Secondly, when converting back to plain text mode, the plugin is adding an extra caret at the end of each line containing the mathematics.

Attachments (0)

Change History (6)

comment:1 Changed 12 years ago by Sam Halliday

Cc: Kamil Kisiel added; anonymous removed

comment:2 Changed 12 years ago by Jun Omae

Priority: normallow
Type: defectenhancement

Not a bug.

WYSIWYG editor doesn't handle any processor in code block, e.g. #!div, #!span, #!rst, #!textile and #latex.

comment:3 Changed 12 years ago by Jun Omae

And, the plugin cannot handle other than TracWiki syntax.

comment:4 Changed 12 years ago by Sam Halliday

It's in blockcode so you can see what is being entered - on a wiki page the user wouldn't put it in block.

comment:5 Changed 12 years ago by Sam Halliday

Can you perhaps liaise with the MathJax author (CCd) to come up with something that works then, please? Mutually exclusive WYSIWYG and Math support is a show stopper for my projects.

comment:6 Changed 10 years ago by Jun Omae

Resolution: wontfix
Status: newclosed

I have no plan to fix it. This plugin only understand TracWiki.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.