This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


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

Re: Doc version number


/ Mozur Matt <Matt.Mozur@emg.sms.siemens.com> was heard to say:
| I'd like to have the current revision or version number
| of my document appear automatically in my HTML or
| PS output, preferrably somewhere in the title page.
| 
| Is there a way to do this with the "stock" DSSSL 
| stylesheets?

No, it appears that none of the appropriate "version" fields appear
in the titlepages by default. You can fix this in a customization
layer by adding perhaps <revision> or <revnumber> to the list of
published fields.

You can do that by inserting them in this list (for book-*, article-*,
or whatever is appropriate).

(define (book-titlepage-recto-elements)
  (list (normalize "title")
	(normalize "subtitle")
	(normalize "graphic")
	(normalize "corpauthor")
	(normalize "authorgroup")
	(normalize "author")
	(normalize "editor")
	(normalize "copyright")
	(normalize "abstract")
	(normalize "legalnotice")))

                                        Cheers,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | The man with ten children is
http://www.oasis-open.org/docbook/ | better off than the one with ten
Member, DocBook Editorial Board    | thousand fonts of type, because
                                   | the man with ten children doesn't
                                   | want any more.


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