Re: rst2html for partial HTML generation [Was: 2015: reStructuredText implementations in other programming languages?]

Matěj Cepl <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
On 2015-06-26, 13:58 GMT, Roberto Alsina wrote:
> No, that was perfectly fine. We do extract body because we support a 
> bunch of "compilers" and not all of them play as nice.
>
> Actual code for rst is like this:
>
> return pub.writer.parts['docinfo'] + pub.writer.parts['fragment']
>
> I don't quite recall the specifics of how it ended up like that ;-)

Could somebody be able to write a simple example of such script?  
(/me gets a bit lost while diving into 
/usr/lib/python2.7/site-packages/docutils/)

Thanks,

Matěj

-- 
http://www.ceplovi.cz/matej/, Jabber: [email protected]
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Of course I'm respectable. I'm old. Politicians, ugly buildings,
and whores all get respectable if they last long enough.
      --John Huston in "Chinatown."


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.