Re: [sphinx-dev] Re: Error from the epub builder

2010-07-08 Thread Fred Drake
On Wed, Jun 30, 2010 at 4:03 PM, rolmei roland_meis...@arcor.de wrote:
 there is a bug fix at http://bitbucket.org/rolmei/sphinx-epub/.
 However there is only one entry in the toc.ncx file.

This lets me get a usable epub document; thanks!

I've still got to play with the various toctree options; my document
is currently a single file, and no tree is showing up.  But some
things were going to change anyway.


  -Fred

-- 
Fred L. Drake, Jr.fdrake at gmail.com
A storm broke loose in my mind.  --Albert Einstein

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.



[sphinx-dev] Re: Error from the epub builder

2010-07-08 Thread rolmei
On 8 Jul., 20:24, Fred Drake fdr...@acm.org wrote:
 On Wed, Jun 30, 2010 at 4:03 PM, rolmei roland_meis...@arcor.de wrote:
  there is a bug fix athttp://bitbucket.org/rolmei/sphinx-epub/.
  However there is only one entry in the toc.ncx file.

 This lets me get a usable epub document; thanks!

 I've still got to play with the various toctree options; my document
 is currently a single file, and no tree is showing up.  But some
 things were going to change anyway.

   -Fred

 --
 Fred L. Drake, Jr.    fdrake at gmail.com
 A storm broke loose in my mind.  --Albert Einstein

Great!
Although the fix broke the builder for the general case of
multiple files (content.opf) ... it worked for you.
I hope that this bug is fixed now.
It was a stupid error, hasattr vs has_key.

I also worked on the crash, and it took longer than I anticipated.
At the moment, the sphinx documentation builds fine,
but I imagine problems for the cpp domain.
... and the file genindex.html shows wrong links.

Expect two more changes to fix the known issues.

Cheers,
  Roland

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.



Re: [sphinx-dev] Re: Error from the epub builder

2010-07-02 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 30.06.2010 22:03, schrieb rolmei:
 Hi,
 there is a bug fix at http://bitbucket.org/rolmei/sphinx-epub/.
 However there is only one entry in the toc.ncx file.
 I think you only get a full table of contents if
 the toctree directive is used.

I've now pulled the changes from your branch.

Thanks,
Georg
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEARECAAYFAkwts2AACgkQN9GcIYhpnLBEdwCfdPNjLIWZ7mPyeA1SWZcYJ2Af
OT4AoJ+srEqSjyrpDEZsam1JMXVZMfjb
=exF7
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.



[sphinx-dev] Re: Error from the epub builder

2010-07-02 Thread rolmei
On 2 Jul., 13:02, Fred Drake fdr...@acm.org wrote:
 On Wed, Jun 30, 2010 at 4:03 PM, rolmei roland_meis...@arcor.de wrote:
  there is a bug fix athttp://bitbucket.org/rolmei/sphinx-epub/.
  However there is only one entry in the toc.ncx file.
  I think you only get a full table of contents if
  the toctree directive is used.

 Thanks Roland (Georg)!

 I should get a chance to try this out over the weekend, and will let
 you know how that goes.

   -Fred

 --
 Fred L. Drake, Jr.    fdrake at gmail.com
 A storm broke loose in my mind.  --Albert Einstein

You're welcome!
However currently building epubs is broken with the new domain
concept, see bug #448.
The problem is quite severe as the reader crashes and reboots (at
least the Sony PRS-505).
The fix is easy. Colons in href attributes have to be replaced by some
other character.
At the moment I am waiting for feedback how to proceed.
Should the replacement be done globally for all builders, or should I
apply it only
for the epub builder? There might be side effects if done globally.
Any suggestions?

Roland

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.



[sphinx-dev] Re: Error from the epub builder

2010-07-01 Thread rolmei
Hi,
there is a bug fix at http://bitbucket.org/rolmei/sphinx-epub/.
However there is only one entry in the toc.ncx file.
I think you only get a full table of contents if
the toctree directive is used.

Regards,
  Roland

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.