From: Angus Leeming Date: Fri, 7 Feb 2003 16:48:41 +0000 (+0000) Subject: No need to translate symbols that mathed can handle natively. X-Git-Tag: 1.6.10~17587 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3c6341496fa9f5c676f77aad5eaccf1824950e90;p=features.git No need to translate symbols that mathed can handle natively. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6069 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 31322291b7..47bddf6d90 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -15,6 +15,9 @@ * reLyX/Text/TeX.pm: fix the $macro regex so that it recognises that \) is a valid token but that \)* is a token and a '*'. + * reLyX/syntax.default: no need to translate symbols that mathed + can handle natively. + 2003-02-04 Joao Luis Meloni Assirati * images/math/rbracket.xpm: new file. diff --git a/lib/reLyX/syntax.default b/lib/reLyX/syntax.default index 057ac5f391..0ff000ab48 100644 --- a/lib/reLyX/syntax.default +++ b/lib/reLyX/syntax.default @@ -616,26 +616,11 @@ titlepage \end{reLyXre} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% There are some math commands which LyX doesn't support. If there's an -% equivalent command that it *does* support, then we might as well -% translate it. -% While copying things in math mode, reLyX will replace anything of the -% following commands with (exactly) whatever text is in braces, so, e.g., -% $x\sb{a}$ will be converted to $x_{a}$ in the LyX file. -% In most cases, this simply avoids "evil red text" in math mode, but -% in a couple cases, it actually fixes things (e.g. '\ ') -% Tokens to replace should be "normal" tokens, backslash followed by a -% nonletter or one or more letters. (Token may also have * at the end.) +% Keep bugging André until he adds 'support' for these in mathed, +% meaning that they can be removed from here. \begin{reLyXmt} \sb {_} \sp {^} -\| {\Vert} -\vert {|} -\ {\,\,} % That's '\ ', same length (6/18 quad) as two '\,' tokens -\to {\rightarrow} -\gets {\leftarrow} -\le {\leq} -\ge {\geq} \ensuremath {} % If it's in math mode, \ensuremath is unnec. \end{reLyXmt}