Re: MathML editing in BitFlux possible

Christian Stocker <[email protected]> Mon, 17 May 2004 13:27:12 +0200
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>

On 17.5.2004 12:47 Uhr, Steven Chan wrote:

> Hi chregu
> 
> Here is the screen shot. Maybe I will install a newer version of Mozilla 
>  or FireFox.


mmh, yes, that looks quite differently in my browser ;)

chregu
> 
> Thanks
> 
> Steven
> 
> Christian Stocker wrote:
> 
>>
>>
>> On 17.5.2004 12:22 Uhr, Steven Chan wrote:
>>
>>> Thanks so much chregu,
>>>
>>> Just a few questions. In the example, why does the MathML not render 
>>> as nice equations (like the example)? I'm using Mozilla 1.5 on Win2K. 
>>> Is it supposed to be like that and is that a limitation of Mozilla?
>>
>>
>>
>> It does render quite nicely on my Mozilla 1.6 on Mac OSX. How does it 
>> look like on your machine? Can you send me a screenshot?
>>
>> chregu
>>
>>>
>>> Once again, thanks so much for your help. I will play around with 
>>> BitFlux.
>>>
>>> Steven
>>>
>>> Christian Stocker wrote:
>>>
>>>> Hi
>>>>
>>>> I did some quick tests with MathML. And it would be technically 
>>>> possible, but the Mozilla MathML Parser is quite picky... If I 
>>>> delete for example a number in a tag, i immediatly get "invalid 
>>>> markup" error and can't edit that node anymore (except in source mode).
>>>>
>>>> Furthermore, it's not that easy to edit MathML with BXE, since it 
>>>> has quite a complex and deep XML Structure and you don't have 
>>>> currently any shortcuts in BXE for easy MathML editing.
>>>>
>>>> Nevertheless I put my testings online at 
>>>> http://cvsdemo.bitfluxeditor.org/examples/MathML
>>>> (it's in Subversion as well, if you want to hack on that)
>>>>
>>>> The relaxng schema was generated with Trang from the example i took 
>>>> (http://cvsdemo.bitfluxeditor.org/examples/MathML/inline.xml)
>>>>
>>>> Concerning your other questions:
>>>>
>>>>>
>>>>> I think docbook has some MathML for RelaxNG. I think it is a 
>>>>> docbook module.
>>>>>
>>>>> I've been looking at many different Online WYSIWY editors and I'm 
>>>>> trying to find out the difference between them and BitFlux. I am 
>>>>> just curious, but does BitFlux use the Rich-Text Editing features 
>>>>> of Mozilla? 
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> nope
>>>>
>>>>> Or does it use something else totally different? I figure that 
>>>>> since you need caret browsing, it is probably uses a different 
>>>>> architecture than most WYSIWYG editors.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> yes, we use mozile as underlying library, which directly 
>>>> communicates with the DOM of Mozilla. Therefore every keystroke and 
>>>> every action is handled by Mozile resp. BXE itself.
>>>>
>>>> Have fun and if you have any further questions, just ask
>>>>
>>>> chregu
>>>>
>>>>>
>>>>> Anyway, lets say there was a RelaxNG schema for MathML. Would it be 
>>>>> very hard to modify BitFlux to incorporate that? I'm just a PHP 
>>>>> programmer myself and know only enough javascript to get confirm 
>>>>> dialog boxes to appear.
>>>>>
>>>>> Please forgive me if I appear very ignorant.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Steven
>>>>>
>>>>> Christian Stocker wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On 16.5.2004 12:27 Uhr, [email protected] wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm am wondering whether it could be possible to do WYSIWYG 
>>>>>>> editing of
>>>>>>> MathML with BitFlux or any other WYSIWYG browser based editor.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> AFAIK, Mozilla does understand MathML, right? So therefore it 
>>>>>> would be theoretically possible, although never tried it.
>>>>>>
>>>>>> One problem would be, that BXE would try to translate MathML 
>>>>>> Elements to some HTML and this should be prevented in this case 
>>>>>> (as we do with Elements in the XHTML Namespace itself).
>>>>>>
>>>>>> Is there any MathML Relax NG somewhere? Then we could try to do that
>>>>>>
>>>>>> chregu
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Steven
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>
> 
> ------------------------------------------------------------------------
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB
-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev