]> matita.cs.unibo.it Git - helm.git/commitdiff
added generation of quick reference card of tactic syntax
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 13 Jun 2006 14:18:33 +0000 (14:18 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 13 Jun 2006 14:18:33 +0000 (14:18 +0000)
helm/software/matita/help/C/Makefile
helm/software/matita/help/C/matita-fo.xsl [deleted file]
helm/software/matita/help/C/matita-tex.xsl [deleted file]
helm/software/matita/help/C/matita-xhtml.xsl [deleted file]
helm/software/matita/help/C/matita.xml
helm/software/matita/help/C/sec_tactics.xml
helm/software/matita/help/C/tactic_quickref.xml [new file with mode: 0644]
helm/software/matita/help/C/xsl/matita-fo.xsl [new file with mode: 0644]
helm/software/matita/help/C/xsl/matita-tex.xsl [new file with mode: 0644]
helm/software/matita/help/C/xsl/matita-xhtml.xsl [new file with mode: 0644]
helm/software/matita/help/C/xsl/tactic_quickref.xsl [new file with mode: 0644]

index dab6f2b4cf1d6b7e75da774a1b0a3b9e274afdb0..2a4287678cf2c97371d29e6a59d48d738e481519 100644 (file)
@@ -2,9 +2,9 @@
 include ../../../Makefile.defs
 
 XSLTPROC=xsltproc
-XHTML_XSL=matita-xhtml.xsl
-FO_XSL=matita-fo.xsl
-TEX_XSL=matita-tex.xsl
+XHTML_XSL=xsl/matita-xhtml.xsl
+FO_XSL=xsl/matita-fo.xsl
+TEX_XSL=xsl/matita-tex.xsl
 TEX_UNICODE_PATH=$(SRCROOT)/share/texmf/unicode
 TEX_ENV=TEXINPUTS=.:$(TEX_UNICODE_PATH):$(TEX_UNICODE_PATH)/data:
 MAIN=matita.xml
@@ -12,7 +12,11 @@ DEPS := $(wildcard *.xml)
 
 DESTDIR = /usr/local/share/doc/matita/
 
-all: html txt
+all: quickref
+
+quickref: tactic_quickref.xml
+tactic_quickref.xml: xsl/tactic_quickref.xsl sec_tactics.xml
+       $(XSLTPROC) $< matita.xml > tactic_quickref.xml
 
 # one of: "fop", "pdflatex"
 PDF_METHOD=pdflatex
diff --git a/helm/software/matita/help/C/matita-fo.xsl b/helm/software/matita/help/C/matita-fo.xsl
deleted file mode 100644 (file)
index 3e564b4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
-  <xsl:output method="xml" encoding="utf-8" indent="yes"/>
-</xsl:stylesheet>
diff --git a/helm/software/matita/help/C/matita-tex.xsl b/helm/software/matita/help/C/matita-tex.xsl
deleted file mode 100644 (file)
index 5f51e7c..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:import href="http://db2latex.sourceforge.net/xsl/docbook.xsl"/>
-  <xsl:output method="text" encoding="utf-8" indent="yes"/>
-
-  <xsl:param name="admon.graphics.path">/usr/share/xml/docbook/stylesheet/db2latex/latex/figures</xsl:param>
-
-  <xsl:param name="latex.inputenc">utf8x</xsl:param>
-  <xsl:param name="latex.book.preamble.post">\usepackage{txfonts}
-\SetUnicodeOption{mathletters} % prefer math-mode letters
-</xsl:param>
-  <xsl:param name="ulink.show">0</xsl:param>
-
-  <!-- proper alignment of tables used for grammars -->
-
-  <xsl:template match="tgroup[../@role='grammar']">
-    <xsl:text>\begin{tabular}{rcll}
-</xsl:text>
-    <xsl:apply-templates />
-    <xsl:text>\end{tabular}
-</xsl:text>
-  </xsl:template>
-
-  <xsl:template match="variablelist/title">
-    <xsl:text>\paragraph*{</xsl:text>
-    <xsl:apply-templates />
-    <xsl:text>} </xsl:text>
-  </xsl:template>
-
-</xsl:stylesheet>
diff --git a/helm/software/matita/help/C/matita-xhtml.xsl b/helm/software/matita/help/C/matita-xhtml.xsl
deleted file mode 100644 (file)
index 099c390..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
-  <xsl:output method="xml" encoding="utf-8" indent="yes"/>
-
-  <xsl:param name="use.id.as.filename" select="1" />
-  <xsl:param name="html.stylesheet">docbook.css</xsl:param>
-  <xsl:param name="table.borders.with.css" select="1" />
-  <!--
-  <xsl:param name="header.rule" select="0" />
-  <xsl:param name="footer.rule" select="0" />
-  -->
-
-  <!-- more quiet output of author information -->
-
-  <xsl:template match="authorgroup" mode="titlepage.mode">
-    <ul class="authorgroup">
-      <xsl:apply-templates mode="matita.manual.mode" />
-    </ul>
-  </xsl:template>
-  <xsl:template match="author" mode="matita.manual.mode">
-    <li class="author">
-      <xsl:value-of select="firstname" />
-      <xsl:text> </xsl:text>
-      <xsl:value-of select="surname" />
-      <xsl:text> &lt;</xsl:text>
-      <xsl:element name="a">
-       <xsl:attribute name="href">
-         <xsl:text>mailto:</xsl:text>
-         <xsl:value-of select="affiliation/address/email" />
-       </xsl:attribute>
-       <xsl:value-of select="affiliation/address/email" />
-      </xsl:element>
-      <xsl:text>&gt;</xsl:text>
-    </li>
-  </xsl:template>
-
-  <!-- only print the latest revision instead of all of them -->
-  <!-- XXX ZACK: right now it just assumes that only one revision does exist -->
-
-  <xsl:template match="revhistory" mode="titlepage.mode">
-    <div class="revhistory">
-      <xsl:apply-templates mode="matita.manual.mode" />
-    </div>
-  </xsl:template>
-  <xsl:template match="revision" mode="matita.manual.mode">
-    <span class="revision">
-      <xsl:text>Revision: </xsl:text>
-      <span class="revnumber">
-       <xsl:value-of select="revnumber" />
-      </span>
-      <xsl:text>, </xsl:text>
-      <span class="date">
-       <xsl:value-of select="date" />
-      </span>
-    </span>
-  </xsl:template>
-
-  <!-- Matita logo on the top left corner -->
-
-  <xsl:template name="user.header.navigation">
-    <a href="../../">
-      <div class="matita_logo">
-       <img src="../../images/matita-tiny.png" alt="Tiny Matita logo" />
-       <span>Matita Home</span>
-      </div>
-    </a>
-  </xsl:template>
-
-</xsl:stylesheet>
-
index 96e5aa44a2047568a626bef9d23a54044bc7b409..647ebb966491f127c5c4fe2f80611fea047f52d7 100644 (file)
@@ -13,6 +13,8 @@
   <!ENTITY othercommands SYSTEM "sec_commands.xml">
   <!ENTITY usernotation SYSTEM "sec_usernotation.xml">
 
+  <!ENTITY tacticref SYSTEM "tactic_quickref.xml">
+
   <!ENTITY manrevision "1&alpha;">
   <!ENTITY date "10/06/2006">
   <!ENTITY app "<application>Matita</application>">
index cc0043724f57c33fa32f0e7bec60dfff326c8098..2e1f6f36565e8a32f32c921e63badaf964e26a36 100644 (file)
@@ -1,14 +1,27 @@
 
 <!-- ============ Tactics ====================== -->
 <chapter id="sec_tactics">
- <title>Tactics</title>
+  <title>Tactics</title>
+
+  <sect1 id="tactics_quickref">
+    <title>Quick reference card</title>
+    <para>
+      &tacticref;
+    </para>
+  </sect1>
 
   <sect1 id="tac_absurd">
-    <title><emphasis role="bold">absurd</emphasis> &sterm;</title>
+    <title>absurd</title>
     <titleabbrev>absurd</titleabbrev>
     <para><userinput>absurd P</userinput></para>
      <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">absurd</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
      </para>
   </sect1>
   <sect1 id="tac_apply">
-    <title><emphasis role="bold">apply</emphasis> &sterm;</title>
+    <title>apply</title>
     <titleabbrev>apply</titleabbrev>
     <para><userinput>apply t</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">apply</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_assumption">
-    <title><emphasis role="bold">assumption</emphasis></title>
+    <title>assumption</title>
     <titleabbrev>assumption</titleabbrev>
     <para><userinput>assumption </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">assumption</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_auto">
-    <title><emphasis role="bold">auto</emphasis> [<emphasis role="bold">depth=</emphasis>&nat;] [<emphasis role="bold">width=</emphasis>&nat;] [<emphasis role="bold">paramodulation</emphasis>] [<emphasis role="bold">full</emphasis>]</title>
+    <title>auto</title>
     <titleabbrev>auto</titleabbrev>
     <para><userinput>auto depth=d width=w paramodulation full</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">auto</emphasis> [<emphasis role="bold">depth=</emphasis>&nat;] [<emphasis role="bold">width=</emphasis>&nat;] [<emphasis role="bold">paramodulation</emphasis>] [<emphasis role="bold">full</emphasis>]</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_clear">
-    <title><emphasis role="bold">clear</emphasis> &id;</title>
+    <title>clear</title>
     <titleabbrev>clear</titleabbrev>
     <para><userinput>clear H</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">clear</emphasis> &id;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_clearbody">
-    <title><emphasis role="bold">clearbody</emphasis> &id;</title>
+    <title>clearbody</title>
     <titleabbrev>clearbody</titleabbrev>
     <para><userinput>clearbody H</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">clearbody</emphasis> &id;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_change">
-    <title><emphasis role="bold">change</emphasis> &pattern; <emphasis role="bold">with</emphasis> &sterm;</title>
+    <title>change</title>
     <titleabbrev>change</titleabbrev>
     <para><userinput>change patt with t</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">change</emphasis> &pattern; <emphasis role="bold">with</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_constructor">
-    <title><emphasis role="bold">constructor</emphasis> &nat;</title>
+    <title>constructor</title>
     <titleabbrev>constructor</titleabbrev>
     <para><userinput>constructor n</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">constructor</emphasis> &nat;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_contradiction">
-    <title><emphasis role="bold">contradiction</emphasis></title>
+    <title>contradiction</title>
     <titleabbrev>contradiction</titleabbrev>
     <para><userinput>contradiction </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">contradiction</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_cut">
-    <title><emphasis role="bold">cut</emphasis> &sterm; [<emphasis role="bold">as</emphasis> &id;]</title>
+    <title>cut</title>
     <titleabbrev>cut</titleabbrev>
     <para><userinput>cut P as H</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">cut</emphasis> &sterm; [<emphasis role="bold">as</emphasis> &id;]</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_decompose">
-    <title><emphasis role="bold">decompose</emphasis> &id; [&id;]… &intros-spec;</title>
+    <title>decompose</title>
     <titleabbrev>decompose</titleabbrev>
     <para><userinput>
      decompose (T<subscript>1</subscript> ... T<subscript>n</subscript>) H hips
     </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">decompose</emphasis> &id; [&id;]… &intros-spec;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_demodulation">
-    <title><emphasis role="bold">demodulation</emphasis> &pattern;</title>
+    <title>demodulation</title>
     <titleabbrev>demodulation</titleabbrev>
     <para><userinput>demodulation patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">demodulation</emphasis> &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
     </para>
   </sect1>
   <sect1 id="tac_discriminate">
-    <title><emphasis role="bold">discriminate</emphasis> &sterm;</title>
+    <title>discriminate</title>
     <titleabbrev>discriminate</titleabbrev>
     <para><userinput>discriminate p</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">discriminate</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -409,11 +494,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_elim">
-    <title><emphasis role="bold">elim</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] &intros-spec;</title>
+    <title>elim</title>
     <titleabbrev>elim</titleabbrev>
     <para><userinput>elim t using th hyps</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">elim</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] &intros-spec;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -446,11 +537,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_elimType">
-    <title><emphasis role="bold">elimType</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] &intros-spec;</title>
+    <title>elimType</title>
     <titleabbrev>elimType</titleabbrev>
     <para><userinput>elimType T using th hyps</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">elimType</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] &intros-spec;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -473,11 +570,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_exact">
-    <title><emphasis role="bold">exact</emphasis> &sterm;</title>
+    <title>exact</title>
     <titleabbrev>exact</titleabbrev>
     <para><userinput>exact p</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">exact</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -501,11 +604,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_exists">
-    <title><emphasis role="bold">exists</emphasis></title>
+    <title>exists</title>
     <titleabbrev>exists</titleabbrev>
     <para><userinput>exists </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">exists</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -532,11 +641,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_fail">
-    <title><emphasis role="bold">fail</emphasis></title>
+    <title>fail</title>
     <titleabbrev>fail</titleabbrev>
     <para><userinput>fail</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">fail</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -559,11 +674,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_fold">
-    <title><emphasis role="bold">fold</emphasis> &reduction-kind; &sterm; &pattern;</title>
+    <title>fold</title>
     <titleabbrev>fold</titleabbrev>
     <para><userinput>fold red t patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">fold</emphasis> &reduction-kind; &sterm; &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -591,11 +712,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_fourier">
-    <title><emphasis role="bold">fourier</emphasis></title>
+    <title>fourier</title>
     <titleabbrev>fourier</titleabbrev>
     <para><userinput>fourier </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">fourier</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -621,11 +748,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_fwd">
-    <title><emphasis role="bold">fwd</emphasis> &id; [<emphasis role="bold">(</emphasis>[&id;]…<emphasis role="bold">)</emphasis>]</title>
+    <title>fwd</title>
     <titleabbrev>fwd</titleabbrev>
     <para><userinput>fwd ...TODO</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">fwd</emphasis> &id; [<emphasis role="bold">(</emphasis>[&id;]…<emphasis role="bold">)</emphasis>]</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -648,11 +781,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_generalize">
-    <title><emphasis role="bold">generalize</emphasis> &pattern; [<emphasis role="bold">as</emphasis> &id;]</title>
+    <title>generalize</title>
     <titleabbrev>generalize</titleabbrev>
     <para><userinput>generalize patt as H</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">generalize</emphasis> &pattern; [<emphasis role="bold">as</emphasis> &id;]</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -684,11 +823,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_id">
-    <title><emphasis role="bold">id</emphasis></title>
+    <title>id</title>
     <titleabbrev>id</titleabbrev>
     <para><userinput>id </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">id</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -711,11 +856,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_injection">
-    <title><emphasis role="bold">injection</emphasis> &sterm;</title>
+    <title>injection</title>
     <titleabbrev><emphasis role="bold">injection</emphasis></titleabbrev>
     <para><userinput>injection p</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">injection</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -742,11 +893,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_intro">
-    <title><emphasis role="bold">intro</emphasis> [&id;]</title>
+    <title>intro</title>
     <titleabbrev>intro</titleabbrev>
     <para><userinput>intro H</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">intro</emphasis> [&id;]</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -775,11 +932,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_intros">
-    <title><emphasis role="bold">intros</emphasis> &intros-spec;</title>
+    <title>intros</title>
     <titleabbrev>intros</titleabbrev>
     <para><userinput>intros hyps</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">intros</emphasis> &intros-spec;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -812,11 +975,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_inversion">
-    <title><emphasis role="bold">inversion</emphasis> &sterm;</title>
+    <title>inversion</title>
     <titleabbrev>inversion</titleabbrev>
     <para><userinput>inversion t</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">inversion</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -847,7 +1016,7 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_lapply">
-    <title><emphasis role="bold">lapply</emphasis> [<emphasis role="bold">depth=</emphasis>&nat;] &sterm; [<emphasis role="bold">to</emphasis> &sterm; [&sterm;]…] [<emphasis role="bold">as</emphasis> &id;]</title>
+    <title>lapply</title>
     <titleabbrev>lapply</titleabbrev>
     <para><userinput>
      lapply depth=d t 
@@ -855,6 +1024,12 @@ its constructor takes no arguments.</para>
     </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">lapply</emphasis> [<emphasis role="bold">depth=</emphasis>&nat;] &sterm; [<emphasis role="bold">to</emphasis> &sterm; [&sterm;]…] [<emphasis role="bold">as</emphasis> &id;]</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -877,11 +1052,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_left">
-    <title><emphasis role="bold">left</emphasis></title>
+    <title>left</title>
     <titleabbrev>left</titleabbrev>
     <para><userinput>left </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">left</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -908,11 +1089,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_letin">
-    <title><emphasis role="bold">letin</emphasis> &id; <emphasis role="bold">≝</emphasis> &sterm;</title>
+    <title>letin</title>
     <titleabbrev>letin</titleabbrev>
     <para><userinput>letin x ≝ t</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">letin</emphasis> &id; <emphasis role="bold">≝</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -936,11 +1123,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_normalize">
-    <title><emphasis role="bold">normalize</emphasis> &pattern;</title>
+    <title>normalize</title>
     <titleabbrev>normalize</titleabbrev>
     <para><userinput>normalize patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">normalize</emphasis> &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -964,11 +1157,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_paramodulation">
-    <title><emphasis role="bold">paramodulation</emphasis> &pattern;</title>
+    <title>paramodulation</title>
     <titleabbrev>paramodulation</titleabbrev>
     <para><userinput>paramodulation patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">paramodulation</emphasis> &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -991,11 +1190,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_reduce">
-    <title><emphasis role="bold">reduce</emphasis> &pattern;</title>
+    <title>reduce</title>
     <titleabbrev>reduce</titleabbrev>
     <para><userinput>reduce patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">reduce</emphasis> &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1019,11 +1224,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_reflexivity">
-    <title><emphasis role="bold">reflexivity</emphasis></title>
+    <title>reflexivity</title>
     <titleabbrev>reflexivity</titleabbrev>
     <para><userinput>reflexivity </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">reflexivity</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1048,11 +1259,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_replace">
-    <title><emphasis role="bold">replace</emphasis> &pattern; <emphasis role="bold">with</emphasis> &sterm;</title>
+    <title>replace</title>
     <titleabbrev>change</titleabbrev>
     <para><userinput>change patt with t</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">replace</emphasis> &pattern; <emphasis role="bold">with</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1080,11 +1297,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_rewrite">
-    <title><emphasis role="bold">rewrite</emphasis> [<emphasis role="bold">&lt;</emphasis>|<emphasis role="bold">&gt;</emphasis>] &sterm; &pattern;</title>
+    <title>rewrite</title>
     <titleabbrev>rewrite</titleabbrev>
     <para><userinput>rewrite dir p patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">rewrite</emphasis> [<emphasis role="bold">&lt;</emphasis>|<emphasis role="bold">&gt;</emphasis>] &sterm; &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1115,11 +1338,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_right">
-    <title><emphasis role="bold">right</emphasis></title>
+    <title>right</title>
     <titleabbrev>right</titleabbrev>
     <para><userinput>right </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">right</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1146,11 +1375,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_ring">
-    <title><emphasis role="bold">ring</emphasis></title>
+    <title>ring</title>
     <titleabbrev>ring</titleabbrev>
     <para><userinput>ring </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">ring</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1177,11 +1412,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_simplify">
-    <title><emphasis role="bold">simplify</emphasis> &pattern;</title>
+    <title>simplify</title>
     <titleabbrev>simplify</titleabbrev>
     <para><userinput>simplify patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">simplify</emphasis> &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1205,11 +1446,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_split">
-    <title><emphasis role="bold">split</emphasis></title>
+    <title>split</title>
     <titleabbrev>split</titleabbrev>
     <para><userinput>split </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">split</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1236,12 +1483,18 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_symmetry">
-    <title><emphasis role="bold">symmetry</emphasis></title>
+    <title>symmetry</title>
     <titleabbrev>symmetry</titleabbrev>
     <para>The tactic <command>symmetry</command> </para>
     <para><userinput>symmetry </userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">symmetry</emphasis></para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1265,11 +1518,17 @@ its constructor takes no arguments.</para>
     </para>
   </sect1>
   <sect1 id="tac_transitivity">
-    <title><emphasis role="bold">transitivity</emphasis> &sterm;</title>
+    <title>transitivity</title>
     <titleabbrev>transitivity</titleabbrev>
     <para><userinput>transitivity t</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">transitivity</emphasis> &sterm;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1294,11 +1553,17 @@ the current sequent to prove.</para>
     </para>
   </sect1>
   <sect1 id="tac_unfold">
-    <title><emphasis role="bold">unfold</emphasis> [&sterm;] &pattern;</title>
+    <title>unfold</title>
     <titleabbrev>unfold</titleabbrev>
     <para><userinput>unfold t patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">unfold</emphasis> [&sterm;] &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
@@ -1326,11 +1591,17 @@ the current sequent to prove.</para>
     </para>
   </sect1>
   <sect1 id="tac_whd">
-    <title><emphasis role="bold">whd</emphasis> &pattern;</title>
+    <title>whd</title>
     <titleabbrev>whd</titleabbrev>
     <para><userinput>whd patt</userinput></para>
     <para>
       <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">whd</emphasis> &pattern;</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term>Pre-conditions:</term>
           <listitem>
diff --git a/helm/software/matita/help/C/tactic_quickref.xml b/helm/software/matita/help/C/tactic_quickref.xml
new file mode 100644 (file)
index 0000000..e1f7eb4
--- /dev/null
@@ -0,0 +1,182 @@
+<itemizedlist>
+  <listitem>
+    <para><link linkend="tac_absurd"><emphasis role="bold">absurd</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_apply"><emphasis role="bold">apply</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_assumption">
+        <emphasis role="bold">assumption</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_auto"><emphasis role="bold">auto</emphasis></link> [<emphasis role="bold">depth=</emphasis><emphasis><link linkend="grammar.nat">nat</link></emphasis>] [<emphasis role="bold">width=</emphasis><emphasis><link linkend="grammar.nat">nat</link></emphasis>] [<emphasis role="bold">paramodulation</emphasis>] [<emphasis role="bold">full</emphasis>]</para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_change"><emphasis role="bold">change</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis> <emphasis role="bold">with</emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_clear"><emphasis role="bold">clear</emphasis></link> <emphasis><link linkend="grammar.id">id</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_clearbody"><emphasis role="bold">clearbody</emphasis></link> <emphasis><link linkend="grammar.id">id</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_constructor"><emphasis role="bold">constructor</emphasis></link> <emphasis><link linkend="grammar.nat">nat</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_contradiction">
+        <emphasis role="bold">contradiction</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_cut"><emphasis role="bold">cut</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> [<emphasis role="bold">as</emphasis> <emphasis><link linkend="grammar.id">id</link></emphasis>]</para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_decompose"><emphasis role="bold">decompose</emphasis></link> <emphasis><link linkend="grammar.id">id</link></emphasis> [<emphasis><link linkend="grammar.id">id</link></emphasis>]… <emphasis><link linkend="grammar.intros-spec">intros-spec</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_demodulation"><emphasis role="bold">demodulation</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_discriminate"><emphasis role="bold">discriminate</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_elim"><emphasis role="bold">elim</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> [<emphasis role="bold">using</emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis>] <emphasis><link linkend="grammar.intros-spec">intros-spec</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_elimType"><emphasis role="bold">elimType</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> [<emphasis role="bold">using</emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis>] <emphasis><link linkend="grammar.intros-spec">intros-spec</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_exact"><emphasis role="bold">exact</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_exists">
+        <emphasis role="bold">exists</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_fail">
+        <emphasis role="bold">fail</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_fold"><emphasis role="bold">fold</emphasis></link> <emphasis><link linkend="grammar.reduction-kind">reduction-kind</link></emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_fourier">
+        <emphasis role="bold">fourier</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_fwd"><emphasis role="bold">fwd</emphasis></link> <emphasis><link linkend="grammar.id">id</link></emphasis> [<emphasis role="bold">(</emphasis>[<emphasis><link linkend="grammar.id">id</link></emphasis>]…<emphasis role="bold">)</emphasis>]</para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_generalize"><emphasis role="bold">generalize</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis> [<emphasis role="bold">as</emphasis> <emphasis><link linkend="grammar.id">id</link></emphasis>]</para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_id">
+        <emphasis role="bold">id</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_injection"><emphasis role="bold">injection</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_intro"><emphasis role="bold">intro</emphasis></link> [<emphasis><link linkend="grammar.id">id</link></emphasis>]</para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_intros"><emphasis role="bold">intros</emphasis></link> <emphasis><link linkend="grammar.intros-spec">intros-spec</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_inversion"><emphasis role="bold">inversion</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_lapply"><emphasis role="bold">lapply</emphasis></link> [<emphasis role="bold">depth=</emphasis><emphasis><link linkend="grammar.nat">nat</link></emphasis>] <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> [<emphasis role="bold">to</emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> [<emphasis><link linkend="grammar.sterm">sterm</link></emphasis>]…] [<emphasis role="bold">as</emphasis> <emphasis><link linkend="grammar.id">id</link></emphasis>]</para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_left">
+        <emphasis role="bold">left</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_letin"><emphasis role="bold">letin</emphasis></link> <emphasis><link linkend="grammar.id">id</link></emphasis> <emphasis role="bold">≝</emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_normalize"><emphasis role="bold">normalize</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_paramodulation"><emphasis role="bold">paramodulation</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_reduce"><emphasis role="bold">reduce</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_reflexivity">
+        <emphasis role="bold">reflexivity</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_replace"><emphasis role="bold">replace</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis> <emphasis role="bold">with</emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_rewrite"><emphasis role="bold">rewrite</emphasis></link> [<emphasis role="bold">&lt;</emphasis>|<emphasis role="bold">&gt;</emphasis>] <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_right">
+        <emphasis role="bold">right</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_ring">
+        <emphasis role="bold">ring</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_simplify"><emphasis role="bold">simplify</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_split">
+        <emphasis role="bold">split</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para>
+      <link linkend="tac_symmetry">
+        <emphasis role="bold">symmetry</emphasis>
+      </link>
+    </para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_transitivity"><emphasis role="bold">transitivity</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_unfold"><emphasis role="bold">unfold</emphasis></link> [<emphasis><link linkend="grammar.sterm">sterm</link></emphasis>] <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+  <listitem>
+    <para><link linkend="tac_whd"><emphasis role="bold">whd</emphasis></link> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis></para>
+  </listitem>
+</itemizedlist>
diff --git a/helm/software/matita/help/C/xsl/matita-fo.xsl b/helm/software/matita/help/C/xsl/matita-fo.xsl
new file mode 100644 (file)
index 0000000..3e564b4
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
+  <xsl:output method="xml" encoding="utf-8" indent="yes"/>
+</xsl:stylesheet>
diff --git a/helm/software/matita/help/C/xsl/matita-tex.xsl b/helm/software/matita/help/C/xsl/matita-tex.xsl
new file mode 100644 (file)
index 0000000..5f51e7c
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:import href="http://db2latex.sourceforge.net/xsl/docbook.xsl"/>
+  <xsl:output method="text" encoding="utf-8" indent="yes"/>
+
+  <xsl:param name="admon.graphics.path">/usr/share/xml/docbook/stylesheet/db2latex/latex/figures</xsl:param>
+
+  <xsl:param name="latex.inputenc">utf8x</xsl:param>
+  <xsl:param name="latex.book.preamble.post">\usepackage{txfonts}
+\SetUnicodeOption{mathletters} % prefer math-mode letters
+</xsl:param>
+  <xsl:param name="ulink.show">0</xsl:param>
+
+  <!-- proper alignment of tables used for grammars -->
+
+  <xsl:template match="tgroup[../@role='grammar']">
+    <xsl:text>\begin{tabular}{rcll}
+</xsl:text>
+    <xsl:apply-templates />
+    <xsl:text>\end{tabular}
+</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="variablelist/title">
+    <xsl:text>\paragraph*{</xsl:text>
+    <xsl:apply-templates />
+    <xsl:text>} </xsl:text>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/helm/software/matita/help/C/xsl/matita-xhtml.xsl b/helm/software/matita/help/C/xsl/matita-xhtml.xsl
new file mode 100644 (file)
index 0000000..099c390
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+  <xsl:output method="xml" encoding="utf-8" indent="yes"/>
+
+  <xsl:param name="use.id.as.filename" select="1" />
+  <xsl:param name="html.stylesheet">docbook.css</xsl:param>
+  <xsl:param name="table.borders.with.css" select="1" />
+  <!--
+  <xsl:param name="header.rule" select="0" />
+  <xsl:param name="footer.rule" select="0" />
+  -->
+
+  <!-- more quiet output of author information -->
+
+  <xsl:template match="authorgroup" mode="titlepage.mode">
+    <ul class="authorgroup">
+      <xsl:apply-templates mode="matita.manual.mode" />
+    </ul>
+  </xsl:template>
+  <xsl:template match="author" mode="matita.manual.mode">
+    <li class="author">
+      <xsl:value-of select="firstname" />
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="surname" />
+      <xsl:text> &lt;</xsl:text>
+      <xsl:element name="a">
+       <xsl:attribute name="href">
+         <xsl:text>mailto:</xsl:text>
+         <xsl:value-of select="affiliation/address/email" />
+       </xsl:attribute>
+       <xsl:value-of select="affiliation/address/email" />
+      </xsl:element>
+      <xsl:text>&gt;</xsl:text>
+    </li>
+  </xsl:template>
+
+  <!-- only print the latest revision instead of all of them -->
+  <!-- XXX ZACK: right now it just assumes that only one revision does exist -->
+
+  <xsl:template match="revhistory" mode="titlepage.mode">
+    <div class="revhistory">
+      <xsl:apply-templates mode="matita.manual.mode" />
+    </div>
+  </xsl:template>
+  <xsl:template match="revision" mode="matita.manual.mode">
+    <span class="revision">
+      <xsl:text>Revision: </xsl:text>
+      <span class="revnumber">
+       <xsl:value-of select="revnumber" />
+      </span>
+      <xsl:text>, </xsl:text>
+      <span class="date">
+       <xsl:value-of select="date" />
+      </span>
+    </span>
+  </xsl:template>
+
+  <!-- Matita logo on the top left corner -->
+
+  <xsl:template name="user.header.navigation">
+    <a href="../../">
+      <div class="matita_logo">
+       <img src="../../images/matita-tiny.png" alt="Tiny Matita logo" />
+       <span>Matita Home</span>
+      </div>
+    </a>
+  </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/helm/software/matita/help/C/xsl/tactic_quickref.xsl b/helm/software/matita/help/C/xsl/tactic_quickref.xsl
new file mode 100644 (file)
index 0000000..fa9c034
--- /dev/null
@@ -0,0 +1,50 @@
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:output
+    method="xml"
+    indent="yes"
+    omit-xml-declaration="yes"
+    />
+
+  <xsl:template match="/">
+    <itemizedlist>
+      <xsl:apply-templates select="//varlistentry[@role='tactic.synopsis']">
+       <xsl:sort select="ancestor::sect1/title" />
+      </xsl:apply-templates>
+    </itemizedlist>
+  </xsl:template>
+
+  <xsl:template match="varlistentry">
+
+    <xsl:variable name="tactic">
+      <xsl:value-of select="ancestor::sect1/title" />
+    </xsl:variable>
+
+    <listitem>
+      <para>
+       <xsl:for-each select="listitem/para/* | listitem/para/child::text()">
+         <xsl:choose>
+
+           <xsl:when test="string(.) = $tactic">
+             <xsl:element name="link">
+               <xsl:attribute name="linkend">
+                 <xsl:text>tac_</xsl:text>
+                 <xsl:value-of select="$tactic" />
+               </xsl:attribute>
+               <xsl:copy-of select="." />
+             </xsl:element>
+           </xsl:when>
+
+           <xsl:otherwise>
+             <xsl:copy-of select="." />
+           </xsl:otherwise>
+
+         </xsl:choose>
+       </xsl:for-each>
+      </para>
+    </listitem>
+
+  </xsl:template>
+
+</xsl:stylesheet>