<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h1&gt;Pitfalls when using &amp;lt;pre&amp;gt;something&amp;lt;/pre&amp;gt;&lt;/h1&gt;
&lt;p&gt;Normally, any text typed into a textbox gets wrapped. This does &lt;em&gt;not&lt;/em&gt; happen for any text typed between &amp;lt;pre&amp;gt; and &amp;lt;/pre&amp;gt; tags: you will have to wrap that manually. For that reason, the width of text boxes in sprolog are 80 columns wide. Just make sure that you manually wrap those lines so they fit in the box.&lt;/p&gt;
&lt;h1&gt;Linking between steps&lt;/h1&gt;
&lt;p&gt;If you&amp;#8217;re typing something up in a step and want to refer to another one, just link to it. First get the step number (displayed at the top of each step), and then add the following in your new step.&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
See also &lt;a href=&quot;/steps/step_number&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So for example:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
See also &lt;a href=&quot;/steps/5&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;h1&gt;Adding workflows&lt;/h1&gt;
&lt;p&gt;It&amp;#8217;s now possible to add workflows to projects. These are only &lt;em&gt;visualizations&lt;/em&gt; and do not automatically create any tasks; they should be considered a visual aid.&lt;/p&gt;
&lt;p&gt;Example of a workflow:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
&amp;#8220;make list ingredients&amp;#8221; &amp;#8594; &amp;#8220;do shopping&amp;#8221;;&lt;br /&gt;
&amp;#8220;do shopping&amp;#8221; &amp;#8594; &amp;#8220;make dough&amp;#8221;;&lt;br /&gt;
&amp;#8220;make dough&amp;#8221; &amp;#8594; &amp;#8220;bake&amp;#8221;;&lt;br /&gt;
&amp;#8220;start oven&amp;#8221; &amp;#8594; &amp;#8220;bake&amp;#8221;;&lt;br /&gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://picasaweb.google.com/jan.aerts/Miscellaneous/photo#5221858342203466418&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/jan.aerts/SHfEfuJyorI/AAAAAAAAAn8/AhO3osj3x0I/s144/sprolog_workflow_1.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://picasaweb.google.com/jan.aerts/Miscellaneous/photo#5221858345910281298&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/jan.aerts/SHfEf79kJFI/AAAAAAAAAoE/LCfaSDTmIWc/s144/sprolog_workflow_2.png&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is however possible to link this workflow to actual tasks. As you create the task for any of these steps, you can link one or more boxes in the workflow to that task by adding the task number followed by a period. So for example:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
&amp;#8220;1. make list ingredients&amp;#8221; &amp;#8594; &amp;#8220;2. do shopping&amp;#8221;;&lt;br /&gt;
&amp;#8220;2. do shopping&amp;#8221; &amp;#8594; &amp;#8220;make dough&amp;#8221;;&lt;br /&gt;
&amp;#8220;make dough&amp;#8221; &amp;#8594; &amp;#8220;bake&amp;#8221;;&lt;br /&gt;
&amp;#8220;start oven&amp;#8221; &amp;#8594; &amp;#8220;bake&amp;#8221;;&lt;br /&gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Those nodes of the workflow are now clickable and coloured: orange if the task is open, green if it&amp;#8217;s closed and red if it&amp;#8217;s stalled.&lt;/p&gt;
&lt;p&gt;For a full description of the dot language (from GraphViz), see &lt;a href=&quot;http://www.graphviz.org/Documentation/dotguide.pdf&quot;&gt;here&lt;/a&gt;&lt;/p&gt;</body>
  <created-at type="datetime">2008-06-17T06:49:14-07:00</created-at>
  <id type="integer">27686</id>
  <permalink>tips-tricks</permalink>
  <repository-id type="integer">18337</repository-id>
  <title>Tips &amp; Tricks</title>
  <updated-at type="datetime">2008-07-11T13:43:34-07:00</updated-at>
  <user-id type="integer">10043</user-id>
</wiki>
