On 2010-03-22, J Carlos Cardona wrote:
> On 22 mar, 15:23, Guenter Milde wrote:
>> On 2010-03-21, J Carlos Cardona wrote:
>> > chapter is not set correctly.
>> Can you post the LaTeX file?
> Of course, here there is:
> latex output
> % Generated by Sphinx.
> \documentclass[l
On 2010-03-28, Lennart Regebro wrote:
> On Wed, Mar 24, 2010 at 11:08, Guenter Milde wrote:
>> AFAIK, you must convert the code with 2to3. This is automatically done, if
>> you install with setuptools under Python 3.
> No, it's not automatically done. In fact, setuptools has no such
> support exc
On Wed, Mar 24, 2010 at 11:08, Guenter Milde wrote:
> AFAIK, you must convert the code with 2to3. This is automatically done, if
> you install with setuptools under Python 3.
No, it's not automatically done. In fact, setuptools has no such
support except the one in distutils.
There is easy suppo
On 2010-03-28, DasIch wrote:
> Sphinx itself does not run under 3.x, that doesn't mean you can't
> document 3.x code with it, though.
Did you try intalling it with py3k::
python3 setup.py build
python3 setup.py install
Günter
--
You received this message because you are subscribed to the G
I'm the author of the second one. If you're interested I can post a
link to the file, but you need to know that's more a proof-of-concept-
hacked-really-late-in-the-night so it use print everywhere, so you
need to redirect the output to a file. It's really ugly but it work.
It's base on pyjsdoc and
In order to turn off docutils HTML compact-list behavior (simulate
passing --no-compact-lists on the rst2html command line), I do the
following in sphinx/builders/__init__.py Builder.build(), right before
the environment is pickled:
if self.config.html_compact_lists:
self.env.settings[
By reading writers/latex.py, I found that the cause was referencing
relative HTML url like yade.wrapper.html#yade.wrapper.Sphere (there
were warning about unusable reference target which I overlooked).
I am at loss now as to what is the reference format that will work for
both HTML and LaTeX...
F
In the lastest trunk revision of Sphinx, when section numbers are turned on via:
.. toctree::
:numbered:
They look like
1. Section
1.1. Subsection
In my opinion this looks ugly. I'd rather have:
1 Section
1.1 Subsection
Here's some changes that allow you to specify a custom sec
Hi there,
I have custom :yref: role that creates hyperlink to given class
documentation (inserting docutils.nodes.reference node; for exact
definition, see
http://bazaar.launchpad.net/~eudoxos/%2Bjunk/ydoc/annotate/head%3A/conf.py#L25).
It renders fine in HTML, but in LaTeX, there are no hyperlin