[sphinx-dev] filename encoding in epub zip file

2012-04-13 Thread rolmei
Hi, I would like to change the filename encoding for the files in the epub zip file back to the hard-coded UTF-8. It was changed in commit 79ecde1b4dd5 to sys.getfilesystemencoding(). The reason for this change is that the OCF specification (section 3.3) requires the UTF-8 encoding. Also, using

[sphinx-dev] Re: Bug in epub: toctree hidden -- no text

2012-02-15 Thread rolmei
On 15 Feb., 08:41, Erik Hetzner e...@e6h.org wrote: At Mon, 13 Feb 2012 12:55:21 -0800 (PST), Hi Roland, What ebook viewer are you using? It seems that the calibre ebook viewer uses the toc.ncx file for navigation, because when I generate an epub with toctree :hidden: and view it in the

[sphinx-dev] Re: Bug in epub: toctree hidden -- no text

2012-02-07 Thread rolmei
Hi Jan, Erik I'm working on the issue, but I am not yet finished. Do you want the hidden files to appear in the toc.ncx? 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-dev@googlegroups.com. To

[sphinx-dev] Re: error while making epub

2011-12-22 Thread rolmei
Hi, my guess is that you have a filename with non-ASCII letters in one of the files in conf.py. Try writing that name as unicode string, i.e. u... instead of Does the html build run without errors? Regards, Roland On 14 Dez., 18:05, Tony Yet 7di...@gmail.com wrote: i came upon this error

[sphinx-dev] Re: Cover Image for epub

2011-11-08 Thread rolmei
Hi, since version 1.1 the epub builder has the option epub_cover. Please read the documentation for details. The html template uses the variables image and title to generate the cover page. If there are further questions, just ask. Hope this helps, Roland On 7 Nov., 18:55, Jan Ulrich Hasecke

[sphinx-dev] Re: Hiding header and footer in epub

2011-04-29 Thread rolmei
Hi, On 28 Apr., 10:17, Jan Ulrich Hasecke juhase...@googlemail.com wrote: I'm aware that I can make a custom theme. I did one before and it wasn't fun. ;-) For this case it might be not this difficult. You should edit the file _templates/layout.html. If it does not exist, just add the

[sphinx-dev] Re: Hiding header and footer in epub

2011-04-27 Thread rolmei
On 26 Apr., 18:54, Jan Ulrich Hasecke juhase...@googlemail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, is there any option to hide the header and footer in the epub output? I only need the plain text in the output. TIA juh Hi, you can remove the header and footer

[sphinx-dev] Re: Generated ePub with subsections crashes Nook reader?

2011-02-01 Thread rolmei
Hi, I could reproduce the crash on my reader. I think that the images are the problem. The original images are grayscale gifs, not color gifs. I replaced a few images by color images and the HTML pages had no problem. Unfortunately I did not find an easy command to convert greyscale gifs to color

[sphinx-dev] Re: EPUB Output improvements

2010-08-07 Thread rolmei
(say cover.jpg). 2) Add cover.jpg to the manifest and add the meta element that links to it. Examples are in the sub class I linked to above. Hi, I added the epub_cover feature in my fork of sphinx at http://bitbucket.org/rolmei/sphinx-epub. Please take a look at it and check if it fits your

[sphinx-dev] Re: EPUB Output improvements

2010-07-29 Thread rolmei
On 27 Jul., 17:01, Kovid kovidgo...@gmail.com wrote: It would be nice to have support for dc:date in the OPF metadata and a cover. Both of these are implemented in the EpubBuilder sub class here:   http://bazaar.launchpad.net/~kovid/calibre/trunk/annotate/head:/src/c... Unfortunately I don't

[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

[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

[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