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
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
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 @@
/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
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
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
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
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
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
://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
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
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
. 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
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
.
...
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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.
29 matches
Mail list logo