Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: hide unknown \commands #256

Open
StevenClontz opened this issue Mar 18, 2022 · 2 comments
Open

Proposal: hide unknown \commands #256

StevenClontz opened this issue Mar 18, 2022 · 2 comments

Comments

@StevenClontz
Copy link

(please close with my apologies if this has been addressed since version 3.61.0)

The cause of TeamBasedInquiryLearning/checkit-tbil-la#46 is that it uses software that relies on this package, and https://github.com/roniemartinez/latex2mathml/blob/master/latex2mathml/commands.py#L23 seems to indicate that \middle is unsupported as of the current version 3.64.0.

I don't know how difficult supporting \middle is, but would it make sense to hide unknown commands rather than output them as text? In the case of decorative commands like this, things might look "good enough", but maybe this is worse for a command intended to output something on its own.

@roniemartinez
Copy link
Owner

roniemartinez commented Mar 19, 2022

@StevenClontz \middle is now added in https://github.com/roniemartinez/latex2mathml/releases/tag/3.65.0

As for hiding unknown commands, I personally think this is not a good idea as this is an easy way to hide bugs.

I can add an ENV flag for muting, for example. What do you think?

@StevenClontz
Copy link
Author

That makes sense to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants