# WordPress.org

## Youngwhan's Simple Latex[resolved] Is it broken? Annoying in Latex formula (6 posts)

1. idienstler
Member
Posted 9 months ago #

Hi,

I got a problem with mathtex and tried your plugin to see if the error also exists here.

Code:
\begin{pmatrix}
a_1 & a_2 & a_3 & a_4 \\
b_1 & b_2 & b_3 & b_4 \\
c_1 & c_2 & c_3 & c_4 \\
d_1 & d_2 & d_3 & d_4
\end{pmatrix}

I got the same result with your plugin.
Any ideas to solve this?

Member
Plugin Author

Posted 9 months ago #

Sorry for that it is not working for you.

The issue is that I've updated 1.4.0, but, somehow, WP has not updated. I will work on this soon.

For the workaround, go to Settings->YW Syntax, and change the location cgi as "http://www.forkosh.com/mathtex.cgi"

It should work, and let me know it works for you, too.

I will update the plugin as well soon.

Thank you for the post.
Daniel

3. idienstler
Member
Posted 9 months ago #

Hi,

I already have http://www.forkosh.com/mathtex.cgi in Settings->YW Syntax.

Would be nice if you could try Code from http://www.kkittel.de/wiki/doku.php?id=mathematik:matrizen

\begin{pmatrix}
a_1 & a_2 & a_3 & a_4 \\
b_1 & b_2 & b_3 & b_4 \\
c_1 & c_2 & c_3 & c_4 \\
d_1 & d_2 & d_3 & d_4
\end{pmatrix}

with your plugin if you also get http://s1.directupload.net/images/131026/tgrffxij.png. Actually I don't know where the <br /> came from.

Regards

Member
Plugin Author

Posted 9 months ago #

Hi idienstler,

It's some kind of buggy in WP, I guess.

It is caused by automatically added <br> or <p> in the content, but it shouldn't affect to a plugin like this.

I provided a workaround by the reference of http://wpforce.com/prevent-wpautop-filter-shortcode/

This plugin has updated to 1.5.

If 1.5 has same issue, please let me know.

Thanks,
Daniel

5. idienstler
Member
Posted 9 months ago #

well done 1.5 fixes the issue.

Thank you
iDienstler

Member
Plugin Author

Posted 9 months ago #

Great to hear.

Thanks,