From: Claudio Sacerdoti Coen Date: Tue, 18 Mar 2003 16:24:59 +0000 (+0000) Subject: NEW: manual added and linked to the interface. X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b0a32c3d617eb1c22e09d5c41e3cc03ff779a9f8;p=helm.git NEW: manual added and linked to the interface. --- diff --git a/helm/searchEngine/html/almost_blank.html b/helm/searchEngine/html/almost_blank.html index d5eef2518..05204a549 100644 --- a/helm/searchEngine/html/almost_blank.html +++ b/helm/searchEngine/html/almost_blank.html @@ -1,5 +1,5 @@ -Are you lost? Consult the on-line manual +Are you lost? Consult the on-line manual diff --git a/helm/searchEngine/html/manual/alias.jpg b/helm/searchEngine/html/manual/alias.jpg new file mode 100644 index 000000000..0f57638e2 Binary files /dev/null and b/helm/searchEngine/html/manual/alias.jpg differ diff --git a/helm/searchEngine/html/manual/ex1.jpg b/helm/searchEngine/html/manual/ex1.jpg new file mode 100644 index 000000000..8e75c08e2 Binary files /dev/null and b/helm/searchEngine/html/manual/ex1.jpg differ diff --git a/helm/searchEngine/html/manual/frames.jpg b/helm/searchEngine/html/manual/frames.jpg new file mode 100644 index 000000000..994b7ae5e Binary files /dev/null and b/helm/searchEngine/html/manual/frames.jpg differ diff --git a/helm/searchEngine/html/manual/index.html b/helm/searchEngine/html/manual/index.html new file mode 100644 index 000000000..0ffaa971d --- /dev/null +++ b/helm/searchEngine/html/manual/index.html @@ -0,0 +1,39 @@ + + +Search Engine Interface Online Manual + + +

Index

+1. Roles of the frames
+2. How to compose a low-level query
+3. How to compose a pre-defined query
+

1. Roles of the frames

+

+The interface is composed by five frames, as you can see below.

+

+Each frame has its own role, in particular:

+

+

2. How to compose a low-level query

+

+In order to compose a low-level query, you must click the "compose a query" button in the main page. Here's what you'll get:

+Being "set" the main production of MathQL, at the beginning frame 1 is empty and frame 2 contains the menu for "set". You should choose one option by clicking on its radio button and then press "compose". The interface will perform a syntax check of what you entered and should something be wrong a message will appear, otherwise the query will be updated. Afterwards, the query will appear in frame 1 and in frame 3, and frame 2 will display the menu of the first production found in the new query string. For example, in the picture below you see the interface after the selection of the 10th production inserting "positions" as the requested identifier. As you can see, frame 2 now displays the "val" menu.

+

+Now your options include following the instructions in frame 2, choosing a different production by clicking on a link in frame 1, or manually modifying the query by writing the changes in the textarea in frame 3 and then clicking "apply changes". Obviously "undo" and "redo" buttons will allow you to recover from mistakes; just DON'T use "back","forward" and "refresh" buttons on your browser since they will cause unpredictable errors. Once the query is completed, the "submit the query" button will display the results in frame 2.

+

3. How to compose a pre-defined query

+

+There are actually three pre-defined queries, Locate Object, Search Pattern and Match Conclusion. By clicking on "submit a pre-defined query" in the main page, a small menu with the three options will appear in frame 2.
+Locate Object is very simple, you must enter the name of the object to search in the text box and click "display results".
+Search Pattern, which takes a CIC term and finds theorems which have it as thesis, and Match Conclusion which takes a CIC term and finds theorems which have it as conclusion, have an identical interface, being the only difference in the output. +First thing to do is to insert a list of aliases (you may skip this step since the search engine will ask you later about ambiguous interpretations of your query if you don't know objects names, for example), then you must compose the CIC term. Composing a CIC term is pretty much the same thing as composing a MathQL query, except that the term is usually so short that there is no need for links, undo buttons and the like. While composing the term, you may modify your list of aliases (i.e. add or remove them) anytime by clicking "edit" in the frame 3. When the query is completed, the "submit" button will display the results in frame 2, and the server will ask you to solve ambiguities, thus adding aliases to your list. Once a result is displayed, you may want to submit a different query but keep your aliases; in this case, just click "new expression" in frame 3. The "edit" button will work even in this phase.

+

+

+ + + \ No newline at end of file diff --git a/helm/searchEngine/html/start.html b/helm/searchEngine/html/start.html index 57e85c7e7..c5a6ef702 100644 --- a/helm/searchEngine/html/start.html +++ b/helm/searchEngine/html/start.html @@ -4,7 +4,7 @@ -Are you lost? Consult the on-line manual +Are you lost? Consult the on-line manual