Amaya user interface Manuale delle Istruzioni Pagina 47

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 108
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 46
If the target is an expression in a formula, you must first turn the expression into a target. Select the
expression and choose Create target from the Links menu to create an id attribute for the target
expression.
14.3. More about MathML
14.3.1. Browsers compatibility
Several browsers support MathML:
Internet Explorer with the MathPlayer plugin
Firefox and other Gecko-based browsers
Opera since version 9.5
It is necessary to use the .xml suffix to be sure that XHTML documents are managed as XML. Without
this suffix some browsers do not display correctly documents that include mathematical expressions. It is
also recommended to use the utf-8 charset for all XML documents.
By default Amaya adds the XHTML 1.1 plus MathML 2.0 doctype at the beginning of the document.
This doctype is not mandatory but it is useful:
to validate the document,
to generate alphanumerical entities (like ∫) for mathematical symbols in the source code.
Otherwise mathematical symbols are coded like any other unicode character.
Unfortunately, this doctype is not supported by many browsers. So it could be necessary to remove this
doctype with the Amaya command: Tools/Change doctype/Remove the doctype.
IE uses the pmathml.xsl transformation style sheet and a plugin to display the MathML code included
in XHTML documents. Amaya adds automatically a link to that transformation style sheet, but the author
must store a copy of this style sheet (pmathml.xsl) in the local directory of the document.
14.3.2. Known issues
Amaya implements only the Presentation part of MathML 2.0, not the Content Markup part.
A few Presentation tags are not entirely available: mglyph, maction
All presentation elements and attributes are available, but only the following attributes are
rendered on the screen: display, alttext, mathvariant, mathsize, mathcolor,
mathbackground, fontsize, fontweight, fontstyle, fontfamily, color,
linethickness, numalign, denomalign, bevelled, notation, lquote, rquote,
lspace, rspace, largeop, movablelimits, subscriptshift, superscriptshift,
form, width (mspace only), height (mspace only), depth (mspace only), align,
rowalign, columnalign, frame, framespacing, displaystyle, side, rowspan,
columnspan, rowspacing, columnspacing, rowlines, columnlines.
The class, id, and style attributes are available, with the same semantics as in (X)HTML:
you can associate CSS styles with MathML elements (class and style attributes) and a
MathML element can be the target of a link (id attribute).
Amaya uses the STIX fonts to render mathematical symbols, but currently not all symbols are
supported.
14. Editing mathematics
47
Vedere la pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 107 108

Commenti su questo manuale

Nessun commento