X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=helm%2Fon-line%2Fjavascript%2Fcontrol.js;h=6734d4a133f5e6fc9ab60961b87fae73995bfc3a;hb=10434de696a721d9ea1b4eddc4169d601ee671e5;hp=7dc83d7f24d6c76aa665c25c9ad4126a67d79886;hpb=46b441cfa0f4a2c2076450a32452796db7ac8c7c;p=helm.git diff --git a/helm/on-line/javascript/control.js b/helm/on-line/javascript/control.js index 7dc83d7f2..6734d4a13 100644 --- a/helm/on-line/javascript/control.js +++ b/helm/on-line/javascript/control.js @@ -208,7 +208,13 @@ function makeURL(type,uri,cicflags,typesflags) "¶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") + @@ -244,7 +250,7 @@ function makeURL(type,uri,cicflags,typesflags) 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) + @@ -258,11 +264,11 @@ function makeURL(type,uri,cicflags,typesflags) "¶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]; }