Boost C++ Libraries: Ticket #3029: quickbook - import Python code snippets https://svn.boost.org/trac10/ticket/3029 <p> The attached patch allows to import Python code snippets. The syntax is: </p> <pre class="wiki">#[id """` A multi-line markup.""" #` A single-line markup. #] </pre><p> The patch also enables to import pure C code snippets: </p> <pre class="wiki">/*[id */ ... /*]*/ </pre><p> I have been already using it in my project (<a class="ext-link" href="http://www.jagpdf.com/doc"><span class="icon">​</span>http://www.jagpdf.com/doc</a>) for some time now without problems. </p> <p> If there is an interest in this functionality, I'm willing to help with anything related - tests, code polishing, etc. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3029 Trac 1.4.3 jgresula@… Thu, 14 May 2009 20:42:12 GMT attachment set https://svn.boost.org/trac10/ticket/3029 https://svn.boost.org/trac10/ticket/3029 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">quickbook.patch</span> </li> </ul> <p> patch </p> Ticket anonymous Fri, 15 May 2009 02:53:21 GMT <link>https://svn.boost.org/trac10/ticket/3029#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3029#comment:1</guid> <description> <p> So cool! Definitely! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Fri, 15 May 2009 06:17:43 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/3029#comment:2 https://svn.boost.org/trac10/ticket/3029#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Daniel James</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Applied in <a class="changeset" href="https://svn.boost.org/trac10/changeset/53018" title="Import Python and C code snippets in quickbook, by Jaroslav Gresula. ...">[53018]</a>. I've also made a few changes, the only significant one is that it now checks for files ending with '.py' instead of 'py'. I'll change it back if that isn't okay. </p> Ticket anonymous Fri, 15 May 2009 06:31:53 GMT <link>https://svn.boost.org/trac10/ticket/3029#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3029#comment:3</guid> <description> <p> Checking for '.py' is definitely better. However, unless I missing something, <a class="changeset" href="https://svn.boost.org/trac10/changeset/53018" title="Import Python and C code snippets in quickbook, by Jaroslav Gresula. ...">[53018]</a> still checks for 'py'. </p> </description> <category>Ticket</category> </item> <item> <author>jgresula@…</author> <pubDate>Fri, 15 May 2009 06:43:25 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3029#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3029#comment:4</guid> <description> <p> I see that it has been changed in a later revision. Sorry for the noise. Thanks. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Fri, 15 May 2009 06:51:01 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3029#comment:5 https://svn.boost.org/trac10/ticket/3029#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> No problem. Thanks for the patch. I changed a few other things, but they all concerned problems with the existing code. </p> Ticket