[sphinx-dev] Re: Help for styling sphinx latex, using memoir and decorate lists

2011-02-01 Thread Guenter Milde
On 2011-01-25, cognacc wrote:

...

 Trying to use memoir gives me this error (offcourse!).
 ! LaTeX Error: Two \documentclass or \documentstyle commands.

You need to change the documentclass that is used by Sphinx to memoir.
in the projects config file.

 A latex knowlegdeable guy helped me make a list with a sidebar,
 but i don't knowhow to make use of if via sphinx. (make a directive).

 here is his code:
 

These lines should not be needed in your custom preamble (configure
Sphinx to use the document class and packages instead).

 \documentclass{memoir}
 \usepackage[T1]{fontenc}
 \usepackage[utf8]{inputenc}
 \usepackage[english]{babel}
 \usepackage{lmodern,lipsum}

 \usepackage{framed,xcolor} % needed for the new environments

Insert as custom preamble code from here on,

 \definecolor{linecolor}{rgb}{.64,.79,.62}

 \newenvironment{fancyenv}{%

...


You might also need to re-define some commands to use your custom versions.

All untested, but it might get you started...



Günter

-- 
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 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: 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 gifs with imagemagick or netpbm.

Regards,
  Roland

On 1 Feb., 01:58, Victor Hooi victorh...@gmail.com wrote:
 Hi,

 Also, I should add - Google Groups didn't seem to link my ePub attachment,
 or even a zipped copy of it - so I just zipped it, and renamed it PDF - just
 remove that extension, and unzip it, and you should get the original ePub.

 Cheers,
 Victor

-- 
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 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.