fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rel
[librarian.git]
/
src
/
librarian
/
embeds
/
mathml.py
diff --git
a/src/librarian/embeds/mathml.py
b/src/librarian/embeds/mathml.py
index
801c213
..
16fa75b
100644
(file)
--- a/
src/librarian/embeds/mathml.py
+++ b/
src/librarian/embeds/mathml.py
@@
-12,13
+12,13
@@
class MathML(TreeEmbed):
def to_latex(self):
"""
>>> print(MathML(etree.fromstring(
def to_latex(self):
"""
>>> print(MathML(etree.fromstring(
-
'<mat>a < b</mat>'
-
)).to_latex().data.strip())
+
...
'<mat>a < b</mat>'
+
...
)).to_latex().data.strip())
a < b
>>> print(MathML(etree.fromstring(
a < b
>>> print(MathML(etree.fromstring(
-
'<mat>< & &lt; A</mat>'
-
)).to_latex().data.strip())
+
...
'<mat>< & &lt; A</mat>'
+
...
)).to_latex().data.strip())
< & < A
"""
< & < A
"""