#1 Find \begin{aaa}...\end{aaa} outside math mode

closed-accepted
nobody
None
5
2007-12-30
2007-08-31
No

This is an experimental patch that allows the tex2math plugin to find and handle LaTeX environments that are not in math mode already. The tex2math plugin will now wrap these in <SPAN CLASS="math">...</SPAN> so that jsMath will process them.

Currently, only a few LaTeX environments are supported, but this would allow others to be implemented more easily.

To use it, unpack the archive and replace the corresponding files in your jsMath directory with the ones in the archive. Be sure to keep a copy of your old easy/load.js file, so that you can update the new one to include any changes you made to the original.

Discussion

  • Davide P. Cervone

    Allow tex2math to find LaTeX environments outside of math mode

     
  • Davide P. Cervone

    • status: open --> closed-accepted
     
  • Davide P. Cervone

    Logged In: YES
    user_id=1161141
    Originator: YES

    PS, you need to edit the easy/load.js file to set processLaTeXenvironments to 1, or use the jsMath.ConvertLaTeX() call within your web page.

     
  • Davide P. Cervone

    • status: closed-accepted --> open-accepted
     
  • Davide P. Cervone

    Logged In: YES
    user_id=1161141
    Originator: YES

    I've tried ti close this item before, but it doesn't seem to stick. Maybe it needs to have a comment along with it for that?

     
  • Davide P. Cervone

    • status: open-accepted --> closed-accepted
     

Log in to post a comment.