This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
the CDATA example at http://dev.w3.org/html5/markup/syntax.html#cdata-sections isn't ideal (if any use of CDATA is ideal) as it is an example of a completely redundant CDATA section, the content has no < or & so the section isn't quoting anything. A better LaTeX example would be a matrix, as that uses & as the cell separator, so using CDATA there would save quoting them all as &. (This comment should not be seen as a blocker for the next publication round, it can be taken as a comment on the next release)
I'd welcome a better example; if you or somebody else can provide a complete one I will replace the current one with that instead
(In reply to comment #1) > I'd welcome a better example; if you or somebody else can provide a complete > one I will replace the current one with that instead I'll supply something. I am supposed to know a bit of latex:-)
(In reply to comment #2) > (In reply to comment #1) > > I'd welcome a better example; if you or somebody else can provide a complete > > one I will replace the current one with that instead > > > I'll supply something. I am supposed to know a bit of latex:-) Surprisingly hard to find a small sensible example that uses both & and < Perhaps this definition of abs(x) which has 2 & and a < \documentclass{article} \usepackage{amsmath} \begin{document} The absolute value of $x$: \[ \left|x\right|= \begin{cases}-x& \text{if $x<0$}\\ x& \text{otherwise}\end{cases} \] \end{document}
David, I seem to have missed the update that you posted to this at the end of last year. Thanks for the example -- I'll replace the current one with this one as soon as I'm back somewhere with a reliable Internet connection. --Mike
http://dev.w3.org/cvsweb/html5/markup/spec.html.diff?r1=1.329;r2=1.330;f=h please check and let me know if you spot any formatting problems - http://dev.w3.org/html5/markup/syntax.html#cdata-sections
thanks, and I reconfirmed it is valid latex (not that that is that important for this document), closing.