Enable MathML support for DITA 1.2

MathML is disabled by default in DITA 1.2. If you need MathML, you can enable it.

  1. Check out and open CompanyDitabase.dtd.
  2. Scroll to the MathML Integration within the DOMAIN ENTITY DECLARATIONS section.
  3. Uncomment both entities as shown:
    <!ENTITY % mathml-d-dec 
      PUBLIC "-//IXIA//ENTITIES DITA 1.3 MathML Domain//EN" 
             "../../org.oasis-open.dita.mathml.doctypes/dtd/mathmlDomain.ent"
    >%mathml-d-dec;
    
    <!ENTITY % equation-d-dec 
      PUBLIC "-//IXIA//ENTITIES DITA 1.3 Equation Domain//EN" 
             "../../org.oasis-open.dita.mathml.doctypes/dtd/equationDomain.ent"
    >%equation-d-dec;
  4. In the DOMAIN EXTENSIONS section, notice the MathML Integration section, whose contents are commented out.
  5. From that section, copy the foreign and p entities into the DOMAIN EXTENSIONS list, below the note entity:
    <!ENTITY % note         "note | 
                             %hazard-d-note;
                            ">
    <!ENTITY % foreign      "foreign | 
                             %mathml-d-foreign;
                            ">
    <!ENTITY % p            "p | 
                             %equation-d-p;
                            ">
  6. From the commented out section, copy the %equation-d-ph; entity into the existing ph entity in the DOMAIN EXTENSIONS list:
    <!ENTITY % ph   "ph | 
                             %hi-d-ph; | 
                             %pr-d-ph; | 
                             %sw-d-ph; | 
                             %ui-d-ph; |
    			               %equation-d-ph;
                            ">
    Note: Be sure to add a | after %ui-d-ph;.
  7. From the commented out section, copy the %equation-d-fig; entity into the existing fig entity in the DOMAIN EXTENSIONS list:
    <!ENTITY % fig          "fig | 
                             %pr-d-fig; | 
                             %ut-d-fig; |
    						 %equation-d-fig;
                            ">
    Note: Be sure to add a | after %ut-d-fig;.
  8. Scroll forward to the DOMAINS ATTRIBUTE OVERRIDE section.
  9. Add the &mathml-d-att; and &equation-d-att; domains as shown:
    <!ENTITY included-domains 
                              "&concept-att;
                               &glossentry-att;
                               &glossgroup-att;
                               &reference-att;
                               &task-att;
                               &hi-d-att;
                               &ut-d-att;
                               &indexing-d-att;
                               &hazard-d-att;
                               &abbrev-d-att;
                               &pr-d-att;
                               &sw-d-att;
                               &ui-d-att;
                               &taskbody-constraints;
                               &localization-loc-d-att;
    						       &mathml-d-att;
                               &equation-d-att;
    
      "
    >
  10. Scroll forward to the MathML Integration section within the DOMAIN ELEMENT INTEGRATION section.
  11. Uncomment both entities as shown:
    <!ENTITY % mathml-d-def 
      PUBLIC "-//IXIA//ELEMENTS DITA 1.3 MathML Domain//EN" 
             "../../org.oasis-open.dita.mathml.doctypes/dtd/mathmlDomain.mod"
    >%mathml-d-def;
    
    <!ENTITY % equation-d-def 
      PUBLIC "-//IXIA//ELEMENTS DITA 1.3 Equation Domain//EN" 
             "../../org.oasis-open.dita.mathml.doctypes/dtd/equationDomain.mod"
    >%equation-d-def;
    
  12. Save, close, and check in CompanyDitabase.dtd.