Disable MathML support for DITA 1.3
MathML is enabled by default in DITA 1.3. If you do not need MathML, you can disable it.
- Check out and open CompanyDitabase.dtd.
- Scroll to the MathML Integration within the DOMAIN ENTITY DECLARATIONS section.
-
Comment out both entities as shown:
<!--<!ENTITY % mathml-d-dec PUBLIC "-//OASIS//ENTITIES DITA 1.3 MathML Domain//EN" "../../org.oasis-open.dita.v1_3/dtd/technicalContent/dtd/mathmlDomain.ent" >%mathml-d-dec; <!ENTITY % equation-d-dec PUBLIC "-//OASIS//ENTITIES DITA 1.3 Equation Domain//EN" "../../org.oasis-open.dita.v1_3/dtd/technicalContent/dtd/equationDomain.ent" >%equation-d-dec;-->
-
In the DOMAIN EXTENSIONS section, delete the MathML-related extensions as
follows:
<!ENTITY % ph "ph | %hi-d-ph; | %pr-d-ph; | %sw-d-ph; | %ui-d-ph; | %equation-d-ph; "> <!ENTITY % fig "fig | %pr-d-fig; | %ut-d-fig; | %equation-d-fig; ">
<!ENTITY % foreign "foreign | %mathml-d-foreign; | %svg-d-foreign; "> <!ENTITY % div "div | %equation-d-div; ">
Note: In the ph and fig entities, be sure to delete the last | as well. - Scroll forward to the DOMAINS ATTRIBUTE OVERRIDE section.
-
Delete the
&mathml-d-att;
and&equation-d-att;
domains as shown:<!ENTITY included-domains "&concept-att; &reference-att; &task-att; &glossentry-att; ... &localization-loc-d-att; &mathml-d-att; &equation-d-att; " >
- Scroll forward to the MathML Integration section within the DOMAIN ELEMENT INTEGRATION section.
-
Comment out both entities as shown:
<!--<!ENTITY % equation-d-def PUBLIC "-//OASIS//ELEMENTS DITA 1.3 Equation Domain//EN" "../../org.oasis-open.dita.v1_3/dtd/technicalContent/dtd/equationDomain.mod" >%equation-d-def; <!ENTITY % mathml-d-def PUBLIC "-//OASIS//ELEMENTS DITA 1.3 MathML Domain//EN" "../../org.oasis-open.dita.v1_3/dtd/technicalContent/dtd/mathmlDomain.mod" >%mathml-d-def;-->
- Save, close, and check in CompanyDitabase.dtd.