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:
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
|
@ -192,6 +192,18 @@ TEXCMDS+= \tracingstats=${TRACE}
|
||||||
PNMTOPSFLAGS+= -rle
|
PNMTOPSFLAGS+= -rle
|
||||||
.endif
|
.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
|
PERL?= /usr/bin/perl
|
||||||
PKG_CREATE?= /usr/sbin/pkg_create
|
PKG_CREATE?= /usr/sbin/pkg_create
|
||||||
SORT?= /usr/bin/sort
|
SORT?= /usr/bin/sort
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
;;
|
;;
|
||||||
;; Naturally, this has no effect if you're building one big
|
;; Naturally, this has no effect if you're building one big
|
||||||
;; HTML file.
|
;; HTML file.
|
||||||
#t)
|
#f)
|
||||||
|
|
||||||
(define (book-titlepage-recto-elements)
|
(define (book-titlepage-recto-elements)
|
||||||
(list (normalize "title")
|
(list (normalize "title")
|
||||||
|
|
Loading…
Reference in a new issue