couldn`t convert string f \mathbin⨾ g \in \operatorname{hom}(A, C)
#683 opened on 2021年1月26日
説明
Describe the bug
Idyll fails to render math formulae with ⨾ symbol.
To Reproduce Steps to reproduce the behavior:
[Equation]f \mathbin⨾ g \in \operatorname{hom}(A, C)[/Equation]
Expected behavior
Idyll should show the formula correctly.
Desktop:
- OS: NixOS
- Browser: Firefox
- Version: 84.0.2
Additional context
KaTeX actually shows this correctly: https://katex.org/?data=%7B%22displayMode%22%3Atrue%2C%22leqno%22%3Afalse%2C%22fleqn%22%3Afalse%2C%22throwOnError%22%3Atrue%2C%22errorColor%22%3A%22%23cc0000%22%2C%22strict%22%3A%22warn%22%2C%22output%22%3A%22htmlAndMathml%22%2C%22trust%22%3Afalse%2C%22macros%22%3A%7B%22%5C%5Cf%22%3A%22%231f(%232)%22%7D%2C%22code%22%3A%22f%20%5C%5Cmathbin%E2%A8%BE%20g%20%5C%5Cin%20%5C%5Coperatorname%7Bhom%7D(A%2C%20C)%22%7D. But it warns on a non-standard symbol, so if you enable strict mode, it throws an error. It seems like Idyll is overly strict on math, and there seems to be no option to make it less strict.