Disable LaTeX-specific mathematics tokens
This commit is contained in:
parent
541183ddfa
commit
4ccf1db4b2
@ -35,7 +35,10 @@ def format(fstr, *args, **kwargs):
|
||||
|
||||
class LaTeXRenderer(mistletoe.latex_renderer.LaTeXRenderer):
|
||||
def __init__(self, *extras):
|
||||
super().__init__(*extras)
|
||||
#super().__init__(*extras)
|
||||
# Omit LaTeX tokens
|
||||
self.packages = {}
|
||||
mistletoe.base_renderer.BaseRenderer.__init__(self, *extras)
|
||||
|
||||
self.render_map['CrossReference'] = self.render_cross_reference
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user