Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mathics/core/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -2916,6 +2916,7 @@ def render(format, string, in_text=False):
elif text and text[0] in "0123456789-.":
return render("%s", text)
else:
# FIXME: this should be done in a better way.
if text == "\u2032":
return "'"
elif text == "\u2032\u2032":
Expand All @@ -2938,7 +2939,8 @@ def render(format, string, in_text=False):
return text
elif text == "\u222b":
return r"\int"
elif text == "\u2146":
# Tolerate WL or Unicode DifferentialD
elif text in ("\u2146", "\U0001D451"):
return r"\, d"
elif text == "\u2211":
return r"\sum"
Expand Down