michal-h21 / make4ht

Build system for tex4ht
136 stars 15 forks source link

'mathml'-option does not recognize \color command #99

Open yalguzaq opened 1 year ago

yalguzaq commented 1 year ago

LaTeX:

\documentclass{article}
\usepackage{xcolor}
\begin{document}
$$\color{blue}{y_1}$$
$$\textcolor{blue}{y_1}$$
\end{document}

Compilation command: make4ht markup.tex 'mathml,mathjax'

Correct output: image

Erroneous output: image

Problem summary: \textcolor and \color have practically the same syntax but the latter is not processed.