escape characters

Hi folks, as I experiment with outputting LaTeX source I have decided to use the clean-text-allow-latex approach.

Most things work fine but there are some characters that don’t translate correctly - for example in

\begin{eqnarray*}
y&=&\sin(x) \
x&=&\cos(x) \
\end{eqnarray*}

I have used * to get those to translate correctly but the ampersands and the \ (which are line breaks in the eqnarray environment) don’t come out right.

Any ideas?
R Haynes