;;
-let getterURL = Configuration.getter_url;;
-let processorURL = Configuration.processor_url;;
-
let mml_styles = [d_c ; c1 ; g ; c2 ; l];;
let mml_args ~explode_all =
("explodeall",(if explode_all then "true()" else "false()"))::
- ["processorURL", "'" ^ processorURL ^ "'" ;
- "getterURL", "'" ^ getterURL ^ "'" ;
+ ["processorURL", "'" ^ Helm_registry.get "uwobo.url" ^ "'" ;
+ "getterURL", "'" ^ Helm_registry.get "getter.url" ^ "'" ;
"draw_graphURL", "'http%3A//phd.cs.unibo.it%3A8083/'" ;
"uri_set_queueURL", "'http%3A//phd.cs.unibo.it%3A8084/'" ;
"UNICODEvsSYMBOL", "'symbol'" ;
;;
let sequent_styles = [d_c ; c1 ; g ; c2 ; l];;
-let sequent_args =
- ["processorURL", "'" ^ processorURL ^ "'" ;
- "getterURL", "'" ^ getterURL ^ "'" ;
+let sequent_args () =
+ ["processorURL", "'" ^ Helm_registry.get "uwobo.url" ^ "'" ;
+ "getterURL", "'" ^ Helm_registry.get "getter.url" ^ "'" ;
"draw_graphURL", "'http%3A//phd.cs.unibo.it%3A8083/'" ;
"uri_set_queueURL", "'http%3A//phd.cs.unibo.it%3A8084/'" ;
"UNICODEvsSYMBOL", "'symbol'" ;
;;
let apply_sequent_stylesheets sequent_doc =
- apply_stylesheets sequent_doc sequent_styles sequent_args
+ apply_stylesheets sequent_doc sequent_styles (sequent_args ())
;;
(** Utility functions to map objects to MathML Presentation **)
-(* Copyright (C) 2000, HELM Team.
+(* Copyright (C) 2000-2004, HELM Team.
*
* This file is part of HELM, an Hypertextual, Electronic
* Library of Mathematics, developed at the Computer Science
* MA 02111-1307, USA.
*
* For details, see the HELM World-Wide-Web page,
- * http://cs.unibo.it/helm/.
+ * http://helm.cs.unibo.it/
*)
(*CSC codice cut & paste da cicPp e xmlcommand *)
let dtdname ~ask_dtd_to_the_getter dtd =
if ask_dtd_to_the_getter then
- Configuration.getter_url ^ "getdtd?uri=" ^ dtd
+ Helm_registry.get "getter.url" ^ "getdtd?uri=" ^ dtd
else
"http://mowgli.cs.unibo.it/dtd/" ^ dtd
;;