Schiphol 2 years ago

This looks neat! I sometimes take notes in LaTeX---this seems great for that use case. A few questions:

* What happens when you need some math notation that is not covered by mathlang, can you mix LaTeX and mathlang?

* If you define your own operators in LaTeX, can you then use the \-less version in mathlang? In general, I am not sure if LaTeX and mathlang are supposed to interoperate.

(Also, people often add "Show HN" to the title when presenting their own work. Might help you get a bit more attention.)

  • neosapien 2 years ago

    Hi, Im afraid not, at least not yet.

    Interoperability is not really the idea here, more-so of a simpler language that gets turned into latex.

    On the other hand, for your own operators, you may be able to still use this.

    Everything that has a "\" prepended like "\sin", "\ln", etc... is defined in a file called "syntax_regexp.json" which keeps track of them, so in theory you could edit the file and change some definitions, but it's far from being completely modular.