From romain.francois at dbmail.com  Wed Apr 15 22:14:03 2009
From: romain.francois at dbmail.com (Romain Francois)
Date: Wed, 15 Apr 2009 22:14:03 +0200
Subject: [Rd] HTML help
In-Reply-To: <23063793.post@talk.nabble.com>
References: <16fd0fca0904141950j559170b7kfd0d57bb9e9d09cf@mail.gmail.com>
	<23063793.post@talk.nabble.com>
Message-ID: <49E6400B.5020501@dbmail.com>

Hi,

if the system that builds the html help page is latex capable, then it 
would not be too difficult to use the same trick wikipedia is using 
(generating a png file for each equation). Translating latex style 
markup into mathml is another game, see this: 
http://www1.chapman.edu/~jipsen/mathml/asciimath.html for example.

Romain

mnorton52 wrote:
> 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} + &mu; + 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
>>
>>     
-- 
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr



[Rd] HTML help
Romain Francois