]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/matita.conf.xml.devel.in
- renamed ocaml/ to components/
[helm.git] / helm / software / matita / matita.conf.xml.devel.in
1 <?xml version="1.0" encoding="utf-8"?>
2 <helm_registry>
3   <section name="user">
4     <!-- User home directory. Here a ".matita" directory will be created
5     and used to store the part of the library developed by the user. -->
6     <key name="home">$(HOME)</key>
7     <!-- User name. It is used down in this configuration file.  If left
8     unspecified, name of the user executing matita will be used (as per
9     getent) -->
10     <!-- <key name="name">foo</key> -->
11   </section>
12   <section name="matita">
13     <!-- Debug only. Stay away. -->
14     <!-- <key name="auto_disambiguation">true</key> -->
15     <!-- Debug only. Stay away. -->
16     <!-- <key name="environment_trust">true</key> -->
17     <key name="basedir">$(user.home)/.matita</key>
18     <!-- Metadata owner. It will be used to create user-specific tables
19     in the SQL database. -->
20     <key name="owner">$(user.name)</key>
21     <!-- Initial GUI font size. -->
22     <!-- <key name="font_size">10</key> -->
23   </section>
24   <section name="db">
25     <!-- Access parameter to the (MySql) metadata database. They are not
26     needed if Matita is always run with -nodb, but this is _not_
27     recommended since a lot of features wont work.
28     Hint. The simplest way to create a database is:
29       0) # become an user with database administration privileges
30       1) mysqladmin create matita
31       2) echo "grant all privileges on matita.* to helm;" | mysql matita
32       Note that this way the database will be open to anyone, apply
33       stricter permissions if needed.
34     -->
35     <key name="host">@DBHOST@</key>
36     <key name="user">helm</key>
37     <key name="database">matita</key>
38   </section>
39   <section name="getter">
40     <!-- Cache dir for CIC XML documents downloaded from the net.
41     Beware that this dir may become really space-consuming. It wont be
42     used if all prefexises below are local (i.e. "file:///" URI scheme).
43     -->
44     <key name="cache_dir">$(user.home)/.matita/getter/cache</key>
45     <!-- "Prefixes", i.e.: mappings URI -> URL of the global library
46     Each prefix mapps an URI of the cic:/ namespace to an URL where the
47     documents can actually be accessed. URL can be in the "file://" or
48     "http://" scheme. Only "file://" scheme can be used to store
49     documents created by the user.
50     Each prefix may be given a list of attributes. Currently supported
51     attributes are:
52     - "legacy" for parts of the library not generated by Matita (e.g.
53       exported from Coq)
54     - "ro" for parts of the library which are not writable by the user
55       (e.g. the Matita standard library)
56     "legacy" implies "ro"
57     -->
58     <key name="prefix">
59       cic:/matita/
60       file://$(user.home)/.matita/xml/matita/
61     </key>
62     <key name="prefix">
63       cic:/
64       file:///projects/helm/library/coq_contribs/
65       legacy
66     </key>
67   </section>
68 </helm_registry>