<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marcus Hellberg &#187; plugins</title>
	<atom:link href="http://www.marcushellberg.com/tag/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marcushellberg.com</link>
	<description>blog.</description>
	<lastBuildDate>Wed, 01 Dec 2010 07:41:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress LaTeX plugin</title>
		<link>http://www.marcushellberg.com/2009/12/21/wordpress-latex-plugin/</link>
		<comments>http://www.marcushellberg.com/2009/12/21/wordpress-latex-plugin/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 09:25:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.marcushellberg.com/?p=71</guid>
		<description><![CDATA[Now that I have code highlighting working, I thought that I should still look into getting some easy way to display mathematical notation. Turns out that WordPress once again delivered, there are in fact several different LaTeX plugins available. The plugin I settled for is WP LaTeX, since it allowed me to use  wordpress.com&#8216;s LaTeX server. This was [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Now that I have code highlighting working, I thought that I should still look into getting some easy way to display mathematical notation. Turns out that WordPress once again delivered, there are in fact several different LaTeX plugins available.</p>
<p>The plugin I settled for is <a href="http://wordpress.org/extend/plugins/wp-latex/" target="_blank">WP LaTeX</a>, since it allowed me to use  <a href="http://wordpress.com" target="_blank">wordpress.com</a>&#8216;s LaTeX server. This was an easier alternative, as Dreamhost does not have dvipng installed. On a side note, I&#8217;m impressed that they have LaTeX installed by default.</p>
<p>Now I only have to insert the following to create a nice looking equation:</p>
<pre>
H(z) = \frac{1}{1-2 cos(2 \pi k / N) z^{-1} + z^{-2}}
</pre>
<img src='http://s.wordpress.com/latex.php?latex=H%28z%29%20%3D%20%5Cfrac%7B1%7D%7B1-2%20cos%282%20%5Cpi%20k%20%2F%20N%29%20z%5E%7B-1%7D%20%2B%20z%5E%7B-2%7D%7D&#038;bg=T&#038;fg=000000&#038;s=1' alt='H(z) = \frac{1}{1-2 cos(2 \pi k / N) z^{-1} + z^{-2}}' title='H(z) = \frac{1}{1-2 cos(2 \pi k / N) z^{-1} + z^{-2}}' class='latex' />
<p>Bonus points for anyone who can identify the transfer function <img src='http://www.marcushellberg.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-71"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.marcushellberg.com/2009/12/21/wordpress-latex-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syntax highlighters</title>
		<link>http://www.marcushellberg.com/2009/12/21/syntax-highlighters/</link>
		<comments>http://www.marcushellberg.com/2009/12/21/syntax-highlighters/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 07:05:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://www.marcushellberg.com/?p=66</guid>
		<description><![CDATA[As I am probably going to post much on programming, I felt that I needed a way of highlighting code syntax and showing it in an easier to read format to you. At first I thought of just using Alex Gorbatchev&#8217;s SyntaxHighlighter. It turned out that there were in fact several WordPress plugins using Alex&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>As I am probably going to post much on programming, I felt that I needed a way of highlighting code syntax and showing it in an easier to read format to you. At first I thought of just using Alex Gorbatchev&#8217;s <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter" target="_blank">SyntaxHighlighter</a>. It turned out that there were in fact several WordPress plugins using Alex&#8217;s highlighter. Many of the existing highlighters did not work very well, they simply included the JavaScript file, requiring users to insert</p>
<pre class="brush:html">&lt;pre name="code" class="html"&gt;
...
&lt;/pre&gt;</pre>
<p>into the HTML. The problem is that WordPress&#8217; HTML editor strips out the name=&#8221;code&#8221; part, rendering the plugins useless.</p>
<p>What I settled on using, for the time being at least, is Vijesh Mehta <a href="http://www.lastengine.com/syntax-highlighter-wordpress-plugin/" target="_blank">Syntax Highlighter WordPress Plugin</a>. The plugin still requires manual HTML editing, but avoids the stripping of the name attribute by using class=&#8221;brush:language_name&#8221; instead.</p>
<p>So, as a start for my posts on programming: the classical &#8220;hello world&#8221;, in ruby this time.</p>
<pre class="brush:ruby">puts "hello world!"</pre>
<div class="shr-publisher-66"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.marcushellberg.com/2009/12/21/syntax-highlighters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

