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

KaTeX "\operatorname" and "\implies" not supported #10227

Closed
ajcollett opened this issue Mar 27, 2018 · 0 comments · Fixed by #16393
Closed

KaTeX "\operatorname" and "\implies" not supported #10227

ajcollett opened this issue Mar 27, 2018 · 0 comments · Fixed by #16393

Comments

@ajcollett
Copy link

Description:

It seems that the KaTeX engine cannot handle some of the functions given in the KaTeX spec at https://khan.github.io/KaTeX/function-support.html.

In particular, we have tried using \operatorname and \implies, but they just give parsing errors.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.62.1
  • Operating System: Linux Ubuntu
  • Deployment Method(snap/docker/tar/etc): Snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Not sure what this is
  • Node Version: v8.9.4
  • mongoDB Version: No Idea

Steps to Reproduce:

  1. type \[ y \implies x\]
  2. Send

Expected behavior:

No Parse error, instead give the Implies symbol

Actual behavior:

Parse Error:

KaTeX parse error: Expected 'EOF', got '\implies' at position 3: y \̲i̲m̲p̲l̲i̲e̲s̲ x

Relevant logs:

If this is an issue that is not already known, let me know and I will go through the effort of getting all the logs together.

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

Successfully merging a pull request may close this issue.

3 participants