[sphinx-dev] Re: Status of rst2pdf and a timeout

2009-09-15 Thread Timmie
Could you try the sphinx-markup folder in rst2pdf's sources, and try using the kerning stylesheet? It needs the DejaVu fonts. I previously used it as stated in your manual: pdf_stylesheets = ['sphinx', 'kerning', 'a4'] When I comment out the 'kerning' I get a nice PDF with Helvetica fonts. On

[sphinx-dev] Re: long lines in code blocks

2009-09-15 Thread Roberto Alsina
On Tuesday 15 September 2009 09:22:45 elaine wrote: hi there -- i think what i have is a reST question and am hoping for a reST or sphinx solution: lines of regular text in reST wrap automatically. however, if i have a very long line in a code block, it does not wrap automatically (e.g.

[sphinx-dev] Re: Status of rst2pdf and a timeout

2009-09-15 Thread Roberto Alsina
On Tuesday 15 September 2009 06:04:32 Timmie wrote: Could you try the sphinx-markup folder in rst2pdf's sources, and try using the kerning stylesheet? It needs the DejaVu fonts. I previously used it as stated in your manual: pdf_stylesheets = ['sphinx', 'kerning', 'a4'] When I comment

[sphinx-dev] Re: long lines in code blocks

2009-09-15 Thread Elaine Angelino
ahh that is a good point! no quick fix in general... On Tue, Sep 15, 2009 at 8:27 AM, Roberto Alsina rals...@netmanagers.com.arwrote: On Tuesday 15 September 2009 09:22:45 elaine wrote: hi there -- i think what i have is a reST question and am hoping for a reST or sphinx solution:

[sphinx-dev] Possible new directive for Sphinx-Crunchy bridge

2009-09-15 Thread André
Hi everyone, Apologies in advance for the long message; I need to make sure all the relevant context is given. I've started the migration of the documentation for Crunchy (http:// code.google.com/p/crunchy) to make use of Sphinx. In the process, I plan to add some new directives and thought

[sphinx-dev] Re: long lines in code blocks

2009-09-15 Thread Elaine Angelino
wait -- for the html build, no parsing is necessary, it would just be a matter of soft-wrapping the lines of code instead of using a scroll bar for a code block. is this possible? (this obviously doesn't solve the problem for pdf latex) On Tue, Sep 15, 2009 at 8:41 AM, Elaine Angelino

[sphinx-dev] Re: long lines in code blocks

2009-09-15 Thread Roberto Alsina
On Tuesday 15 September 2009 10:06:49 Elaine Angelino wrote: wait -- for the html build, no parsing is necessary, it would just be a matter of soft-wrapping the lines of code instead of using a scroll bar for a code block. is this possible? It's just a matter of CSS. Probably you want to use

[sphinx-dev] Re: long lines in code blocks

2009-09-15 Thread Elaine Angelino
oh ok! i can modify the css. i was looking for a sphinx configuration or something but that makes more sense anyways, thanks a bunch On Tue, Sep 15, 2009 at 9:12 AM, Roberto Alsina rals...@netmanagers.com.arwrote: On Tuesday 15 September 2009 10:06:49 Elaine Angelino wrote: wait -- for the

[sphinx-dev] Re: long lines in code blocks

2009-09-15 Thread Firat Ozgul
Maybe you can do the wrapping via css. Just add these lines to pre tag. It works for me: white-space : pre-wrap; /*for Mozilla*/ word-wrap: break-word; /*for IE*/ 2009/9/15 Elaine Angelino elaine.angel...@gmail.com wait -- for the html build, no parsing is necessary, it would just be a

[sphinx-dev] Re: Possible new directive for Sphinx-Crunchy bridge

2009-09-15 Thread Max Battcher
André wrote: Does any one have suggestions as to what would be the best approach?Also, would there be interest in such an addition for Sphinx? (if so, I am not asking for others to write the code, I am volunteering to do it myself and contribute :-) My suggestion, and I'm mostly a