svanschu / Joomla-Tex-Tools

Joomla tools to display LaTeX code in your Joomla system
https://extensions.schultschik.com
1 stars 3 forks source link

$ in article mistakenly treated as LaTex #19

Open markmail opened 3 years ago

markmail commented 3 years ago

Hi there,

I have an article with a number dollar signs $ in the content and the $ signs mistakenly picked up by JaTex as inline LaTex.

Any idea on how to stop it from happening or workaround to deal with this issue?

P.S. I do use the inline LaTex feature in a number of places, so I don't want to disable the inline LaTex feature.

Many thanks, Mark

svanschu commented 3 years ago

Hi markmail,

thanks for asking. There can be different solution. You could try setting it like


<span class="tex2jax_ignore">$</span>
<code>$<code>

or try to use the HTML Code or HTML Entity code

https://www.toptal.com/designers/htmlarrows/currency/dollar-sign/

regards Sven