commit 338cef2a976d5bf36c334d2cc8ce437da7f6d815
Author: Georg Baum <b...@lyx.org>
Date:   Sun Aug 21 20:34:40 2016 +0200

    Fix regression of 88603655
    
    The XHTML entries were added in the wrong field, if they are given we need
    extra xhtml requires. The order is inconsistent, there are discussions on 
the
    list about that but for now I'll use the existing order to fix the export 
tests.
    
    The format of the lib/symbols file does not support "" for empty strings.
    One would have to use x for fields that are not set (this is a hack), but
    actually we know how to fill the extra field.
---
 lib/symbols |   74 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/lib/symbols b/lib/symbols
index 88677e4..2d13250 100644
--- a/lib/symbols
+++ b/lib/symbols
@@ -1100,20 +1100,20 @@ pod                lyxblacktext  0   0 func     x     
amsmath
 
 
 # mathtools.sty
-\def\vcentcolon{:}                             mathtools :
-\def\dblcolon{\vcentcolon\kern-8mu\vcentcolon} mathtools ::
-\def\coloneqq{\vcentcolon\kern-7mu=}           mathtools &#x2254;
-\def\Coloneqq{\dblcolon\kern-7mu=}             mathtools ::=
-\def\coloneq{\vcentcolon\kern-7mu-}            mathtools :-
-\def\Coloneq{\dblcolon\kern-7mu-}              mathtools ::-
-\def\eqqcolon{=\kern-8mu\vcentcolon}           mathtools &#x2255;
-\def\Eqqcolon{=\kern-8mu\dblcolon}             mathtools =::
-\def\eqcolon{-\kern-8mu\vcentcolon}            mathtools -:
-\def\Eqcolon{-\kern-8mu\dblcolon}              mathtools -::
-\def\colonapprox{\vcentcolon\kern-7mu\approx}  mathtools :&ap;
-\def\Colonapprox{\dblcolon\kern-7mu\approx}    mathtools ::&ap;
-\def\colonsim{\vcentcolon\kern-7mu\sim}        mathtools :&sim;
-\def\Colonsim{\dblcolon\kern-7mu\sim}          mathtools ::&sim;
+\def\vcentcolon{:}                                              mathrel :      
  mathtools
+\def\dblcolon{\vcentcolon\kern-8mu\vcentcolon}                  mathrel ::     
  mathtools
+\def\coloneqq{\vcentcolon\kern-7mu=}                            mathrel 
&#x2254; mathtools
+\def\Coloneqq{\dblcolon\kern-7mu=}                              mathrel ::=    
  mathtools
+\def\coloneq{\vcentcolon\kern-7mu-}                             mathrel :-     
  mathtools
+\def\Coloneq{\dblcolon\kern-7mu-}                               mathrel ::-    
  mathtools
+\def\eqqcolon{=\kern-8mu\vcentcolon}                            mathrel 
&#x2255; mathtools
+\def\Eqqcolon{=\kern-8mu\dblcolon}                              mathrel =::    
  mathtools
+\def\eqcolon{-\kern-8mu\vcentcolon}                             mathrel -:     
  mathtools
+\def\Eqcolon{-\kern-8mu\dblcolon}                               mathrel -::    
  mathtools
+\def\colonapprox{\vcentcolon\kern-7mu\approx}                   mathrel :&ap;  
  mathtools
+\def\Colonapprox{\dblcolon\kern-7mu\approx}                     mathrel ::&ap; 
  mathtools
+\def\colonsim{\vcentcolon\kern-7mu\sim}                         mathrel :&sim; 
  mathtools
+\def\Colonsim{\dblcolon\kern-7mu\sim}                           mathrel 
::&sim;  mathtools
 
 
 #
@@ -1125,7 +1125,7 @@ pod                lyxblacktext  0   0 func     x     
amsmath
 \def\neq{\not=}                                                 mathrel &ne;
 \def\ne{\not=}                                                  mathrel &ne;
 \def\lnot{\neg}                                                 mathord &not;
-\def\notin{\not\in}                                             ""      &notin;
+\def\notin{\not\in}                                             mathrel &notin;
 \def\slash{/}
 
 \def\longleftrightarrow{\leftarrow\kern-12.5mu\rightarrow}
@@ -1134,32 +1134,32 @@ pod                lyxblacktext  0   0 func     x     
amsmath
 \def\doteq{\stackrel{\cdot}{=}}
 
 iffont cmsy
-\def\longrightarrow{\lyxbar\kern-11mu\rightarrow}               ""       
&xrarr;
-\def\longleftarrow{\leftarrow\kern-11mu\lyxbar}                 ""       
&xlarr;
-\def\Longrightarrow{\lyxeq\kern-9.5mu\Rightarrow}               ""       
&#x27F9;
-\def\Longleftarrow{\Leftarrow\kern-9.5mu\lyxeq}                 ""       
&#x27F8;
-\def\implies{\Longrightarrow}                                   amsmath  
&#x27F9;
-\def\impliedby{\Longleftarrow}                                  amsmath  
&#x27F8;
-\def\mapsto{\mapstochar\kern-9mu\rightarrow}                    ""       
&#x21A4;
-\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow} ""     
&#x27FB;
-\def\models{\vert\kern-7mu\lyxeq}                               ""       
&vDash;
+\def\longrightarrow{\lyxbar\kern-11mu\rightarrow}               mathrel &xrarr;
+\def\longleftarrow{\leftarrow\kern-11mu\lyxbar}                 mathrel &xlarr;
+\def\Longrightarrow{\lyxeq\kern-9.5mu\Rightarrow}               mathrel 
&#x27F9;
+\def\Longleftarrow{\Leftarrow\kern-9.5mu\lyxeq}                 mathrel 
&#x27F8;
+\def\implies{\Longrightarrow}                                   mathrel 
&#x27F9; amsmath
+\def\impliedby{\Longleftarrow}                                  mathrel 
&#x27F8; amsmath
+\def\mapsto{\mapstochar\kern-9mu\rightarrow}                    mathrel 
&#x21A4;
+\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow} mathrel 
&#x27FB;
+\def\models{\vert\kern-7mu\lyxeq}                               mathrel &vDash;
 else
-\def\implies{=>}                                                amsmath  
&#x27F9;
-\def\impliedby{<=}                                              amsmath  
&#x27F8;
+\def\implies{=>}                                                mathrel 
&#x27F9; amsmath
+\def\impliedby{<=}                                              mathrel 
&#x27F8; amsmath
 endif
 iffont cmm
-\def\hookrightarrow{\lhook\kern-12mu\rightarrow}                ""       
&#x21AA;
-\def\hookleftarrow{\leftarrow\kern-12mu\rhook}                  ""       
&#x21A9;
-\def\bowtie{\triangleright\kern-6mu\triangleleft}               ""       
&#x22C8;
+\def\hookrightarrow{\lhook\kern-12mu\rightarrow}                mathrel 
&#x21AA;
+\def\hookleftarrow{\leftarrow\kern-12mu\rhook}                  mathrel 
&#x21A9;
+\def\bowtie{\triangleright\kern-6mu\triangleleft}               mathrel 
&#x22C8;
 endif
 iffont msa
-\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright}                amssymb  
&#x290F;
-\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar}                  amssymb  
&#x290E;
+\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright}                mathrel 
&#x290F; amssymb
+\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar}                  mathrel 
&#x290E; amssymb
 else
-\def\dashrightarrow{- - \rightarrow}                            amssymb  
&#x290F;
-\def\dashleftarrow{\leftarrow{} - -}                            amssymb  
&#x290E;
+\def\dashrightarrow{- - \rightarrow}                            mathrel 
&#x290F; amssymb
+\def\dashleftarrow{\leftarrow{} - -}                            mathrel 
&#x290E; amssymb
 endif
-\def\dasharrow{\dashrightarrow}                                 amssymb  
&#x290F;
+\def\dasharrow{\dashrightarrow}                                 mathrel 
&#x290F; amssymb
 iffont msb
 \def\Join{\ltimes\kern-18.5mu\rtimes}                           amssymb
 else
@@ -1171,10 +1171,10 @@ endif
 
 iffont cmsy
 # The \sim is placed too high...
-\def\cong{\stackrel{_\sim}{=}}                                  ""        
&cong;
+\def\cong{\stackrel{_\sim}{=}}                                  mathrel &cong;
 lyxsurd               cmsy        112 0 mathord  &radic;
-\def\surd{^\lyxsurd}                                            ""        
&radic;
-\def\textdegree{\kern-1mu^{\circ}\kern-4mu}                     ""        &deg;
+\def\surd{^\lyxsurd}                                            mathord &radic;
+\def\textdegree{\kern-1mu^{\circ}\kern-4mu}                     mathord &deg;
 else
 # FIXME: These don't work on OS X, since the Symbol font uses a different
 #        encoding and is therefore disabled in FontLoader::available().

Reply via email to