]> matita.cs.unibo.it Git - helm.git/blob - matita/matita.conf.xml.in
7d81977b64ab8d80a7e269c8f929c8833cc5f629
[helm.git] / matita / matita.conf.xml.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">$(USER)</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     <!-- Where support files are installed -->
19     <key name="rt_base_dir">@RT_BASE_DIR@</key>
20     <!-- Metadata owner. It will be used to create user-specific tables
21     in the SQL database. -->
22     <key name="owner">$(user.name)</key>
23     <!-- Initial GUI font size. -->
24     <!-- <key name="font_size">10</key> -->
25   </section>
26   <section name="db">
27     <!-- Access parameter to the (MySql) metadata database. They are not
28     needed if Matita is always run with -nodb, but this is _not_
29     recommended since a lot of features wont work.
30     Hint. The simplest way to create a database is:
31       0) # become an user with database administration privileges
32       1) mysqladmin create matita
33       2) echo "grant all privileges on matita.* to helm;" | mysql matita
34       Note that this way the database will be open to anyone, apply
35       stricter permissions if needed.
36     -->
37     <key name="host">@DBHOST@</key>
38     <key name="user">helm</key>
39     <key name="database">matita</key>
40   </section>
41   <section name="getter">
42     <!-- Cache dir for CIC XML documents downloaded from the net.
43     Beware that this dir may become really space-consuming. It wont be
44     used if all prefexises below are local (i.e. "file:///" URI scheme).
45     -->
46     <key name="cache_dir">$(user.home)/.matita/getter/cache</key>
47     <!-- "Prefixes", i.e.: mappings URI -> URL of the global library
48     Each prefix mapps an URI of the cic:/ namespace to an URL where the
49     documents can actually be accessed. URL can be in the "file://" or
50     "http://" scheme. Only "file://" scheme can be used to store
51     documents created by the user.
52     Each prefix may be given a list of attributes. Currently supported
53     attributes are:
54     - "legacy" for parts of the library not generated by Matita (e.g.
55       exported from Coq)
56     - "ro" for parts of the library which are not writable by the user
57       (e.g. the Matita standard library)
58     "legacy" implies "ro"
59     -->
60     <key name="prefix">
61       cic:/matita/
62       file://$(matita.rt_base_dir)/xml/standard-library/
63       ro
64     </key>
65     <key name="prefix">
66       cic:/matita/
67       file://$(user.home)/.matita/xml/matita/
68     </key>
69     <key name="prefix">
70       cic:/
71       file://@RT_BASE_DIR@/xml/legacy-library/coq/
72       legacy
73     </key>
74     <key name="prefix">
75       cic:/
76       file:///projects/helm/library/coq_contribs/
77       legacy
78     </key>
79   </section>
80 </helm_registry>