We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ac7995 commit a864b26Copy full SHA for a864b26
mathtranslate/process_latex.py
@@ -492,8 +492,8 @@ def replace_function(match):
492
return pattern.sub(replace_function, latex)
493
494
def remove_incompatible_packages(text):
495
- incompatible_list=['axessibility']
496
- #axessibility is incompatible with xeCJK and can be removed savely
+ incompatible_list=['axessibility','fontenc']
+ #axessibility,fontenc is incompatible with xeCJK and can be removed safely
497
#maybe more will be added
498
for package in incompatible_list:
499
pattern = re.compile(r'\\usepackage(\[[A-Za-z]*?\])?\{'+package+r'\}')
0 commit comments