[graphic-forms-cvs] r351 - trunk/docs/manual

junrue at common-lisp.net junrue at common-lisp.net
Thu Oct 19 02:49:17 UTC 2006


Author: junrue
Date: Wed Oct 18 22:49:17 2006
New Revision: 351

Modified:
   trunk/docs/manual/Makefile
   trunk/docs/manual/gf-data.xsl
   trunk/docs/manual/gf-package.xsl
Log:
 

Modified: trunk/docs/manual/Makefile
==============================================================================
--- trunk/docs/manual/Makefile	(original)
+++ trunk/docs/manual/Makefile	Wed Oct 18 22:49:17 2006
@@ -11,9 +11,9 @@
 
 XSLT-PROC   = xsltproc --nonet
 
-docs: gfs-tmp-pkg.xml
+graphic-forms.chm: gfs-tmp-pkg.xml
 	$(XSLT-PROC) graphic-forms.xsl graphic-forms.xml
-	-hhc htmlhelp.hhp
+	-hhc htmlhelp.hhp; exit 0 # muffle Error Ignored msg due to hhc exit value 1
 
 gfs-tmp-pkg.xml: gfs-tmp-syms.xml $(COMMON-DEPS)
 	$(XSLT-PROC) --output $@ gf-package.xsl gfs-symbols.xml

Modified: trunk/docs/manual/gf-data.xsl
==============================================================================
--- trunk/docs/manual/gf-data.xsl	(original)
+++ trunk/docs/manual/gf-data.xsl	Wed Oct 18 22:49:17 2006
@@ -286,48 +286,6 @@
     </xsl:element>
   </xsl:template>
 
-<!--
-  <xsl:template match="class/description">
-    <xsl:element name="bridgehead">
-      <xsl:attribute name="renderas">sect2</xsl:attribute>
-      description
-    </xsl:element>
-
-    <xsl:element name="para">
-      <xsl:attribute name="role">normal</xsl:attribute>
-      <xsl:apply-templates/>
-    </xsl:element>
-  </xsl:template>
-
-  <xsl:template match="condition/description">
-    <xsl:element name="bridgehead">
-      <xsl:attribute name="renderas">sect2</xsl:attribute>
-      description
-    </xsl:element>
-
-    <xsl:element name="para">
-      <xsl:attribute name="role">normal</xsl:attribute>
-      <xsl:apply-templates/>
-    </xsl:element>
-  </xsl:template>
-
-  <xsl:template match="function/description">
-    <xsl:call-template name="emit-description"/>
-  </xsl:template>
-
-  <xsl:template match="generic-function/description">
-    <xsl:call-template name="emit-description"/>
-  </xsl:template>
-
-  <xsl:template match="slot-reader/description">
-    <xsl:call-template name="emit-description"/>
-  </xsl:template>
-
-  <xsl:template match="slot-accessor/description">
-    <xsl:call-template name="emit-description"/>
-  </xsl:template>
--->
-
   <xsl:template name="emit-type-section">
     <xsl:param name="page-type"/>
 

Modified: trunk/docs/manual/gf-package.xsl
==============================================================================
--- trunk/docs/manual/gf-package.xsl	(original)
+++ trunk/docs/manual/gf-package.xsl	Wed Oct 18 22:49:17 2006
@@ -18,7 +18,7 @@
       <para role="normal">[Package]</para>
 
       <bridgehead renderas="sect2">nickname</bridgehead>
-      <para role="normal"><xsl:value-of select="@name"/></para>
+      <para role="normal"><xsl:value-of select="translate(@name,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/></para>
 
       <xsl:for-each select="description">
         <xsl:element name="bridgehead">
@@ -34,21 +34,38 @@
 
       <bridgehead renderas="sect2">classes and structures</bridgehead>
       <para role="normal">
-        native-object, point, rectangle, size, span
+        <xsl:for-each select="/package/class | /package/structure">
+          <xsl:sort select="@name" order="ascending" case-order="upper-first"/>
+          <xsl:element name="link">
+            <xsl:attribute name="linkend">gfs:<xsl:value-of select="@name"/></xsl:attribute>
+            <xsl:value-of select="@name"/>
+          </xsl:element>
+          <xsl:if test="not(position()=last())">, </xsl:if>
+        </xsl:for-each>
       </para>
 
       <bridgehead renderas="sect2">accessors, functions, and macros</bridgehead>
       <para role="normal">
-        code, copy-point, copy-rectangle, copy-size, copy-span, detail, dispose,
-        disposed-p, dlg-code, empty-span-p, equal-size-p, handle, location,
-        make-point, make-rectangle, make-size, make-span, point-x, point-y,
-        size, size-height, size-width, span-end, span-start
+        <xsl:for-each select="/package/function | /package/generic-function | /package/slot-accessor | /package/slot-reader | /package/macro">
+          <xsl:sort select="@name" order="ascending" case-order="upper-first"/>
+          <xsl:element name="link">
+            <xsl:attribute name="linkend">gfs:<xsl:value-of select="@name"/></xsl:attribute>
+            <xsl:value-of select="@name"/>
+          </xsl:element>
+          <xsl:if test="not(position()=last())">, </xsl:if>
+        </xsl:for-each>
       </para>
 
       <bridgehead renderas="sect2">conditions</bridgehead>
       <para role="normal">
-        comdlg-error, disposed-error, toolkit-error, toolkit-warning, win32-error,
-        win32-warning
+        <xsl:for-each select="/package/condition">
+          <xsl:sort select="@name" order="ascending" case-order="upper-first"/>
+          <xsl:element name="link">
+            <xsl:attribute name="linkend">gfs:<xsl:value-of select="@name"/></xsl:attribute>
+            <xsl:value-of select="@name"/>
+          </xsl:element>
+          <xsl:if test="not(position()=last())">, </xsl:if>
+        </xsl:for-each>
       </para>
 
       <xsl:for-each select="document('gfs-tmp-syms.xml')/data/section">



More information about the Graphic-forms-cvs mailing list