On Wed, Nov 26, 2008 at 5:47 PM, Alan Bromborsky <[EMAIL PROTECTED]> wrote:
>
> Ondrej Certik wrote:
>> On Wed, Nov 26, 2008 at 3:10 AM, Alan Bromborsky <[EMAIL PROTECTED]> wrote:
>>
>>> Ondrej Certik wrote:
>>>
>>>> On Wed, Nov 26, 2008 at 12:59 AM, mabshoff
>>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>>> On Nov 25, 3:56 pm, "Ondrej Certik" <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>
>>>>>> On Wed, Nov 26, 2008 at 12:54 AM, Alan Bromborsky <[EMAIL PROTECTED]> 
>>>>>> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Ondrej Certik wrote:
>>>>>>>
>>>>>>>
>>>>>>>> Hi Alan!
>>>>>>>>
>>>>>>>> On Tue, Nov 25, 2008 at 9:49 PM, Alan Bromborsky <[EMAIL PROTECTED]> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>> I am documenting the new geometric algebra module and extended latex
>>>>>>>>> modules with the python-doc latex macros that come with the python
>>>>>>>>> distribution.  When I commit my changes should I include 
>>>>>>>>> postscript/pdf
>>>>>>>>> files generated from the latex files or just the latex files.  Note 
>>>>>>>>> that
>>>>>>>>> I found it to be non-trivial to put the python-doc latex macros in the
>>>>>>>>> latex path so I could compile my latex files.
>>>>>>>>>
>>>>>>>>>
>>>>>>>> I suggest you use Sphinx for the documentation. Feel free to provide
>>>>>>>> your own file in the doc/src directory. See the doc/README for info
>>>>>>>> how to compile it. You can use latex formulas in sphinx -- and the
>>>>>>>> advantage is that the result is a nice html, including all equations.
>>>>>>>> See for example here:
>>>>>>>>
>>>>>>>> http://docs.scipy.org/doc/scipy/reference/tutorial/
>>>>>>>>
>>>>>>>> how it looks like.
>>>>>>>>
>>>>>>>> Ondrej
>>>>>>>>
>>>>>>>>
>>>>>>> Do you know of any programs that would convert LaTeX to Sphinx?
>>>>>>>
>>>>>>>
>>>>>> I think you need to do it by hand. Maybe there is something, only I
>>>>>> just don't know about it.
>>>>>>
>>>>>>
>>>>> Mike Hansen is using some Haskell code to translate the Sage
>>>>> docstrings (which are written in LaTeX) into Sphinx, so that might
>>>>> help out to do 99% over the conversion. But I don't recall details, so
>>>>> someone should ping him in IRC.
>>>>>
>>>>>
>>>> Alan: it's #sage-devel on freenode.
>>>>
>>>> Michael --- we should use Python, not Haskell. :)
>>>>
>>>> Ondrej
>>>>
>>>>
>>>>
>>> The sphinx svn has a converter written in python.  I don't know how well
>>> it works but I will be finding out!
>>>
>>
>> Tell us how it went!
>>
>> Ondrej
>>
>> >
>>
>>
> It works, but not for equations.  I will look into extending convert.py
> to LaTeX equations but I need a link to how sphinx currently handles
> LaTeX math input (format of rst file).  Do you know where that
> documentation is?

Yes, here:

http://sphinx.pocoo.org/ext/math.html

Ondrej

Ondrej

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to