محرر الرياضيات في Discourse

محرر معادلات الرياضيات في Discourse هو إضافة تتيح إدخال المعادلات الرياضية في Discourse بطريقة أكثر سهولة للمستخدم. يساعدك هذا المحرر على إنشاء صيغ LaTeX. يرجى الاطلاع على ويكيبيديا لمزيد من المعلومات إذا لم تكن تعرف ما هي: ويكيبيديا
وللحصول على وثائق أكثر شمولاً حول جميع أوامر LaTeX التي يمكنك استخدامها، يرجى الاطلاع هنا: توثيق MathLive
كما يُرجى مشاهدة الفيديو:

التثبيت

اتبع دليل تثبيت إضافة من موقع Discourse Meta الرسمي، باستخدام الأمر التالي:
git clone https://github.com/spirobel/discourse-matheditor.git
كأمر للإضافة.
كما تحتاج إلى استخدام إضافة الرياضيات الرسمية مع هذه الإضافة:
إضافة الرياضيات الرسمية
أوصي باستخدام KateX بدلاً من MathJax، فهي أسرع بكثير (على الأقل بالنسبة لي).

وهذا كل شيء

23 إعجابًا

Wonderful news. Thank you.

Can math editor icon change location?

إعجاب واحد (1)

We can add output to plugin or not.

إعجاب واحد (1)

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)

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

إعجابَين (2)

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)

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)

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)

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)

هذا جميل جداً!
هل يمكن القيام بذلك؟ هل سيكلف الكثير من موارد الأجهزة؟

@spirobel لقد قمت للتو بتثبيت المكون الإضافي الخاص بك والآن أحصل على هذا الخطأ. هل هناك فرصة لتحديث المكون الإضافي الرائع الخاص بك؟

خطأ: تحتاج النافذة المنبثقة 'matheditor-modal' إلى تحديث للعمل مع أحدث إصدار من Discourse. انظر https://meta.discourse.org/t/268057.

تحتاج هذه الإضافة إلى تحديث. إنها تسبب أخطاء في منطقة المحرر.

إعجاب واحد (1)

مرحباً سبيروبال،

المكون الإضافي الخاص بك مفيد للغاية، خاصة للأجهزة المحمولة.

كانت هناك العديد من تحديثات “ديسكورس” منذ أبريل 2024، ولم أرَ موضوع المكون الإضافي هذا مُصنفًا على أنه “معطل”، لذا أفترض أن الأخطاء المذكورة أعلاه لم تكن قابلة للتكرار في إصدارات “ديسكورس” اللاحقة؟

هل حقق أي شخص أي نجاح مع هذا على الهاتف الذكي مؤخرًا؟