prev | ( testsuite > General > Clipboard > clipboard2 ) | next

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | General/Clipboard/clipboard2
CVS-ID: | $Id: clipboard2-slideshow.xhtml,v 1.51 2012/02/14 14:51:07 polx Exp $
Author: | Paul Libbrecht, DFKI GmbH
Description: | Simple math expression; copying it should yield the flavours of generic MathML, of MathML-Presentation, as well as MathML Content, of plain text (with the MathML expression), TeX, and the flavour of a PNG image. (see predefined flavour names by platform) Use a clipboard introspector to proof it. We are told that ClipboardViewer in MacOSX developer tools' examples or ClipSpy on Windows can do this work. See also, for the java world, DropItTester.
Sample Rendering:
| Your browser's rendering: 1 x 1 x {1 \over x}

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <semantics>
        <mfrac><mn>1</mn><mi>x</mi></mfrac>
        <annotation-xml encoding="MathML-Content">
          <apply>
            <divide/>
            <cn>1</cn>
            <ci>x</ci>
          </apply>
        </annotation-xml>
        <annotation encoding="TeX">{1 \over x}</annotation>
        <annotation encoding="image/png" href="clipboard2.png"/>
      </semantics>
    </math>