html5/markup/src syntax.html,1.91,1.92

Update of /sources/public/html5/markup/src
In directory hutz:/tmp/cvs-serv5631/src

Modified Files:
	syntax.html 
Log Message:
Replaced CDATA example. b=11508.
Thanks David Carlisle.


Index: syntax.html
===================================================================
RCS file: /sources/public/html5/markup/src/syntax.html,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- syntax.html	12 May 2011 07:56:05 -0000	1.91
+++ syntax.html	17 Jun 2011 08:49:08 -0000	1.92
@@ -1192,12 +1192,15 @@
      <p>The following shows an example of a CDATA section.</p>
      <pre>
 &lt;annotation encoding="text/latex">
-  &lt;![CDATA[\documentclass{article}
-  \begin{document}
-  \title{E}
-  \maketitle
-  The base of the natural logarithms, approximately 2.71828.
-  \end{document}]]&gt;
+&lt;![CDATA[\documentclass{article}
+\usepackage{amsmath}
+\begin{document}
+The absolute value of $x$:
+\[
+\left|x\right|= \begin{cases}-x&amp; \text{if $x&lt;0$}\\
+                              x&amp; \text{otherwise}\end{cases}
+\]
+\end{document}]]&gt;
 &lt;/annotation></pre>
    </div>
  </section>

Received on Friday, 17 June 2011 08:49:12 UTC