On Dec 19, 12:38 pm, j brandon keith <[email protected]> wrote:
> hi, when i try matplotlib's fancy "embedded plot" extension:
>
> .. plot:: examples/GetDosFromMotion.py
>    :include-source:
>
> i get the following error:
>
>
> (ERROR/3) Unknown directive type "htmlonly".
>
> .. htmlonly::
>
... (snip)
> /home/jbk/workspace/kernelGenerator/docs/sphinx/tutorial.rst:160:
> (ERROR/3) Unknown directive type "latexonly".
>
> .. latexonly::
>    .. image:: /build/plot_directive/examples/GetDosFromMotion.pdf
>
> anyone know what this is?  I can compile *their* example just fine, so
> I know it's not my matplotlib extension...and I have practically the
> same conf.py as them....

I get this error when my conf.py extensions variable (a list) does not
contain the member 'matplotlib.sphinxext.only_directives'.

Anita

--

You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.


Reply via email to