Simply use sphinx.ext.imgmath instead of sphinx.ext.pngmath:

extensions = ['sphinx.ext.autodoc','rst2pdf.pdfbuilder', 'sphinx.ext.imgmath'],


On Mon, Oct 22, 2018 at 5:10 AM Petro Key <[email protected]> wrote:

> Hi,
>
>
> Thank you always for your help.
>
>
> I am trying to embed equations in pdf on Sphinx.
>
> As an extension I have added as follows:
>
> extensions = ['sphinx.ext.autodoc','rst2pdf.pdfbuilder', 
> 'sphinx.ext.pngmath'],
>
>
> but the following error occurred.
>
>
> ----------------------------------------------------------------------------------------
>
> WARNING: sphinx.ext.pngmath has been deprecated. Please use 
> sphinx.ext.imgmath instead.
>
> Extension error:
> sphinx.ext.pngmath: other math package is already loaded
>
> ----------------------------------------------------------------------------------------
>
>
> How can I solve this issue?
>
>
> Thank you in advance:)
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Aaron Carlisle

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to