Re: www.gtk.org updated



Ok, I figured out the numbering and and was also able to add
in the date to the html.  I started by finding gdp-both.dsl
in the GNOME's DocBook documentation and modifying it with
the attachd patch.  Then I sent the FAQ SGML through the 
following sed statement:

sed -e 's/<chapter>//' -e 's/<\/sect1>//g' -e 's/^<title>GT
K+ FAQ<\/title>//' -e 's/<sect1>/<chapter>/g' -e 's/<sect2>/<sect1>/g' -e 's/<
\/sect2>//'

And that seemed to do get everything in the state that I wanted
it to be in.  (Even though the sed statement is a hack.)

I guess it might be nice if it didn't break it up into so many
small HTML files (especially for the FAQ), but that is probably
more difficult.

-Shawn

--
Shawn T. Amundson                       amundson eventloop com	
Research and Development                http://www.eventloop.com/
EventLoop, Inc.                         (651) 999-0130

"The assumption that the universe looks the same in every
 direction is clearly not true in reality." - Stephen Hawking
--- /home/amundson/gdp-both.dsl	Thu Apr 27 13:54:18 2000
+++ /usr/lib/sgml/stylesheet/dsssl/docbook/cygnus/cygnus-both.dsl	Thu Jan 11 02:54:35 2001
@@ -2,11 +2,11 @@
 <!ENTITY % html "IGNORE">
 <![%html;[
 <!ENTITY % print "IGNORE">
-<!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl" CDATA dsssl>
+<!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl" CDATA dsssl>
 ]]>
 <!ENTITY % print "INCLUDE">
 <![%print;[
-<!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl" CDATA dsssl>
+<!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl" CDATA dsssl>
 ]]>
 ]>
 
@@ -558,10 +558,10 @@
 ;;Chapter Stuff
 ;;=======================
 
-;;No TOCs in Chapters
+;; TOCs in Chapters
 (define $generate-chapter-toc$
  (lambda ()
-    #f))
+    #t))
 
 ;;=========================
 ;;Navigation
@@ -694,11 +694,11 @@
 
 ;;Enumerate Chapters?
 (define %chapter-autolabel% 
- #f)
+ #t)
 
 ;;Enumerate Sections?
 (define %section-autolabel%
- #f)
+ #t)
 
 ;;=========================
 ;;    HTML Attributes
@@ -739,6 +739,7 @@
 	(normalize "copyright")
 	(normalize "legalnotice")
 	(normalize "publisher")
+	(normalize "date")
 	(normalize "isbn")))
 
 ;;========================
@@ -815,6 +816,12 @@
 	  attributes: (list (list "CLASS" (gi)))
 	  (literal "Published By:")
 	  (process-children))))
+
+(element date 
+  (make element gi: "P"
+	attributes: (list (list "CLASS" (gi)))
+	  ))
+
 
 ;;subtitle sizing
 (element subtitle 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]