This is the mail archive of the 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 <> 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")))


Norman Walsh <>      | The man with ten children is | 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]