[sphinx-dev] sphinx.ext.graphviz with SVG output instead of PNG?

2009-11-11 Thread Jason S
Is there a way to configure sphinx's graphviz extension so it renders in SVG rather than PNG? The PNG renderer does an awful job with text, it depeditates (look it up) the letters. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[sphinx-dev] sphinx-latex-pdf build on windows: assumes presence of cp and rm

2009-11-11 Thread Jason S
just an FYI to add to documentation on building PDF files from sphinx reST files, the latex makefile uses cp and rm so windows users need to obtain those binaries (e.g. from http://unxutils.sourceforge.net/ ) It would be perhaps better to use $(CP) and $(RM), and then have sphinx-build

[sphinx-dev] Re: sphinx.ext.graphviz with SVG output instead of PNG?

2009-12-04 Thread Jason S
On Nov 30, 12:16 am, Henrique Bastos henri...@bastos.net wrote: I've modified sphinx.ext.graphviz to support SVG. It's explained on this blog post:http://henriquebastos.net/2009/11/30/adding-svg-support-to-sphinxs-gr... hey, that seems to work nicely. Thanks! A few comments; some of the blog

[sphinx-dev] example for tweaking HTML styles?

2009-12-08 Thread Jason S
I looked at the HTML theming support page (http://sphinx.pocoo.org/ theming.html) and am confused... does anyone have a couple of simple examples of how to use this? I'm very familiar with CSS + want to tweak the fonts / font sizes slightly in Sphinx HTML output, but don't know how to do this in

[sphinx-dev] Re: How do I set tab size in code snippets?

2009-12-08 Thread Jason S
On Nov 8, 10:11 am, Georg Brandl ge...@python.org wrote: You can do something like this in your conf.py: def setup(app):     from sphinx.highlighting import lexers     from pygments.lexers.compiled import JavaLexer     lexers['java'] = JavaLexer(tabsize=4) and how do you do this in

[sphinx-dev] Re: How do I set tab size in code snippets?

2009-12-09 Thread Jason S
On Dec 8, 6:32 pm, Guenter Milde mi...@users.berlios.de wrote: and how do you do this in general, or for included files with a specific extension? (like '.blam' for instance) In Docutils you can do this general for source and included files with the tab-width config

[sphinx-dev] Re: How do I set tab size in code snippets?

2009-12-09 Thread Jason S
Never mind, I figured something out. In my source .rst file, I changed .. literalinclude:: tennis.espdf to .. include:: tennis.espdf :literal: :tab-width: 3 Is literalinclude a sphinx convenience directive? Because it's not mentioned in

[sphinx-dev] Re: example for tweaking HTML styles?

2009-12-09 Thread Jason S
On Dec 8, 10:49 am, TJG tjgol...@gmail.com wrote: In your _static directory create, eg, my.css which starts with @import default.css; and which then adds or overrides as needed. Then in your conf.py add or update: html_style = 'winsys.css' you mean my.css not winsys.css... but that

[sphinx-dev] Re: example for tweaking HTML styles?

2009-12-09 Thread Jason S
On Dec 9, 12:24 pm, TJG tjgol...@gmail.com wrote: HTML builds... so if you change the .css file it doesn't recognize that things have changed to force a rebuild. I know; I've just got a rebuild.cmd which I hit. My doc sets aren't big enough for this to be a problem. YMMV, of course.

[sphinx-dev] Re: example for tweaking HTML styles?

2009-12-09 Thread Jason S
On Dec 9, 2:55 pm, Tim Golden tjgol...@gmail.com wrote: rebuild.cmd build.py -a -b html . .\_build pause /rebuild.cmd Oh, in other worse you are using the -a argument to force writing all output files. That works, I only have a handful of source files. I didn't know about that one. Thanks!

[sphinx-dev] Re: how to get HTML files to print properly?

2009-12-14 Thread Jason S
On Dec 14, 10:45 am, Jason S jmsa...@gmail.com wrote: Let me rephrase my question slightly. What is it about the APSW docs that causes the table of contents to disappear during printing? OK, I asked this question elsewhere and it looks like default.css @imports basic.css, which has these lines

[sphinx-dev] table formatting help

2010-08-04 Thread Jason S
Could someone please post an example of table formatting for regular sphinx+restructuredText, as well as rst2pdf? I really need to have some control over the column widths. Also it would be helpful to control the justification, background color, and the borders. But restructuredText tables

[sphinx-dev] tables with column alignment specified?

2011-12-09 Thread Jason S
How do I make a table in Sphinx and control the alignment of each column, so that when I view it in HTML they're not all left-justified? -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit