validating html files with latex commands
I'm using latex commands in my html code. When I validate the at w3c validator, it is giving me inavlid markup m开发者_运维问答essage.
Line 105, Column 31: non SGML character number 12
\begin{equation}(x^{2})^{4+(frac{1}{5})}\end{equation}
Is there a way to pass validation? Can I ignore this error?
non SGML character number 12
means that you have a control character in your html source. This is likely to be a mistake. Try to spot this character and delete it. Alternatively, retype the line that is causing you the problem.
Put your LaTex code into a CDATA block:
<![CDATA[
\begin{equation}(x^{2})^{4+(frac{1}{5})}\end{equation}
]]>
精彩评论