lib/plurimath/math/symbols/beth.rb in plurimath-0.8.12 vs lib/plurimath/math/symbols/beth.rb in plurimath-0.8.13
- old
+ new
@@ -2,11 +2,11 @@
module Math
module Symbols
class Beth < Symbol
INPUT = {
unicodemath: [["beth", "ℶ"]],
- asciimath: [["ℶ"], parsing_wrapper(["beth"])],
+ asciimath: [["ℶ"], parsing_wrapper(["beth"], lang: :asciimath)],
mathml: ["ℶ"],
latex: [["beth", "ℶ"]],
omml: ["ℶ"],
html: ["ℶ"],
}.freeze
@@ -15,10 +15,10 @@
def to_latex
"\\beth"
end
def to_asciimath
- parsing_wrapper("beth")
+ parsing_wrapper("beth", lang: :asciimath)
end
def to_unicodemath
Utility.html_entity_to_unicode("ℶ")
end