From c7b45126d54b5013d287a82b8c0ccca591ce7cb1 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Wed, 12 Jul 2006 13:58:29 +0000 Subject: [PATCH] More commands documented. --- matita/help/C/matita.xml | 2 +- matita/help/C/sec_commands.xml | 56 ++++++++++++++++++++---------- matita/help/C/sec_terms.xml | 6 ++-- matita/help/C/sec_usernotation.xml | 3 ++ 4 files changed, 44 insertions(+), 23 deletions(-) diff --git a/matita/help/C/matita.xml b/matita/help/C/matita.xml index 8a9aee15e..c8dbadeb3 100644 --- a/matita/help/C/matita.xml +++ b/matita/help/C/matita.xml @@ -46,7 +46,7 @@ proof-step"> tactic"> LCF-tactical"> - string"> + qstring"> interpretation"> ]> diff --git a/matita/help/C/sec_commands.xml b/matita/help/C/sec_commands.xml index 0c8fdb455..7141d0ddf 100644 --- a/matita/help/C/sec_commands.xml +++ b/matita/help/C/sec_commands.xml @@ -13,9 +13,9 @@ Synopsis: alias - [id "&string;" = "&string;" - | symbol "&string;" [(instance &nat;)] = "&string;" - | num [(instance &nat;)] = "&string;" + [id &qstring; = &qstring; + | symbol &qstring; [(instance &nat;)] = &qstring; + | num [(instance &nat;)] = &qstring; ] @@ -60,8 +60,7 @@ Synopsis: - check &term; - + check &term; @@ -83,8 +82,7 @@ Synopsis: - coercion &uri; - + coercion &uri; @@ -159,41 +157,52 @@ include - + include "s" Synopsis: - include - + include &qstring; Action: - &TODO; + Every coercion, + notation and + interpretation that was active + when the file s was compiled last time + is made active. The same happens for declarations of + default definitions and + theorems and disambiguation + hints (aliases). + On the contrary, theorem and definitions declared in a file can be + immediately used without including it. + The file s is automatically compiled + if it is not compiled yet and if it is handled by a + development. + - include' + include' "s" Synopsis: - include' - + include' &qstring; Action: - &TODO; + Not documented (&TODO;), do not use it. @@ -201,20 +210,29 @@ set - + set "baseuri" "s" Synopsis: - set - + set &qstring; &qstring; Action: - &TODO; + Sets to s the baseuri of all the + theorems and definitions stated in the current file. + The baseuri should be a/b/c/foo + if the file is named foo and it is in + the subtree a/b/c of the current + development. + This requirement is not enforced, but it could be in the future. + + Currently, baseuri is the only + property that can be set even if the parser accepts + arbitrary property names. diff --git a/matita/help/C/sec_terms.xml b/matita/help/C/sec_terms.xml index a44131ebd..4b7eca3a2 100644 --- a/matita/help/C/sec_terms.xml +++ b/matita/help/C/sec_terms.xml @@ -27,13 +27,13 @@ Lexical conventions - string + qstring - &string; + &qstring; ::= - 〈〈any sequence of characters excluded "〉〉 + "〈〈any sequence of characters excluded "〉〉" diff --git a/matita/help/C/sec_usernotation.xml b/matita/help/C/sec_usernotation.xml index 5956cf51c..147edc084 100644 --- a/matita/help/C/sec_usernotation.xml +++ b/matita/help/C/sec_usernotation.xml @@ -7,6 +7,9 @@ &TODO; + + notation: &TODO; + interpretation: &TODO; -- 2.39.2