<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 25, 2013, at 9:16 AM, Kevin Horn &lt;<a href="mailto:kevin.horn@gmail.com">kevin.horn@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Menlo; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">How can you tell that this was created by a directive? &nbsp;You can't, because it could just as easily have been a list full of links to begin with.</div></blockquote></div><br><div>But, I don't care if it was created by a directive or not.</div><div><br></div><div>I think we're talking about two different things.</div><div><br></div><div>What you seem to be talking about is using Sphinx to do source-to-source Lore-to-ReST transformation. &nbsp;In that case, you're (sort of) right, in that information is lost when you invoke directives. &nbsp;If we did this, and it worked, it would just be a slightly better way to implement lore2sphinx; we'd still need to manage the transition in largely the same way.</div><div><br></div><div>What *I'm* talking about is just using Lore source as an input to Sphinx, and going straight to the output HTML. &nbsp;In order to do this, we just need to construct the right tree and actually *invoke* the directive callables at the right time. &nbsp;They produce whatever output they want to produce, and we hand that back to Sphinx, and it outputs some docs. &nbsp;With this strategy, we just switch to sphinx by switching our build process; we don't switch input formats. &nbsp;Then, if someone wants to use Lore they can, if they want to use ReST they can, and we can migrate on an as-needed basis; there's no need for a single big format migration for us to start using Sphinx.</div><div><br></div><div>-glyph</div></body></html>