Skip to content

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

@ajcollett

Description

@ajcollett

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions