[sphinx-dev] Multiple stylings of preformatted text

2010-04-08 Thread malthe
In my document I have two types of text blocks corresponding to user's text input and output. How do I tell Sphinx to assign a particular HTML-class to each of them (e.g. "input", "output") such that I may assign different colors in a CSS stylesheet? Any hints appreciated! \malthe -- You receiv

[sphinx-dev] gevent uses sphinx for its documentation

2010-04-08 Thread Denis Bilenko
Hi, Thanks for a great tool! gevent uses sphinx for its documentation: http://www.gevent.org Please add to the projects using sphinx. Regards, Denis. -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...

[sphinx-dev] Re: WARNING: toctree contains reference to nonexisting document

2010-04-08 Thread phil_stephens
Georg, thanks for taking a look at this, and forwarding to the author of numpydoc (offline for those following). I subsequently discovered a good discussion on this list here: http://groups.google.com/group/sphinx-dev/browse_thread/thread/300153957f2902f9?pli=1 On Apr 5, 5:36 am, Georg Brandl wr

[sphinx-dev] Documenting functions declared with lambda or returned from higher order functions

2010-04-08 Thread Michael Rule
Something like 80% of this library I am trying to document isn't declared with the traditional "def" syntax. I've figured out that Sphinx can produce reasonable documentation if I include a triple-quote string after the function declaration, but its not picking up arguments properly. Is there some

Re: [sphinx-dev] customsidebar

2010-04-08 Thread TP
On Thu, Apr 8, 2010 at 7:30 AM, Jan Ulrich Hasecke wrote: > I found > > """ > {%- if customsidebar %} > {% include customsidebar %} > {%- endif %} > > in layout.html > > How can I use it. I did not find customsidebar in the documentation. > > juh See http://sphinx.pocoo.org/config.html#confval-ht

Re: [sphinx-dev] Re: Including EPS/PDF with automatic PNG conversion for HTML

2010-04-08 Thread Roberto Alsina
On Thursday 08 April 2010 11:55:31 Alpha Zo wrote: > Hi Roberto, > > Any compelling reason to use rst2pdf over LaTeX? The rst2pdf version > of Sphinx manual found on the homepage looks much less attractive > (from a typographic standpoint) than its counterpart created with > LaTeX. If there are ad

[sphinx-dev] Re: Including EPS/PDF with automatic PNG conversion for HTML

2010-04-08 Thread Alpha Zo
Hi Roberto, Any compelling reason to use rst2pdf over LaTeX? The rst2pdf version of Sphinx manual found on the homepage looks much less attractive (from a typographic standpoint) than its counterpart created with LaTeX. If there are advantages I would be please to hear. On Apr 8, 4:49 pm, Robert

Re: [sphinx-dev] Re: Including EPS/PDF with automatic PNG conversion for HTML

2010-04-08 Thread Roberto Alsina
On Thursday 08 April 2010 11:37:18 Alpha Zo wrote: > COOL! It works now. By just replacing pos_market.pdf by pos_maket.* > and using your tip, the PNG has been automatically generated and > placed into the right _build\html\_images while Latex output uses the > original PDF figure. > > This is off

[sphinx-dev] Re: Including EPS/PDF with automatic PNG conversion for HTML

2010-04-08 Thread Alpha Zo
COOL! It works now. By just replacing pos_market.pdf by pos_maket.* and using your tip, the PNG has been automatically generated and placed into the right _build\html\_images while Latex output uses the original PDF figure. This is official now, I'm switching to Sphinx ;) and I've already started

[sphinx-dev] customsidebar

2010-04-08 Thread Jan Ulrich Hasecke
I found """ {%- if customsidebar %} {% include customsidebar %} {%- endif %} in layout.html How can I use it. I did not find customsidebar in the documentation. juh smime.p7s Description: S/MIME cryptographic signature

Re: [sphinx-dev] Re: Including EPS/PDF with automatic PNG conversion for HTML

2010-04-08 Thread Roberto Alsina
On Thursday 08 April 2010 11:08:04 Alpha Zo wrote: > Thanks for the tip. In fact I didn't realize that I could use the '.. > image' command to include a PDF for Latex output (EPS doesn't work but > this is LaTeX related). That itself makes Sphinx even more powerful > because I can now do things à l

[sphinx-dev] Re: Including EPS/PDF with automatic PNG conversion for HTML

2010-04-08 Thread Alpha Zo
Thanks for the tip. In fact I didn't realize that I could use the '.. image' command to include a PDF for Latex output (EPS doesn't work but this is LaTeX related). That itself makes Sphinx even more powerful because I can now do things à la LyX for including spreadsheets and diagrams. Coming back

Re: [sphinx-dev] Including EPS/PDF with automatic PNG conversion for HTML

2010-04-08 Thread Roberto Alsina
On Thursday 08 April 2010 09:34:42 Alpha Zo wrote: > There is a 2009 thread called "In what format should I maintain an > image". I have similar question. Can an EPS or PDF file be included in > a Sphinx document with PNG conversion for HTML output? If you have a EPS or PDF image it's trivial to a

[sphinx-dev] Including EPS/PDF with automatic PNG conversion for HTML

2010-04-08 Thread Alpha Zo
Hello, I just discovered Sphinx which I believe offers a great balance between convenience and quality. I've used LyX on several important projects but still have hard time to get other people to adopt it. I noticed in the documentation that sphinx.ext.pngmath enables the inclusion of mathematica

[sphinx-dev] Reference to a table

2010-04-08 Thread Jan Ulrich Hasecke
Can I set a reference to a table? The way it works for ..figure:: does not work for a table. juh smime.p7s Description: S/MIME cryptographic signature