You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- an ID based on the `<mtext>` label and the ID is in the `<math>` element
650
-
-`<mspace>` for spacing before the label
651
-
- label in `<mtext>`.
650
+
It is required that a labeled block equation has a `div` parent with the attributes
651
+
-`class="equation-wrapper"`
652
+
-`role="region"`
653
+
-`tabindex="0"`
654
+
-`aria-labelledby`, where referenced `id` is the `<mtext>`**label's**`id`.
655
+
-`id` that is based on the `<mtext>` label
652
656
653
-
**Note** that the element `<mlabeledtr>` is not allowed to use for labeling.
654
-
655
-
<divstyle="border: 1pxsolidblack">
657
+
These requirements also hold for the labeled block equation:
658
+
- the `<math>` element has the attribute `display="block"`
659
+
- the label of the equation is in the `<mtext>` element and the `<mtext>` element has an `id` that is based on the `<mtext>` content
660
+
-`<mspace>` for spacing between the equationa and the label
661
+
- label is in the `<mtext>`.
656
662
657
-
<spanstyle="background-color: yellow;">How to handle?</span>
658
-
- MathJax doesn't reflow. Should we use a div-wrapper (compare to EPUB 2024 guidelines' table-wrapper)
659
-
- Should we have standard spacing with `<mspace>`?
660
-
661
-
</div>
663
+
**Note** that the element `<mlabeledtr>` is not allowed to use for labeling.
662
664
663
665
When the equation is later referenced, use the ID of the `<math>` element to link back to the equation. Example markup of referencing the equation:
664
666
@@ -900,6 +902,8 @@ Example of the rendering and mark up of equation solving with commentary text:
900
902
901
903
### When to use images of mathematical content
902
904
905
+
**Open questions**: Is this optional for the ordering agencies? Which parts are optional? Shoud we just reference EPUB guidelines, or leave it ambigious?
906
+
903
907
There are cases when all of the mathematical content can't be captured with just MathML. Example of such notation in a study book that can't be replicated with just MathML:
904
908
905
909

@@ -918,14 +922,6 @@ Example markup:
918
922
919
923
Follow the Ordering agency's markup for image descriptions. The above is just an example.
920
924
921
-
<divstyle="border: 1pxsolidblack;">
922
-
923
-
<spanstyle="background-color: yellow;">How to handle?</span>
924
-
925
-
Is this optional for the ordering agencies? Which parts are optional? Shoud we just reference EPUB guidelines, or leave it ambigious?
926
-
927
-
</div>
928
-
929
925
930
926
### Chemistry {#chemistry-in-mathml}
931
927
<!-- I'm doing this ID thing wrong, aren't I? /Tim -->
0 commit comments