From: Michael Smith Date: Mon, 28 Aug 2006 05:33:23 +0000 (+0000) Subject: Merged ref.css into reference.css, deleted ref.css, and updated X-Git-Tag: release/1.79.1~6^2~2589 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=904f060ddf3456131d756cbdff2f38ca68c66656;p=docbook-dsssl Merged ref.css into reference.css, deleted ref.css, and updated stylesheet to use reference.css instead of ref.css. Also changed individual reference pages to use graphical admonitions. --- diff --git a/xsl/common/refentry.xsl b/xsl/common/refentry.xsl index 4dc35d85e..2a0c1a353 100644 --- a/xsl/common/refentry.xsl +++ b/xsl/common/refentry.xsl @@ -73,7 +73,7 @@ the releaseinfo element. Taking all that in mind, the - get.refentry.info function tries to gather + get.refentry.metadata function tries to gather metadata from a refentry element and its ancestor elements in an intelligent and user-configurable way. The basic mechanism used in the XPath expressions throughout this stylesheet @@ -82,7 +82,7 @@ refentry itself, or on its nearest ancestor. - The get.refentry.info function is + The get.refentry.metadata function is actually just sort of a "driver" function; it calls other functions that do the actual data collection, then returns the data as a set. diff --git a/xsl/doc/css/ref.css b/xsl/doc/css/ref.css deleted file mode 100644 index 9f53f2d9d..000000000 --- a/xsl/doc/css/ref.css +++ /dev/null @@ -1,31 +0,0 @@ -div.informalexample { background-color: #d5dee3; - border-top-width: 2px; - border-top-style: double; - border-top-color: #d3d3d3; - border-bottom-width: 2px; - border-bottom-style: double; - border-bottom-color: #d3d3d3; - padding: 4px; - margin: 0em; - margin-left: 2em; - } - -pre.programlisting { whitespace: pre; - font-family: monospace; - background-color: #d5dee3; - border-top-width: 1px; - border-top-style: single; - border-top-color: #d3d3d3; - border-bottom-width: 1px; - border-bottom-style: single; - border-bottom-color: #d3d3d3; - padding: 4px; - margin: 0em; - } - -div.informalexample pre { whitespace: pre; - font-family: monospace; - border-top-width: 0px; - border-bottom-width: 0px; - padding: 0px; - } diff --git a/xsl/doc/css/reference.css b/xsl/doc/css/reference.css index a3fe73564..653e0ff00 100644 --- a/xsl/doc/css/reference.css +++ b/xsl/doc/css/reference.css @@ -10,3 +10,34 @@ div.note { padding: 5px; } +div.informalexample { background-color: #d5dee3; + border-top-width: 2px; + border-top-style: double; + border-top-color: #d3d3d3; + border-bottom-width: 2px; + border-bottom-style: double; + border-bottom-color: #d3d3d3; + padding: 4px; + margin: 0em; + margin-left: 2em; + } + +pre.programlisting { whitespace: pre; + font-family: monospace; + background-color: #d5dee3; + border-top-width: 1px; + border-top-style: single; + border-top-color: #d3d3d3; + border-bottom-width: 1px; + border-bottom-style: single; + border-bottom-color: #d3d3d3; + padding: 4px; + margin: 0em; + } + +div.informalexample pre { whitespace: pre; + font-family: monospace; + border-top-width: 0px; + border-bottom-width: 0px; + padding: 0px; + } diff --git a/xsl/docsrc/clrefentry.xsl b/xsl/docsrc/clrefentry.xsl index 570005242..424961de9 100644 --- a/xsl/docsrc/clrefentry.xsl +++ b/xsl/docsrc/clrefentry.xsl @@ -11,7 +11,12 @@ - + + + +../images/ + + §