From 06c14312abb92b18dcc68e42d00fd744349a53a6 Mon Sep 17 00:00:00 2001 From: Stefan Knorr Date: Wed, 2 Dec 2015 16:55:43 +0100 Subject: [PATCH 1/3] Fix #101: introduce a parameter $optimize.plain.text for text output Set to 0 - normal mode 1 - text output mode --- suse2013/xhtml/chunk-common.xsl | 87 +++++----- suse2013/xhtml/docbook.xsl | 281 ++++++++++++++++---------------- suse2013/xhtml/param.xsl | 114 +++++++++++-- 3 files changed, 296 insertions(+), 186 deletions(-) diff --git a/suse2013/xhtml/chunk-common.xsl b/suse2013/xhtml/chunk-common.xsl index 36fbbfc0..97245041 100644 --- a/suse2013/xhtml/chunk-common.xsl +++ b/suse2013/xhtml/chunk-common.xsl @@ -170,30 +170,32 @@ -
-
- - - - fixed-header - - - - - - -
- -
-
-
- -
+ +
+
+ + + + fixed-header + + + + +
+ +
+
+
+ +
+ +
+
+
-
-
+ @@ -264,12 +266,15 @@ - +
- - + + +
@@ -481,7 +486,7 @@ - +
@@ -577,18 +582,20 @@
-
-
- - - - - - - - + +
+
+ + + + + + + + +
-
+ @@ -656,9 +663,11 @@ - - - + + + + + diff --git a/suse2013/xhtml/docbook.xsl b/suse2013/xhtml/docbook.xsl index 0fe17a5e..123ad1f6 100644 --- a/suse2013/xhtml/docbook.xsl +++ b/suse2013/xhtml/docbook.xsl @@ -332,54 +332,54 @@ -
-
- - - - LocalisedLanguageName - - - -
-
-
- - selectlanguage - -
- - - LocalisedLanguageName - + - @@ -397,18 +397,20 @@ - + @@ -454,14 +456,16 @@
-
-
-
- + +
+
+
+ +
+
-
-
+
@@ -470,51 +474,53 @@ -
- - + +
+ + printthispage +
+ +
+ @@ -575,10 +581,12 @@
- - - - + + + + + +
@@ -670,39 +678,40 @@ else { SUSE

- + + +
- diff --git a/suse2013/xhtml/param.xsl b/suse2013/xhtml/param.xsl index d0dfd6f8..5a6467cf 100644 --- a/suse2013/xhtml/param.xsl +++ b/suse2013/xhtml/param.xsl @@ -25,7 +25,7 @@ @@ -33,7 +33,7 @@ @@ -41,7 +41,7 @@ documentation won't be available at a suse.com address.--> @@ -50,10 +50,18 @@ installed package. --> + + + + + @@ -199,19 +207,69 @@ task before icon- + + + + 0 + 1 + + + static/images/logo.png Logo static/js/jquery-1.10.2.min.js static/js/script.js - + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + 0 + 1 + + + + + + 0 + 1 + + - + + + 0 + 1 + + + + + + + + 0 + 1 + + + @@ -237,6 +295,17 @@ task before + + + + + + + 0 + 1 + + + | @@ -244,7 +313,21 @@ task before - + + + 0 + + 0 + + + + + + + 0 + 1 + + @@ -256,14 +339,23 @@ task before  ›  - + + + 0 + 1 + + - - + + + 0 + 1 + + @@ -273,7 +365,7 @@ task before --> -yes +yes From 9469da2d7c775312b765843e65000d6b6ac4647d Mon Sep 17 00:00:00 2001 From: Stefan Knorr Date: Thu, 3 Dec 2015 12:47:47 +0100 Subject: [PATCH 3/3] Update ChangeLog for 2.0.4 --- ChangeLog | 68 +++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/ChangeLog b/ChangeLog index a8a3c6a6..91211200 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,43 +3,41 @@ Tue Dec 02 13:41:00 UTC 2015 - toms@opensuse.org Stable release DAPS 2.0.4: -Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER - -* Schema: - - Allow constant and see (inside indexterm); make db.all.blocks zero - or more (*) for question (fbebfb6) - - Remove XLinks from DB5 elements (issue #99) - - Disallow db.all.blocks in lists (issue #100) - - Remove menuchoice from guiinlines (Novdoc) (a049b85) - - Allow menuchoice in titles (Novdoc) (975b8d6) - -* Stylesheets (PDF): - - "unbolded" admonition titles (issue #46) - - Odd space in footer where productname used to beproductname not displayed - on book title page (issue #50) - - Style sect5 Titles (issue #52) - - FOP don't like empty s (issue #97) - - Make remark handling a little more elegant - - Attribute sets: fix logic for replacing bold/italic in CJK languages - -* Stylesheets (XHTML): - - Make Callouts "uncopyable" (issue #55) - - Don't link inline images (issue #65) - - Publication date is incorrectly capitalized (issue #70) - - debug.filename-id: Use xml:id for metadata +Find issues in our GitHub tracker at +https://github.com/openSUSE/suse-xsl/issues/NUMBER + +* Schema + - Allow constant and see (inside ``); make db.all.blocks + zero or more (*) for question (fbebfb6) + - Remove XLinks from DB5 elements (suse-xsl #99) + - Disallow db.all.blocks in lists (suse-xsl #100) + - Remove `` from guiinlines (Novdoc) (a049b85) + - Allow `` in titles (Novdoc) (975b8d6) + +* Stylesheets (PDF) + - "unbolded" admonition titles (suse-xsl #46) + - Odd space in footer where `` used to be, + `` not displayed on book title page (suse-xsl #50) + - Fix style of `` titles (suse-xsl #52, bsc#955663) + - FOP don't like empty ``s (suse-xsl #97) + - Make `` handling a little more elegant + - Attribute sets: fix logic for replacing bold/italic in CJK + languages + +* Stylesheets (XHTML) + - Make Callouts "uncopyable" (suse-xsl #55) + - Don't link inline images (suse-xsl #65) + - Publication date is incorrectly capitalized (suse-xsl #70) + - Create better plain-text output via DAPS (suse-xsl #101) + - debug.filename-id: Use `xml:id` for metadata - Various fixes for JS code for tracker -* Common Stylesheet Changes: - - Style for (issue #49) - - xrefs to variablelists in another book is broken (issue #73) - - Trim spaces/newlines at beginning/end of verbatim elements (eba1e8b) - - Feature/fix bugtracker for db4 (issue #102) - -* Infrastructure: - - Fixed xslns-build script (issue #57) - - Wrong includes in daps2013-ns, opensuse2013-ns (issue #107) - - Defect URLs in Entities of the *-ns Stylesheets (issue #108) - - Consistent variable names and indendation +* Common Stylesheet Changes + - Style for `` (issue #49) + - xrefs to variablelists in another book is broken (suse-xsl #73) + - Trim spaces/newlines at beginning/end of verbatim elements + (suse-xsl #53) + - Fix bugtracker for db4 (suse-xsl #102) ------------------------------------------------------------------- Tue Aug 11 15:11:52 UTC 2015 - toms@opensuse.org