From: Michael Smith Date: Wed, 23 Aug 2006 12:15:23 +0000 (+0000) Subject: Added several new HTML parameters for controlling appearance of X-Git-Tag: release/1.79.1~6^2~2611 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6d2c4e0a072aab10a9558fcbcabb3189a4f86a9;p=docbook-dsssl Added several new HTML parameters for controlling appearance of content on HTML title pages: contrib.inline.enabled: If non-zero (the default), output of the contrib element is displayed as inline content rather than as block content. othercredit.like.author.enabled: If non-zero, output of the othercredit element on titlepages is displayed in the same style as author and editor output. If zero (the default), othercredit output is displayed using a style different than that of author and editor. blurb.on.titlepage.enabled: If non-zero, output from authorblurb and personblurb elements is displayed on title pages. If zero (the default), output from those elements is suppressed on title pages (unless you are using a titlepage customization that causes them to be included). editedby.enabled If non-zero (the default), a localized Edited by heading is displayed above editor names in output of the editor element. --- diff --git a/xsl/html/param.ent b/xsl/html/param.ent index 6abba9ebb..2af9a65eb 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -11,6 +11,7 @@ + @@ -39,6 +40,7 @@ + @@ -47,6 +49,7 @@ + @@ -170,6 +173,7 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 6cbdb502e..91f593d63 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -165,11 +165,15 @@ stylesheet like this: &id.warnings; -Meta/*Info +Meta/*Info and Titlepages &inherit.keywords; &make.single.year.ranges; &make.year.ranges; &author.othername.in.middle; +&blurb.on.titlepage.enabled; +&contrib.inline.enabled; +&editedby.enabled; +&othercredit.like.author.enabled; &generate.legalnotice.link; &generate.revhistory.link; &html.head.legalnotice.link.types; @@ -475,6 +479,7 @@ around all these parameters. + @@ -497,6 +502,7 @@ around all these parameters. + @@ -513,6 +519,7 @@ around all these parameters. + @@ -655,6 +662,7 @@ around all these parameters. + diff --git a/xsl/html/titlepage.xsl b/xsl/html/titlepage.xsl index c52c09825..998d7de84 100644 --- a/xsl/html/titlepage.xsl +++ b/xsl/html/titlepage.xsl @@ -189,12 +189,33 @@ - + + + + +
+ +

+

- + + + + + + + + + + + + +
@@ -284,9 +305,18 @@
- - - + + + + + + + +
+

+
+
+
@@ -376,15 +406,6 @@

- -

-
- - -

-

-
- @@ -541,6 +562,8 @@ + + @@ -567,6 +590,11 @@ + + + + + diff --git a/xsl/params/blurb.on.titlepage.enabled.xml b/xsl/params/blurb.on.titlepage.enabled.xml new file mode 100644 index 000000000..2a77e95ba --- /dev/null +++ b/xsl/params/blurb.on.titlepage.enabled.xml @@ -0,0 +1,24 @@ + + +blurb.on.titlepage.enabled +boolean + + +blurb.on.titlepage.enabled +Display personblurb and authorblurb on title pages? + + + +0 + + +Description + +If non-zero, output from authorblurb and +personblurb elements is displayed on title +pages. If zero (the default), output from those elements is suppressed +on title pages (unless you are using a titlepage customization that +causes them to be included). + + + diff --git a/xsl/params/contrib.inline.enabled.xml b/xsl/params/contrib.inline.enabled.xml new file mode 100644 index 000000000..be74d4520 --- /dev/null +++ b/xsl/params/contrib.inline.enabled.xml @@ -0,0 +1,21 @@ + + +contrib.inline.enabled +boolean + + +contrib.inline.enabled +Display contrib output inline? + + + +1 + + +Description + +If non-zero (the default), output of the contrib element is +displayed as inline content rather than as block content. + + + diff --git a/xsl/params/editedby.enabled.xml b/xsl/params/editedby.enabled.xml new file mode 100644 index 000000000..5419ed619 --- /dev/null +++ b/xsl/params/editedby.enabled.xml @@ -0,0 +1,22 @@ +cxb + +editedby.enabled +boolean + + +editedby.enabled +Display “Edited by” heading above editor name? + + + +1 + + +Description + +If non-zero (the default), a localized Edited by heading is displayed above editor +names in output of the editor element. + + + diff --git a/xsl/params/othercredit.like.author.enabled.xml b/xsl/params/othercredit.like.author.enabled.xml new file mode 100644 index 000000000..d757d0b17 --- /dev/null +++ b/xsl/params/othercredit.like.author.enabled.xml @@ -0,0 +1,26 @@ + + +othercredit.like.author.enabled +boolean + + +othercredit.like.author.enabled +Display othercredit in same style as author? + + + +0 + + +Description + +If non-zero, output of the +othercredit element on titlepages is displayed in +the same style as author and +editor output. If zero (the default), +othercredit output is displayed using a style +different than that of author and +editor. + + +