Add the following knobs for the DocBook DSSSL stylesheets:

- WITH_INLINE_LEGALNOTICE (for HTML only):
     do not render <legalnotice> as a separate file if defined.

 - WITH_ARTICLE_TOC:
     generate TOC for documents whose root element is <article> if defined.

 - WITH_BIBLIOXREF_TITLE:
     for cross references to bibliography entries, use the title of
     the entry as the cross reference text, if defined.
This commit is contained in:
Hiroki Sato 2003-02-16 14:59:30 +00:00
parent 58f479a337
commit dec7f3cd8e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16019
2 changed files with 13 additions and 1 deletions

View file

@ -192,6 +192,18 @@ TEXCMDS+= \tracingstats=${TRACE}
PNMTOPSFLAGS+= -rle
.endif
.if !defined(WITH_INLINE_LEGALNOTICE) || empty(WITH_INLINE_LEGALNOTICE)
HTMLFLAGS+= -V %generate-legalnotice-link%
.endif
.if defined(WITH_ARTICLE_TOC) && !empty(WITH_ARTICLE_TOC)
HTMLFLAGS+= -V %generate-article-toc%
PRINTFLAGS+= -V %generate-article-toc%
.endif
.if defined(WITH_BIBLIOXREF_TITLE) && !empty(WITH_BIBLIOXREF_TITLE)
HTMLFLAGS+= -V biblio-xref-title
PRINTFLAGS+= -V biblio-xref-title
.endif
PERL?= /usr/bin/perl
PKG_CREATE?= /usr/sbin/pkg_create
SORT?= /usr/bin/sort

View file

@ -60,7 +60,7 @@
;;
;; Naturally, this has no effect if you're building one big
;; HTML file.
#t)
#f)
(define (book-titlepage-recto-elements)
(list (normalize "title")