Modules pour le navigateur Firefox
  • Extensions
  • ThĂšmes
    • pour Firefox
    • Dictionnaires et paquetages linguistiques
    • Sites pour les autres navigateurs
    • Modules pour Android
Connexion
Aperçu de MathML-ctop

MathML-ctop par Frédéric Wang, David carlisle

Converter from content MathML to presentation MathML

0 (0 reviews)0 (0 reviews)
27 utilisateurs·trices27 utilisateurs·trices
Vous avez besoin de Firefox pour utiliser cette extension
TĂ©lĂ©charger Firefox et obtenir l’extension
Télécharger le fichier

MĂ©tadonnĂ©es de l’extension

Captures d’écran
Left: content MathML source and Gecko's rendering ; Right: converted presentation MathML and Gecko's rendering
À propos de cette extension
The MathML Recommendation offers two flavors of markup: presentation MathML which describes the visual rendering of mathematical formulas and content MathML which encodes their meaning. While Gecko has supported the presentation flavor for a long time, the content flavor has not been implemented so far. David Carlisle, from the Math WG, has written an XSLT stylesheet to convert content MathML to presentation MathML. This add-on allows to render content MathML by applying this stylesheet to each <math> fragment on a page.

Compatibility: Gecko 10 or greater. The add-on may also work on older versions.

Licenses: The add-on code is licensed under MPL 2.0.

https://github.com/fred-wang/Mathzilla/tree/master/mathml-ctop
http://code.google.com/p/web-xslt/source/browse/trunk/ctop/ctop.xsl</math>
Commentaires du développeur
When enabled, this add-on will attach a nsIWebProgressListener to each browser window in order to track the state changes for its tabs. Each time a nsDOMContentLoaded event is raised, a function is executed to convert from content to presentation MathML. This latter flavor can then be rendered natively by Gecko.

If no <math> elements are present on the page, the conversion function will return immediately. Otherwise, an instance of nsIXSLTProcessor initilialized with David's ctop.xsl stylesheet is used to perform the conversion from content to presentation MathML. Note that the stylesheet is not applied to the whole HTML document but to each <math> element individually.

Be aware about these listeners and function calls on each page if performance is important for your browsing experience. The add-on uses only one single nsIXSLTProcessor object, initialized the first time it is necessary and kept during all the life time of the add-on. This is to avoid to create and destroy the object (which requires loading the XSLT stylesheet in a DOM tree) each time a conversion is necessary.</math></math>
Noté 0 par 1 personne
Connectez-vous pour noter cette extension
Il n’y a aucune note pour l’instant

Le nombre d’étoiles est enregistrĂ©

5
0
4
0
3
0
2
0
1
0
Aucune critique pour l’instant
Autorisations et donnéesEn savoir plus

Autorisations nécessaires :

  • AccĂ©der Ă  vos donnĂ©es pour tous les sites web
Plus d’informations
Version
2.1resigned1
Taille
24,6 Ko
DerniĂšre mise Ă  jour
il y a un an (25 avr. 2024)
Catégories associées
  • Autre
Licence
Mozilla Public License 2.0
Historique des versions
  • Voir toutes les versions
Ajouter Ă  la collection
Signaler ce module
Soutenir ces développeurs

Les développeurs de cette extension demandent que vous les aidiez à assurer la poursuite du développement en leur versant une petite contribution.

Contribuer

Plus de modules créés par ces développeurs
  • Il n’y a aucune note pour l’instant

  • Il n’y a aucune note pour l’instant

  • Il n’y a aucune note pour l’instant

  • Il n’y a aucune note pour l’instant

  • Il n’y a aucune note pour l’instant

  • Il n’y a aucune note pour l’instant

Aller à la page d’accueil de Mozilla

Modules complémentaires

  • À propos
  • Blog des modules complĂ©mentaires Firefox
  • Atelier sur les extensions
  • PĂŽle dĂ©veloppeur
  • Politiques Ă  destination des dĂ©veloppeurs
  • Blog de la communautĂ©
  • Forum
  • Signaler un problĂšme
  • Guide de revue

Navigateurs

  • Desktop
  • Mobile
  • Enterprise

Produits

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • ConfidentialitĂ©
  • Cookies
  • Mentions lĂ©gales

Sauf mention contraire, le contenu de ce site est disponible sous licence Creative Commons Attribution Share-Alike v3.0 ou toute version supérieure.