]> matita.cs.unibo.it Git - helm.git/commitdiff
helm-math-engine-configuration.xml autoconfigured
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 21 Dec 2000 15:21:09 +0000 (15:21 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 21 Dec 2000 15:21:09 +0000 (15:21 +0000)
helm/configuration/configure.in
helm/configuration/etc/helm-math-engine-configuration.xml.in [new file with mode: 0644]

index c96778800e097e67a14528e567c8368c93580d84..606ac54ddf90eaf3da26c66cce4bbec983861579 100644 (file)
@@ -14,8 +14,22 @@ fi
 
 HELM_LIB_DIR=$RESOLVED_EXEC_PREFIX/lib/helm
 HELM_ETC_DIR=$RESOLVED_PREFIX/etc/helm
+HELM_DICTIONARY_PATH=/projects/helm/V7/phd/local/etc/helm/helm-dictionary.xml
+GTKMATHVIEW_DICTIONARY_PATH=/projects/helm/local/share/gtkmathview/dictionary.xml
+HELM_FONT_CONFIGURATION_PATH=/projects/helm/V7/phd/local/etc/helm/helm-font-configuration.xml
+GTKMATHVIEW_FONT_CONFIGURATION_PATH=/projects/helm/local/share/gtkmathview/font-configuration.xml
+HELM_T1_CONFIG_FILE=/projects/helm/local/share/gtkmathview/t1.config
 
 AC_SUBST(HELM_LIB_DIR)
 AC_SUBST(HELM_ETC_DIR)
+AC_SUBST(HELM_DICTIONARY_PATH)
+AC_SUBST(GTKMATHVIEW_DICTIONARY_PATH)
+AC_SUBST(HELM_FONT_CONFIGURATION_PATH)
+AC_SUBST(GTKMATHVIEW_FONT_CONFIGURATION_PATH)
+AC_SUBST(HELM_T1_CONFIG_FILE)
 
-AC_OUTPUT([Makefile lib/configuration.pl])
+AC_OUTPUT(
+[Makefile
+ lib/configuration.pl
+ etc/helm-math-engine-configuration.xml
+])
diff --git a/helm/configuration/etc/helm-math-engine-configuration.xml.in b/helm/configuration/etc/helm-math-engine-configuration.xml.in
new file mode 100644 (file)
index 0000000..2ea57d2
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE math-engine-configuration SYSTEM "math-engine-configuration.dtd">
+<!--
+Copyright (C) 2000, Luca Padovani (luca.padovani@cs.unibo.it).
+
+This file is part of GtkMathView, a Gtk widget for MathML.
+
+GtkMathView is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+GtkMathView is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GtkMathView; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+
+For details, see the GtkMathView World-Wide-Web page,
+http://cs.unibo.it/~lpadovan/mml-widget, or send a mail to
+(luca.padovani@cs.unibo.it)
+-->
+
+<math-engine-configuration>
+  <dictionary-path>@HELM_DICTIONARY_PATH@</dictionary-path>
+  <dictionary-path>@GTKMATHVIEW_DICTIONARY_PATH@</dictionary-path>
+  <font-configuration-path>@HELM_FONT_CONFIGURATION_PATH@</font-configuration-path>
+  <font-configuration-path>@GTKMATHVIEW_FONT_CONFIGURATION_PATH@</font-configuration-path>
+  <t1-config-file>@HELM_T1_CONFIG_FILE@</t1-config-file>
+  <font-size     size="14pt"/>
+  <color         foreground="black" background="white"/>
+  <link-color    foreground="#32648b" background="white"/>
+  <select-color  foreground="black" background="#87cefa"/>
+</math-engine-configuration>