Hi,guys, HTML help is not right for math formula: For example: I got the following formula in help page of ca.jo in urca package: <p align="center"><i><B>X</B>_t = <B>Pi</B>_1 <B>X</B>_{t-1} + ... + <B>Pi</B>_k <B>X</B>_{t-k} + <B>μ</B> + <B>Phi D</B>_t + <B>varepsilon</B>_t , quad (t = 1, ..., T),</i></p> <p> This presentation is just not good, however, in most browser, with tag <math></math>, the formula in the tag works well. such as in wikipedia. please check the same formula: http://en.wikipedia.org/wiki/Johansen_test Can someone please fix this? help(ca.jo,offline=TRUE), we can get the formula right. The problem seems to occur at the building process. Latex output is right, but the HTML output is not good for math formula. I guess this issue is not so difficult. -- with best regards Jack (Zhan, Hua Ping) +1-514-8800518
JAck, On Apr 14, 2009, at 22:50 , Jack (Zhan, Hua Ping) wrote:> Hi,guys, > > HTML help is not right for math formula: > For example: > I got the following formula in help page of ca.jo in urca package: > > <p align="center"><i><B>X</B>_t = <B>Pi</B>_1 <B>X</B>_{t-1} + ... + > <B>Pi</B>_k > <B>X</B>_{t-k} + <B>μ</B> + <B>Phi D</B>_t + <B>varepsilon</B>_t > , quad (t = 1, ..., T),</i></p> > <p> > > This presentation is just not good, however, in most browser, with > tag <math></math>, the formula in the tag works well.I don't see what you mean - just putting <math> tags around the above doesn't change rendering at all. Moreover <math> is not a valid tag in the HTML standard.> such as in wikipedia. please check the same formula: http://en.wikipedia.org/wiki/Johansen_test >Wikipedia uses bitmaps to represent those formulae, there are no HTML <math> tags involved there.> Can someone please fix this? > help(ca.jo,offline=TRUE), we can get the formula right. > > The problem seems to occur at the building process. Latex output is > right, but the HTML output is not good for math formula. > > I guess this issue is not so difficult. >Well, then fix it and send us the patch please ... Cheers, Simon
Hi Jack, I'm not sure about the <math> tag either, and it didn't work when I tried it. I think the approach this web page uses may help in writing mathematical symbols to HTML: http://comers.citadel.edu/math_sym2005.htm Cheers, Mike Jack (Zhan, Hua Ping) wrote:> > > HTML help is not right for math formula: > For example: > I got the following formula in help page of ca.jo in urca package: > > <p align="center">X_t = Pi_1 X_{t-1} + ... + Pi_k > X_{t-k} + μ + Phi D_t + varepsilon_t > , quad (t = 1, ..., T),</p> > <p> > > This presentation is just not good, however, in most browser, > with tag <math></math>, the formula in the tag works well. > such as in wikipedia. please check the same formula: > http://en.wikipedia.org/wiki/Johansen_test > > -- > with best regards > Jack (Zhan, Hua Ping) > +1-514-8800518 > >-- View this message in context: http://www.nabble.com/HTML-help-tp23054298p23063793.html Sent from the R devel mailing list archive at Nabble.com.
Reasonably Related Threads
- virsh hangs when backup jobs run on the kvm host
- why does sample(x, n) give the same n items in every separate runs?
- How to update partial attributes of a object from a form?
- [R-lme] Extract estimated variances from output of lme?
- Nginx/Mongrel Could not retrieve catalog from remote server: Error 403 on SERVER