Re: [sphinx-dev] repoze.bfg book produced with Sphinx

2009-12-30 Thread Ondrej Certik
On Wed, Dec 30, 2009 at 7:37 PM, Mike Hansen wrote: > On Wed, Dec 30, 2009 at 12:30 PM, chrism wrote: >> This might be interesting for folks who want to produce printed books >> with Sphinx. > > You can also go the other direction and turn printed books into nice > HTML versions using Sphinx. > >

Re: [sphinx-dev] repoze.bfg book produced with Sphinx

2009-12-30 Thread Lennart Regebro
On Wed, Dec 30, 2009 at 20:31, Lennart Regebro wrote: > On Wed, Dec 30, 2009 at 19:30, chrism wrote: >> This might be interesting for folks who want to produce printed books >> with Sphinx. > > Very much, thanks! That geometry package helped a lot. And here is another phat tip for others: Use xe

Re: [sphinx-dev] repoze.bfg book produced with Sphinx

2009-12-30 Thread Lennart Regebro
On Wed, Dec 30, 2009 at 19:30, chrism wrote: > This might be interesting for folks who want to produce printed books > with Sphinx. Very much, thanks! That geometry package helped a lot. -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 -- You receiv

Re: [sphinx-dev] repoze.bfg book produced with Sphinx

2009-12-30 Thread Mike Hansen
On Wed, Dec 30, 2009 at 12:30 PM, chrism wrote: > This might be interesting for folks who want to produce printed books > with Sphinx. You can also go the other direction and turn printed books into nice HTML versions using Sphinx. http://wstein.org/books/modform/modform/index.html is an HTML v

[sphinx-dev] repoze.bfg book produced with Sphinx

2009-12-30 Thread chrism
This might be interesting for folks who want to produce printed books with Sphinx. I am about to submit some variant on the following book about repoze.bfg (http://bfg.repoze.org), produced with Sphinx, for commercial publication: http://static.repoze.org/bfg-1.2a9-v3.pdf You can take a look at

Re: [sphinx-dev] Various doctest problems / questions.

2009-12-30 Thread Lennart Regebro
On Wed, Dec 30, 2009 at 16:00, Chris Withers wrote: >> Scratch that, I got it to work now. Anyway, the code in question >> *does* raise an exception, but I don't want that exception to be >> rendered in the output, which still means Manuel doesn't help me solve >> the problem. > > try except? No,

Re: [sphinx-dev] Various doctest problems / questions.

2009-12-30 Thread Chris Withers
Lennart Regebro wrote: > On Wed, Dec 30, 2009 at 14:38, Chris Withers wrote: >>> However, it still completely refuses to execute any codeblock stuff >>> (or at least reports no error, even though the code is invalid). It's >>> also not clear to me how the output of a codeblock would be tested. >

Re: [sphinx-dev] Various doctest problems / questions.

2009-12-30 Thread Lennart Regebro
On Wed, Dec 30, 2009 at 14:38, Chris Withers wrote: >> However, it still completely refuses to execute any codeblock stuff >> (or at least reports no error, even though the code is invalid). It's >> also not clear to me how the output of a codeblock would be tested. Scratch that, I got it to work

Re: [sphinx-dev] Various doctest problems / questions.

2009-12-30 Thread Lennart Regebro
On Wed, Dec 30, 2009 at 14:38, Chris Withers wrote: > What "it" are you referring to? Well, the tests, using manuel. Although only the >>> tests. >> However, it still completely refuses to execute any codeblock stuff >> (or at least reports no error, even though the code is invalid). It's >> als

Re: [sphinx-dev] Various doctest problems / questions.

2009-12-30 Thread Chris Withers
Lennart Regebro wrote: > On Wed, Dec 30, 2009 at 11:51, Chris Withers wrote: >> Lennart Regebro wrote: >>> So. I want either to get a normal unittest.TextTestRunner().run(suite) >>> to include the testcode blocks, *or* I need to override the testparser >>> for sphinx. Any recommendations for how t

Re: [sphinx-dev] Various doctest problems / questions.

2009-12-30 Thread Lennart Regebro
On Wed, Dec 30, 2009 at 11:51, Chris Withers wrote: > Lennart Regebro wrote: >> So. I want either to get a normal unittest.TextTestRunner().run(suite) >> to include the testcode blocks, *or* I need to override the testparser >> for sphinx. Any recommendations for how to do this? Looking into how >

Re: [sphinx-dev] Various doctest problems / questions.

2009-12-30 Thread Chris Withers
Lennart Regebro wrote: > So. I want either to get a normal unittest.TextTestRunner().run(suite) > to include the testcode blocks, *or* I need to override the testparser > for sphinx. Any recommendations for how to do this? Looking into how > sphinx.ext.doctest works, I believe the first option is >