make4ht icon indicating copy to clipboard operation
make4ht copied to clipboard

'mathml'-option does not recognize \color command

Open iabarus opened this issue 3 years ago • 0 comments
trafficstars

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.

iabarus avatar Nov 10 '22 12:11 iabarus