]> git.lyx.org Git - features.git/commitdiff
No need to translate symbols that mathed can handle natively.
authorAngus Leeming <leeming@lyx.org>
Fri, 7 Feb 2003 16:48:41 +0000 (16:48 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 7 Feb 2003 16:48:41 +0000 (16:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6069 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/reLyX/syntax.default

index 31322291b758558e06279e903e44a088913c927a..47bddf6d90a34884fccae1b75a34723d1c9277e4 100644 (file)
@@ -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  <assirati@fma.if.usp.br>
 
        * images/math/rbracket.xpm: new file.
index 057ac5f3916e7e2b19e1c58670df74e1ecaac1a1..0ff000ab48631d4a9e696c64c7de857e967c5a88 100644 (file)
@@ -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}