This is the mail archive of the docbook-tools-discuss@sources.redhat.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: db2html publishes bibliography on front pages


/ Hugo.van.der.Kooij@caiw.nl was heard to say:
| > Whoa! That's bizarre. Can you send me the SGML sources for this?
| 
| They are on my homepage as well. (It is open source documentation.)

Fixed. Here's a patch for the impatient :-)

BTW, Hugo, you've got some typos in that bibliography,
<title>...<title> where you meant <title>...</title>.

hermes:/share/dsssl/docbook/html$ cvs diff
cvs diff: Diffing .
Index: dbbibl.dsl
===================================================================
RCS file: /share/cvs/dbdsssl/html/dbbibl.dsl,v
retrieving revision 1.2
diff -r1.2 dbbibl.dsl
59a60,70
> (element (article bibliography)
>   (let ((title         (element-title-sosofo (current-node)))
> 	(body          (make sequence
> 			 (make element gi: "A"
> 			       attributes: (list (list "NAME" (element-id)))
> 			       (empty-sosofo))
> 			 ($component-separator$)
> 			 ($component-title$)
> 			 (bibliography-content))))
>     (html-document title body)))
> 
Index: dbchunk.dsl
===================================================================
RCS file: /share/cvs/dbdsssl/html/dbchunk.dsl,v
retrieving revision 1.2
diff -r1.2 dbchunk.dsl
70c70
<   ;;    occur in book.
---
>   ;;    occur in book or article.
75c75,76
< 			    (not (equal? (gi (parent nd)) (normalize "book"))))
---
> 			    (not (or (equal? (gi (parent nd)) (normalize "book"))
> 				     (equal? (gi (parent nd)) (normalize "article")))))


                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Perhaps, but let's not get bogged down
http://nwalsh.com/            | in semantics.--Homer J. Simpson, BABF07

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]