Open Gabriel-p opened 9 years ago
These looks like two separate issues?
I know I had issues with readthedocs before not registering the appropriate extensions from the conf.py file.
The numbering issue I'm not sure about. Do you get any errors when you compile the HTML on your own machine?
I'm also using your numsec
extension and that one is working just fine (see for example: http://asteca.readthedocs.org/en/latest/center.html#precise-center-value, paragraph above Fig 3)
I get no issues when compiling on my system, here's an example output of make html
:
sphinx-build -b html -d _build/doctrees . _build/html
Running Sphinx v1.3b1
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 0 source files that are out of date
updating environment: [extensions changed] 14 added, 0 changed, 0 removed
reading sources... [100%] synth_clust
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] synth_clust
generating indices... genindex
writing additional pages... search
copying images... [100%] _static/center.png
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
(Issue brought over from https://github.com/sphinx-doc/sphinx/issues/1864)
I'm using the
numfig
extension from the https://github.com/jterrace/sphinxtr package to generate proper numbering when referencing figures.I reference figures using the code:
In my system the HTML compiles, but the numbers are off as seen in the image below:
When I push the code to my repo (https://github.com/asteca/asteca-docs) the PDF compiles properly with the images perfectly numbered (see https://media.readthedocs.org/pdf/asteca/latest/asteca.pdf) .
The HTML on the other hand fails with the following output (accesible here: https://readthedocs.org/builds/asteca/2620960/):