gerby-project / plastex

Python package to convert LaTeX markup to DOM
Other
14 stars 12 forks source link

New Command class so arguments have no charsub. #19

Closed chngr closed 7 years ago

chngr commented 7 years ago

NoCharSubCommand is like NoCharSubEnvironment in which things in the command do not undergo character substitution, i.e. certain patterns (e.g. two dashes) get replaced by unicode counterparts (e.g. an endash).

The xymatrix command, in particular, is made into one such Command. This fixes xymatrix parsing problems for Stacks Project Tag 0145.