Skip Navigation

[Resolved] Latex formula in the custom field WYSIWYG

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2525511

I am trying to: set latex formula, all types of fields (simple text) works normal. But if latex formula in WYSIWYG redactor, it is break tag [latex] or $$. When i set output RAW, all work with $$, but break my content and shortcode not work.

Link to a page where the issue can be seen: hidden link

in simple page you can see, that first block - post body, second - WYSIWYG, third - simple text custom field.

#2526173

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

It seems you are using third-party plugin to add latex formula - are you?

Can you please tell me what plugin you are using and share what exactly the formula is broken and steps to reproduce the issue.

#2527837
Screenshot_6.png
Screenshot_5.png

MathJax-LaTeX

sample of text:
[latex]k_{n+1} = n^2 + k_n^2 - k_{n-1}[/latex] - работа со степенями и нижними коэффициентами
[latex]\frac{\frac{1}{x}+\frac{1}{y}}{y-z}[/latex] - дроби
[latex]\frac{х+y}{y-z}[/latex] - дроби
[latex]^3/_7[/latex] - дроби с косой чертой
[latex]\frac ax[/latex] - простая дробь без вычислений a/x
[latex]x^\frac{1}{2}[/latex] - х в дробной степени
[latex]\sqrt{\frac{a}{b}}[/latex] - квадратный корень и дробь внутри
[latex]\sqrt[n]{1+x+x^2+x^3+\dots+x^n}[/latex] - корень степени n
[latex]\sqrt[a]{b}[/latex] - корень степени a

screen 5 - correct
screen 6 - not correct in the WYSIWYG field

[latex] you can change for $$

#2528585

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - I can see the issue and I tried many variations but I do not have any solution to offer.

In this case, Can you please get in touch with MathJax-LaTeX plugin author and check with them whats going wrong or if they have any alternate solution or workaround to offer.