<?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>Guy Rutenberg &#187; TiddlyWiki</title>
	<atom:link href="http://www.guyrutenberg.com/tag/tiddlywiki/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Sat, 14 Jan 2012 11:30:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>LaTeX for TiddlyWiki &#8211; A MathJax Plugin</title>
		<link>http://www.guyrutenberg.com/2011/06/25/latex-for-tiddlywiki-a-mathjax-plugin/</link>
		<comments>http://www.guyrutenberg.com/2011/06/25/latex-for-tiddlywiki-a-mathjax-plugin/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 14:05:31 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[MathJax]]></category>
		<category><![CDATA[TiddlyWiki]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=825</guid>
		<description><![CDATA[Some time ago I came across MathJax, a nifty, Javascript based engine for displaying TeX and LaTeX equations. It works by &#8220;translating&#8221; the equation to MathML or HTML+CSS, so it works on all modern browsers. The result isn&#8217;t a raster image, like in most LaTeX solutions (e.g. MediaWiki), so it&#8217;s scales with the text around [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I came across <a href="http://www.mathjax.org/">MathJax</a>, a nifty, Javascript based engine for displaying TeX and LaTeX equations. It works by &#8220;translating&#8221; the equation to MathML or HTML+CSS, so it works on all modern browsers. The result isn&#8217;t a raster image, like in most LaTeX solutions (e.g. MediaWiki), so it&#8217;s scales with the text around it. Furthermore, it&#8217;s quite easy to integrate as it doesn&#8217;t require any real installation, and you could always use MathJax&#8217;s own CDN, which makes things even simpler.</p>
<p><div id="attachment_829" class="wp-caption aligncenter" style="width: 469px"><a href="http://www.guyrutenberg.com/wp-content/uploads/2011/06/mathjax1.png"><img src="http://www.guyrutenberg.com/wp-content/uploads/2011/06/mathjax1.png" alt="TiddlyWiki with the MathJaxPlugin" title="TiddlyWiki with the MathJaxPlugin" width="459" height="219" class="size-full wp-image-829" /></a><p class="wp-caption-text">A tiddler with LaTeX equations.</p></div><span id="more-825"></span></p>
<p>I quickly realized MathJax will be a perfect fit for TiddlyWiki which is also based on pure Javascript. It will allow me to enter complex formulas in tiddlers and still be able to carry my wiki anywhere with me, independent of a real TeX installation. I searched the web for an existing MathJaX plugin for TiddlyWiki but I came up empty handed (I did find some links, but they referenced pages that no longer exist). So I regarded it as a nice opportunity to begin writing some plugins for TiddlyWiki and created the MathJaxPlugin which integrates MathJax with TiddlyWiki.</p>
<p>As I don&#8217;t have an online TiddlyWiki, you&#8217;ll won&#8217;t be able to import the plugin, instead you&#8217;ll have to install it manually (which is pretty simple).</p>
<p>Start by creating a new tiddler named <code>MathJaxPlugin</code>, and tag with <code>systemConfig</code> (this tag will tell TiddlyWiki to execute the JS code in the tiddler, thus making it a plugin. Now copy the following code to the tiddler content:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/***
|''Name:''|MathJaxPlugin|
|''Description:''|Enable LaTeX formulas for TiddlyWiki|
|''Version:''|1.0.0|
|''Date:''|Jun 25, 2011|
|''Source:''|http://www.guyrutenberg.com/2011/06/25/latex-for-tiddlywiki-a-mathjax-plugin|
|''Author:''|Guy Rutenberg|
|''License:''|[[BSD open source license]]|
|''~CoreVersion:''|2.5.0|
&nbsp;
Currently the plugin supports the following delemiters:
* &quot;&quot;&quot;$$&quot;&quot;&quot;..&quot;&quot;&quot;$$&quot;&quot;&quot; - Inline equations
* &quot;&quot;&quot;\(&quot;&quot;&quot;..&quot;&quot;&quot;\)&quot;&quot;&quot; - Inline equations
* &quot;&quot;&quot;\[&quot;&quot;&quot;..&quot;&quot;&quot;\]&quot;&quot;&quot; - Display equations
***/</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//{{{</span>
config.<span style="color: #660066;">extensions</span>.<span style="color: #660066;">MathJax</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
  mathJaxScript <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;</span><span style="color: #339933;">,</span>
  <span style="color: #006600; font-style: italic;">// uncomment the following line if you want to access MathJax using SSL</span>
  <span style="color: #006600; font-style: italic;">// mathJaxScript : &quot;https://d3eoax9i5htok0.cloudfront.net/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;,</span>
  displayTiddler_old <span style="color: #339933;">:</span> story.<span style="color: #660066;">displayTiddler</span><span style="color: #339933;">,</span>
  displayTiddler<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>TiddlerName<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    config.<span style="color: #660066;">extensions</span>.<span style="color: #660066;">MathJax</span>.<span style="color: #660066;">displayTiddler_old</span>.<span style="color: #660066;">apply</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">,</span> arguments<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    MathJax.<span style="color: #660066;">Hub</span>.<span style="color: #660066;">Queue</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Typeset&quot;</span><span style="color: #339933;">,</span> MathJax.<span style="color: #660066;">Hub</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
jQuery.<span style="color: #660066;">getScript</span><span style="color: #009900;">&#40;</span>config.<span style="color: #660066;">extensions</span>.<span style="color: #660066;">MathJax</span>.<span style="color: #660066;">mathJaxScript</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    MathJax.<span style="color: #660066;">Hub</span>.<span style="color: #660066;">Config</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
      extensions<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;tex2jax.js&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
      <span style="color: #3366CC;">&quot;HTML-CSS&quot;</span><span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span> scale<span style="color: #339933;">:</span> <span style="color: #CC0000;">100</span> <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    MathJax.<span style="color: #660066;">Hub</span>.<span style="color: #660066;">Startup</span>.<span style="color: #000066;">onload</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    story.<span style="color: #660066;">displayTiddler</span> <span style="color: #339933;">=</span> config.<span style="color: #660066;">extensions</span>.<span style="color: #660066;">MathJax</span>.<span style="color: #660066;">displayTiddler</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
config.<span style="color: #660066;">formatters</span>.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">name</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;mathJaxFormula&quot;</span><span style="color: #339933;">,</span>
	match<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;<span style="color: #000099; font-weight: bold;">\\</span><span style="color: #000099; font-weight: bold;">\\</span><span style="color: #000099; font-weight: bold;">\\</span>[|<span style="color: #000099; font-weight: bold;">\\</span>$<span style="color: #000099; font-weight: bold;">\\</span>$|<span style="color: #000099; font-weight: bold;">\\</span><span style="color: #000099; font-weight: bold;">\\</span><span style="color: #000099; font-weight: bold;">\\</span>(&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #006600; font-style: italic;">//lookaheadRegExp: /(?:\\\[|\$\$)((?:.|\n)*?)(?:\\\]|$$)/mg,</span>
	handler<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>w<span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">switch</span><span style="color: #009900;">&#40;</span>w.<span style="color: #660066;">matchText</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;<span style="color: #000099; font-weight: bold;">\\</span>[&quot;</span><span style="color: #339933;">:</span> <span style="color: #006600; font-style: italic;">// displayed equations</span>
			<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">lookaheadRegExp</span> <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\\\[((?:.|\n)*?)(\\\])/mg</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;$$&quot;</span><span style="color: #339933;">:</span> <span style="color: #006600; font-style: italic;">// inline equations</span>
			<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">lookaheadRegExp</span> <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\$\$((?:.|\n)*?)(\$\$)/mg</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;<span style="color: #000099; font-weight: bold;">\\</span>(&quot;</span><span style="color: #339933;">:</span> <span style="color: #006600; font-style: italic;">// inline equations</span>
			<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">lookaheadRegExp</span> <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\\\(((?:.|\n)*?)(\\\))/mg</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
		<span style="color: #003366; font-weight: bold;">default</span><span style="color: #339933;">:</span>
			<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">lookaheadRegExp</span>.<span style="color: #660066;">lastIndex</span> <span style="color: #339933;">=</span> w.<span style="color: #660066;">matchStart</span><span style="color: #339933;">;</span>
		<span style="color: #003366; font-weight: bold;">var</span> lookaheadMatch <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">lookaheadRegExp</span>.<span style="color: #660066;">exec</span><span style="color: #009900;">&#40;</span>w.<span style="color: #660066;">source</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>lookaheadMatch <span style="color: #339933;">&amp;&amp;</span> lookaheadMatch.<span style="color: #660066;">index</span> <span style="color: #339933;">==</span> w.<span style="color: #660066;">matchStart</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			createTiddlyElement<span style="color: #009900;">&#40;</span>w.<span style="color: #660066;">output</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;span&quot;</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span>lookaheadMatch<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			w.<span style="color: #660066;">nextMatch</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">lookaheadRegExp</span>.<span style="color: #660066;">lastIndex</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">//}}}</span></pre></div></div>

<p>After saving the tiddler, reload the wiki and the MathJaxPlugin should be active. You can test it by creating a new tiddler with some equations in it:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">This is an inline equation $$P(E)   = {n \choose k} p^k (1-p)^{ n-k}$$ and this is a displayed equation:
\[J_\alpha(x) = \sum_{m=0}^\infty \frac{(-1)^m}{m! \, \Gamma(m + \alpha + 1)}{\left({\frac{x}{2}}\right)}^{2 m + \alpha}\]</pre></div></div>

<p>Which should result in the tiddler that appears in the above image.</p>
<p>Update 20110819: Removed debugging code from the plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2011/06/25/latex-for-tiddlywiki-a-mathjax-plugin/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Using Monospaced Font in the TidddlyWiki Editor</title>
		<link>http://www.guyrutenberg.com/2011/06/11/using-monospaced-font-in-the-tidddlywiki-editor/</link>
		<comments>http://www.guyrutenberg.com/2011/06/11/using-monospaced-font-in-the-tidddlywiki-editor/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 07:58:42 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[TiddlyWiki]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=821</guid>
		<description><![CDATA[By default, TiddlyWiki uses its default fonts (Arial or Helvetica) for it&#8217;s tiddlers editor. While these fonts are more than fine as default font for the text in tiddlers, I found it much less convinient when editing tiddler&#8217;s. Furthermore, it&#8217;s even a bad choice when one has code snippets in his tiddlers. The following code [...]]]></description>
			<content:encoded><![CDATA[<p>By default, TiddlyWiki uses its default fonts (Arial or Helvetica) for it&#8217;s tiddlers editor. While these fonts are more than fine as default font for the text in tiddlers, I found it much less convinient when editing tiddler&#8217;s. Furthermore, it&#8217;s even a bad choice when one has code snippets in his tiddlers.</p>
<p>The following code snippet solves the problem by resetting the font used in the editor to monospaced font. Just add the following snippet:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">/*{{{*/
.editor {
    font-family: DejaVu Sans Mono, Courier New, monospace;
}
/*}}}*/</pre></div></div>

<p>To your StyleSheet tiddler (or create it if it doesn&#8217;t exist yet). Now the next time you&#8217;ll edit a tiddler you will do it using a monospaced font.</p>
<p><a href="http://www.guyrutenberg.com/wp-content/uploads/2011/06/monospaced-tiddler.png"><img src="http://www.guyrutenberg.com/wp-content/uploads/2011/06/monospaced-tiddler.png" alt="" title="monospaced-tiddler" width="539" height="186" class="aligncenter size-full wp-image-822" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2011/06/11/using-monospaced-font-in-the-tidddlywiki-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Over Looking the Simple Solution</title>
		<link>http://www.guyrutenberg.com/2009/08/01/over-looking-the-simple-solution/</link>
		<comments>http://www.guyrutenberg.com/2009/08/01/over-looking-the-simple-solution/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 10:48:14 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[reStructured Text]]></category>
		<category><![CDATA[TiddlyWiki]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=414</guid>
		<description><![CDATA[Few days ago I&#8217;ve decided to start logging my rowing sessions. I disliked the idea of keeping the log on paper, so I&#8217;ve looked into a computerized solution. I ruled out Concept2&#8242;s online log book, because I wanted something private which wouldn&#8217;t require me to register on yet another website (and sometimes internet access at [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago I&#8217;ve decided to start logging my rowing sessions. I disliked the idea of keeping the log on paper, so I&#8217;ve looked into a computerized solution. I ruled out Concept2&#8242;s online log book, because I wanted something private which wouldn&#8217;t require me to register on yet another website (and sometimes internet access at my <a href="http://www.rowclub.org">rowing club</a> is broken). Soon I&#8217;ve decided to manage the log using <a href="http://www.tiddlywiki.com">TiddlyWiki</a>, a client-side html+js wiki, which <a href="http://www.guyrutenberg.com/2009/03/28/rtl-tiddlers-in-tiddlywiki/">I wrote about in the past</a>. It some nice features:<br />
1. It fits in a single self contained file that is perfect to put on a usb-stick.<br />
2. It has built-in search features.<br />
3. It allows great flexibility in how to log my sessions &#8211; no predefined format which I need to struggle to fit my sessions into.</p>
<p>The TiddlyWiki solution seemed great, and I&#8217;ve started using it. But as the title says, I merely looked over much simpler, yet as powerful, solution &#8211; a simple text file. Porting my rowing log to a simple, old-fashioned, text file provided me all the relevant features of TiddlyWiki, such as search, flexibility and working from usb-stick, while using less space and editable using a basic text-editor (or the powerful <code>vim</code>). Using <a href="http://docutils.sourceforge.net/rst.html">reStructured Text</a>, I got a nice readable journal that can be later processed into even nicer looking html files.</p>
<p>We all want to believe that we know to match the right tool for a task. But maybe, because we tend to adopt newer technologies and utilities all the time (because for a lot of tasks they do provide better tools), we end up over looking simpler, &#8220;old-fashioned&#8221;, solutions. If I take a moment now to look around, I can come up with several other places where new stuff is used instead of simpler solutions. Take a look around you, and I&#8217;m sure that you will be able to find some too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2009/08/01/over-looking-the-simple-solution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RTL Tiddlers in TiddlyWiki</title>
		<link>http://www.guyrutenberg.com/2009/03/28/rtl-tiddlers-in-tiddlywiki/</link>
		<comments>http://www.guyrutenberg.com/2009/03/28/rtl-tiddlers-in-tiddlywiki/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 14:20:47 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[RTL]]></category>
		<category><![CDATA[TiddlyWiki]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=298</guid>
		<description><![CDATA[I&#8217;ve been using TiddlyWiki for a while now, and it became a very useful tool for me. Today, I&#8217;ve decided to organize my various recipes (somehow cooking and especially making deserts has turned into an hobby of mine), and as you can expect I&#8217;ve decided to use TiddlyWiki for the tasks. There was a slight [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.tiddlywiki.com/">TiddlyWiki</a> for a while now, and it became a very useful tool for me. Today, I&#8217;ve decided to organize my various recipes (somehow cooking and especially making deserts has turned into an hobby of mine), and as you can expect I&#8217;ve decided to use TiddlyWiki for the tasks.</p>
<p>There was a slight problem as some of the recipes are in Hebrew, and it seems TiddlyWiki doesn&#8217;t have built-in support for RTL (right-to-left) tiddlers. However, such support can be added via custom stylesheets and the tiddlers&#8217; tags. The idea for this method is taken from <a href="http://zaphands.phatcode.net/#StyleSheet">this TiddlyWiki</a>.</p>
<p>Create a new tiddler called &#8220;StyleSheet&#8221; (without the quotes). This is a special tiddler (a shadow tiddler) that lets you add additional CSS code for your wiki. Insert the following code into the newly created tiddler:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*{{{*/</span>
div<span style="color: #00AA00;">&#91;</span>tags~<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;RTL&quot;</span><span style="color: #00AA00;">&#93;</span><span style="color: #6666ff;">.tiddler</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">direction</span><span style="color: #00AA00;">:</span> rtl<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #00AA00;">&#91;</span>tags~<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;RTL&quot;</span><span style="color: #00AA00;">&#93;</span><span style="color: #6666ff;">.tiddler</span> <span style="color: #6666ff;">.subtitle</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">direction</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">ltr</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #00AA00;">&#91;</span>tags~<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;RTL&quot;</span><span style="color: #00AA00;">&#93;</span><span style="color: #6666ff;">.tiddler</span> <span style="color: #6666ff;">.tagged</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">direction</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">ltr</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/*}}}*/</span></pre></div></div>

<p>Now for every tiddler you want to be in RTL direction just add <code>RTL</code> to its list of tags. After you do it, the tiddler will appear correctly. Here is an example of what in RTL looks like after the fix:<br />
<div id="attachment_301" class="wp-caption aligncenter" style="width: 508px"><img src="http://www.guyrutenberg.com/wp-content/uploads/2009/03/rtl-tiddler.png" alt="A screenshot of an RTL tiddler" title="rtl-tiddler" width="498" height="341" class="size-full wp-image-301" /><p class="wp-caption-text">A screenshot of an RTL tiddler</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2009/03/28/rtl-tiddlers-in-tiddlywiki/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.341 seconds -->

