From 15c7d39533a1eb1da0748011f3378fd0f02ed14d Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Tue, 8 Oct 2013 20:03:29 +0000 Subject: Update stylesheets to docbook-xsl-1.78.1. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- .../lfs-xsl/docbook-xsl-1.78.1/xhtml5/README | 61 ++ .../lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunk.xsl | 29 + .../docbook-xsl-1.78.1/xhtml5/chunkfast.xsl | 69 ++ .../docbook-xsl-1.78.1/xhtml5/docbook.css.xml | 104 +++ .../lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.xsl | 21 + .../docbook-xsl-1.78.1/xhtml5/html5-chunk-mods.xsl | 111 +++ .../xhtml5/html5-element-mods.xsl | 790 +++++++++++++++++++++ .../lfs-xsl/docbook-xsl-1.78.1/xhtml5/onechunk.xsl | 36 + .../docbook-xsl-1.78.1/xhtml5/profile-chunk.xsl | 52 ++ .../docbook-xsl-1.78.1/xhtml5/profile-docbook.xsl | 23 + .../docbook-xsl-1.78.1/xhtml5/xhtml-docbook.xsl | 541 ++++++++++++++ .../xhtml5/xhtml-profile-docbook.xsl | 408 +++++++++++ .../docbook-xsl-1.78.1/xhtml5/xhtml2xhtml5.xsl | 49 ++ 13 files changed, 2294 insertions(+) create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/README create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunk.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunkfast.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.css.xml create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/html5-chunk-mods.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/html5-element-mods.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/onechunk.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/profile-chunk.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/profile-docbook.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml-docbook.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml-profile-docbook.xsl create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml2xhtml5.xsl (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5') diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/README b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/README new file mode 100644 index 000000000..c0db6b7e5 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/README @@ -0,0 +1,61 @@ +DocBook stylesheets for HTML5 output +============================================= + +This directory contains XSL stylesheets +for generating HTML5 output from DocBook content. +For information on HTML5, see: + +http://dev.w3.org/html5/spec/Overview.html + +Note that there is no schema available for HTML5, by design. + +The output of these stylesheets is the XML serialization of +HTML5. There is no provision for generating the HTML +serialization of HTML5 with these stylesheets. + +These HTML5 stylesheets are also used by the EPUB3 +stylesheets included in this distribution. + +These stylesheets are customizations of the +existing stylesheets in the "xhtml/" directory. +Using a customization layer enables the HTML5 +stylesheets to inherit all the features of the +XHTML stylesheets while making the minimum changes +for them to produce valid HTML5. + +If you are processing DocBook 5 document, you should use +the namespaced version of the stylesheets, with "-ns-" +in the directory name. + + +Usage +----------- +You should be able to apply any of these stylesheet files +to a DocBook document as with any other DocBook stylesheet: + +xhtml5/docbook.xsl - Single file output. +xhtml5/chunk.xsl - Chunked output. +xhtml5/profile-docbook.xsl - Profiled single file output. +xhtml5/profile-chunk.xsl - Profiled chunk output. +xhtml5/chunkfast.xsl - Chunked output with precomputed chunks. + +Do not attempt to directly use the following two stylesheet files: + +xhtml-docbook.xsl +xhtml-profile-docbook.xsl + +Those are copies of the corresponding files in the +xhtml/ directory, modified to remove the doctype +declarations in the xsl:output elements. They were also +modified to import from the original xhtml/ directory. +They will produce xhtml output, not HTML5 output. +They are imported by the xhtml5 stylesheet files. + +Testing +-------------- + +The HTML5 output of these stylesheets should pass the +W3C online validator, available here: + +http://validator.w3.org/ + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunk.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunk.xsl new file mode 100644 index 000000000..e3fc396f0 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunk.xsl @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunkfast.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunkfast.xsl new file mode 100644 index 000000000..fd1be4d0d --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/chunkfast.xsl @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.css.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.css.xml new file mode 100644 index 000000000..9587979e4 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.css.xml @@ -0,0 +1,104 @@ + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.xsl new file mode 100644 index 000000000..421fbb5a0 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/docbook.xsl @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/html5-chunk-mods.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/html5-chunk-mods.xsl new file mode 100644 index 000000000..27426ac1a --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/html5-chunk-mods.xsl @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + + + +
+ +
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/html5-element-mods.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/html5-element-mods.xsl new file mode 100644 index 000000000..f3cb2d128 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/html5-element-mods.xsl @@ -0,0 +1,790 @@ + + +%common.entities; +]> + + + + + + + + + + + + +.xhtml +ul + + + +section + + + + + + + + <!DOCTYPE html> + + + + + + abbr + + + + + + + + + + Error: CALS tables must specify the number of columns. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No adjustColumnWidths function available. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + + + + + + + + + + + + + + + + + + No convertLength function available. + + + + + + + + + + + + + + + + cellspacing: + + + + + + + + + ; + + + + cellpadding: + + + + + + + + + ; + + + + + width: + + ; + + + width: 100%; + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + border-collapse: collapse; + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + border: none; + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + width: + + ; + + + + height + + ; + + + + text-align: + + ; + + + + vertical-align: + + ; + + + + border: + + ; + + + + border-spacing: + + ; + + + + padding: + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  • + + + + + + + + + + + + + + + + + + +
  • +
    + + + + + + + + + +
      + + +
    +
    + + + +
  • + + +
  • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    + + + + +
    diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/onechunk.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/onechunk.xsl new file mode 100644 index 000000000..92e887459 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/onechunk.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + +1 + + + + # + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/profile-chunk.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/profile-chunk.xsl new file mode 100644 index 000000000..5c04c3154 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/profile-chunk.xsl @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/profile-docbook.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/profile-docbook.xsl new file mode 100644 index 000000000..47f8236f5 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/profile-docbook.xsl @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml-docbook.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml-docbook.xsl new file mode 100644 index 000000000..93c2df7f8 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml-docbook.xsl @@ -0,0 +1,541 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/xhtml5/xhtml-profile-docbook.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml-profile-docbook.xsl new file mode 100644 index 000000000..dc0d97927 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml-profile-docbook.xsl @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/xhtml5/xhtml2xhtml5.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml2xhtml5.xsl new file mode 100644 index 000000000..05fe68d45 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml5/xhtml2xhtml5.xsl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + Same as xhtml but with doctypes removed from xsl:output + + and including from ../xhtml directory + + + + + + + + + + + + + + + + + + + + This file was created automatically by xhtml2xhtml5.xsl from the xhtml stylesheet. + + + + + + + + -- cgit v1.2.3-54-g00ecf