From 1cb44818d15db6d52d846c833d843e9a8b1535b2 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 13 Mar 2020 14:38:37 +0000 Subject: Completely remove docbook snapshot git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11779 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/admon.xsl | 140 - .../docbook-xsl-1.78.1/xhtml/annotations.xsl | 158 - .../docbook-xsl-1.78.1/xhtml/autoidx-kimber.xsl | 139 - .../docbook-xsl-1.78.1/xhtml/autoidx-kosek.xsl | 109 - .../docbook-xsl-1.78.1/xhtml/autoidx-ng.xsl | 21 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/autoidx.xsl | 735 ---- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/autotoc.xsl | 704 ---- .../docbook-xsl-1.78.1/xhtml/biblio-iso690.xsl | 1300 ------- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/biblio.xsl | 1369 ------- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/block.xsl | 582 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/callout.xsl | 209 - .../docbook-xsl-1.78.1/xhtml/changebars.xsl | 78 - .../docbook-xsl-1.78.1/xhtml/chunk-changebars.xsl | 96 - .../docbook-xsl-1.78.1/xhtml/chunk-code.xsl | 658 ---- .../docbook-xsl-1.78.1/xhtml/chunk-common.xsl | 1623 -------- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/chunk.xsl | 52 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/chunker.xsl | 315 -- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/chunkfast.xsl | 69 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/chunktoc.xsl | 538 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/component.xsl | 438 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/division.xsl | 212 -- .../xhtml/docbook-no-doctype.xsl | 538 --- .../docbook-xsl-1.78.1/xhtml/docbook.css.xml | 110 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.xsl | 538 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/ebnf.xsl | 330 -- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/footnote.xsl | 345 -- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/formal.xsl | 494 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/glossary.xsl | 601 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/graphics.xsl | 1513 -------- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/highlight.xsl | 86 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/html-rtf.xsl | 321 -- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/html.xsl | 684 ---- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/htmltbl.xsl | 100 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/index.xsl | 255 -- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/info.xsl | 46 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/inline.xsl | 1493 -------- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/keywords.xsl | 36 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/lists.xsl | 1225 ------ .../lfs-xsl/docbook-xsl-1.78.1/xhtml/maketoc.xsl | 91 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/manifest.xsl | 22 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/math.xsl | 285 -- .../docbook-xsl-1.78.1/xhtml/oldchunker.xsl | 176 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/onechunk.xsl | 36 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/param.xsl | 444 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/pi.xsl | 1236 ------ .../xhtml/profile-chunk-code.xsl | 641 ---- .../docbook-xsl-1.78.1/xhtml/profile-chunk.xsl | 54 - .../docbook-xsl-1.78.1/xhtml/profile-docbook.xsl | 503 --- .../docbook-xsl-1.78.1/xhtml/profile-onechunk.xsl | 38 - .../lfs-xsl/docbook-xsl-1.78.1/xhtml/qandaset.xsl | 439 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/refentry.xsl | 305 -- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/sections.xsl | 562 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/synop.xsl | 1614 -------- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/table.xsl | 1177 ------ .../lfs-xsl/docbook-xsl-1.78.1/xhtml/task.xsl | 74 - .../xhtml/titlepage.templates.xml | 739 ---- .../xhtml/titlepage.templates.xsl | 4004 -------------------- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.xsl | 1106 ------ .../lfs-xsl/docbook-xsl-1.78.1/xhtml/toc.xsl | 332 -- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/verbatim.xsl | 388 -- .../lfs-xsl/docbook-xsl-1.78.1/xhtml/xref.xsl | 1256 ------ 61 files changed, 33782 deletions(-) delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/admon.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/annotations.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/autoidx-kimber.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/autoidx-kosek.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/autoidx-ng.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/autoidx.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/autotoc.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/biblio-iso690.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/biblio.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/block.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/callout.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/changebars.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/chunk-changebars.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/chunk-code.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/chunk-common.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/chunk.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/chunker.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/chunkfast.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/chunktoc.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/component.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/division.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook-no-doctype.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.css.xml delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/ebnf.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/footnote.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/formal.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/glossary.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/graphics.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/highlight.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/html-rtf.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/html.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/htmltbl.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/index.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/info.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/inline.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/keywords.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/lists.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/maketoc.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/manifest.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/math.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/oldchunker.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/onechunk.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/param.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/pi.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-chunk-code.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-chunk.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-docbook.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-onechunk.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/qandaset.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/refentry.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/sections.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/synop.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/table.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/task.xsl delete mode 100755 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.templates.xml delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.templates.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/toc.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/verbatim.xsl delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/xref.xsl (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml') diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/admon.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/admon.xsl deleted file mode 100644 index 9c1ff4dca..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/admon.xsl +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - 25 - - - - - - - - - - - - - - - - - - note - warning - caution - tip - important - note - - - - - - - - Note - Warning - Caution - Tip - Important - Note - - - - - - - - - -
- - - - - - - - - - - - - - - : - - - - - - - - - - - -
- - - - [{$alt}] - - - - - - - - - -
- -
-
-
- - -
- - - - - - - - - - - -

- - -

-
- - -
-
- - - - - - - -
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/annotations.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/annotations.xsl deleted file mode 100644 index 3e137e8d7..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/annotations.xsl +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:copy-of select="$title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Note - - - namesp. cut - - - stripped namespace before processing - - - - - Note - - - namesp. cut - - - processing stripped document - - - - - - - - Unable to strip the namespace from DB5 document, - cannot proceed. - - - - - - - - - ID ' - - ' not found in document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.css.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.css.xml deleted file mode 100644 index f1509bfd8..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.css.xml +++ /dev/null @@ -1,110 +0,0 @@ - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.xsl deleted file mode 100644 index 5f3af4e69..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/docbook.xsl +++ /dev/null @@ -1,538 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Element - - in namespace ' - - ' encountered - - in - - - , but no template matches. - - - - < - - > - - </ - - > - - - - - - - -rtl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:copy-of select="$title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Note - - - namesp. cut - - - stripped namespace before processing - - - - - Note - - - namesp. cut - - - processing stripped document - - - - - - - - Unable to strip the namespace from DB5 document, - cannot proceed. - - - - - - - - - ID ' - - ' not found in document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/ebnf.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/ebnf.xsl deleted file mode 100644 index a6ff6d7c6..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/ebnf.xsl +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - - - - - -$Id: ebnf.xsl 9664 2012-11-07 20:02:17Z bobstayton $ - -Walsh -Norman -19992000 -Norman Walsh - - -HTML EBNF Reference - - -
Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This reference describes the templates and parameters relevant -to formatting EBNF markup. - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
-
-
- - - - - - - - - - - - 1 - - - - - - EBNF - - for - - - - - - - - - - - - -
- - -
- - - - - - - - - - EBNF productions - -
-
-
- - - - - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - Error: no ID for productionrecap linkend: - - . - - - - - - Warning: multiple "IDs" for productionrecap linkend: - - . - - - - - - - - - - - - - - - - | -
-
-
- - - - - - - - - - - - - - - production - - - - - - - - - Non-terminals with no content must point to - production elements in the current document. - - - Invalid xpointer for empty nt: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ??? - - - - - - - - - - - - - /*  - -  */ -
-
- - - - - - - - - constraintdef - - - - - - - - - - - - - - - - : - - - - - - - : - - - - - - - - - -  ] - -
-
-
- - -
- - - - -
-
- - -

-
- - - -
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/footnote.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/footnote.xsl deleted file mode 100644 index d1645b9e3..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/footnote.xsl +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - - - - - - - - - - - #ftn. - - - - - - - - - - - - - - - - - [ - - ] - - - - - - - - - - -ERROR: A footnoteref element has a linkend that points to an element that is not a footnote. -Typically this happens when an id attribute is accidentally applied to the child of a footnote element. -target element: -linkend/id: - - - - - - - - - - - - #ftn. - - - - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - [ - - ] - - - - - - - - - - - - - ftn. - - - - - - # - - - - - - - - - - - - - - - - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - - footnote-hr - - - - - - - - 100 - - - - - -
-
- - -
-
-

The following annotations are from this essay. You are seeing - them here because your browser doesn’t support the user-interface - techniques used to make them appear as ‘popups’ on modern browsers.

-
- - -
-
-
- - - - - - - - - - - - ftn. - - - - - - - -
- - -
-
- - -
- - - - -
-
- - - - Warning: footnote number may not be generated - correctly; - - unexpected as first child of footnote. - -
- - - -
-
-
-
- - - - - - - - -
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/formal.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/formal.xsl deleted file mode 100644 index d32839ad5..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/formal.xsl +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - - -1 - - - - - - - - - - -
- - - - - - - - - - -
- -
- - - - - -

- - -

-

- - - - - - - -
-
- -
-
-
- - - - - - - - - -float - - - - - - - - - -
- - - - - - - - - - - - - -
- -
-
- -

- - - -

-
-
-
- - - - - - - -
- -

- - - - - - - - -

-

-
- - - - - - - - - -float - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - before - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -
-
-
-
- - - - - - - - - - - - - - - before - - - - - - - - - -
- - - - - - - - - - - - -
- -
- - - -

- - -

- -

- -
- - - - - -
-
- -
-
-
- - - - - - - - - -float - - - - - - - - - -
- - - - Broken table: tr descendent of CALS Table. - - - - - - - - - - before - - - - - - - - - - - - - - - - - - - - - - - - - Broken table: row descendent of HTML table. - - - - - - - - - - - - - - - - - - - - - - - - before - - - - - - - - - - - - - - - - - - - - - before - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - float: - - ; - - - -
-
- -
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/glossary.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/glossary.xsl deleted file mode 100644 index bb5606b33..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/glossary.xsl +++ /dev/null @@ -1,601 +0,0 @@ - - - - - - - - - - - - - - - - - - normalize.sort.input - - - - - - normalize.sort.output - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - -
-
- - - -
- - - - -
-
- - - - - - - - - - - - - - - - - - normalize.sort.input - - - - - - normalize.sort.output - - - -
- - - - - - -
- - - - - - - - - - -
-
-
- - - - - - - - - - - - normalize.sort.input - - - - - - normalize.sort.output - - - - - -
- - - - - - -
- - - - - - - - - - -
-
-
- - -

- - -

-
- - - - - - - - -
- - - - 0 - 1 - - - - - - - 0 - 1 - - - - - - - - ( - - ) - - - - - -
-
- -
- - - - 0 - 1 - - - - - - - 0 - 1 - - - - - - - - ( - - ) - -
-
- -
- - - - 0 - 1 - - - - - - - 0 - 1 - - - - - -
-
-
- - -
- - - - - - - - - , - - - - - , - - - - - , - - - - - - - - - - - -
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Warning: glosssee @otherterm reference not found: - - - - - - - - - - - - - - -

-
-
- - -
- - - - - -

- - - - - - - - - - - - - -

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Warning: glossseealso @otherterm reference not found: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - normalize.sort.input - - - - - - normalize.sort.output - - - - - - - - - - - Warning: processing automatic glossary - without a glossary.collection file. - - - - - - Warning: processing automatic glossary but unable to - open glossary.collection file ' - - ' - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
-
-
- - - - -
-
- - - - - - - - - - - - - - - - - normalize.sort.input - - - - - - normalize.sort.output - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - -
-
-
- - - -
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/graphics.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/graphics.xsl deleted file mode 100644 index b90ecd164..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/graphics.xsl +++ /dev/null @@ -1,1513 +0,0 @@ - - - - - - - - - - - - - - - - 1 - - - - - - 1 - - - - - -
- - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 0 - - 1 - 0 - - - - - - 1.0 - 1.0 - - - - 1.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - px - - - - - - - - - - - px - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - px - - - - - - - - - - - px - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - middle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Warning: imagemaps not supported - on scaled images - - - - 0 - - - - - - - - - - - - - - - - - - - - middle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - manufactured viewport for HTML img - - - cellpadding: 0; cellspacing: 0; - - - - - - - - - - - - - height: - - px - - - - - - - - - - - -
- - - - - background-color: - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - calspair - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - , - - , - - - - - - - - - - - - Warning: only calspair or - otherunits='imagemap' supported - in imageobjectco - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - middle - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - No insertfile extension available. - - - - - - - Cannot insert - . Check use.extensions and textinsert.extension parameters. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No insertfile extension available. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No insertfile extension available. - - - - - - - Cannot insert - . Check use.extensions and textinsert.extension parameters. - - - - - - - - -
- - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/highlight.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/highlight.xsl deleted file mode 100644 index f1d9eaa1a..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/highlight.xsl +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/html-rtf.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/html-rtf.xsl deleted file mode 100644 index e079a738a..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/html-rtf.xsl +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - -
-
-
-
- - - - - - - - - - - - - - -
- -
- - - - - - - - - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/html.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/html.xsl deleted file mode 100644 index bfbacbae5..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/html.xsl +++ /dev/null @@ -1,684 +0,0 @@ - - - - - - - - - - - - left - right - left - - - - - - right - left - right - - - - - - ltr - rtl - ltr - - - - - -div - -0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - # - - - - - - - - - - - - - - - - - - - bullet - - - - - - - - - bullet - - - © - - - ® - (SM) -   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ID recommended on - - - : - - - - ... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ERROR: no root element for CSS source file' - - '. - - - - - - - - - - - - - - - - - - - - - - - - - - - - ERROR: missing CSS input filename. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/htmltbl.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/htmltbl.xsl deleted file mode 100644 index 1f05962dd..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/htmltbl.xsl +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - float: - - left - right - - - - - - - - - - - - - none - none - - ; - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/index.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/index.xsl deleted file mode 100644 index 427b602f7..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/index.xsl +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- - - - - - - - - - -
-
-
- - - - - - - - - - - -
- - - - - - - - - - - - - - - - - -
-
-
- - - - - - - - - - - - -
- - - - -
- -
-
-
- - -

- - -

-
- - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - - -
-
- - - - - - - - - - -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-
- -
-
- - - - - - - - - - - - - - -
-
-
- - -
- ( - - - - - - ) -
-
- - -
- ( - - - - - - ) -
-
- -
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/info.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/info.xsl deleted file mode 100644 index 224e1eeea..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/info.xsl +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/inline.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/inline.xsl deleted file mode 100644 index df979978e..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/inline.xsl +++ /dev/null @@ -1,1493 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - _blank - _top - - - - - - - - - - - - - - 1 - 0 - - - - - - - - - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - XLink to nonexistent id: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - span - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - , - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - abbr - - - - - - acronym - - - - - - - - - - - - - - - - - - - - - - - - - - http://example.com/cgi-bin/man.cgi? - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Warning: glossary.collection specified, but there are - - automatic glossaries - - - - - - - - - - - - - - - - - - - - - - - - There's no entry for - - in - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Error: no glossentry for glossterm: - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - element - - - - - - - - - - - - - - - - </ - - > - - - & - - ; - - - &# - - ; - - - % - - ; - - - <? - - > - - - <? - - ?> - - - < - - > - - - < - - /> - - - <!-- - - --> - - - - - - - - - - - - - - - - - - - - - - < - - - - - - mailto: - - - - - - > - - - - - - - - - - - + - - - - - - - - + - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ - - - - - - - - - - - - - - - - - - - - ] - - - [ - - ] - - - - - - - - - - - - - [ - - - - - - - - - - - - ] - - - [ - - ] - - - - - - - - - - - - -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/keywords.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/keywords.xsl deleted file mode 100644 index 5f6b4fb06..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/keywords.xsl +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - , - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/lists.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/lists.xsl deleted file mode 100644 index 01169e90c..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/lists.xsl +++ /dev/null @@ -1,1225 +0,0 @@ - - - - - - - - - - - - - - - compact - - - - - - - - - list-style-type: - - ; - - -
- - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - circle - disc - square - - - - - - -
  • - - - - - list-style-type: - - - - - - - - - - - -
    - -
    -
    - - - -
    -
  • -
    - - - - - - - compact - - - - - - - - - - - - - - 1 - a - i - A - I - - - - Unexpected numeration: - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - -
      - - - - - - - - - - - - - - -
    -
    -
    -
    -
    - - - - - - -
  • - - - - - - - - - - - - - - - -
    - -
    -
    - - - -
    -
  • -
    - - - - - - - - - - - - - - -
    - -
    -
    - - - -
    - - -
    - - - - - - - - - - compact - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - -
    - - - - -
    -
    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - -

    - - - - - - - - - - - - - - -

    -
    -
    -
    - - -
    - - - -
    -
    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - - - - - -
    - - - - - - - - - - - - - - - - - - - -
    -
    -
    -
    -
    -
    - - - - - - - - - -
    - -
    -
    - - - -
    -
    - - - - - - - - - Simple list - - - - - - - - - - 1 - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - Simple list - - - - - - - - - - 1 - - - -
    -
    - - - - - - Simple list - - - - - - - - - - 1 - - - -
    -
    - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - - 1 - - - - - - - - -   - - - - - - - - - - - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - 1 - - 1 - - - - - - - - -   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - before - - - - - - - - - -
    - - - - - 0 - 1 - - - - - - - 0 - 1 - - - - - - - - - - - - -
      - - -
    -
    - -
      - - - - - -
    -
    -
    - - - - -
    -
    - - - - - - - - - - - - -
      - - - -
    -
    - - -
  • - - - - -
  • -
    - - - -
      - - - -
    -
    - - -

    - - - - -

    -
    - - - - - - - - -
    - - - - - - - - - - - - - - - - - - -
    -
    - - -
    - - - - - - - -
    -
    - - - - - - - - - -
    - - - - -
    -
    - - - - - - - - -
    - - - - - - : - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - Callout list - - -
    -
    - -
    - - -
    -
    -
    -
    -
    - - - - - - - - - - - - - - - - -

    - - - - -

    - - - - - -
    - -
    - - - - - -
    -
    -
    -
    -
    - - - - - - - - - -

    - - - - - - - - - - - - - - - - -

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ??? - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ??? - - - - - - - - - - - - - - - - - - - -
    diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/maketoc.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/maketoc.xsl deleted file mode 100644 index 0ae805529..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/maketoc.xsl +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - filename=" - - " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/manifest.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/manifest.xsl deleted file mode 100644 index 26b51d067..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/manifest.xsl +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/math.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/math.xsl deleted file mode 100644 index e1c3c76c7..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/math.xsl +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Unsupported TeX math notation: - - - - - - - - - - - - - \nopagenumbers - - - - - \bye - - - - - - - - - - - - - - - - - - - - - - - - \special{dvi2bitmap outputfile - - } - - - $ - - - - $ - - - \vfill\eject - - - - - - - - - - - - - - - - - - - - - - - - - \special{dvi2bitmap outputfile - - } - - - $$ - - - - $$ - - - \vfill\eject - - - - - - - - - - \documentclass{article} - - \pagestyle{empty} - - \begin{document} - - - - - \end{document} - - - - - - - - - - - - - - - - - - - - - - - - \special{dvi2bitmap outputfile - - } - - - $ - - - - $ - - - \newpage - - - - - - - - - - - - - - - - - - - - - - - - - \special{dvi2bitmap outputfile - - } - - - $$ - - - - $$ - - - \newpage - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 1 - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/oldchunker.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/oldchunker.xsl deleted file mode 100644 index e727bf11d..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/oldchunker.xsl +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - - - - - - - - - -Encoding used in generated HTML pages - -This encoding is used in files generated by chunking stylesheet. Currently -only Saxon is able to change output encoding. - - - - - - - - - -Saxon character representation used in generated HTML pages - -This character representation is used in files generated by chunking stylesheet. If -you want to suppress entity references for characters with direct representation -in default.encoding, set this parameter to value native. - - - - - - - - - - - - - - - - - - - - - - - - Chunking isn't supported with - - - - - - - - - - - - - - - Writing - - - for - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Can't make chunks with - - 's processor. - - - - - - - - - - - - - - - - Writing - - - for - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Can't make chunks with - - 's processor. - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/onechunk.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/onechunk.xsl deleted file mode 100644 index 15a04e1a0..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/onechunk.xsl +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - -1 - - - - # - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/param.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/param.xsl deleted file mode 100644 index 5fb1c70eb..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/param.xsl +++ /dev/null @@ -1,444 +0,0 @@ - - - - - - - - - - -.png - -images/ - - - - - - -/* ====================================================================== - Annotations -*/ - -div.annotation-list { visibility: hidden; - } - -div.annotation-nocss { position: absolute; - visibility: hidden; - } - -div.annotation-popup { position: absolute; - z-index: 4; - visibility: hidden; - padding: 0px; - margin: 2px; - border-style: solid; - border-width: 1px; - width: 200px; - background-color: white; - } - -div.annotation-title { padding: 1px; - font-weight: bold; - border-bottom-style: solid; - border-bottom-width: 1px; - color: white; - background-color: black; - } - -div.annotation-body { padding: 2px; - } - -div.annotation-body p { margin-top: 0px; - padding-top: 0px; - } - -div.annotation-close { position: absolute; - top: 2px; - right: 2px; - } - - -http://docbook.sourceforge.net/release/images/annot-close.png -http://docbook.sourceforge.net/release/images/annot-open.png - - -http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js - - -A - - -. - -. -http://docbook.sourceforge.net/release/bibliography/bibliography.xml - - -normal - - -60 -.png - - -15 - -images/callouts/ - - -10 -10102 - - - - - - - - - - - - -no - -1 - - - - - - left - before - - - -all - - -docbook.css.xml -no -images/draft.png - -::= - - - - -#F5DCB3 - - -com.example.help -DocBook Online Help Sample -Example provider -1 - - - - - - 1 - 0 - - - - -1 - - - -figure before -example before -equation before -table before -procedure before -task before - - -kr - - - - - - - - - - - -appendix toc,title -article/appendix nop -article toc,title -book toc,title,figure,table,example,equation -chapter toc,title -part toc,title -preface toc,title -qandadiv toc -qandaset toc -reference toc,title -sect1 toc -sect2 toc -sect3 toc -sect4 toc -sect5 toc -section toc -set toc,title - - - - -no - - - - - - - - - - - - - -.html - - -copyright - - - -text/javascript - -text/css -alias.h - - - - - - - -User1 - - -User2 - - - - - - - - - -htmlhelp.chm - - -iso-8859-1 - - - - - -toc.hhc -5 - - -index.hhk -htmlhelp.hhp - -Main - -context.h - - - - - - - - - - - - - -basic - - - - - - - -no - -no -iso-8859-1 - - -en - - - - -5 - - -3 - - - - - - - HTML.manifest - - - - -+ -.gif - -images/ -1 - - -6in - - -no - - - replace - -0 - -I - -90 -10 - - - - - - - - - - - - - - - - -; - - - - - -. -number - - - - - - - - - - I -index - -. -.!?: - -8 - - - - - 0 - #E0E0E0 - - - - - - -0 - - - - - -solid -0.5pt -a - - - -solid -0.5pt - - olinkdb.xml -target.db - -tex-math-equations.tex - - - -dl -8 -2 -_top - - - - - - - - -0 -, -0 -docs -../common/ -index.html -1 -en -index.html - - - - writing-mode - - - - - - - - -: - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/pi.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/pi.xsl deleted file mode 100644 index ff966fdb0..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/pi.xsl +++ /dev/null @@ -1,1236 +0,0 @@ - - - - - - - -HTML Processing Instruction Reference - - $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $ - - - - Introduction - This is generated reference documentation for all - user-specifiable processing instructions (PIs) in the DocBook - XSL stylesheets for HTML output. - - You add these PIs at particular points in a document to - cause specific “exceptions” to formatting/output behavior. To - make global changes in formatting/output behavior across an - entire document, it’s better to do it by setting an - appropriate stylesheet parameter (if there is one). - - - - - - - - - Sets background color for an image - - Use the dbhtml background-color PI before or - after an image (graphic, inlinegraphic, - imagedata, or videodata element) as a - sibling to the element, to set a background color for the - image. - - - dbhtml background-color="color" - - - - background-color="color" - - An HTML color value - - - - - - Background color - - - - - - - - - - - - Sets background color on a CALS table row or table cell - - Use the dbhtml bgcolor PI as child of a CALS table row - or cell to set a background color for that table row or cell. - - - dbhtml bgcolor="color" - - - - bgcolor="color" - - An HTML color value - - - - - - Cell background color - - - - - - - - - - - - Specifies cellpadding in CALS table or qandaset output - - Use the dbhtml cellpadding PI as a child of a - CALS table or qandaset to specify the value - for the HTML cellpadding attribute in the - output HTML table. - - - dbhtml cellpadding="number" - - - - cellpadding="number" - - Specifies the cellpadding - - - - - - html.cellpadding - - - Cell spacing and cell padding, - Q and A formatting - - - - - - - - - - - - Specifies cellspacing in CALS table or qandaset output - - Use the dbhtml cellspacing PI as a child of a - CALS table or qandaset to specify the value - for the HTML cellspacing attribute in the - output HTML table. - - - dbhtml cellspacing="number" - - - - cellspacing="number" - - Specifies the cellspacing - - - - - - html.cellspacing - - - Cell spacing and cell padding, - Q and A formatting - - - - - - - - - - - - Set value of the class attribute for a CALS table row - - Use the dbhtml class PI as a child of a - row to specify a class - attribute and value in the HTML output for that row. - - - dbhtml class="name" - - - - class="name" - - Specifies the class name - - - - - - Table styles in HTML output - - - - - - - - - - - - Specifies a directory name in which to write files - - When chunking output, use the dbhtml dir PI - as a child of a chunk source to cause the output of that - chunk to be written to the specified directory; also, use it - as a child of a mediaobject to specify a - directory into which any long-description files for that - mediaobject will be written. - -The output directory specification is inherited by all -chunks of the descendants of the element. If descendants need -to go to a different directory, then add another -dbhtml dir processing -instruction as a child of the source element -for that chunk, and specify the path relative to the -ancestor path. - -For example, to put most chunk files into -shared -but one chapter into -exception -at the same level, use: - -<book> - <?dbhtml dir="shared"?> - ... - <chapter> - <?dbhtml dir="../exception"?> - </chapter> -</book> - - - - - - dbhtml dir="path" - - - - dir="path" - - Specifies the pathname for the directory - - - - - - base.dir - - - dbhtml dir processing instruction - - - - - - - - - - - - Specifies a filename for a chunk - -When chunking output, use the dbhtml filename - PI as a child of a chunk source to specify a filename for - the output file for that chunk. Include the filename suffix. - -You cannot include a directory path in the filename value, -or your links may not work. Add a -dbhtml dir processing instruction -to specify the output directory. You can also combine the two -specifications in one processing instruction: -dbhtml dir="mydir" filename="myfile.html". - - - - dbhtml filename="filename" - - - - filename="path" - - Specifies the filename for the file - - - - - - use.id.as.filename - - - dbhtml filenames - - - - - - - - - - - - Specifies presentation style for a funcsynopsis - - Use the dbhtml funcsynopsis-style PI as a child of - a funcsynopsis or anywhere within a funcsynopsis - to control the presentation style for output of all - funcprototype instances within that funcsynopsis. - - - dbhtml funcsynopsis-style="kr"|"ansi" - - - - funcsynopsis-style="kr" - - Displays funcprototype output in K&R style - - - funcsynopsis-style="ansi" - - Displays funcprototype output in ANSI style - - - - - - funcsynopsis.style - - - - - - - - - - - - Specifies a path to the location of an image file - - Use the dbhtml img.src.path PI before or - after an image (graphic, - inlinegraphic, imagedata, or - videodata element) as a sibling to the element, - to specify a path to the location of the image; in HTML - output, the value specified for the - img.src.path attribute is prepended to the - filename. - - - dbhtml img.src.path="path" - - - - img.src.path="path" - - Specifies the pathname to prepend to the name of the image file - - - - - - img.src.path - - - Using fileref - - - - - - - - - - - - Specifies the label width for a qandaset - - Use the dbhtml label-width PI as a child of a - qandaset to specify the width of labels. - - - dbhtml label-width="width" - - - - label-width="width" - - Specifies the label width (including units) - - - - - - Q and A formatting - - - - - - - - - - - - Specifies interval for line numbers in verbatims - - Use the dbhtml linenumbering.everyNth PI as a child - of a “verbatim” element – programlisting, - screen, synopsis — to specify - the interval at which lines are numbered. - - - dbhtml linenumbering.everyNth="N" - - - - linenumbering.everyNth="N" - - Specifies numbering interval; a number is output - before every Nth line - - - - - - linenumbering.everyNth - - - Line numbering - - - - - - - - - - - - Specifies separator text for line numbers in verbatims - - Use the dbhtml linenumbering.separator PI as a child - of a “verbatim” element – programlisting, - screen, synopsis — to specify - the separator text output between the line numbers and content. - - - dbhtml linenumbering.separator="text" - - - - linenumbering.separator="text" - - Specifies the text (zero or more characters) - - - - - - linenumbering.separator - - - Line numbering - - - - - - - - - - - - Specifies width for line numbers in verbatims - - Use the dbhtml linenumbering.width PI as a child - of a “verbatim” element – programlisting, - screen, synopsis — to specify - the width set aside for line numbers. - - - dbhtml linenumbering.width="width" - - - - linenumbering.width="width" - - Specifies the width (inluding units) - - - - - - linenumbering.width - - - Line numbering - - - - - - - - - - - - Specifies presentation style for a variablelist or - segmentedlist - - Use the dbhtml list-presentation PI as a child of - a variablelist or segmentedlist to - control the presentation style for the list (to cause it, for - example, to be displayed as a table). - - - dbhtml list-presentation="list"|"table" - - - - list-presentation="list" - - Displays the list as a list - - - list-presentation="table" - - Displays the list as a table - - - - - - - - variablelist.as.table - - - segmentedlist.as.table - - - - - Variable list formatting in HTML - - - - - - - - - - - - Specifies the width of a variablelist or simplelist - - Use the dbhtml list-width PI as a child of a - variablelist or a simplelist presented - as a table, to specify the output width. - - - dbhtml list-width="width" - - - - list-width="width" - - Specifies the output width (including units) - - - - - - Variable list formatting in HTML - - - - - - - - - - - - Specifies the height for a CALS table row - - Use the dbhtml row-height PI as a child of a - row to specify the height of the row. - - - dbhtml row-height="height" - - - - row-height="height" - - Specifies the row height (including units) - - - - - - Row height - - - - - - - - - - - - (obsolete) Sets the starting number on an ordered list - - This PI is obsolete. The intent of - this PI was to provide a means for setting a specific starting - number for an ordered list. Instead of this PI, set a value - for the override attribute on the first - listitem in the list; that will have the same - effect as what this PI was intended for. - - - dbhtml start="character" - - - - start="character" - - Specifies the character to use as the starting - number; use 0-9, a-z, A-Z, or lowercase or uppercase - Roman numerals - - - - - - List starting number - - - - - - - - - - - - Do not chunk any descendants of this element. - - When generating chunked HTML output, adding this PI as the child of an element that contains elements that would normally be generated on separate pages if generating chunked output causes chunking to stop at this point. No descendants of the current element will be split into new HTML pages: -<section> -<title>Configuring pencil</title> -<?dbhtml stop-chunking?> - -... - -</section> - - - - dbhtml stop-chunking - - - Chunking into multiple HTML files - - - - - - Specifies summary for CALS table, variablelist, segmentedlist, or qandaset output - - Use the dbhtml table-summary PI as a child of - a CALS table, variablelist, - segmentedlist, or qandaset to specify - the text for the HTML summary attribute - in the output HTML table. - - - dbhtml table-summary="text" - - - - table-summary="text" - - Specifies the summary text (zero or more characters) - - - - - - Variable list formatting in HTML, - Table summary text - - - - - - - - - - - - Specifies the width for a CALS table - - Use the dbhtml table-width PI as a child of a - CALS table to specify the width of the table in - output. - - - dbhtml table-width="width" - - - - table-width="width" - - Specifies the table width (including units or as a percentage) - - - - - - default.table.width - - - Table width - - - - - - - - - - - - Sets character formatting for terms in a variablelist - - Use the dbhtml term-presentation PI as a child - of a variablelist to set character formatting for - the term output of the list. - - - dbhtml term-presentation="bold"|"italic"|"bold-italic" - - - - term-presentation="bold" - - Specifies that terms are displayed in bold - - - term-presentation="italic" - - Specifies that terms are displayed in italic - - - term-presentation="bold-italic" - - Specifies that terms are displayed in bold-italic - - - - - - Variable list formatting in HTML - - - - - - - - - - - - Specifies separator text among terms in a varlistentry - - Use the dbhtml term-separator PI as a child - of a variablelist to specify the separator text - among term instances. - - - dbhtml term-separator="text" - - - - term-separator="text" - - Specifies the text (zero or more characters) - - - - - - variablelist.term.separator - - - Variable list formatting in HTML - - - - - - - - - - - - Specifies the term width for a variablelist - - Use the dbhtml term-width PI as a child of a - variablelist to specify the width for - term output. - - - dbhtml term-width="width" - - - - term-width="width" - - Specifies the term width (including units) - - - - - - Variable list formatting in HTML - - - - - - - - - - - - Specifies whether a TOC should be generated for a qandaset - - Use the dbhtml toc PI as a child of a - qandaset to specify whether a table of contents - (TOC) is generated for the qandaset. - - - dbhtml toc="0"|"1" - - - - toc="0" - - If zero, no TOC is generated - - - toc="1" - - If 1 (or any non-zero value), - a TOC is generated - - - - - - Q and A list of questions, - Q and A formatting - - - - - - - - - - - - Generates a hyperlinked list of commands - - Use the dbcmdlist PI as the child of any - element (for example, refsynopsisdiv) containing multiple - cmdsynopsis instances; a hyperlinked navigational - “command list” will be generated at the top of output for that - element, enabling users to quickly jump - to each command synopsis. - - - dbcmdlist - - - [No parameters] - - - - - - No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep? - - -
    - - - -
    -
    - - - Generates a hyperlinked list of functions - - Use the dbfunclist PI as the child of any - element (for example, refsynopsisdiv) containing multiple - funcsynopsis instances; a hyperlinked - navigational “function list” will be generated at the top of - output for that element, enabling users to quickly - jump to to each function synopsis. - - - dbfunclist - - - [No parameters] - - - - - - No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep? - - -
    - - - -
    -
    - - - Copies an external well-formed HTML/XML file into current doc - - Use the dbhtml-include href PI anywhere in a - document to cause the contents of the file referenced by the - href pseudo-attribute to be copied/inserted “as - is” into your HTML output at the point in document order - where the PI occurs in the source. - - The referenced file may contain plain text (as long as - it is “wrapped” in an html element — see the - note below) or markup in any arbitrary vocabulary, - including HTML — but it must conform to XML - well-formedness constraints (because the feature in XSLT - 1.0 for opening external files, the - document() function, can only handle - files that meet XML well-formedness constraints). - Among other things, XML well-formedness constraints - require a document to have a single root - element. So if the content you want to - include is plain text or is markup that does - not have a single root element, - wrap the content in an - html element. The stylesheets will - strip out that surrounding html “wrapper” when - they find it, leaving just the content you want to - insert. - - - - dbhtml-include href="URI" - - - - href="URI" - - Specifies the URI for the file to include; the URI - can be, for example, a remote http: - URI, or a local filesystem file: - URI - - - - - - textinsert.extension - - - Inserting external HTML code, - External code files - - - - - - - href - - - - - - - - - - - - - - - - - - - - ERROR: dbhtml-include processing instruction - href has no content. - - - - - - - ERROR: dbhtml-include processing instruction has - missing or empty href value. - - - - - - - - Sets topic name and topic id for context-sensitive HTML Help - - Use the dbhh PI as a child of components - that should be used as targets for context-sensitive help requests. - - - dbhh topicname="name" topicid="id" - - - - topicname="name" - - Specifies a unique string constant that identifies a help topic - - - topicid="id" - - Specifies a unique integer value for the topicname string - - - - - - Context-sensitive help - - - - - - - - - - filename - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - # - - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    -
    - - - - - - - - - - - - - - - -
    - - - # - - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / - - - - / - - - - -
    diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-chunk-code.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-chunk-code.xsl deleted file mode 100644 index 8b86447be..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-chunk-code.xsl +++ /dev/null @@ -1,641 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bk - - - - - - - - - - - - - - - ar - - - - - - - - - - - - - - - pr - - - - - - - - - - - - - - - ch - - - - - - - - - - - - - - - ap - - - - - - - - - - - - - - - - - - - pt - - - - - - - - - - - - - - - - - - - rn - - - - - - - - - - - - - - - - - - - - - - - - re - - - - - - - - - - - - - - - - - - - co - - - - - - - - - - - s - - - - - - - - - - - - - - - - - - - bi - - - - - - - - - - - - - - - - - - - go - - - - - - - - - - - - - - - - - - - ix - - - - - - - - si - - - - - - - - - - - - - - - - - - - to - - - - - - - - chunk-filename-error- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document - - - - - - - - - - - - - - - - - ID ' - - ' not found in document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-chunk.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-chunk.xsl deleted file mode 100644 index eb48e81a2..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-chunk.xsl +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-docbook.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-docbook.xsl deleted file mode 100644 index 366532d36..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-docbook.xsl +++ /dev/null @@ -1,503 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Element - - in namespace ' - - ' encountered - - in - - - , but no template matches. - - - - < - - > - - </ - - > - - - - - - - -rtl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:copy-of select="$title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document - - - - - - - - - - - - - - - - - - ID ' - - ' not found in document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-onechunk.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-onechunk.xsl deleted file mode 100644 index d0a62ea17..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-onechunk.xsl +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - -1 - - - - # - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/qandaset.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/qandaset.xsl deleted file mode 100644 index 1b3d4c539..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/qandaset.xsl +++ /dev/null @@ -1,439 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - -

    -
    - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - -

    -
    - - - - - - - - - - -
    - - - - - - - - - - - - - - -
    - - -
    -
    - - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - -
    - - - - -
    - - - -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - width: 100%; - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1% - - - - - - - - - -
    -
    - - - - - - - - - -
    diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/refentry.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/refentry.xsl deleted file mode 100644 index 93f43a973..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/refentry.xsl +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - -

    -
    - - - - -
    - - - - - - - -
    -
    -
    -
    - - - - - - -
    -
    - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - -
    - - - - - - - - - - - -

    - - - -

    -
    - -

    - - - - - - - - -

    -
    -
    - -

    - -

    -
    -
    - - - - - - , - - - - - - - - - em-dash - - - - - - - - - - - - - - - - : - - - - - - - -
    - - - - - -

    - - - - - - - - - - -

    - -
    -
    - - - - - - - - - - - -
    - - - - - - - - - - - - -
    -
    - - - - - - 0 - 1 - - - - 6 - - - - - - - - - - - - -

    - -

    -
    - - - -

    - -

    -
    - - - -

    - -

    -
    - - - - - - - - - -
    diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/sections.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/sections.xsl deleted file mode 100644 index 904a2ef22..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/sections.xsl +++ /dev/null @@ -1,562 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 2 - 3 - 4 - 5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - clear: both - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - 1 - - - - - - - 2 - 3 - 4 - 5 - 6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/synop.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/synop.xsl deleted file mode 100644 index 853fbf5d8..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/synop.xsl +++ /dev/null @@ -1,1614 +0,0 @@ - - - - - - - - - - - - - - -
    - -

    - - - - - - - - - - - - - - - -

    -
    -
    - - -
    - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - - - - ( - - ) - -   - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -    
    -    
    -    
    -  
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - - -
    - -
    -

    -
    - - - - - - - ( - - - - - - - - - - - - - - - - ) - ; - - - - ... - ) - ; - - - - - - - , - - - ) - ; - - - - - - - - - - - - - - - - - - - - -
    - - - - ; -
    - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - Function synopsis - - - cellspacing: 0; cellpadding: 0; - - - - - - - - - - - -
    - -
     
    - -
    - -
    -
    -
     
    -
    - - - - - - - ( - - - - - - - - - - - - - - - - - ) - ; - -   - - - - - ... - ) - ; - -   - - - - - - - - , - - - ) - ; - - - -   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   - - - - - - ; - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - ; - - - - - - -

    - -

    -
    - - - - - - - ( - - - - - - - - - - - - - - - - void) - ; - - - - ... - ) - ; - - - - - - - , - - - ) - ; - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - Function synopsis - - - cellspacing: 0; cellpadding: 0; - - - - - - - - - - - -
    - -
     
    -
     
    -
    - - - - - - - ( - - - - - - - - - - - - - - - - - void) - ; - -   - - - - - ... - ) - ; - -   - - - - - - - - , - - - ) - ; - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - -java - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Unrecognized language on - - : - - - - - - - - - - - -
    -
    -
    - - - - - -
    -    
    -    
    -    
    -    
    -       extends
    -      
    -      
    -        
    -      -
    -
    - - implements - - -
    -      -
    -
    - - throws - - -  { -
    - - } -
    -
    - - - - - - - - - , - - - - - - - - - - - - - - - - - - -   - - - - - - - , - - - - - - - - - - - , - - - - - - - - - - - , - - - - - - - - - - - - - -    - - - ; - - - - - - - - - -   - - - - - - - - -   - - - - - - - - - - - - - - - - - void  - - - - - - - - - - - - - 0 - - , -
    - - -   - - - -
    - - - - - -
    - - - - - - - - - - - - - - - -    - - - - - - - - - - - - - - - - ( - - - - ) - -
    -     throws  - -
    - - - - - ; -
    - -
    - - - - -
    -    
    -    
    -    
    -    
    -      : 
    -      
    -      
    -        
    -      -
    -
    - - implements - - -
    -      -
    -
    - - throws - - -  { -
    - - } -
    -
    - - - - - - - - , - - - - - - - - - - - - - - -   - - - - - - - , - - - - - - - - - - - , - - - - - - - - - - - , - - - - - - - - - - - - - -    - - - ; - - - - - - - - - -   - - - - - - - - -   - - - - - - - - - - - - - - - - - void  - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - -    - - - - - - - - - - ( - - ) - -
    -     throws  - -
    - - - - - ; -
    - -
    - - - - -
    -    
    -    
    -    interface 
    -    
    -    
    -      : 
    -      
    -      
    -        
    -      -
    -
    - - implements - - -
    -      -
    -
    - - throws - - -  { -
    - - } -
    -
    - - - - - - - - , - - - - - - - - - - - - - - -   - - - - - - - , - - - - - - - - - - - , - - - - - - - - - - - , - - - - - - - - - - - - - -    - - - ; - - - - - - - - - -   - - - - - - - - -   - - - - - - - - - - - - - - - - - void  - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - -    - - - - - - - - - - ( - - ) - -
    -     raises( - - ) -
    - - - - - ; -
    - -
    - - - - -
    -    
    -    
    -    package 
    -    
    -    ;
    -    
    - - - @ISA = ( - - ); -
    -
    - - -
    -
    - - - - - - - - , - - - - - - - - - - - - - - -   - - - - - - - , - - - - - - - - - - - , - - - - - - - - - - - , - - - - - - - - - - - - - -    - - - ; - - - - - - - - - -   - - - - - - - - -   - - - - - - - - - - - - - - - - - void  - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - sub - - - { ... }; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/table.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/table.xsl deleted file mode 100644 index 9ca6ea7fa..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/table.xsl +++ /dev/null @@ -1,1177 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - - - - - - - border- - - : - - - - - - ; - - - - - border- - - -width: - - ; - - - - border- - - -style: - - ; - - - - border- - - -color: - - ; - - - - - - - - - - - Error: CALS tables must specify the number of columns. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 100% - - - - - - - - border-collapse: collapse; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - border-collapse: collapse; - - - - - - - - - - - - - - - - - border-collapse: collapse; - - - - - - - - - - - border-collapse: collapse; - - - - - - - - - - - border-collapse: collapse; - - - - - - - - - - - - - - - - - border: none; - - - - - border-collapse: collapse; - - - - - - - 0 - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - 100% - - - - - - - - - - - - - - - - - - - - - - - - No convertLength function available. - - - - - - - - - - - - - - - - - - - - - - - - - - No adjustColumnWidths function available. - - - - - - - - - - - - - - - - - - - - -
    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Warning: overlapped row contains content! - - - This row intentionally left blank - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - th - th - - th - - td - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - : - - - - - - - - 0: - - - - - - - - - - - - - - - 0 - - : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/task.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/task.xsl deleted file mode 100644 index 3a64e05af..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/task.xsl +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - before - - - - - - - - -
    - - - - - - - - - - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - -
    diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.templates.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.templates.xml deleted file mode 100755 index 6fbe8fc13..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.templates.xml +++ /dev/null @@ -1,739 +0,0 @@ - - - - - - - - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="set" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="book" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="part" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title - t:force="1" - t:named-template="division.title" - param:node="ancestor-or-self::part[1]"/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage t:element="partintro" t:wrapper="div"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="reference" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="refentry" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> -<!-- uncomment this if you want refentry titlepages - <title t:force="1" - t:named-template="refentry.title" - param:node="ancestor-or-self::refentry[1]"/> ---> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator/> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage t:element="dedication" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title - t:force="1" - t:named-template="component.title" - param:node="ancestor-or-self::dedication[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="acknowledgements" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title - t:force="1" - t:named-template="component.title" - param:node="ancestor-or-self::acknowledgements[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="preface" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="chapter" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage t:element="topic" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="appendix" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="section" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage t:element="sect1" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage t:element="sect2" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage t:element="sect3" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage t:element="sect4" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage t:element="sect5" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage t:element="simplesect" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="bibliography" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title - t:force="1" - t:named-template="component.title" - param:node="ancestor-or-self::bibliography[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="glossary" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title - t:force="1" - t:named-template="component.title" - param:node="ancestor-or-self::glossary[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="index" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title - t:force="1" - t:named-template="component.title" - param:node="ancestor-or-self::index[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage t:element="setindex" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title - t:force="1" - t:named-template="component.title" - param:node="ancestor-or-self::setindex[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> -<t:titlepage t:element="sidebar" t:wrapper="div" class="titlepage"> - <t:titlepage-content t:side="recto"> - <title - t:named-template="formal.object.heading" - param:object="ancestor-or-self::sidebar[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content t:side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before t:side="recto"> - </t:titlepage-before> - - <t:titlepage-before t:side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -</t:templates> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.templates.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.templates.xsl deleted file mode 100644 index a2a3cbb61..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.templates.xsl +++ /dev/null @@ -1,4004 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl"> - -<!-- This stylesheet was created by template/titlepage.xsl--> - -<xsl:template name="article.titlepage.recto"> - <xsl:choose> - <xsl:when test="articleinfo/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> - </xsl:when> - <xsl:when test="artheader/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="articleinfo/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> - </xsl:when> - <xsl:when test="artheader/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="article.titlepage.verso"> -</xsl:template> - -<xsl:template name="article.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="article.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="article.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="article.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="article.titlepage.before.recto"/> - <xsl:call-template name="article.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="article.titlepage.before.verso"/> - <xsl:call-template name="article.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="article.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="article.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="article.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="set.titlepage.recto"> - <xsl:choose> - <xsl:when test="setinfo/title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="setinfo/subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="set.titlepage.verso"> -</xsl:template> - -<xsl:template name="set.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="set.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="set.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="set.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="set.titlepage.before.recto"/> - <xsl:call-template name="set.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="set.titlepage.before.verso"/> - <xsl:call-template name="set.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="set.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="set.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="set.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="book.titlepage.recto"> - <xsl:choose> - <xsl:when test="bookinfo/title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="bookinfo/subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="book.titlepage.verso"> -</xsl:template> - -<xsl:template name="book.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="book.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="book.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="book.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="book.titlepage.before.recto"/> - <xsl:call-template name="book.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="book.titlepage.before.verso"/> - <xsl:call-template name="book.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="book.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="book.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="book.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="part.titlepage.recto"> - <div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:call-template name="division.title"> -<xsl:with-param name="node" select="ancestor-or-self::part[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="partinfo/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="part.titlepage.verso"> -</xsl:template> - -<xsl:template name="part.titlepage.separator"> -</xsl:template> - -<xsl:template name="part.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="part.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="part.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="part.titlepage.before.recto"/> - <xsl:call-template name="part.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="part.titlepage.before.verso"/> - <xsl:call-template name="part.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="part.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="part.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="part.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="partintro.titlepage.recto"> - <xsl:choose> - <xsl:when test="partintroinfo/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="partintroinfo/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="partintro.titlepage.verso"> -</xsl:template> - -<xsl:template name="partintro.titlepage.separator"> -</xsl:template> - -<xsl:template name="partintro.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="partintro.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="partintro.titlepage"> - <div> - <xsl:variable name="recto.content"> - <xsl:call-template name="partintro.titlepage.before.recto"/> - <xsl:call-template name="partintro.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="partintro.titlepage.before.verso"/> - <xsl:call-template name="partintro.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="partintro.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="partintro.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="partintro.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="reference.titlepage.recto"> - <xsl:choose> - <xsl:when test="referenceinfo/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="referenceinfo/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="reference.titlepage.verso"> -</xsl:template> - -<xsl:template name="reference.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="reference.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="reference.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="reference.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="reference.titlepage.before.recto"/> - <xsl:call-template name="reference.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="reference.titlepage.before.verso"/> - <xsl:call-template name="reference.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="reference.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="reference.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="reference.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="refentry.titlepage.recto"> -</xsl:template> - -<xsl:template name="refentry.titlepage.verso"> -</xsl:template> - -<xsl:template name="refentry.titlepage.separator"> -</xsl:template> - -<xsl:template name="refentry.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="refentry.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="refentry.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="refentry.titlepage.before.recto"/> - <xsl:call-template name="refentry.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="refentry.titlepage.before.verso"/> - <xsl:call-template name="refentry.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="refentry.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="refentry.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="refentry.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template name="dedication.titlepage.recto"> - <div xsl:use-attribute-sets="dedication.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="dedicationinfo/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="dedication.titlepage.verso"> -</xsl:template> - -<xsl:template name="dedication.titlepage.separator"> -</xsl:template> - -<xsl:template name="dedication.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="dedication.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="dedication.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="dedication.titlepage.before.recto"/> - <xsl:call-template name="dedication.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="dedication.titlepage.before.verso"/> - <xsl:call-template name="dedication.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="dedication.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="dedication.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="dedication.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="dedication.titlepage.recto.style"> -<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="acknowledgements.titlepage.recto"> - <div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="acknowledgementsinfo/subtitle"> - <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="acknowledgements.titlepage.verso"> -</xsl:template> - -<xsl:template name="acknowledgements.titlepage.separator"> -</xsl:template> - -<xsl:template name="acknowledgements.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="acknowledgements.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="acknowledgements.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="acknowledgements.titlepage.before.recto"/> - <xsl:call-template name="acknowledgements.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="acknowledgements.titlepage.before.verso"/> - <xsl:call-template name="acknowledgements.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="acknowledgements.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="acknowledgements.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="acknowledgements.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> -<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="preface.titlepage.recto"> - <xsl:choose> - <xsl:when test="prefaceinfo/title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="prefaceinfo/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="preface.titlepage.verso"> -</xsl:template> - -<xsl:template name="preface.titlepage.separator"> -</xsl:template> - -<xsl:template name="preface.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="preface.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="preface.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="preface.titlepage.before.recto"/> - <xsl:call-template name="preface.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="preface.titlepage.before.verso"/> - <xsl:call-template name="preface.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="preface.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="preface.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="preface.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="chapter.titlepage.recto"> - <xsl:choose> - <xsl:when test="chapterinfo/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="chapterinfo/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="chapter.titlepage.verso"> -</xsl:template> - -<xsl:template name="chapter.titlepage.separator"> -</xsl:template> - -<xsl:template name="chapter.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="chapter.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="chapter.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="chapter.titlepage.before.recto"/> - <xsl:call-template name="chapter.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="chapter.titlepage.before.verso"/> - <xsl:call-template name="chapter.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="chapter.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="chapter.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="chapter.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="topic.titlepage.recto"> - <xsl:choose> - <xsl:when test="topicinfo/title"> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="topicinfo/subtitle"> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/corpauthor"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/authorgroup"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/author"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/othercredit"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/releaseinfo"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/copyright"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/legalnotice"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/pubdate"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revision"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revhistory"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/abstract"/> - <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="topic.titlepage.verso"> -</xsl:template> - -<xsl:template name="topic.titlepage.separator"> -</xsl:template> - -<xsl:template name="topic.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="topic.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="topic.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="topic.titlepage.before.recto"/> - <xsl:call-template name="topic.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="topic.titlepage.before.verso"/> - <xsl:call-template name="topic.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="topic.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="topic.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="topic.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="topic.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="topic.titlepage.recto.style"> -<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="appendix.titlepage.recto"> - <xsl:choose> - <xsl:when test="appendixinfo/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="appendixinfo/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="appendix.titlepage.verso"> -</xsl:template> - -<xsl:template name="appendix.titlepage.separator"> -</xsl:template> - -<xsl:template name="appendix.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="appendix.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="appendix.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="appendix.titlepage.before.recto"/> - <xsl:call-template name="appendix.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="appendix.titlepage.before.verso"/> - <xsl:call-template name="appendix.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="appendix.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="appendix.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="appendix.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="section.titlepage.recto"> - <xsl:choose> - <xsl:when test="sectioninfo/title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sectioninfo/subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="section.titlepage.verso"> -</xsl:template> - -<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="section.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="section.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="section.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="section.titlepage.before.recto"/> - <xsl:call-template name="section.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="section.titlepage.before.verso"/> - <xsl:call-template name="section.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="section.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="section.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="section.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect1.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect1info/title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect1info/subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="sect1.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect1.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect1.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect1.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="sect1.titlepage.before.recto"/> - <xsl:call-template name="sect1.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="sect1.titlepage.before.verso"/> - <xsl:call-template name="sect1.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="sect1.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect1.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect1.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect2.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect2info/title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect2info/subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="sect2.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect2.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect2.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect2.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="sect2.titlepage.before.recto"/> - <xsl:call-template name="sect2.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="sect2.titlepage.before.verso"/> - <xsl:call-template name="sect2.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="sect2.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect2.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect2.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect3.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect3info/title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect3info/subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="sect3.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect3.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect3.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect3.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="sect3.titlepage.before.recto"/> - <xsl:call-template name="sect3.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="sect3.titlepage.before.verso"/> - <xsl:call-template name="sect3.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="sect3.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect3.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect3.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect4.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect4info/title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect4info/subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="sect4.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect4.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect4.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect4.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="sect4.titlepage.before.recto"/> - <xsl:call-template name="sect4.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="sect4.titlepage.before.verso"/> - <xsl:call-template name="sect4.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="sect4.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect4.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect4.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect5.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect5info/title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect5info/subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="sect5.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect5.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect5.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect5.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="sect5.titlepage.before.recto"/> - <xsl:call-template name="sect5.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="sect5.titlepage.before.verso"/> - <xsl:call-template name="sect5.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="sect5.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect5.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect5.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="simplesect.titlepage.recto"> - <xsl:choose> - <xsl:when test="simplesectinfo/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="simplesectinfo/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/> -</xsl:template> - -<xsl:template name="simplesect.titlepage.verso"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="simplesect.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="simplesect.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="simplesect.titlepage.before.recto"/> - <xsl:call-template name="simplesect.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="simplesect.titlepage.before.verso"/> - <xsl:call-template name="simplesect.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="simplesect.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="bibliography.titlepage.recto"> - <div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="bibliographyinfo/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="bibliography.titlepage.verso"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.separator"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="bibliography.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="bibliography.titlepage.before.recto"/> - <xsl:call-template name="bibliography.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="bibliography.titlepage.before.verso"/> - <xsl:call-template name="bibliography.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="bibliography.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> -<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="glossary.titlepage.recto"> - <div xsl:use-attribute-sets="glossary.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="glossaryinfo/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="glossary.titlepage.verso"> -</xsl:template> - -<xsl:template name="glossary.titlepage.separator"> -</xsl:template> - -<xsl:template name="glossary.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="glossary.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="glossary.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="glossary.titlepage.before.recto"/> - <xsl:call-template name="glossary.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="glossary.titlepage.before.verso"/> - <xsl:call-template name="glossary.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="glossary.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="glossary.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="glossary.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="glossary.titlepage.recto.style"> -<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="index.titlepage.recto"> - <div xsl:use-attribute-sets="index.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="indexinfo/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="index.titlepage.verso"> -</xsl:template> - -<xsl:template name="index.titlepage.separator"> -</xsl:template> - -<xsl:template name="index.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="index.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="index.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="index.titlepage.before.recto"/> - <xsl:call-template name="index.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="index.titlepage.before.verso"/> - <xsl:call-template name="index.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="index.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="index.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="index.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="index.titlepage.recto.style"> -<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="setindex.titlepage.recto"> - <div xsl:use-attribute-sets="setindex.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="setindexinfo/subtitle"> - <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="setindex.titlepage.verso"> -</xsl:template> - -<xsl:template name="setindex.titlepage.separator"> -</xsl:template> - -<xsl:template name="setindex.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="setindex.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="setindex.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="setindex.titlepage.before.recto"/> - <xsl:call-template name="setindex.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="setindex.titlepage.before.verso"/> - <xsl:call-template name="setindex.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="setindex.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="setindex.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="setindex.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="setindex.titlepage.recto.style"> -<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sidebar.titlepage.recto"> - <xsl:choose> - <xsl:when test="sidebarinfo/title"> - <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="info/title"> - <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sidebarinfo/subtitle"> - <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="info/subtitle"> - <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="sidebar.titlepage.verso"> -</xsl:template> - -<xsl:template name="sidebar.titlepage.separator"> -</xsl:template> - -<xsl:template name="sidebar.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sidebar.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sidebar.titlepage"> - <div class="titlepage"> - <xsl:variable name="recto.content"> - <xsl:call-template name="sidebar.titlepage.before.recto"/> - <xsl:call-template name="sidebar.titlepage.recto"/> - </xsl:variable> - <xsl:variable name="recto.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> - <div><xsl:copy-of select="$recto.content"/></div> - </xsl:if> - <xsl:variable name="verso.content"> - <xsl:call-template name="sidebar.titlepage.before.verso"/> - <xsl:call-template name="sidebar.titlepage.verso"/> - </xsl:variable> - <xsl:variable name="verso.elements.count"> - <xsl:choose> - <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> - <div><xsl:copy-of select="$verso.content"/></div> - </xsl:if> - <xsl:call-template name="sidebar.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sidebar.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sidebar.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sidebar.titlepage.recto.style"> -<xsl:call-template name="formal.object.heading"> -<xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/> -</xsl:call-template> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sidebar.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> -</div> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.xsl deleted file mode 100644 index df29e6e14..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/titlepage.xsl +++ /dev/null @@ -1,1106 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<!-- ******************************************************************** - $Id: titlepage.xsl 9360 2012-05-12 23:39:14Z bobstayton $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for - copyright and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:attribute-set name="book.titlepage.recto.style"/> -<xsl:attribute-set name="book.titlepage.verso.style"/> - -<xsl:attribute-set name="article.titlepage.recto.style"/> -<xsl:attribute-set name="article.titlepage.verso.style"/> - -<xsl:attribute-set name="set.titlepage.recto.style"/> -<xsl:attribute-set name="set.titlepage.verso.style"/> - -<xsl:attribute-set name="part.titlepage.recto.style"/> -<xsl:attribute-set name="part.titlepage.verso.style"/> - -<xsl:attribute-set name="partintro.titlepage.recto.style"/> -<xsl:attribute-set name="partintro.titlepage.verso.style"/> - -<xsl:attribute-set name="reference.titlepage.recto.style"/> -<xsl:attribute-set name="reference.titlepage.verso.style"/> - -<xsl:attribute-set name="refentry.titlepage.recto.style"/> -<xsl:attribute-set name="refentry.titlepage.verso.style"/> - -<xsl:attribute-set name="dedication.titlepage.recto.style"/> -<xsl:attribute-set name="dedication.titlepage.verso.style"/> - -<xsl:attribute-set name="acknowledgements.titlepage.recto.style"/> -<xsl:attribute-set name="acknowledgements.titlepage.verso.style"/> - -<xsl:attribute-set name="preface.titlepage.recto.style"/> -<xsl:attribute-set name="preface.titlepage.verso.style"/> - -<xsl:attribute-set name="chapter.titlepage.recto.style"/> -<xsl:attribute-set name="chapter.titlepage.verso.style"/> - -<xsl:attribute-set name="appendix.titlepage.recto.style"/> -<xsl:attribute-set name="appendix.titlepage.verso.style"/> - -<xsl:attribute-set name="bibliography.titlepage.recto.style"/> -<xsl:attribute-set name="bibliography.titlepage.verso.style"/> - -<xsl:attribute-set name="glossary.titlepage.recto.style"/> -<xsl:attribute-set name="glossary.titlepage.verso.style"/> - -<xsl:attribute-set name="index.titlepage.recto.style"/> -<xsl:attribute-set name="index.titlepage.verso.style"/> - -<xsl:attribute-set name="setindex.titlepage.recto.style"/> -<xsl:attribute-set name="setindex.titlepage.verso.style"/> - -<xsl:attribute-set name="sidebar.titlepage.recto.style"/> -<xsl:attribute-set name="sidebar.titlepage.verso.style"/> - -<xsl:attribute-set name="topic.titlepage.recto.style"/> -<xsl:attribute-set name="topic.titlepage.verso.style"/> - -<xsl:attribute-set name="section.titlepage.recto.style"/> -<xsl:attribute-set name="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect1.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect1.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect2.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect2.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect3.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect3.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect4.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect4.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect5.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect5.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="simplesect.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="simplesect.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/> -<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="titlepage.mode"> - <!-- if an element isn't found in this mode, try the default mode --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="abbrev" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="abstract" mode="titlepage.mode"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:call-template name="anchor"/> - <xsl:if test="$abstract.notitle.enabled = 0"> - <xsl:call-template name="formal.object.heading"> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - <xsl:apply-templates mode="titlepage.mode"/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="abstract/title" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="address" mode="titlepage.mode"> - <xsl:param name="suppress-numbers" select="'0'"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="paragraph"> - <xsl:with-param name="content"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </div> - </xsl:when> - - <xsl:otherwise> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="paragraph"> - <xsl:with-param name="content"> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="affiliation" mode="titlepage.mode"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="artpagenums" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="author|editor" mode="titlepage.mode"> - <xsl:call-template name="credits.div"/> -</xsl:template> - -<xsl:template name="credits.div"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:if test="self::editor[position()=1] and not($editedby.enabled = 0)"> - <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4> - </xsl:if> - <h3> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:choose> - <xsl:when test="orgname"> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="person.name"/> - </xsl:otherwise> - </xsl:choose> - </h3> - <xsl:if test="not($contrib.inline.enabled = 0)"> - <xsl:apply-templates mode="titlepage.mode" select="contrib"/> - </xsl:if> - <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> - <xsl:apply-templates mode="titlepage.mode" select="email"/> - <xsl:if test="not($blurb.on.titlepage.enabled = 0)"> - <xsl:choose> - <xsl:when test="$contrib.inline.enabled = 0"> - <xsl:apply-templates mode="titlepage.mode" select="contrib|authorblurb|personblurb"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="titlepage.mode" select="authorblurb|personblurb"/> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </div> -</xsl:template> - -<xsl:template match="authorblurb|personblurb" mode="titlepage.mode"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="authorgroup" mode="titlepage.mode"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:if test="parent::refentryinfo"> - <h2>Authors</h2> - </xsl:if> - - <xsl:call-template name="anchor"/> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="authorinitials" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="bibliomisc" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="bibliomset" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="collab" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="collabname" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - </span> -</xsl:template> - -<xsl:template match="confgroup" mode="titlepage.mode"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="confdates" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="confsponsor" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="conftitle" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="confnum" mode="titlepage.mode"> - <!-- suppress --> -</xsl:template> - -<xsl:template match="contractnum" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="contractsponsor" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="contrib" mode="titlepage.mode"> - <xsl:choose> - <xsl:when test="not($contrib.inline.enabled = 0)"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - </span><xsl:text> </xsl:text> - </xsl:when> - <xsl:otherwise> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <p><xsl:apply-templates mode="titlepage.mode"/></p> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="copyright" mode="titlepage.mode"> - - <xsl:if test="generate-id() = generate-id(//refentryinfo/copyright[1]) and ($stylesheet.result.type = 'html' or $stylesheet.result.type = 'xhtml')"> - <h2>Copyright</h2> - </xsl:if> - - <p> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Copyright'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">copyright</xsl:with-param> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="copyright.years"> - <xsl:with-param name="years" select="year"/> - <xsl:with-param name="print.ranges" select="$make.year.ranges"/> - <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="holder" mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="year" mode="titlepage.mode"> - <xsl:choose> - <xsl:when test="$show.revisionflag != 0 and @revisionflag"> - <span class="{@revisionflag}"> - <xsl:apply-templates mode="titlepage.mode"/> - </span> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="holder" mode="titlepage.mode"> - <xsl:choose> - <xsl:when test="$show.revisionflag != 0 and @revisionflag"> - <span class="{@revisionflag}"> - <xsl:apply-templates mode="titlepage.mode"/> - </span> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:otherwise> - </xsl:choose> - <xsl:if test="position() < last()"> - <xsl:text>, </xsl:text> - </xsl:if> -</xsl:template> - -<xsl:template match="corpauthor" mode="titlepage.mode"> - <h3> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - </h3> -</xsl:template> - -<xsl:template match="corpcredit" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="corpname" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="date" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="edition" mode="titlepage.mode"> - <p> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Edition'"/> - </xsl:call-template> - </p> -</xsl:template> - -<xsl:template match="email" mode="titlepage.mode"> - <!-- use the normal e-mail handling code --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="firstname" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="graphic" mode="titlepage.mode"> - <!-- use the normal graphic handling code --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="honorific" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="isbn" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="issn" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="biblioid" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="itermset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="invpartnumber" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="issuenum" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="jobtitle" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="keywordset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="legalnotice" mode="titlepage.mode"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - - <xsl:choose> - <xsl:when test="$generate.legalnotice.link != 0"> - - <!-- Compute name of legalnotice file --> - <xsl:variable name="file"> - <xsl:call-template name="ln.or.rh.filename"/> - </xsl:variable> - - <xsl:variable name="filename"> - <xsl:call-template name="make-relative-filename"> - <xsl:with-param name="base.dir" select="$chunk.base.dir"/> - <xsl:with-param name="base.name" select="$file"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:variable> - - <a href="{$file}"> - <xsl:copy-of select="$title"/> - </a> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="quiet" select="$chunk.quietly"/> - <xsl:with-param name="content"> - <xsl:call-template name="user.preroot"/> - <html> - <head> - <xsl:call-template name="system.head.content"/> - <xsl:call-template name="head.content"/> - <xsl:call-template name="user.head.content"/> - </head> - <body> - <xsl:call-template name="body.attributes"/> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:apply-templates mode="titlepage.mode"/> - </div> - </body> - </html> - <xsl:value-of select="$chunk.append"/> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:call-template name="anchor"> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:apply-templates mode="titlepage.mode"/> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="legalnotice/title" mode="titlepage.mode"> - <p class="legalnotice-title"><strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform"><xsl:apply-templates/></strong></p> -</xsl:template> - -<xsl:template match="lineage" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="modespec" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="orgdiv" mode="titlepage.mode"> - <xsl:if test="preceding-sibling::*[1][self::orgname]"> - <xsl:text> </xsl:text> - </xsl:if> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="orgname" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="othercredit" mode="titlepage.mode"> -<xsl:choose> - <xsl:when test="not($othercredit.like.author.enabled = 0)"> - <xsl:variable name="contrib" select="string(contrib)"/> - <xsl:choose> - <xsl:when test="contrib"> - <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])"> - <xsl:call-template name="paragraph"> - <xsl:with-param name="class" select="local-name(.)"/> - <xsl:with-param name="content"> - <xsl:apply-templates mode="titlepage.mode" select="contrib"/> - <xsl:text>: </xsl:text> - <xsl:call-template name="person.name"/> - <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> - <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="paragraph"> - <xsl:with-param name="class" select="local-name(.)"/> - <xsl:with-param name="content"> - <xsl:call-template name="person.name"/> - </xsl:with-param> - </xsl:call-template> - <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="credits.div"/> - </xsl:otherwise> -</xsl:choose> -</xsl:template> - -<xsl:template match="othercredit" mode="titlepage.othercredits"> - <xsl:text>, </xsl:text> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="othername" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pagenums" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="printhistory" mode="titlepage.mode"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="productname" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="productnumber" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pubdate" mode="titlepage.mode"> - <xsl:call-template name="paragraph"> - <xsl:with-param name="class" select="local-name(.)"/> - <xsl:with-param name="content"> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template match="publisher" mode="titlepage.mode"> - <xsl:call-template name="paragraph"> - <xsl:with-param name="class" select="local-name(.)"/> - <xsl:with-param name="content"> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template match="publishername" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pubsnumber" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="releaseinfo" mode="titlepage.mode"> - <xsl:call-template name="paragraph"> - <xsl:with-param name="class" select="local-name(.)"/> - <xsl:with-param name="content"> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template match="revhistory" mode="titlepage.mode"> - <xsl:variable name="numcols"> - <xsl:choose> - <xsl:when test=".//authorinitials|.//author">3</xsl:when> - <xsl:otherwise>2</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - - <xsl:variable name="title"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">RevHistory</xsl:with-param> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="contents"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <table> - <xsl:if test="$css.decoration != 0"> - <xsl:attribute name="style"> - <xsl:text>border-style:solid; width:100%;</xsl:text> - </xsl:attribute> - </xsl:if> - <!-- include summary attribute if not HTML5 --> - <xsl:if test="$div.element != 'section'"> - <xsl:attribute name="summary"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">revhistory</xsl:with-param> - </xsl:call-template> - </xsl:attribute> - </xsl:if> - <tr> - <th align="{$direction.align.start}" valign="top" colspan="{$numcols}"> - <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'RevHistory'"/> - </xsl:call-template> - </strong> - </th> - </tr> - <xsl:apply-templates mode="titlepage.mode"> - <xsl:with-param name="numcols" select="$numcols"/> - </xsl:apply-templates> - </table> - </div> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$generate.revhistory.link != 0"> - - <!-- Compute name of revhistory file --> - <xsl:variable name="file"> - <xsl:call-template name="ln.or.rh.filename"> - <xsl:with-param name="is.ln" select="false()"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="filename"> - <xsl:call-template name="make-relative-filename"> - <xsl:with-param name="base.dir" select="$chunk.base.dir"/> - <xsl:with-param name="base.name" select="$file"/> - </xsl:call-template> - </xsl:variable> - - <a href="{$file}"> - <xsl:copy-of select="$title"/> - </a> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="quiet" select="$chunk.quietly"/> - <xsl:with-param name="content"> - <xsl:call-template name="user.preroot"/> - <html> - <head> - <xsl:call-template name="system.head.content"/> - <xsl:call-template name="head.content"> - <xsl:with-param name="title"> - <xsl:value-of select="$title"/> - <xsl:if test="../../title"> - <xsl:value-of select="concat(' (', ../../title, ')')"/> - </xsl:if> - </xsl:with-param> - </xsl:call-template> - <xsl:call-template name="user.head.content"/> - </head> - <body> - <xsl:call-template name="body.attributes"/> - <xsl:copy-of select="$contents"/> - </body> - </html> - <xsl:text> -</xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$contents"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="revhistory/revision" mode="titlepage.mode"> - <xsl:param name="numcols" select="'3'"/> - <xsl:variable name="revnumber" select="revnumber"/> - <xsl:variable name="revdate" select="date"/> - <xsl:variable name="revauthor" select="authorinitials|author"/> - <xsl:variable name="revremark" select="revremark|revdescription"/> - <tr> - <td align="{$direction.align.start}"> - <xsl:if test="$revnumber"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Revision'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> - </xsl:if> - </td> - <td align="{$direction.align.start}"> - <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> - </td> - <xsl:choose> - <xsl:when test="$revauthor"> - <td align="{$direction.align.start}"> - <xsl:for-each select="$revauthor"> - <xsl:apply-templates select="." mode="titlepage.mode"/> - <xsl:if test="position() != last()"> - <xsl:text>, </xsl:text> - </xsl:if> - </xsl:for-each> - </td> - </xsl:when> - <xsl:when test="$numcols > 2"> - <td> </td> - </xsl:when> - <xsl:otherwise/> - </xsl:choose> - </tr> - <xsl:if test="$revremark"> - <tr> - <td align="{$direction.align.start}" colspan="{$numcols}"> - <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> - </td> - </tr> - </xsl:if> -</xsl:template> - -<xsl:template match="revision/revnumber" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/date" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/authorinitials" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/author" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/revremark" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/revdescription" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="seriesvolnums" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="shortaffil" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="subjectset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="subtitle" mode="titlepage.mode"> - <h2> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - </h2> -</xsl:template> - -<xsl:template match="surname" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="title" mode="titlepage.mode"> - <xsl:variable name="id"> - <xsl:choose> - <!-- if title is in an *info wrapper, get the grandparent --> - <xsl:when test="contains(local-name(..), 'info')"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="../.."/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <h1> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:choose> - <xsl:when test="$generate.id.attributes = 0"> - <a id="{$id}"/> - </xsl:when> - <xsl:otherwise> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="$show.revisionflag != 0 and @revisionflag"> - <span class="{@revisionflag}"> - <xsl:apply-templates mode="titlepage.mode"/> - </span> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:otherwise> - </xsl:choose> - </h1> -</xsl:template> - -<xsl:template match="titleabbrev" mode="titlepage.mode"> - <!-- nop; title abbreviations don't belong on the title page! --> -</xsl:template> - -<xsl:template match="volumenum" mode="titlepage.mode"> - <span> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<!-- This template computes the filename for legalnotice and revhistory chunks --> -<xsl:template name="ln.or.rh.filename"> - <xsl:param name="node" select="."/> - <xsl:param name="is.ln" select="true()"/> - - <xsl:variable name="dbhtml-filename"> - <xsl:call-template name="pi.dbhtml_filename"> - <xsl:with-param name="node" select="$node"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <!-- 1. If there is a dbhtml_filename PI, use that --> - <xsl:when test="$dbhtml-filename != ''"> - <xsl:value-of select="$dbhtml-filename"/> - </xsl:when> - <xsl:when test="($node/@id or $node/@xml:id) and not($use.id.as.filename = 0)"> - <!-- * 2. If this legalnotice/revhistory has an ID, then go ahead and use --> - <!-- * just the value of that ID as the basename for the file --> - <!-- * (that is, without prepending an "ln-" or "rh-" to it) --> - <xsl:value-of select="($node/@id|$node/@xml:id)[1]"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <xsl:when test="not ($node/@id or $node/@xml:id) or $use.id.as.filename = 0"> - <!-- * 3. Otherwise, if this legalnotice/revhistory does not have an ID, or --> - <!-- * if $use.id.as.filename = 0 --> - <!-- * then we generate an ID... --> - <xsl:variable name="id"> - <xsl:value-of select="generate-id($node)"/> - </xsl:variable> - <!-- * ...and then we take that generated ID, prepend a --> - <!-- * prefix to it, and use that as the basename for the file --> - <xsl:choose> - <xsl:when test="$is.ln"> - <xsl:value-of select="concat('ln-',$id,$html.ext)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat('rh-',$id,$html.ext)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/toc.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/toc.xsl deleted file mode 100644 index 81ec72435..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/toc.xsl +++ /dev/null @@ -1,332 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<!-- ******************************************************************** - $Id: toc.xsl 9297 2012-04-22 03:56:16Z bobstayton $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for - copyright and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="set/toc | book/toc | part/toc"> - <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> - <xsl:with-param name="node" select="parent::*"/> - <xsl:with-param name="table" select="normalize-space($generate.toc)"/> - </xsl:call-template> - </xsl:variable> - - <!-- Do not output the toc element if one is already generated - by the use of $generate.toc parameter, or if - generating a source toc is turned off --> - <xsl:if test="not(contains($toc.params, 'toc')) and ($process.source.toc != 0 or $process.empty.source.toc != 0)"> - <xsl:variable name="content"> - <xsl:choose> - <xsl:when test="* and $process.source.toc != 0"> - <xsl:apply-templates/> - </xsl:when> - <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> - <!-- trick to switch context node to parent element --> - <xsl:for-each select="parent::*"> - <xsl:choose> - <xsl:when test="self::set"> - <xsl:call-template name="set.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="self::book"> - <xsl:call-template name="division.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="self::part"> - <xsl:call-template name="division.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> - </xsl:call-template> - </xsl:when> - </xsl:choose> - </xsl:for-each> - </xsl:when> - </xsl:choose> - </xsl:variable> - - <xsl:if test="string-length(normalize-space($content)) != 0"> - <xsl:copy-of select="$content"/> - </xsl:if> - </xsl:if> -</xsl:template> - -<xsl:template match="chapter/toc | appendix/toc | preface/toc | article/toc"> - <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> - <xsl:with-param name="node" select="parent::*"/> - <xsl:with-param name="table" select="normalize-space($generate.toc)"/> - </xsl:call-template> - </xsl:variable> - - <!-- Do not output the toc element if one is already generated - by the use of $generate.toc parameter, or if - generating a source toc is turned off --> - <xsl:if test="not(contains($toc.params, 'toc')) and ($process.source.toc != 0 or $process.empty.source.toc != 0)"> - <xsl:choose> - <xsl:when test="* and $process.source.toc != 0"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates select="title"/> - <dl> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates select="*[not(self::title)]"/> - </dl> - </div> - <xsl:call-template name="component.toc.separator"/> - </xsl:when> - <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> - <!-- trick to switch context node to section element --> - <xsl:for-each select="parent::*"> - <xsl:call-template name="component.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> - </xsl:call-template> - </xsl:for-each> - <xsl:call-template name="component.toc.separator"/> - </xsl:when> - </xsl:choose> - </xsl:if> -</xsl:template> - -<xsl:template match="section/toc |sect1/toc |sect2/toc |sect3/toc |sect4/toc |sect5/toc"> - - <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> - <xsl:with-param name="node" select="parent::*"/> - <xsl:with-param name="table" select="normalize-space($generate.toc)"/> - </xsl:call-template> - </xsl:variable> - - <!-- Do not output the toc element if one is already generated - by the use of $generate.toc parameter, or if - generating a source toc is turned off --> - <xsl:if test="not(contains($toc.params, 'toc')) and ($process.source.toc != 0 or $process.empty.source.toc != 0)"> - <xsl:choose> - <xsl:when test="* and $process.source.toc != 0"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates select="title"/> - <dl> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates select="*[not(self::title)]"/> - </dl> - </div> - <xsl:call-template name="section.toc.separator"/> - </xsl:when> - <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> - <!-- trick to switch context node to section element --> - <xsl:for-each select="parent::*"> - <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> - </xsl:call-template> - </xsl:for-each> - <xsl:call-template name="section.toc.separator"/> - </xsl:when> - </xsl:choose> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="tocpart|tocchap |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> - <xsl:variable name="sub-toc"> - <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dd> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml"> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates select="tocchap|toclevel1|toclevel2| toclevel3|toclevel4|toclevel5"/> - </xsl:element> - </dd> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml"> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates select="tocchap|toclevel1|toclevel2| toclevel3|toclevel4|toclevel5"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:variable> - - <xsl:apply-templates select="tocentry[position() != last()]"/> - - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dt> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates select="tocentry[position() = last()]"/> - </dt> - <xsl:copy-of select="$sub-toc"/> - </xsl:when> - <xsl:otherwise> - <li> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates select="tocentry[position() = last()]"/> - <xsl:copy-of select="$sub-toc"/> - </li> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocentry|tocdiv|lotentry|tocfront|tocback"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dt> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="tocentry-content"/> - </dt> - </xsl:when> - <xsl:otherwise> - <li> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="tocentry-content"/> - </li> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocentry[position() = last()]" priority="2"> - <xsl:call-template name="tocentry-content"/> -</xsl:template> - -<xsl:template name="tocentry-content"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:choose> - <xsl:when test="@linkend"> - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="toc/title"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="toc/subtitle"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="toc/titleabbrev"> -</xsl:template> - -<!-- ==================================================================== --> - -<!-- A lot element must have content, because there is no attribute - to select what kind of list should be generated --> -<xsl:template match="book/lot | part/lot"> - <!-- Don't generate a page sequence unless there is content --> - <xsl:variable name="content"> - <xsl:choose> - <xsl:when test="* and $process.source.toc != 0"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates/> - </div> - </xsl:when> - <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> - <xsl:call-template name="process.empty.lot"/> - </xsl:when> - </xsl:choose> - </xsl:variable> - - <xsl:if test="string-length(normalize-space($content)) != 0"> - <xsl:copy-of select="$content"/> - </xsl:if> -</xsl:template> - -<xsl:template match="chapter/lot | appendix/lot | preface/lot | article/lot"> - <xsl:choose> - <xsl:when test="* and $process.source.toc != 0"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates/> - </div> - <xsl:call-template name="component.toc.separator"/> - </xsl:when> - <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> - <xsl:call-template name="process.empty.lot"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="section/lot |sect1/lot |sect2/lot |sect3/lot |sect4/lot |sect5/lot"> - <xsl:choose> - <xsl:when test="* and $process.source.toc != 0"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates/> - </div> - <xsl:call-template name="section.toc.separator"/> - </xsl:when> - <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> - <xsl:call-template name="process.empty.lot"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.empty.lot"> - <!-- An empty lot element does not provide any information to indicate - what should be included in it. You can customize this - template to generate a lot based on @role or something --> - <xsl:message> - <xsl:text>Warning: don't know what to generate for </xsl:text> - <xsl:text>lot that has no children.</xsl:text> - </xsl:message> -</xsl:template> - -<xsl:template match="lot/title"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="lot/subtitle"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="lot/titleabbrev"> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/verbatim.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/verbatim.xsl deleted file mode 100644 index d331aa0ab..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/verbatim.xsl +++ /dev/null @@ -1,388 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="sverb xverb lxslt exsl" version="1.0"> - -<!-- ******************************************************************** - $Id: verbatim.xsl 9589 2012-09-02 20:52:15Z tom_schr $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for - copyright and other information. - - ******************************************************************** --> - -<!-- XSLTHL highlighting is turned off by default. See highlighting/README - for instructions on how to turn on XSLTHL --> -<xsl:template name="apply-highlighting"> - <xsl:apply-templates/> -</xsl:template> - -<lxslt:component prefix="xverb" functions="numberLines"/> - -<xsl:template match="programlisting|screen|synopsis"> - <xsl:param name="suppress-numbers" select="'0'"/> - - <xsl:call-template name="anchor"/> - - <xsl:variable name="div.element">pre</xsl:variable> - - <xsl:if test="$shade.verbatim != 0"> - <xsl:message> - <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text> - <xsl:text>Use CSS instead,</xsl:text> - </xsl:message> - <xsl:message> - <xsl:text>for example: pre.</xsl:text> - <xsl:value-of select="local-name(.)"/> - <xsl:text> { background-color: #E0E0E0; }</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> - <xsl:variable name="rtf"> - <xsl:choose> - <xsl:when test="$highlight.source != 0"> - <xsl:call-template name="apply-highlighting"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:element name="{$div.element}" namespace="http://www.w3.org/1999/xhtml"> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:if test="@width != ''"> - <xsl:attribute name="width"> - <xsl:value-of select="@width"/> - </xsl:attribute> - </xsl:if> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </xsl:element> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$div.element}" namespace="http://www.w3.org/1999/xhtml"> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:if test="@width != ''"> - <xsl:attribute name="width"> - <xsl:value-of select="@width"/> - </xsl:attribute> - </xsl:if> - <xsl:choose> - <xsl:when test="$highlight.source != 0"> - <xsl:call-template name="apply-highlighting"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </xsl:element> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="literallayout"> - <xsl:param name="suppress-numbers" select="'0'"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:if test="$shade.verbatim != 0 and @class='monospaced'"> - <xsl:message> - <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text> - <xsl:text>Use CSS instead,</xsl:text> - </xsl:message> - <xsl:message> - <xsl:text>for example: pre.</xsl:text> - <xsl:value-of select="local-name(.)"/> - <xsl:text> { background-color: #E0E0E0; }</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> - <xsl:choose> - <xsl:when test="@class='monospaced'"> - <pre> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </pre> - </xsl:when> - <xsl:otherwise> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <p> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </p> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="@class='monospaced'"> - <pre> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:copy-of select="$rtf"/> - </pre> - </xsl:when> - <xsl:otherwise> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <p> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </p> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="address"> - <xsl:param name="suppress-numbers" select="'0'"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <p> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </p> - </div> - </xsl:when> - - <xsl:otherwise> - <div> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <p> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </p> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="number.rtf.lines"> - <xsl:param name="rtf" select="''"/> - <xsl:param name="pi.context" select="."/> - - <!-- Save the global values --> - <xsl:variable name="global.linenumbering.everyNth" select="$linenumbering.everyNth"/> - - <xsl:variable name="global.linenumbering.separator" select="$linenumbering.separator"/> - - <xsl:variable name="global.linenumbering.width" select="$linenumbering.width"/> - - <!-- Extract the <?dbhtml linenumbering.*?> PI values --> - <xsl:variable name="pi.linenumbering.everyNth"> - <xsl:call-template name="pi.dbhtml_linenumbering.everyNth"> - <xsl:with-param name="node" select="$pi.context"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="pi.linenumbering.separator"> - <xsl:call-template name="pi.dbhtml_linenumbering.separator"> - <xsl:with-param name="node" select="$pi.context"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="pi.linenumbering.width"> - <xsl:call-template name="pi.dbhtml_linenumbering.width"> - <xsl:with-param name="node" select="$pi.context"/> - </xsl:call-template> - </xsl:variable> - - <!-- Construct the 'in-context' values --> - <xsl:variable name="linenumbering.everyNth"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.everyNth != ''"> - <xsl:value-of select="$pi.linenumbering.everyNth"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.everyNth"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.separator"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.separator != ''"> - <xsl:value-of select="$pi.linenumbering.separator"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.separator"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.width"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.width != ''"> - <xsl:value-of select="$pi.linenumbering.width"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.width"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.startinglinenumber"> - <xsl:choose> - <xsl:when test="$pi.context/@startinglinenumber"> - <xsl:value-of select="$pi.context/@startinglinenumber"/> - </xsl:when> - <xsl:when test="$pi.context/@continuation='continues'"> - <xsl:variable name="lastLine"> - <xsl:choose> - <xsl:when test="$pi.context/self::programlisting"> - <xsl:call-template name="lastLineNumber"> - <xsl:with-param name="listings" select="preceding::programlisting[@linenumbering='numbered']"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$pi.context/self::screen"> - <xsl:call-template name="lastLineNumber"> - <xsl:with-param name="listings" select="preceding::screen[@linenumbering='numbered']"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$pi.context/self::literallayout"> - <xsl:call-template name="lastLineNumber"> - <xsl:with-param name="listings" select="preceding::literallayout[@linenumbering='numbered']"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$pi.context/self::address"> - <xsl:call-template name="lastLineNumber"> - <xsl:with-param name="listings" select="preceding::address[@linenumbering='numbered']"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$pi.context/self::synopsis"> - <xsl:call-template name="lastLineNumber"> - <xsl:with-param name="listings" select="preceding::synopsis[@linenumbering='numbered']"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Unexpected verbatim environment: </xsl:text> - <xsl:value-of select="local-name($pi.context)"/> - </xsl:message> - <xsl:value-of select="0"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:value-of select="$lastLine + 1"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="function-available('sverb:numberLines')"> - <xsl:copy-of select="sverb:numberLines($rtf)"/> - </xsl:when> - <xsl:when test="function-available('xverb:numberLines')"> - <xsl:copy-of select="xverb:numberLines($rtf)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>No numberLines function available.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="make-verbatim"> - <xsl:param name="rtf"/> - - <!-- I want to make this RTF verbatim. There are two possibilities: either - I have access to the exsl:node-set extension function and I can "do it right" - or I have to rely on CSS. --> - - <xsl:choose> - <xsl:when test="$exsl.node.set.available != 0"> - <xsl:apply-templates select="exsl:node-set($rtf)" mode="make.verbatim.mode"/> - </xsl:when> - <xsl:otherwise> - <span style="white-space: pre;"> - <xsl:copy-of select="$rtf"/> - </span> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ======================================================================== --> - -<xsl:template name="lastLineNumber"> - <xsl:param name="listings"/> - <xsl:param name="number" select="0"/> - - <xsl:variable name="lines"> - <xsl:call-template name="countLines"> - <xsl:with-param name="listing" select="string($listings[1])"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="not($listings)"> - <xsl:value-of select="$number"/> - </xsl:when> - <xsl:when test="$listings[1]/@startinglinenumber"> - <xsl:value-of select="$number + $listings[1]/@startinglinenumber + $lines - 1"/> - </xsl:when> - <xsl:when test="$listings[1]/@continuation='continues'"> - <xsl:call-template name="lastLineNumber"> - <xsl:with-param name="listings" select="$listings[position() > 1]"/> - <xsl:with-param name="number" select="$number + $lines"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$lines"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="countLines"> - <xsl:param name="listing"/> - <xsl:param name="count" select="1"/> - - <xsl:choose> - <xsl:when test="contains($listing, ' ')"> - <xsl:call-template name="countLines"> - <xsl:with-param name="listing" select="substring-after($listing, ' ')"/> - <xsl:with-param name="count" select="$count + 1"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$count"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/xref.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/xref.xsl deleted file mode 100644 index 562798362..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/xref.xsl +++ /dev/null @@ -1,1256 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks" xmlns:exsl="http://exslt.org/common" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="suwl exsl xlink" version="1.0"> - -<!-- ******************************************************************** - $Id: xref.xsl 9713 2013-01-22 22:08:30Z bobstayton $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for - copyright and other information. - - ******************************************************************** --> - -<!-- Use internal variable for olink xlink role for consistency --> -<xsl:variable name="xolink.role">http://docbook.org/xlink/role/olink</xsl:variable> - -<!-- ==================================================================== --> - -<xsl:template match="anchor"> - <xsl:choose> - <xsl:when test="$generate.id.attributes = 0"> - <xsl:call-template name="anchor"/> - </xsl:when> - <xsl:otherwise> - <span> - <xsl:call-template name="id.attribute"/> - </span> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="xref" name="xref"> - <xsl:param name="xhref" select="@xlink:href"/> - <!-- is the @xlink:href a local idref link? --> - <xsl:param name="xlink.idref"> - <xsl:if test="starts-with($xhref,'#') and (not(contains($xhref,'(')) or starts-with($xhref, '#xpointer(id('))"> - <xsl:call-template name="xpointer.idref"> - <xsl:with-param name="xpointer" select="$xhref"/> - </xsl:call-template> - </xsl:if> - </xsl:param> - <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/> - <xsl:param name="linkend.targets" select="key('id',@linkend)"/> - <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/> - - <xsl:variable name="xrefstyle"> - <xsl:choose> - <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0"> - <xsl:value-of select="@role"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@xrefstyle"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:call-template name="anchor"/> - - <xsl:variable name="content"> - <xsl:choose> - - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="key('id',@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:when test="$target/@xreflabel"> - <xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:when> - - <xsl:when test="$target"> - <xsl:if test="not(parent::citation)"> - <xsl:apply-templates select="$target" mode="xref-to-prefix"/> - </xsl:if> - - <xsl:apply-templates select="$target" mode="xref-to"> - <xsl:with-param name="referrer" select="."/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - </xsl:apply-templates> - - <xsl:if test="not(parent::citation)"> - <xsl:apply-templates select="$target" mode="xref-to-suffix"/> - </xsl:if> - </xsl:when> - - <xsl:otherwise> - <xsl:message> - <xsl:text>ERROR: xref linking to </xsl:text> - <xsl:value-of select="@linkend|@xlink:href"/> - <xsl:text> has no generated link text.</xsl:text> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content" select="$content"/> - </xsl:call-template> - -</xsl:template> - -<!-- ==================================================================== --> - -<!-- biblioref handled largely like an xref --> -<!-- To be done: add support for begin, end, and units attributes --> -<xsl:template match="biblioref"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:variable name="refelem" select="local-name($target)"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <xsl:call-template name="anchor"/> - - <xsl:choose> - <xsl:when test="count($target) = 0"> - <xsl:message> - <xsl:text>XRef to nonexistent id: </xsl:text> - <xsl:value-of select="@linkend"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - - <xsl:when test="@endterm"> - <xsl:variable name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="etargets" select="key('id',@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <a href="{$href}"> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:text>???</xsl:text> - </a> - </xsl:when> - <xsl:otherwise> - <a href="{$href}"> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </a> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:when test="$target/@xreflabel"> - <a> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </a> - </xsl:when> - - <xsl:otherwise> - <xsl:variable name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:variable> - - <xsl:if test="not(parent::citation)"> - <xsl:apply-templates select="$target" mode="xref-to-prefix"/> - </xsl:if> - - <a href="{$href}"> - <xsl:apply-templates select="." mode="class.attribute"/> - <xsl:if test="$target/title or $target/info/title"> - <xsl:attribute name="title"> - <xsl:apply-templates select="$target" mode="xref-title"/> - </xsl:attribute> - </xsl:if> - <xsl:apply-templates select="$target" mode="xref-to"> - <xsl:with-param name="referrer" select="."/> - <xsl:with-param name="xrefstyle"> - <xsl:choose> - <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0"> - <xsl:value-of select="@role"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@xrefstyle"/> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:apply-templates> - </a> - - <xsl:if test="not(parent::citation)"> - <xsl:apply-templates select="$target" mode="xref-to-suffix"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="endterm"> - <!-- Process the children of the endterm element --> - <xsl:variable name="endterm"> - <xsl:apply-templates select="child::node()" mode="no.anchor.mode"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$exsl.node.set.available != 0"> - <xsl:apply-templates select="exsl:node-set($endterm)" mode="remove-ids"/> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$endterm"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="remove-ids"> - <xsl:choose> - <!-- handle html or xhtml --> - <xsl:when test="local-name(.) = 'a' and (namespace-uri(.) = '' or namespace-uri(.) = 'http://www.w3.org/1999/xhtml')"> - <xsl:choose> - <xsl:when test="(@name and count(@*) = 1) or (@id and count(@*) = 1) or (@xml:id and count(@*) = 1) or (@xml:id and @name and count(@*) = 2) or (@id and @name and count(@*) = 2)"> - <xsl:message>suppress anchor</xsl:message> - <!-- suppress the whole thing --> - </xsl:when> - <xsl:otherwise> - <xsl:copy> - <xsl:for-each select="@*"> - <xsl:choose> - <xsl:when test="local-name(.) != 'name' and local-name(.) != 'id'"> - <xsl:copy/> - </xsl:when> - <xsl:otherwise> - <xsl:message>removing <xsl:value-of select="local-name(.)"/></xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - </xsl:copy> - <xsl:apply-templates mode="remove-ids"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:copy> - <xsl:for-each select="@*"> - <xsl:choose> - <xsl:when test="local-name(.) != 'id'"> - <xsl:copy/> - </xsl:when> - <xsl:otherwise> - <xsl:message>removing <xsl:value-of select="local-name(.)"/></xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - <xsl:apply-templates mode="remove-ids"/> - </xsl:copy> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="xref-to-prefix"/> -<xsl:template match="*" mode="xref-to-suffix"/> - -<xsl:template match="*" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:if test="$verbose"> - <xsl:message> - <xsl:text>Don't know what gentext to create for xref to: "</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text>", ("</xsl:text> - <xsl:value-of select="(@id|@xml:id)[1]"/> - <xsl:text>")</xsl:text> - </xsl:message> - </xsl:if> - <xsl:text>???</xsl:text> -</xsl:template> - -<xsl:template match="title" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <!-- if you xref to a title, xref to the parent... --> - <xsl:choose> - <!-- FIXME: how reliable is this? --> - <xsl:when test="contains(local-name(parent::*), 'info')"> - <xsl:apply-templates select="parent::*[2]" mode="xref-to"> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="parent::*" mode="xref-to"> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="abstract|authorblurb|personblurb|bibliodiv|bibliomset |biblioset|blockquote|calloutlist|caution|colophon |constraintdef|formalpara|glossdiv|important|indexdiv |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain |msgrel|msgset|msgsub|note|orderedlist|partintro |productionset|qandadiv|refsynopsisdiv|screenshot|segmentedlist |set|setindex|sidebar|tip|toc|variablelist|warning" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <!-- catch-all for things with (possibly optional) titles --> - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="author|editor|othercredit|personname" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="authorgroup" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - - <xsl:call-template name="person.name.list"/> -</xsl:template> - -<xsl:template match="figure|example|table|equation" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="procedure" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="task" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="cmdsynopsis" mode="xref-to"> - <xsl:apply-templates select="(.//command)[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="funcsynopsis" mode="xref-to"> - <xsl:apply-templates select="(.//function)[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="dedication|acknowledgements|preface|chapter|appendix|article" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="bibliography" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-to-prefix"> - <xsl:text>[</xsl:text> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-to-suffix"> - <xsl:text>]</xsl:text> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <!-- handles both biblioentry and bibliomixed --> - <xsl:choose> - <xsl:when test="string(.) = ''"> - <xsl:variable name="bib" select="document($bibliography.collection,.)"/> - <xsl:variable name="id" select="(@id|@xml:id)[1]"/> - <xsl:variable name="entry" select="$bib/bibliography/ *[@id=$id or @xml:id=$id][1]"/> - <xsl:choose> - <xsl:when test="$entry"> - <xsl:choose> - <xsl:when test="$bibliography.numbered != 0"> - <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/> - </xsl:when> - <xsl:when test="local-name($entry/*[1]) = 'abbrev'"> - <xsl:apply-templates select="$entry/*[1]" mode="no.anchor.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="(@id|@xml:id)[1]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </xsl:message> - <xsl:value-of select="(@id|@xml:id)[1]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$bibliography.numbered != 0"> - <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/> - </xsl:when> - <xsl:when test="local-name(*[1]) = 'abbrev'"> - <xsl:apply-templates select="*[1]" mode="no.anchor.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="(@id|@xml:id)[1]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="glossary" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="glossentry" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - <xsl:choose> - <xsl:when test="$glossentry.show.acronym = 'primary'"> - <xsl:choose> - <xsl:when test="acronym|abbrev"> - <xsl:apply-templates select="(acronym|abbrev)[1]" mode="no.anchor.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="glossterm[1]" mode="xref-to"> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="glossterm[1]" mode="xref-to"> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="glossterm|firstterm" mode="xref-to"> - <xsl:apply-templates mode="no.anchor.mode"/> -</xsl:template> - -<xsl:template match="index" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="listitem" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="section|simplesect |sect1|sect2|sect3|sect4|sect5 |refsect1|refsect2|refsect3|refsection" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - <!-- FIXME: What about "in Chapter X"? --> -</xsl:template> - -<xsl:template match="topic" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="bridgehead" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - <!-- FIXME: What about "in Chapter X"? --> -</xsl:template> - -<xsl:template match="qandaset" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="qandaentry" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="question[1]" mode="xref-to"> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="question|answer" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:choose> - <xsl:when test="string-length(label) != 0"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="part|reference" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="refentry" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - - <xsl:choose> - <xsl:when test="refmeta/refentrytitle"> - <xsl:apply-templates select="refmeta/refentrytitle" mode="no.anchor.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="refnamediv/refname[1]" mode="no.anchor.mode"/> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates select="refmeta/manvolnum" mode="no.anchor.mode"/> -</xsl:template> - -<xsl:template match="refnamediv" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="refname[1]" mode="xref-to"> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="refname" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates mode="xref-to"/> -</xsl:template> - -<xsl:template match="step" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Step'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates select="." mode="number"/> -</xsl:template> - -<xsl:template match="varlistentry" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="term[1]" mode="xref-to"> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="primary|secondary|tertiary" mode="xref-to"> - <xsl:value-of select="."/> -</xsl:template> - -<xsl:template match="indexterm" mode="xref-to"> - <xsl:value-of select="primary"/> -</xsl:template> - -<xsl:template match="varlistentry/term" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - - <xsl:apply-templates mode="no.anchor.mode"/> -</xsl:template> - -<xsl:template match="co" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - - <xsl:apply-templates select="." mode="callout-bug"/> -</xsl:template> - -<xsl:template match="area|areaset" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - - <xsl:call-template name="callout-bug"> - <xsl:with-param name="conum"> - <xsl:apply-templates select="." mode="conumber"/> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template match="book" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> -</xsl:template> - -<!-- These are elements for which no link text exists, so an xref to one - uses the xrefstyle attribute if specified, or if not it falls back - to the container element's link text --> -<xsl:template match="para|phrase|simpara|anchor|quote" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="verbose" select="1"/> - - <xsl:variable name="context" select="(ancestor::simplesect |ancestor::section |ancestor::sect1 |ancestor::sect2 |ancestor::sect3 |ancestor::sect4 |ancestor::sect5 |ancestor::topic |ancestor::refsection |ancestor::refsect1 |ancestor::refsect2 |ancestor::refsect3 |ancestor::chapter |ancestor::appendix |ancestor::preface |ancestor::partintro |ancestor::dedication |ancestor::acknowledgements |ancestor::colophon |ancestor::bibliography |ancestor::index |ancestor::glossary |ancestor::glossentry |ancestor::listitem |ancestor::varlistentry)[last()]"/> - - <xsl:choose> - <xsl:when test="$xrefstyle != ''"> - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$context" mode="xref-to"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - <xsl:with-param name="verbose" select="$verbose"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="author" mode="xref-title"> - <xsl:variable name="title"> - <xsl:call-template name="person.name"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="authorgroup" mode="xref-title"> - <xsl:variable name="title"> - <xsl:call-template name="person.name.list"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="cmdsynopsis" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="(.//command)[1]" mode="xref"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="funcsynopsis" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="(.//function)[1]" mode="xref"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-title"> - <!-- handles both biblioentry and bibliomixed --> - <xsl:variable name="title"> - <xsl:text>[</xsl:text> - <xsl:choose> - <xsl:when test="local-name(*[1]) = 'abbrev'"> - <xsl:apply-templates select="*[1]" mode="no.anchor.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="(@id|@xml:id)[1]"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>]</xsl:text> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="step" mode="xref-title"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Step'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates select="." mode="number"/> -</xsl:template> - -<xsl:template match="step[not(./title)]" mode="title.markup"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Step'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates select="." mode="number"/> -</xsl:template> - -<xsl:template match="co" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="callout-bug"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="link" name="link"> - <xsl:param name="linkend" select="@linkend"/> - <xsl:param name="a.target"/> - <xsl:param name="xhref" select="@xlink:href"/> - - <xsl:variable name="content"> - <xsl:call-template name="anchor"/> - <xsl:choose> - <xsl:when test="count(child::node()) > 0"> - <!-- If it has content, use it --> - <xsl:apply-templates mode="no.anchor.mode"/> - </xsl:when> - <!-- else look for an endterm --> - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="key('id',@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <!-- Use the xlink:href if no other text --> - <xsl:when test="@xlink:href"> - <xsl:value-of select="@xlink:href"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Link element has no content and no Endterm. </xsl:text> - <xsl:text>Nothing to show in the link to </xsl:text> - <xsl:value-of select="(@xlink:href|@linkend)[1]"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="linkend" select="$linkend"/> - <xsl:with-param name="content" select="$content"/> - <xsl:with-param name="a.target" select="$a.target"/> - <xsl:with-param name="xhref" select="$xhref"/> - </xsl:call-template> - -</xsl:template> - -<xsl:template match="ulink" name="ulink"> - <xsl:param name="url" select="@url"/> - <xsl:variable name="link"> - <a> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:if test="@id or @xml:id"> - <xsl:choose> - <xsl:when test="$generate.id.attributes = 0"> - <xsl:attribute name="id"> - <xsl:value-of select="(@id|@xml:id)[1]"/> - </xsl:attribute> - </xsl:when> - <xsl:otherwise> - <xsl:attribute name="id"> - <xsl:value-of select="(@id|@xml:id)[1]"/> - </xsl:attribute> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - <xsl:attribute name="href"><xsl:value-of select="$url"/></xsl:attribute> - <xsl:if test="$ulink.target != ''"> - <xsl:attribute name="target"> - <xsl:value-of select="$ulink.target"/> - </xsl:attribute> - </xsl:if> - <xsl:choose> - <xsl:when test="count(child::node())=0"> - <xsl:value-of select="$url"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="no.anchor.mode"/> - </xsl:otherwise> - </xsl:choose> - </a> - </xsl:variable> - - <xsl:choose> - <xsl:when test="function-available('suwl:unwrapLinks')"> - <xsl:copy-of select="suwl:unwrapLinks($link)"/> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$link"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="olink" name="olink"> - <!-- olink content may be passed in from xlink olink --> - <xsl:param name="content" select="NOTANELEMENT"/> - - <xsl:call-template name="anchor"/> - - <xsl:choose> - <!-- olinks resolved by stylesheet and target database --> - <xsl:when test="@targetdoc or @targetptr or (@xlink:role=$xolink.role and contains(@xlink:href, '#') )"> - - <xsl:variable name="targetdoc.att"> - <xsl:choose> - <xsl:when test="@targetdoc != ''"> - <xsl:value-of select="@targetdoc"/> - </xsl:when> - <xsl:when test="@xlink:role=$xolink.role and contains(@xlink:href, '#')"> - <xsl:value-of select="substring-before(@xlink:href, '#')"/> - </xsl:when> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="targetptr.att"> - <xsl:choose> - <xsl:when test="@targetptr != ''"> - <xsl:value-of select="@targetptr"/> - </xsl:when> - <xsl:when test="@xlink:role=$xolink.role and contains(@xlink:href, '#')"> - <xsl:value-of select="substring-after(@xlink:href, '#')"/> - </xsl:when> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="olink.lang"> - <xsl:call-template name="l10n.language"> - <xsl:with-param name="xref-context" select="true()"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="target.database.filename"> - <xsl:call-template name="select.target.database"> - <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> - <xsl:with-param name="targetptr.att" select="$targetptr.att"/> - <xsl:with-param name="olink.lang" select="$olink.lang"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="target.database" select="document($target.database.filename,/)"/> - - <xsl:if test="$olink.debug != 0"> - <xsl:message> - <xsl:text>Olink debug: root element of target.database '</xsl:text> - <xsl:value-of select="$target.database.filename"/> - <xsl:text>' is '</xsl:text> - <xsl:value-of select="local-name($target.database/*[1])"/> - <xsl:text>'.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="olink.key"> - <xsl:call-template name="select.olink.key"> - <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> - <xsl:with-param name="targetptr.att" select="$targetptr.att"/> - <xsl:with-param name="olink.lang" select="$olink.lang"/> - <xsl:with-param name="target.database" select="$target.database"/> - </xsl:call-template> - </xsl:variable> - - <xsl:if test="string-length($olink.key) = 0"> - <xsl:message> - <xsl:text>Error: unresolved olink: </xsl:text> - <xsl:text>targetdoc/targetptr = '</xsl:text> - <xsl:value-of select="$targetdoc.att"/> - <xsl:text>/</xsl:text> - <xsl:value-of select="$targetptr.att"/> - <xsl:text>'.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="href"> - <xsl:call-template name="make.olink.href"> - <xsl:with-param name="olink.key" select="$olink.key"/> - <xsl:with-param name="target.database" select="$target.database"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="hottext"> - <xsl:choose> - <xsl:when test="string-length($content) != 0"> - <xsl:copy-of select="$content"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="olink.hottext"> - <xsl:with-param name="olink.key" select="$olink.key"/> - <xsl:with-param name="olink.lang" select="$olink.lang"/> - <xsl:with-param name="target.database" select="$target.database"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="olink.docname.citation"> - <xsl:call-template name="olink.document.citation"> - <xsl:with-param name="olink.key" select="$olink.key"/> - <xsl:with-param name="target.database" select="$target.database"/> - <xsl:with-param name="olink.lang" select="$olink.lang"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="olink.page.citation"> - <xsl:call-template name="olink.page.citation"> - <xsl:with-param name="olink.key" select="$olink.key"/> - <xsl:with-param name="target.database" select="$target.database"/> - <xsl:with-param name="olink.lang" select="$olink.lang"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$href != ''"> - <a href="{$href}"> - <xsl:apply-templates select="." mode="common.html.attributes"/> - <xsl:call-template name="id.attribute"/> - <xsl:copy-of select="$hottext"/> - </a> - <xsl:copy-of select="$olink.page.citation"/> - <xsl:copy-of select="$olink.docname.citation"/> - </xsl:when> - <xsl:otherwise> - <span class="olink"> - <xsl:call-template name="id.attribute"/> - <xsl:copy-of select="$hottext"/> - </span> - <xsl:copy-of select="$olink.page.citation"/> - <xsl:copy-of select="$olink.docname.citation"/> - </xsl:otherwise> - </xsl:choose> - - </xsl:when> - - <xsl:otherwise> - <xsl:choose> - <xsl:when test="@linkmode or @targetdocent or @localinfo"> - <!-- old olink mechanism --> - <xsl:message> - <xsl:text>ERROR: olink using obsolete attributes </xsl:text> - <xsl:text>@linkmode, @targetdocent, @localinfo are </xsl:text> - <xsl:text>not supported.</xsl:text> - </xsl:message> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>ERROR: olink is missing linking attributes.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="pagenumber.markup"> - <!-- no-op in HTML --> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="xref.xreflabel"> - <!-- called to process an xreflabel...you might use this to make --> - <!-- xreflabels come out in the right font for different targets, --> - <!-- for example. --> - <xsl:param name="target" select="."/> - <xsl:value-of select="$target/@xreflabel"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="title" mode="xref"> - <xsl:apply-templates mode="no.anchor.mode"/> -</xsl:template> - -<xsl:template match="command" mode="xref"> - <xsl:call-template name="inline.boldseq"/> -</xsl:template> - -<xsl:template match="function" mode="xref"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="insert.title.markup"> - <xsl:param name="purpose"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="title"/> - - <xsl:choose> - <xsl:when test="$purpose = 'xref'"> - <xsl:copy-of select="$title"/> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$title"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="chapter|appendix" mode="insert.title.markup"> - <xsl:param name="purpose"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="title"/> - - <xsl:choose> - <xsl:when test="$purpose = 'xref'"> - <em xmlns:xslo="http://www.w3.org/1999/XSL/Transform"> - <xsl:copy-of select="$title"/> - </em> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$title"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="insert.subtitle.markup"> - <xsl:param name="purpose"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="subtitle"/> - - <xsl:copy-of select="$subtitle"/> -</xsl:template> - -<xsl:template match="*" mode="insert.label.markup"> - <xsl:param name="purpose"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="label"/> - - <xsl:copy-of select="$label"/> -</xsl:template> - -<xsl:template match="*" mode="insert.pagenumber.markup"> - <xsl:param name="purpose"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="pagenumber"/> - - <xsl:copy-of select="$pagenumber"/> -</xsl:template> - -<xsl:template match="*" mode="insert.direction.markup"> - <xsl:param name="purpose"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="direction"/> - - <xsl:copy-of select="$direction"/> -</xsl:template> - -<xsl:template match="*" mode="insert.olink.docname.markup"> - <xsl:param name="purpose"/> - <xsl:param name="xrefstyle"/> - <xsl:param name="docname"/> - - <span class="olinkdocname"> - <xsl:copy-of select="$docname"/> - </span> - -</xsl:template> - -</xsl:stylesheet> -- cgit v1.2.3-54-g00ecf