Re: MathML editing in BitFlux possible

Steven Chan <[email protected]> Mon, 17 May 2004 18:22:37 +0800
Newsgroups gmane.editors.bitflux.devel
Organization Written Authority
Message-ID <[email protected]>
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?

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
>>>
>>>
>>>
>>>
> 

-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev