W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

"declarative" copy-and-paste operations?

From: Paul Libbrecht <paul@activemath.org>
Date: Tue, 13 May 2008 22:55:56 +0200
To: Web APIs WG <public-webapi@w3.org>
Message-Id: <0AA7ECC3-0D77-4431-9072-E92244F30427@activemath.org>
Hello WebAPIers,

as you probably noticed, MathML-3 has published a draft recently.

Among the novelties are a section which describes clipboard handling  
of MathML content. This is the section 7.2:

Basically, this section describes how a User-Agent should handle the  
"transfer" (copy, drag,...) of a MathML-expression whose root is the  
semantics element along with various "annotation" elements as  
children : each annotation describes an alternate representation of  
the core expression. UAs that copy such an expression should then  
copy the alternate representations as an extra transfer-flavour.
An example markup is below.

This allows simple markup to contain alternate data-flavours in case  
things get into the clip-board. These data-flavours may need be  
requested separately.

I think this offers a way to markup producers to have their users  
enjoy a rich copy facility, something that I would consider enough  
for many cases and might replace the clipboard operations  
specification in its goal... except for input.

For input, maybe there's a simple solution close to a list of flavour- 
names that a text-field could accept as pasted in?

what do you think?


      <annotation-xml encoding="MathML-Content">....</annotation-xml>
      <annotation href="../fRender?coord=1723;type=png"  
      <annotation href="../fRender?coord=1723;type=tex"  
      <annotation href="../fRender?coord=1723;type=maple"  

Received on Tuesday, 13 May 2008 20:56:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:26 UTC