[SciPy-Dev] documentation and sphinx

josef.pktd at gmail.com josef.pktd at gmail.com
Thu May 10 16:59:30 EDT 2012


On Thu, May 10, 2012 at 4:48 PM, Warren Weckesser
<warren.weckesser at enthought.com> wrote:
>
>
> On Thu, May 10, 2012 at 3:46 PM, Ralf Gommers <ralf.gommers at googlemail.com>
> wrote:
>>
>>
>>
>> On Thu, May 10, 2012 at 10:42 PM, nicky van foreest <vanforeest at gmail.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> I am happily changing some documentation for scipy stats, and in the
>>> process I am assuming that I can type latex commands just as I do in
>>> Sphinx. (I also built my home page in sphinx). AFAIK, shpinx makes
>>> pngs of the formulas, and I had to change some settings in my config
>>> file for sphinx to enable this  Can I rely on the shpinx version used
>>> for the numpy/scipy doc that formulas are converted to pngs, or do
>>> mathematical formulas end up very convoluted?
>>
>>
>> You can use LaTeX with the Sphinx .. math:: directive, but please do so
>> sparingly - preferably confine it to the Notes section.
>
>
>
> +1.  LaTeX makes beautiful PDF documents, but anything except the simplest
> notation looks terrible in a docstring.

But there is no restriction in the tutorial section

Josef

>
> Warren
>
>
>
>>
>> The reason for that is that many users read docstrings  in the terminal as
>> plain text, and LaTeX isn't known for being very readable.
>>
>> Ralf
>>
>>
>> _______________________________________________
>> SciPy-Dev mailing list
>> SciPy-Dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-dev
>>
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>



More information about the SciPy-Dev mailing list