开发者

validating html files with latex commands

开发者 https://www.devze.com 2023-01-01 10:59 出处:网络
I\'m using latex commands in my html code. When I validate the at w3c validator, it is giving me inavlid markup m开发者_运维问答essage.

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}
]]>
0

精彩评论

暂无评论...
验证码 换一张
取 消