This might be of help!
-------- Original-Nachricht --------
Betreff: Re: Re: How to include bibliography from BibTeX
Datum: Thu, 27 Sep 2012 10:33:37 -0500
Excellent, it now works fine !
For some reason, mac ports is not able to install the 1.1 sphinx
version because of a openjdk6 error, but installing it from the tar
ball worked like a charm.
On Tue, Sep 25, 2012 at 6:43 AM, sffjunkie <*...
On Thursday, 20 September 2012 19:38:55 UTC+1, Andrea wrote:
thanks guys, but I am experiencing a problem with the bibtex package at http://sphinxcontrib-bibtex.readthedocs.org/
What I get is:
acortis02-d:doc acortis$ make html
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.0.7
loading pickled environment... done
building [html]: targets for 0 source files that are out of date
updating environment: [extensions changed] 3 added, 0 changed, 0 removed
reading sources... [ 33%] index
"/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/site-packa ges/sphinxcontrib_bibtex-0.2.4-py2.7.egg/sphinxcontrib/bibtex/directives.py ",
line 103, in run
bibfile = os.path.normpath(env.relfn2path(bibfile.strip()))
AttributeError: BuildEnvironment instance has no attribute 'relfn2path'
The full traceback has been saved in
if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Either send bugs to the mailing list at<http://groups.google.com/group/sphinx-dev/> <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at<http://bitbucket.org/birkenfeld/sphinx/issues/> <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make: *** [html] Error 1
Can you help me start figuring out what is this error message?
It appears the function `relfn2path`, which is where it was failing, was
only added at version 1.1 of Sphinx. You will need to upgrade to the
version of Sphinx to get it to work