I'm trying to convert a big mathematical article (32 pages) with a lot of mathematical expressions from docx to wikimedia.

When, from Wikipedia Sandbox, I incorporate wikimedia file generated by pandoc, the following line are refused by Wikipedia

image_2023-04-12_081228333.png
{| class="wikitable"
|-
! 1)
! <math display="block">S_{m} = \int_{0}^{a}{\varepsilon^{m}\text{\ }\psi(\varepsilon)}\text{\ }\text{d}\varepsilon</math>
|}


after replacing \text{\ } by or ~, the formula is accepted !

This error occurs also when text is containing space as in following exemple

{| class="wikitable"
|-
! 9)
! <math display="block">\varphi(\sigma_{1})_{2}\delta_{1} = \{\begin{matrix}
\frac{4\sigma_{1}}{a^{2}}\delta_{1} & \text{für\ }2\sigma_{1} < a \\
\frac{4(a - \sigma_{1})}{a^{2}}\delta_{1} & \text{für\ }2\sigma_{1} > a \\
\end{matrix}</math>
|}


After having replacing \text{für\ } by \text{für}~, the formula is accepted !

I know that error is detected in Wikipedia, but I ask my question to Pandoc because Wikipedia is first to use wikimedia ! 

Is that a bug ?

Is there a parameter that I can use and that avoid to write in \text{...} Latex expression ?

Thanks for any help !

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c31fe4f2-7137-448c-a1e0-ee77fa4c2ab9n%40googlegroups.com.