Discourse Mathematik-Editor

Discourse Math Editor ist ein Plugin, um mathematische Gleichungen auf eine benutzerfreundlichere Weise in Discourse einzugeben. Dieser Editor hilft Ihnen, LaTeX zu erstellen. Wenn Sie nicht wissen, was das ist, lesen Sie bitte auf Wikipedia darüber: Wikipedia
Für weitere Dokumentation zu allen LateX-Befehlen, die Sie verwenden können, schauen Sie bitte hier vorbei: MathLive-Dokumentation
Und schauen Sie sich bitte das Video an:

Installation

Befolgen Sie die Anleitung Plugin installieren vom offiziellen Discourse-Meta, wobei Sie git clone https://github.com/spirobel/discourse-matheditor.git als Plugin-Befehl verwenden.
Sie müssen auch das offizielle Math-Plugin zusammen mit diesem verwenden:
offizielles Math-Plugin
Ich empfehle die Verwendung von KaTeX anstelle von MathJax, da es (zumindest für mich) deutlich schneller ist.

Das war’s

23 „Gefällt mir“

Wonderful news. Thank you.

Can math editor icon change location?

1 „Gefällt mir“

We can add output to plugin or not.

1 „Gefällt mir“

thanks for the suggestion, it makes sense. I will have a look at it!

do you mean the graph below the box like in the mathlive docs? I think its a good idea, but probably better handled in a different plugin. What do you think about this plugin:

Does it fit your use case?

1 „Gefällt mir“

Yes i mean. Graphviz plugin I’m not sure whether it can display mathematical images or not.

2 „Gefällt mir“

I think from using inspect element on mathlive.io that he is using Plotly JavaScript Graphing Library | JavaScript | Plotly if there is a need for other plotting libraries maybe we can use the graphiz plugin as a starting point and integrate them in a similar way.

2 „Gefällt mir“

I’m not a math person and working with languages, I’m interested, is it possible to create a plugin with google virtual keyboard?

https://www.google.com/intl/en/inputtools/try/

1 „Gefällt mir“

by the way, I found some posts here that people living in other countries can’t type in their native language, because they don’t have a local keyboard with PC or laptop. Of course they can use online keyboards, but it’s smth like a ‘wooden wheel’ in a new auto .

1 „Gefällt mir“

This is actually something I am interested in as well. I am learning how to create discourse plugins because I want to create a collaborative mandarin dictionary. Its quite a big project, so I am creating these smaller plugins first that have similar features so I can experiment on how to implement the whole thing. We can not use the google virtual keyboard, because it seems like its not an open source library. But a quick google search shows that there are open source virtual keyboard solutions: for example I just came across this one: Virtual Keyboard
I think the big downside of these keyboards is that the typing is very slow. So usually if I want to type in a different language I install something like unikey for vietnamese for example or sunpinyin for mandarin. I expect that most of my users will be able to type in their language so I am not planning to add a virtual keyboard. But I also want to have a way to input pinyin and zhuyin with tones. I still havent figured what to do about this. Which languages are you working with?

2 „Gefällt mir“

Das ist sehr schön!
Kann das gemacht werden? Wird es viele Hardware-Ressourcen kosten?

@spirobel Ich habe gerade Ihr Plugin installiert und erhalte nun diese Fehlermeldung. Werden Sie Ihr großartiges Plugin aktualisieren?\n\nFehler: Das Modal 'matheditor-modal' muss aktualisiert werden, um mit der neuesten Version von Discourse zu funktionieren. Siehe https://meta.discourse.org/t/268057.

Dieses Plugin muss aktualisiert werden. Es verursacht Fehler im Editorbereich.

1 „Gefällt mir“

Hallo Spirobal,

Ihr Plugin ist sehr nützlich, besonders für Mobilgeräte.

Seit April 2024 gab es viele Discourse-Updates, und ich habe dieses Plugin-Thema nicht als „kaputt“ markiert gesehen. Daher gehe ich davon aus, dass die oben genannten Fehler bei späteren Discourse-Versionen nicht reproduzierbar waren?

Hat jemand in letzter Zeit damit Erfolg auf dem Smartphone gehabt?