[sphinx-dev] alternating background table color row

2011-08-02 Thread Michael P. Soulier
Hi, I want to style my html and latex output such that each table header has a particular background color, and each row alternates between two colors. This is built-in in rst2pdf, but beyond hacking the output I'm not sure how to do this in Sphinx. Is this possible? Thanks, mps -- You

Re: [sphinx-dev] alternating background table color row

2011-08-02 Thread Michael P. Soulier
On 02/08/11 Michael P. Soulier said: Hi, I want to style my html and latex output such that each table header has a particular background color, and each row alternates between two colors. This is built-in in rst2pdf, but beyond hacking the output I'm not sure how to do this in Sphinx

Re: [sphinx-dev] alternating background table color row

2011-08-02 Thread Michael P. Soulier
And this patch does it with hardcoded header, and row colors, with a custom text color in the header. msoulier@anton:...es/sphinx/writers$ diff -u latex.py.orig latex.py --- latex.py.orig 2011-08-02 08:38:24.0 -0400 +++ latex.py2011-08-02 08:56:21.0 -0400 @@ -48,6 +48,11 @@

Re: [sphinx-dev] Re: unimpressed with latex output

2010-12-17 Thread Michael P. Soulier
/usecases.rst with Docutils' rst2latex.py results in a compilable LaTeX file but this might not be what you need... Sounds like Sphinx needs to catch up to docutils then. Thanks, Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes

Re: [sphinx-dev] Re: unimpressed with latex output

2010-12-17 Thread Michael P. Soulier
On 17/12/10 Michael P. Soulier said: It looks like you cannot use itemize in tabulary - check the tabulary documentation. But rst permits it, so it's a bug that sphinx is generating this output. I removed anything nested in my tables, embedded block quotes were broke the document too

Re: [sphinx-dev] Re: unimpressed with latex output

2010-12-17 Thread Michael P. Soulier
reportlab instead of LaTeX for the task. I am but I would like to see sphinx stable and ready for prime-time. Obviously it is not, today. rst2pdf is also not officially part of the sphinx project, is it? Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger

Re: [sphinx-dev] Re: unimpressed with latex output

2010-12-17 Thread Michael P. Soulier
typically work on my own. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein signature.asc Description: Digital signature

Re: [sphinx-dev] Re: unimpressed with latex output

2010-12-15 Thread Michael P. Soulier
On 10/12/10 Michael P. Soulier said: And I've found it. See the files attached to this issue. http://bitbucket.org/birkenfeld/sphinx/issue/565/pdflatex-fails-to-process-latex-output In trying to debug this issue myself I've been quite surprised when I remove some apparently troublesome latex

Re: [sphinx-dev] Re: unimpressed with latex output

2010-12-10 Thread Michael P. Soulier
On 07/12/10 Michael P. Soulier said: A latex log alone is usually not enought to find the problem. Could you provide a minimal working example? (i.e. the smallest possible document that shows this error as both, rst source and latex source) Then we can experiment with it and try

Re: [sphinx-dev] Re: Forewords / Preface

2010-12-09 Thread Michael P. Soulier
://rst2a.com/ Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein signature.asc Description: Digital signature

Re: [sphinx-dev] Re: Forewords / Preface

2010-12-09 Thread Michael P. Soulier
On 09/12/10 Lennart Regebro said: No, just css and tex classes there. Good resource though! http://code.google.com/p/rst2pdf/source/browse/#svn/trunk/rst2pdf/styles I don't see one called book. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things

Re: [sphinx-dev] Referencing a file outside of the document root

2010-12-08 Thread Michael P. Soulier
On 06/12/10 Reinout van Rees said: Hi, In my project, I've got a doc/ subdirectory with the index.txt and the rest of the documentation, so something like this: myproject/ myproject/README.txt myproject/setup.py myproject/doc/ myproject/doc/index.txt myproject/doc/conf.py What I

Re: [sphinx-dev] Re: Forewords / Preface

2010-12-08 Thread Michael P. Soulier
. I'll try to help with that as I've seen many failures to process the latex output. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert

Re: [sphinx-dev] Re: Forewords / Preface

2010-12-08 Thread Michael P. Soulier
On 08/12/10 Lennart Regebro said: Well, for that we'd need a rst builder in Sphinx, as Sphinx has several custom commands rst2pdf doesn't understand. :-) You mean like this? extensions = ['rst2pdf.pdfbuilder'] Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can

[sphinx-dev] unimpressed with latex output

2010-12-06 Thread Michael P. Soulier
. ... l.382 \end{tabulary} ! == Fatal error occurred, the output PDF file is not finished! Is anyone supporting the latex output? I'd love to work with someone to fix this. Cheers, Mike -- Michael P

[sphinx-dev] custom style sheet to rst2pdf

2010-11-18 Thread Michael P. Soulier
it? Thanks, Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein signature.asc Description: Digital signature

Re: [sphinx-dev] custom style sheet to rst2pdf

2010-11-18 Thread Michael P. Soulier
On 18/11/10 Michael P. Soulier said: Now, if I want to pass a custom stylesheet to rst2pdf like this, how would I do it? Ah, I found it. Sorry. http://rst2pdf.googlecode.com/svn/trunk/doc/manual.txt Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things

Re: [sphinx-dev] custom style sheet to rst2pdf

2010-11-18 Thread Michael P. Soulier
On 18/11/10 Roberto Alsina said: Add it in conf.py like this: pdf_stylesheets = ['sphinx','kerning','a4'] Is there a good reference for all possible stylesheet options? I'm trying to match our corporate look and feel so I can ditch MS Word. Mike -- Michael P. Soulier msoul

Re: [sphinx-dev] captions

2010-11-14 Thread Michael P. Soulier
On 10/11/10 Michael P. Soulier said: On 10/11/10 Michael P. Soulier said: My figure captions seem to be confusing latex. The issue seems to be that it's in a longtable context. \begin{longtable}{|l|l|l|} \capstart\caption{Protocols and Ports used by MBG} \\ \hline \endfirsthead

[sphinx-dev] Re: [rst2pdf] Done fixes for sphinx 1.0.x

2010-11-10 Thread Michael P. Soulier
On Sun, Oct 3, 2010 at 10:28 PM, Michael P. Soulier msoul...@digitaltorque.ca wrote: On 03/10/10 Roberto Alsina said: Thanks to the generosity of a rst2pdf/sphinx user, I have been sponsored to fix several problems related to rst2pdf and sphinx 1.0.x My doc still doesn't build. So I ran

[sphinx-dev] captions

2010-11-10 Thread Michael P. Soulier
and Ports used by MBG} \\ I'm confused as to why sphinx is producing latex that is confusing latex. Help appreciated. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move

Re: [sphinx-dev] captions

2010-11-10 Thread Michael P. Soulier
On 10/11/10 Michael P. Soulier said: My figure captions seem to be confusing latex. The issue seems to be that it's in a longtable context. \begin{longtable}{|l|l|l|} \capstart\caption{Protocols and Ports used by MBG} \\ \hline \endfirsthead \multicolumn{3}{c}% {{\bfseries \tablename

[sphinx-dev] Re: [rst2pdf] Done fixes for sphinx 1.0.x

2010-10-03 Thread Michael P. Soulier
On 03/10/10 Roberto Alsina said: It needs testing, but it should work better than before. If there is enough confirmation that it works better, I will make a release ASAP. I'll take a look, thanks. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things

[sphinx-dev] Re: [rst2pdf] Done fixes for sphinx 1.0.x

2010-10-03 Thread Michael P. Soulier
. It's truly amusing that sphinx thinks that the build succeeded. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein signature.asc

Re: [sphinx-dev] rst2pdf and 1.0.3 Sphinx issues, was - Finally got around to upgrade to 1.x

2010-09-14 Thread Michael P. Soulier
will work, but you will get no module index. When do you plan to align with the latest sphinx? I'll try to keep using sphinx 0.6.5 until then. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot

Re: [sphinx-dev] Sphinx 1.0 final released

2010-07-24 Thread Michael P. Soulier
changed in 1.0 to break this? Thanks, Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein signature.asc Description: Digital

Re: [sphinx-dev] Re: latex fails to build on 1.0b2

2010-07-02 Thread Michael P. Soulier
On 02/07/10 Georg Brandl said: I'll try stripping my doc down to bare essentials to repro it, but I'll have to do that later. That would be very helpful. I stripped out almost everything. This triggers the bug. Administrative Capabilities === The Really Cool

[sphinx-dev] Re: latex fails to build on 1.0b2

2010-06-29 Thread Michael P. Soulier
On 29/06/10 msoulier said: Should I run an older version? Apparently so. I forced an install of 0.6.7 and it works fine. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage

Re: [sphinx-dev] Re: latex fails to build on 1.0b2

2010-06-29 Thread Michael P. Soulier
On 29/06/10 DasIch said: 1.0b2 is a beta version and a lot has changed so bugs are to be expected. It would be nice if you could provide the document to reproduce the error, this way we can fix it. I'll try stripping my doc down to bare essentials to repro it, but I'll have to do that later.