From 31ed55f0553f6b4f65034754d0fc6f47247251f4 Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Thu, 24 Sep 2009 16:21:22 -0500 Subject: [PATCH] Update MathML Entity Mappings Update list of XHTML+MathML named entities to match http://www.w3.org/TR/2008/WD-xml-entity-names-20080721/ --- lib/stringsupport.rb | 47 ++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/lib/stringsupport.rb b/lib/stringsupport.rb index c640f8d7..eccd2468 100644 --- a/lib/stringsupport.rb +++ b/lib/stringsupport.rb @@ -501,7 +501,7 @@ class String 'iiota' => '℩', 'image' => 'ℑ', 'imath' => 'ı', - 'jmath' => 'j', + 'jmath' => 'ȷ', 'laemptyv' => '⦴', 'lltri' => '◺', 'lrtri' => '⊿', @@ -515,7 +515,7 @@ class String 'range' => '⦥', 'real' => 'ℜ', 'tbrk' => '⎴', - 'trpezium' => '�', + 'trpezium' => '⏢', 'ultri' => '◸', 'urtri' => '◹', 'vzigzag' => '⦚', @@ -913,7 +913,7 @@ class String 'dsol' => '⧶', 'dtdot' => '⋱', 'dwangle' => '⦦', - 'elinters' => '�', + 'elinters' => '⏧', 'epar' => '⋕', 'eparsl' => '⧣', 'equiv' => '≡', @@ -940,13 +940,13 @@ class String 'isinsv' => '⋳', 'isinv' => '∈', 'lagran' => 'ℒ', - 'Lang' => '《', - 'lang' => '〈', + 'Lang' => '⟪', + 'lang' => '⟨', 'lArr' => '⇐', - 'lbbrk' => '〔', + 'lbbrk' => '❲', 'le' => '≤', - 'loang' => '〘', - 'lobrk' => '〚', + 'loang' => '⟬', + 'lobrk' => '⟦', 'lopar' => '⦅', 'lowast' => '∗', 'minus' => '−', @@ -1000,12 +1000,12 @@ class String 'qprime' => '⁗', 'quatint' => '⨖', 'radic' => '√', - 'Rang' => '》', - 'rang' => '〉', + 'Rang' => '⟫', + 'rang' => '⟩', 'rArr' => '⇒', - 'rbbrk' => '〕', - 'roang' => '〙', - 'robrk' => '〛', + 'rbbrk' => '❳', + 'roang' => '⟭', + 'robrk' => '⟧', 'ropar' => '⦆', 'rppolint' => '⨒', 'scpolint' => '⨓', @@ -1467,6 +1467,7 @@ class String 'fflig' => 'ff', 'ffllig' => 'ffl', 'filig' => 'fi', + 'fjlig' => 'fj', 'flat' => '♭', 'fllig' => 'fl', 'frac13' => '⅓', @@ -1591,9 +1592,9 @@ class String 'NotSucceedsTilde' => '≿̸', 'oopf' => '𝕠', 'OverBar' => '¯', - 'OverBrace' => '︷', + 'OverBrace' => '⏞', 'OverBracket' => '⎴', - 'OverParenthesis' => '︵', + 'OverParenthesis' => '⏜', 'planckh' => 'ℎ', 'popf' => '𝕡', 'Product' => '∏', @@ -1615,9 +1616,9 @@ class String 'ThickSpace' => '   ', 'topf' => '𝕥', 'UnderBar' => '̲', - 'UnderBrace' => '︸', + 'UnderBrace' => '⏟', 'UnderBracket' => '⎵', - 'UnderParenthesis' => '︶', + 'UnderParenthesis' => '⏝', 'uopf' => '𝕦', 'UpArrowBar' => '⤒', 'Upsilon' => 'Υ', @@ -1821,11 +1822,11 @@ class String 'intprod' => '⨼', 'InvisibleComma' => '⁣', 'InvisibleTimes' => '⁢', - 'langle' => '〈', + 'langle' => '⟨', 'Laplacetrf' => 'ℒ', 'lbrace' => '{', 'lbrack' => '[', - 'LeftAngleBracket' => '〈', + 'LeftAngleBracket' => '⟨', 'LeftArrow' => '←', 'Leftarrow' => '⇐', 'leftarrow' => '←', @@ -1833,7 +1834,7 @@ class String 'LeftArrowRightArrow' => '⇆', 'leftarrowtail' => '↢', 'LeftCeiling' => '⌈', - 'LeftDoubleBracket' => '〚', + 'LeftDoubleBracket' => '⟦', 'LeftDownVector' => '⇃', 'LeftFloor' => '⌊', 'leftharpoondown' => '↽', @@ -2013,7 +2014,7 @@ class String 'propto' => '∝', 'quaternions' => 'ℍ', 'questeq' => '≟', - 'rangle' => '〉', + 'rangle' => '⟩', 'rationals' => 'ℚ', 'rbrace' => '}', 'rbrack' => ']', @@ -2024,7 +2025,7 @@ class String 'ReverseElement' => '∋', 'ReverseEquilibrium' => '⇋', 'ReverseUpEquilibrium' => '⥯', - 'RightAngleBracket' => '〉', + 'RightAngleBracket' => '⟩', 'RightArrow' => '→', 'Rightarrow' => '⇒', 'rightarrow' => '→', @@ -2032,7 +2033,7 @@ class String 'RightArrowLeftArrow' => '⇄', 'rightarrowtail' => '↣', 'RightCeiling' => '⌉', - 'RightDoubleBracket' => '〛', + 'RightDoubleBracket' => '⟧', 'RightDownVector' => '⇂', 'RightFloor' => '⌋', 'rightharpoondown' => '⇁',