w3c / w3c/mathml

MathML-Next Ideas #2

Open
#80 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement MathML-Next
Dominant language
HTML
Stars
82
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Introduction

In addition to multiple containing elements for annotations (e.g. <presentation>, <semantics>, <metadata> and <other>), a kind attribute could be of use for distinguishing varieties of annotations.

Multiple Containing Elements

<math id="eq1">
  <presentation>
    <annotation-xml encoding="application/xhtml+xml">...</annotation-xml>
    <annotation-xml encoding="application/svg+xml">...</annotation-xml>
    <annotation encoding="image/png" src="data:..." />
    <annotation-xml encoding="application/mathml-presentation+xml">...</annotation-xml>
  </presentation>
  <semantics>
    <annotation-xml encoding="application/openmath+xml">...</annotation-xml>
    <annotation-xml encoding="application/mathml-content+xml">...</annotation-xml>
    <annotation-xml encoding="application/rdf+xml">...</annotation-xml>
  </semantics>
  <metadata>
    <annotation-xml encoding="application/rdf+xml">...</annotation-xml>
    <annotation encoding="application/json+ld">...</annotation>
  </metadata>
  <other rel="http://www.example.com/semantic-uri/">
    <annotation-xml encoding="...">...</annotation-xml>
  </other>
</math>

Single Containing Element

<math id="eq1">
  <annotations>
    <annotation-xml kind="presentation" encoding="application/xhtml+xml">...</annotation-xml>
    <annotation-xml kind="presentation" encoding="application/svg+xml">...</annotation-xml>
    <annotation kind="presentation" encoding="image/png" src="data:..." />
    <annotation-xml kind="presentation" encoding="application/mathml-presentation+xml">...</annotation-xml>
    <annotation-xml kind="semantics" encoding="application/openmath+xml">...</annotation-xml>
    <annotation-xml kind="semantics" encoding="application/mathml-content+xml">...</annotation-xml>
    <annotation-xml kind="semantics" encoding="application/rdf+xml">...</annotation-xml>
    <annotation-xml kind="metadata" encoding="application/rdf+xml">...</annotation-xml>
    <annotation kind="metadata" encoding="application/json+ld">...</annotation>
    <annotation-xml kind="other" rel="http://www.example.com/semantic-uri/" encoding="...">...</annotation-xml>
  </annotations>
</math>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation files or tests are identified. Compare the multiple-containing-element and single proposals, then resolve whether a kind attribute or new container should be specified. Done means the proposal has a decided MathML structure, syntax, and compatibility requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, xml
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.