<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Marking up M with HTML</title>
	<link>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/</link>
	<description>Ken &#38; Mike work on the MATLAB Desktop team</description>
	<pubDate>Tue, 06 Jan 2009 20:59:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Michael Katz</title>
		<link>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-3635</link>
		<dc:creator>Michael Katz</dc:creator>
		<pubDate>Fri, 14 Mar 2008 15:06:46 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-3635</guid>
		<description>Daniel,
 Yes it is a limitation in PUBLISH that you can not mix HTML with other types of markup. Hopefully you can use the html-equivalent if you need specific formatting. Can you email me your second example M-file so I can understand the issue better?</description>
		<content:encoded><![CDATA[<p>Daniel,<br />
 Yes it is a limitation in PUBLISH that you can not mix HTML with other types of markup. Hopefully you can use the html-equivalent if you need specific formatting. Can you email me your second example M-file so I can understand the issue better?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Armyr</title>
		<link>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-3632</link>
		<dc:creator>Daniel Armyr</dc:creator>
		<pubDate>Fri, 14 Mar 2008 13:56:10 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-3632</guid>
		<description>Oh, bummer. The HTML got lost in the process.. Well, I think my descriptions are clear enough as it is.</description>
		<content:encoded><![CDATA[<p>Oh, bummer. The HTML got lost in the process.. Well, I think my descriptions are clear enough as it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Armyr</title>
		<link>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-3631</link>
		<dc:creator>Daniel Armyr</dc:creator>
		<pubDate>Fri, 14 Mar 2008 13:55:22 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-3631</guid>
		<description>Hi.
I was very impressed with this possibility when I first read about it, but now that I try to use it for the first time I have noticed two unwanted behaviours that together are so severe as to classify them as bugs from my perspective.

1) It seems not to be possible to mix HTML and non-html within the comments for a single cell. For example:

%% Test
% 
% onetwo
% 
% Hello World!

2) If the extra text is placed within the html block, it is formated very differently from the way normal comments are, specifically the line-length is not at all the same. For example:

%% Test 1
% It can be argued, though it is not possible to verify
% without the original calbox which was not sent back to
% without the original calbox which was not sent back to
%% Test2
% 
% onetwo
% It can be argued, though it is not possible to verify
% without the original calbox which was not sent back to
% without the original calbox which was not sent back to
% 

When studying the HTML output from these examples, it seems Mathworks has chosen quite a sloppy approach to the problem, using the extreme forgivingness of most HTML browsers to allow the HTML markup. Unfortunately this leads to HTMl which looks like a rats-nest and whose results are far from predictable.

Sincerely
Daniel Armyr</description>
		<content:encoded><![CDATA[<p>Hi.<br />
I was very impressed with this possibility when I first read about it, but now that I try to use it for the first time I have noticed two unwanted behaviours that together are so severe as to classify them as bugs from my perspective.</p>
<p>1) It seems not to be possible to mix HTML and non-html within the comments for a single cell. For example:</p>
<p>%% Test<br />
%<br />
% onetwo<br />
%<br />
% Hello World!</p>
<p>2) If the extra text is placed within the html block, it is formated very differently from the way normal comments are, specifically the line-length is not at all the same. For example:</p>
<p>%% Test 1<br />
% It can be argued, though it is not possible to verify<br />
% without the original calbox which was not sent back to<br />
% without the original calbox which was not sent back to<br />
%% Test2<br />
%<br />
% onetwo<br />
% It can be argued, though it is not possible to verify<br />
% without the original calbox which was not sent back to<br />
% without the original calbox which was not sent back to<br />
% </p>
<p>When studying the HTML output from these examples, it seems Mathworks has chosen quite a sloppy approach to the problem, using the extreme forgivingness of most HTML browsers to allow the HTML markup. Unfortunately this leads to HTMl which looks like a rats-nest and whose results are far from predictable.</p>
<p>Sincerely<br />
Daniel Armyr</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Katz</title>
		<link>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-2876</link>
		<dc:creator>Michael Katz</dc:creator>
		<pubDate>Thu, 24 Jan 2008 14:37:59 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-2876</guid>
		<description>Thanks for the encouragement.</description>
		<content:encoded><![CDATA[<p>Thanks for the encouragement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kwadwo Dompreh</title>
		<link>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-2875</link>
		<dc:creator>Kwadwo Dompreh</dc:creator>
		<pubDate>Thu, 24 Jan 2008 13:53:53 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/01/21/marking-up-m-with-html/#comment-2875</guid>
		<description>Awesome, wonderful and smart start keep it up Mich. I am so impressed with your Blog and wish you will continue with the good work.</description>
		<content:encoded><![CDATA[<p>Awesome, wonderful and smart start keep it up Mich. I am so impressed with your Blog and wish you will continue with the good work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
