Commit eb621e9b authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

Add argument in init.

parent 87b672ca
......@@ -40,7 +40,7 @@ class converter:
(True by default).
def __init__(self):
def __init__(self, allow_zw=True, allow_combinings=True):
"""Initialize a convert method."""
self.__cmds = {}
......@@ -73,8 +73,8 @@ class converter:
# config section
self.allow_zw = True
self.allow_combinings = True
self.allow_zw = allow_zw
self.allow_combinings = allow_combinings
def convert(self, expr):
"""Convert LaTeX math to Unicode text.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment