comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Equations and URL links in idldoc
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Equations and URL links in idldoc [message #82298 is a reply to message #82152] Thu, 22 November 2012 07:25 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 11/22/12 4:54 AM, Mats L�fdahl wrote:
> Hi,
>
> Just starting to use idldoc. Very useful! I really like that I can use TeX equations in the documentation when I use the rst format.
>
> Two questions, though:
>
> Is it (or will it be) possible to get numbered displayed equations? $$...$$ doesn't make equation numbers. Neither does \begin{equation}...\end{equation}. At least not when I try them. I realize this is more work to implement because then you can't treat each equation separately anymore. So almost as good would be to implement \hfill (doesn't seem to be at the moment), because then I could do something like $$\hfill a=b+c \hfill (1)$$ and keep track of my own numbering. Or if I could specify that I want left flushed equations, so I could do something like $$(1)\ \ \ \ a=b+c$$
>
> Is there a way to specify a URL so idldoc makes a link? I tried <A href="http://foo.bar">Link text</A> but that was displayed verbatim.
>

It appears that numbered equations are available in MathJax 2.0:

http://docs.mathjax.org/en/latest/tex.html

I have a ticket for updating to MathJax 2.0 for the next release:

https://github.com/mgalloy/idldoc/issues/68

That said, I'm not sure how the numbering would be integrated into
IDLdoc since it is a option in the MathJax configuration file. If you
have thoughts, please add comments to the GitHub issue.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Equations and URL links in idldoc
Next Topic: cgplot and eps

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:35:05 PDT 2025

Total time taken to generate the page: 0.63908 seconds