Hi Johan,
The ``latex_preamble`` has been deprecated - see here:
http://sphinx.pocoo.org/latest/config.html#confval-latex_preamble
As recommended in the docs, you should rather use a ``latex_elements``
dictionary.
For example, my documentation uses this idea in ``conf.py``
_PREAMBLE = r"""
\usepackage{amsmath}
"""
latex_elements = {
'preamble': _PREAMBLE,
# other settings go here
}
Please try that and see if it works better.
By the way, the sphinx.sty file imports "amsmath" already, so you can
leave that one out.
Kevin
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-dev" group.
> To post to this group, send email to sphin...@googlegroups.com.
> To unsubscribe from this group, send email to
> sphinx-dev+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sphinx-dev?hl=en.
>
Would you also know if it is possible to use latex in general, i.e. without ".. math::"?
Can I use pstricks to generate my graphics?
We write our documentation using Sphinx.
But some of us are abroad with no source control access and they would
like to edit the doc via their web browser.
So I wanted to transform the static Sphinx set of pages into a wiki.
Because it looked no so difficult I did it.
Now I wondered if some others had the same desire and if so what are
solutions they found.
Maybe could I reuse it and get something more sophisticated that what I
built (it is fairly basic).
If someone is interested to the small wsgi application I built I'll be
glad to share it.
And if you think it could be a valuable addition to Sphinx I'll be
delighted to give it to the project.
Yours,
Vivian.
Thanks for the pointer. I'll have a look.
Cheers,
Vivian.
On 17/3/2011 14:11, JohnKitchin07 wrote:
> (http://code.google.com/
> p/pydocweb/