"¶m.interfaceURL=" + escape(interfaceURL) +
"¶m.thinterfaceURL=" + escape(thinterfaceURL);
} else if (format == "mml_cont" && type == "cic") {
- keys = escape("d_c,C1");
+ keys = escape("d_c,C1")+
+ "&prop.doctype-public="+
+ "&prop.encoding=" +
+ "&prop.media-type=text/xml" +
+ "¶m.doctype-public=" +
+ "¶m.encoding=" +
+ "¶m.media-type=text/xml";
} else if (format == "mml_cont" && type == "theory") {
keys = escape("T1,L,E")+
"¶m.keys=" + escape("d_c,C1") +
keys = getTheoryKeys()+
"¶m.keys=" + getCICMathMLKeys() +
"¶m.thkeys=" + getTheoryKeys() +
- "¶m.embedkeys=" + escape(d_c,TC1,G,C2,L) +
+ "¶m.embedkeys=" + escape("d_c,TC1,G,C2,L") +
"¶m.processorURL=" + escape(processorURL) +
"¶m.getterURL=" + escape(getterURL) +
"¶m.draw_graphURL=" + escape(draw_graphURL) +
"¶m.thinterfaceURL=" + escape(thinterfaceURL);
}
- var naturalLanguage = typesflags;
+ var naturalLanguage = typesflags.toLowerCase();
if (typesflags != "NO" || type == "theory") {
naturalLanguage = mode_list[3];
}
- var annotations = cicflags;
+ var annotations = cicflags.toLowerCase();
if (cicflags != "NO" || type == "theory") {
annotations = mode_list[4];
}