אני חושב שעיצוב מתמטי בסיסי שעבד בעבר כבר לא עובד באתר שלי. לדוגמה, תווים יווניים \alpha, \Alpha, \beta, \Beta, \delta, \Delta, \epsilon. ניסיתי להפעיל asciimath ולהשתמש בסימני אחוז במקום בסימני דולר, אך זה רק מייצר משהו שגוי אחרת. האם התוסף שבור, או שיש משהו אחר שאני אמור לעשות?
אלה עובדים:
לדוגמה, אותיות יווניות $\alpha, \beta, \delta, \Delta, \epsilon$.
לדוגמה, אותיות יווניות \alpha, \beta, \delta, \Delta, \epsilon.
נראה שאין אלפא או בטא באותיות גדולות.
Thanks but even the lower-case ones are not currently working for me, though they used to. I’m including a screenshot of my math plugin settings below, along with a screenshot of what I put in a post and how it appears when posted… FWIW I’ve tried some other settings for the plugin, but nothing has fixed it. Am I doing something obviously wrong, or do you have any other suggestions?
זה עבד לי, אבל RTE לא מוצג כ-WYSIWYG, עד שהפוסט נשלח. Markdown מוצג כראוי בתצוגה מקדימה.
Does it work when you use the markdown editor instead of the rich text editor?
I think @mcmcclur mentioned that math and the new rich text editor currently don’t work well together.
לא בטוח מה עשיתי לא בסדר קודם (אה, אין להם אותיות גדולות עבור \\Alpha או \\Beta מכיוון ש-“A” ו-“B” עובדים), אבל כל אלה נראים עובדים כאן, מועתקים מהקישור שלך עם קצת קסם מאקרו של מקלדת.
- ALPHA: A, \alpha
- BETA: B, \beta
- GAMMA: \Gamma, \gamma
- DELTA: \Delta, \delta
- EPSILON: E, {\epsilon,\varepsilon}
- ZETA: Z, \zeta
- ETA: H, \eta
- THETA: \Theta, {\theta,\vartheta}
- IOTA: I, \iota
- KAPPA: K, \kappa
- LAMBDA: \Lambda, \lambda
- MU: M, \mu
- NU: N, \nu
- XI: \Xi, \xi
- OMICRON: O, o
- PI: \Pi, {\pi,\varpi}
- RHO: P, {\rho,\varrho}
- SIGMA: \Sigma, {\sigma,\varsigma}
- TAU: T, \tau
- UPSILON: \Upsilon, \upsilon
- PHI: \Phi, {\phi,\varphi}
- CHI: X, \chi
- PSI: \Psi, \psi
- OMEGA: \Omega, \omega
- ALPHA: $ A, \alpha $
- BETA: $ B, \beta $
- GAMMA: $ \Gamma, \gamma $
- DELTA: $ \Delta, \delta $
- EPSILON: $ E, {\epsilon,\varepsilon} $
- ZETA: $ Z, \zeta $
- ETA: $ H, \eta $
- THETA: $ \Theta, {\theta,\vartheta} $
- IOTA: $ I, \iota $
- KAPPA: $ K, \kappa $
- LAMBDA: $ \Lambda, \lambda $
- MU: $ M, \mu $
- NU: $ N, \nu $
- XI: $ \Xi, \xi $
- OMICRON: $ O, o $
- PI: $ \Pi, {\pi,\varpi} $
- RHO: $ P, {\rho,\varrho} $
- SIGMA: $ \Sigma, {\sigma,\varsigma} $
- TAU: $ T, \tau $
- UPSILON: $ \Upsilon, \upsilon $
- PHI: $ \Phi, {\phi,\varphi} $
- CHI: $ X, \chi $
- PSI: $ \Psi, \psi $
- OMEGA: $ \Omega, \omega $
אבל אם הנ"ל לא עובד באתר שלך, אז משהו אצלך לא בסדר. כפי שאתה רואה, זה עובד כאן.
בדוגמה הראשונה שלך היו לך לוכסנים כפולים ובדוגמה השנייה שלך אתה משתמש בעורך הוויזואלי (כפי שמישהו אחר ציין)
Thanks so much everyone.
It seems like the default editor was changed, which had the side effect of breaking mathjax.
I no longer get the preview pane, I guess because the main pane is now supposed to be WYSIWYG, which is not something I actually want.
Sadly, I don’t understand how to make this new editor go away. I see stuff at one of the links y’all provided about CSS but I don’t even know where I would put it, even if I understood it.
My site is managed by discourse.org, and I don’t think I have anything local… or is there some place I can access via settings that I can put it?
I’d like to banish the visual editor, get the preview pane back, and most importantly, get math formatting to work again.
Is there a straightforward way for me to do this?
@moin linked to it in the post before mine.
You can change the Default composition mode site setting to markdown.
And then if you are not using the starter plan, you can use the CSS from the post I linked in a theme component to hide the toggle in the composer. (Customizing themes without an Edit code button)
אני מנסה לעשות זאת אבל זה לא עובד. יצרתי קומפוננטה חדשה עם הקוד:
.composer-toggle-switch {
display: none;
}
אני לא יודע אם אני צריך לעשות משהו אחר כדי להפעיל אותו, אבל אחרי שעשיתי את זה עדיין אני מקבל את עורך ה-WYSIWYG, אני לא רואה שום דבר כדי לכבות אותו (איך זה ייראה, והיכן אמצא אותו?), והמתמטיקה בכל הפוסטים הקודמים שלי עדיין שבורה.
אני חייב להודות שאני לא באמת יודע מהי קומפוננטה, אני אף פעם לא עושה שום דבר עם CSS, וכו’. אז אני די חסר מושג, למרבה הצער. אבל אני באמת רוצה שהמתמטיקה תעבוד שוב באתר שלי. הצעות?
Assuming that you put that in the correct place and enabled the component, that should hide the switch that allows you to change back and forth from the rich editor to the Markdown editor. In particular, the switch that I’ve circled that in this image of the left side of the editor should be gone:
![]()
You still need to change the Default Composition Mode in the site preferences. You should just be able to search for it.
Have you done this?
תודה לכולם על הסבלנות בנושא הזה
בעבר ניסיתי לשנות את מצב ברירת המחדל של ההלחנה אך לא מצאתי את ההגדרה – כישלון מוחלט מצידי, בחיפוש בהגדרות. בכל מקרה, מצאתי אותה כעת ושיניתי אותה, ואני מקבל שוב את עורך ה-markdown עם תצוגה מקדימה, וזה מדהים.
והכי טוב, עכשיו המתמטיקה שלי עובדת!
למען הידע הכללי, לא ידעתי איך נראה המתג או איפה למצוא אותו, אז לא ידעתי איך להחליף אותו ידנית. תודה @mcmcclur במיוחד על צילום המסך הזה.
לגבי הרכיב, אני חושב שהוא מופעל, אך מסיבה כלשהי לא עובד, אך כעת אני אפילו לא בטוח שזה משנה לי הרבה. האם אני צודק שזה רק להסתרת המתג של המצב? אני לא בטוח שאכפת לי אם אנשים יכולים להחליף את המצב, כל עוד אפשר לגרום למתמטיקה לעבוד, ובמיוחד מכיוון שזה יעבוד במצב ברירת המחדל.
Yes, that’s exactly correct. I described here why that matters to me but it’s arguably more natural to let the user decide in most cases.
תודה שוב לכולם כאן – הייתם סופר מועילים ואני באמת מעריך את זה.
נ.ב. גיליתי למה המתג לא הוסתר. הרכיב לא הוגדר כך שיחול על הנושא הנכון. עכשיו אני יכול להסתיר אותו, ואני אגלה אם אני באמת רוצה או לא. תודה שוב!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


