<br><br><div class="gmail_quote">On Sat, Jul 10, 2010 at 8:19 PM, Tim Allen <span dir="ltr">&lt;<a href="mailto:screwtape@froup.com">screwtape@froup.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Sat, Jul 10, 2010 at 03:17:03PM -0500, Kevin Horn wrote:<br>
&gt; On Sat, Jul 10, 2010 at 2:40 AM, Tim Allen &lt;<a href="mailto:screwtape@froup.com">screwtape@froup.com</a>&gt; wrote:<br>
</div><div class="im">&gt; &gt; That&#39;s probably enough feedback to be getting on with; most of the<br>
&gt; &gt; problems appear to be from normalising &quot;\n&quot; in Lore docs to &quot;&quot; instead<br>
&gt; &gt; of &quot; &quot;, and also from adding whitespace after things. It is generally<br>
&gt; &gt; looking pretty great, though!<br>
&gt;<br>
&gt; Yeah, that&#39;s pretty much it.  As I said above though, if you &quot;fix&quot; it one<br>
&gt; place, it breaks in another, so I tried to balance things in such a way that<br>
&gt; the least broken markup appears in the output.<br>
&gt;<br>
&gt; Almost all of the remaining problems will need to be fixed manually.<br>
<br>
</div>It sounds like a lot of the manual fixes will involve rewriting<br>
things so that inline markup does not appear at the end of a sentence<br>
next to the punctuation. That seems like a recipe for awkward prose. :/<br></blockquote><div><br>Not necessarily.  There are ways around a lot of these things, but they make the markup a bit more complex and thus more complicated to generate automatically.<br>
<br>For example, if the markup requires that there be a space, but you don&#39;t actually want a space there, you insert an &#39;escaped space&#39; (&quot;\ &quot;, that&#39;s a backslash-space).<br><br>But the exact rules for what can abut the beginning and end of inline markup are more complicated than that, and accounting for every special case would be....er...<br>
<br>Let&#39;s just say there&#39;s a reason that there&#39;s not an official docutils tool to _create_ restructuredText.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im"><br>
&gt; &gt; Some extra thoughts:<br>
&gt; &gt;    - The ReviewingDocumentation wiki page has a section called &quot;Editing<br>
&gt; &gt;      man pages&quot; that describes how to turn the nicely-formatted<br>
&gt; &gt;      manpages into Lore input files. Would it be possible to do that as<br>
&gt; &gt;      part of the lore2sphinx run, have the manpages included in the<br>
&gt; &gt;      Sphinx documentation, and from then on generate the manpages from<br>
&gt; &gt;      the .rst files instead of the other way around?<br>
&gt;<br>
&gt; Sphinx does have a man page builder now, but I don&#39;t think it existed when I<br>
&gt; was writing lore2sphinx, so I haven&#39;t really considered this.<br>
&gt;<br>
&gt; So you&#39;re suggesting convert the man pages to Lore format -&gt; use lore2sphinx<br>
&gt; to convert the resulting Lore docs to rst -&gt; build as part of the Sphinx<br>
&gt; process, yes?<br>
<br>
</div>Yes. At least for trial, there&#39;s a bunch of stuff that&#39;s *only* in the<br>
man page and not the online docs, and a bunch of stuff that&#39;s *only* in<br>
the online docs and not the man page (and stuff that&#39;s *only* in the<br>
core/development/policy section of the docs, and not in the Trial<br>
section...). Hopefully if they&#39;re all part of the same doc system, it&#39;ll<br>
be easier to have everything in the one place and easy to find.<br>
<div class="im"><br>
&gt; I think this is a worthwhile idea, but I&#39;d prefer to leave it until after<br>
&gt; the main docs are converted (i.e. under a separate ticket).  lore2sphinx can<br>
&gt; be used on just the man files later on if need be, though it would take a<br>
&gt; little mucking around.<br>
<br>
</div>Something to add to the &quot;open ticket for: anything else???&quot; section of<br>
your transition plan, then? :)<br></blockquote><div><br>Sounds like it.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
&gt; Thanks for the fantastic (and nicely detailed) feedback, Tim!<br>
&gt;<br>
&gt; Please take a look at the transition plan.  In a few days (maybe sooner), I<br>
&gt; should have the base docs in a branch, and the &quot;chunk tickets&quot; referenced in<br>
&gt; the transition plan created.  This is pretty much _exactly_ what I&#39;d like to<br>
&gt; see in those &quot;chunk tickets&quot;.<br>
<br>
</div>Having done pretty much the first two of your suggested &quot;chunks&quot; in my<br>
previous mail, they look to be about the right size.<br>
<div class="im"><br>
&gt; Hopefully you haven&#39;t already burned up your brain staring at markup<br>
&gt; issues. :) We could really use this kind of help throughout the<br>
&gt; process.<br>
<br>
</div>I&#39;m looking forward to learning a little more about Sphinx and ReST. :)<br>
<div><div></div><div class="h5"><br></div></div></blockquote></div><br><br>Kevin Horn<br>