Uwe Brauer <[EMAIL PROTECTED]> writes:
>
> I just tried to use it for wikipedia files since the documentation
> states it will work also for wikipedia markup.

Yep.

> It should be in _one_ line, <math>\int </math>

Thanks, I only used it with one-line stuff (longlines.el).  I think
this new regexp can match multiple lines

       (let ((re 
"\\$+\\(\\(?:\\\\\\$\\|[^$]\\)+?\\)\\$+\\|<math>\\(\\(?:.\\|\n\\)*?\\)</math>\\|@math{\\([^}]+?\\)}"))


> The same error occurred for $\int$

You might have to be careful where you've got point.  If it's just
before or just after a "$" then I take that $ as the start of the
maths.  That's an imperfect rule, but $ as both start and end makes
the syntax a bit ambiguous.  Perhaps immediately before a $ should be
taken to be the end, ie. point on the inside, if you know what I mean.


_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to