From d6ee27dacd1a96ef9e5819695c7eb62720e738bc Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 18 Apr 2013 17:30:42 -0500 Subject: Update files and references in support of bug report 1446. --- kdoctools/configure.in.in | 2 +- kdoctools/customization/README | 20 +-- kdoctools/customization/kde-chunk-online.xsl | 110 -------------- kdoctools/customization/kde-chunk.xsl | 130 ---------------- kdoctools/customization/kde-man.xsl | 141 ------------------ kdoctools/customization/kde-navig-online.xsl | 206 -------------------------- kdoctools/customization/kde-navig.xsl | 213 --------------------------- kdoctools/customization/kde-nochunk.xsl | 88 ----------- kdoctools/customization/kde-style.xsl | 76 ---------- kdoctools/customization/kde-ttlpg-online.xsl | 85 ----------- kdoctools/customization/kde-ttlpg.xsl | 80 ---------- kdoctools/customization/kde-web-navig.xsl | 157 -------------------- kdoctools/customization/kde-web.xsl | 109 -------------- kdoctools/customization/tde-chunk-online.xsl | 110 ++++++++++++++ kdoctools/customization/tde-chunk.xsl | 130 ++++++++++++++++ kdoctools/customization/tde-man.xsl | 141 ++++++++++++++++++ kdoctools/customization/tde-navig-online.xsl | 206 ++++++++++++++++++++++++++ kdoctools/customization/tde-navig.xsl | 213 +++++++++++++++++++++++++++ kdoctools/customization/tde-nochunk.xsl | 88 +++++++++++ kdoctools/customization/tde-style.xsl | 76 ++++++++++ kdoctools/customization/tde-ttlpg-online.xsl | 85 +++++++++++ kdoctools/customization/tde-ttlpg.xsl | 80 ++++++++++ kdoctools/customization/tde-web-navig.xsl | 157 ++++++++++++++++++++ kdoctools/customization/tde-web.xsl | 109 ++++++++++++++ kdoctools/meinproc.cpp | 2 +- kdoctools/tdeio_help.cpp | 4 +- kdoctools/xslt.cpp | 2 +- 27 files changed, 1410 insertions(+), 1410 deletions(-) delete mode 100644 kdoctools/customization/kde-chunk-online.xsl delete mode 100644 kdoctools/customization/kde-chunk.xsl delete mode 100644 kdoctools/customization/kde-man.xsl delete mode 100644 kdoctools/customization/kde-navig-online.xsl delete mode 100644 kdoctools/customization/kde-navig.xsl delete mode 100644 kdoctools/customization/kde-nochunk.xsl delete mode 100644 kdoctools/customization/kde-style.xsl delete mode 100644 kdoctools/customization/kde-ttlpg-online.xsl delete mode 100644 kdoctools/customization/kde-ttlpg.xsl delete mode 100644 kdoctools/customization/kde-web-navig.xsl delete mode 100644 kdoctools/customization/kde-web.xsl create mode 100644 kdoctools/customization/tde-chunk-online.xsl create mode 100644 kdoctools/customization/tde-chunk.xsl create mode 100644 kdoctools/customization/tde-man.xsl create mode 100644 kdoctools/customization/tde-navig-online.xsl create mode 100644 kdoctools/customization/tde-navig.xsl create mode 100644 kdoctools/customization/tde-nochunk.xsl create mode 100644 kdoctools/customization/tde-style.xsl create mode 100644 kdoctools/customization/tde-ttlpg-online.xsl create mode 100644 kdoctools/customization/tde-ttlpg.xsl create mode 100644 kdoctools/customization/tde-web-navig.xsl create mode 100644 kdoctools/customization/tde-web.xsl (limited to 'kdoctools') diff --git a/kdoctools/configure.in.in b/kdoctools/configure.in.in index 1905d9a21..738cf25d6 100644 --- a/kdoctools/configure.in.in +++ b/kdoctools/configure.in.in @@ -78,7 +78,7 @@ KDOCTOOLS_CHECK_BZIP2 if test -n "$HELP_SUBDIR"; then MEINPROC='$(top_builddir)/kdoctools/meinproc --srcdir=$(top_srcdir)/kdoctools' MEINPROC_DEP='$(top_builddir)/kdoctools/meinproc' - KDE_XSL_STYLESHEET='$(top_srcdir)/kdoctools/customization/kde-chunk.xsl' + KDE_XSL_STYLESHEET='$(top_srcdir)/kdoctools/customization/tde-chunk.xsl' else MEINPROC="" MEINPROC_DEP="" diff --git a/kdoctools/customization/README b/kdoctools/customization/README index 51ff10614..17cd8e26c 100644 --- a/kdoctools/customization/README +++ b/kdoctools/customization/README @@ -1,38 +1,38 @@ 2002-11-12 Some short documentation on the different stylesheets, and how to use them. -kde-chunk.xsl +tde-chunk.xsl The standard TDE stylesheet, as used to generate the content for KHelpCenter. If you do not specify a stylesheet, this is the default. -This stylesheet includes kde-navig.xsl, which controls the +This stylesheet includes tde-navig.xsl, which controls the presentation of the top and bottom of the page graphics, and is reused -in other places. You should probably not call kde-navig.xsl on it's own. +in other places. You should probably not call tde-navig.xsl on it's own. -kde-nochunk.xsl +tde-nochunk.xsl This is very similar to the standard TDE stylesheet, but it creates one single html file for the entire document. This is one way to get print output, using html2pdf or html2ps. It's also useable to create a "printable version" of a document to link to on a website. -kde-style.xsl +tde-style.xsl All TDE "look and feel" customizations (other than the navigation -graphics in kde-navig.xsl) are here. This is where changes to how +graphics in tde-navig.xsl) are here. This is where changes to how things render are placed. In most cases, the actual rendering is controlled by the CSS files, and this file simply has the instructions to ensure class attributes are written into the HTML as necessary, for the CSS to display. -kde-ttlpg.xsl +tde-ttlpg.xsl The Title Page layout for the TDE documentation. This one covers customizing the TOC, presentation of legal notices, and a slightly different navigation graphic. -kde-web.xsl +tde-web.xsl (This stylesheet includes kde-web-navig.xsl, which should not be used directly on it's own) @@ -41,14 +41,14 @@ is constrained to a 680px wide table. You could use this for example, to generate web pages that will print nicely and display on older browsers nicely. -kde-chunk-online.xsl +tde-chunk-online.xsl (This stylesheet includes kde-web-navig-online.xsl, which should not be used directly on it's own) Slightly altered version of the TDE stylesheet, used to generate the website versions, among others. -kde-man.xsl +tde-man.xsl A stylesheet for generating *roff output (for manpages) from DocBook files. It's virtually the same as the original manpages/docbook.xsl file diff --git a/kdoctools/customization/kde-chunk-online.xsl b/kdoctools/customization/kde-chunk-online.xsl deleted file mode 100644 index e683db8b9..000000000 --- a/kdoctools/customization/kde-chunk-online.xsl +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - -1.13 - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -0 -0 -0 -0 -/HEAD/common/ - - - - - - - - - - - - - index.html - - - - - - - - - - - - - - - - - diff --git a/kdoctools/customization/kde-chunk.xsl b/kdoctools/customization/kde-chunk.xsl deleted file mode 100644 index 4262710b0..000000000 --- a/kdoctools/customization/kde-chunk.xsl +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -1.13 - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -0 -0 -0 -0 -help:/common/ - - - - - -appendix toc,title -article/appendix nop -article toc,title -book toc,title,figure,table,example,equation -chapter nop -part toc,title -preface toc,title -qandadiv toc -qandaset toc -reference toc,title -sect1 nop -sect2 nop -sect3 nop -sect4 nop -sect5 nop -section nop -set toc,title - - - - - - - - - - - - index.html - - - - - - - - - - - - - - - - - diff --git a/kdoctools/customization/kde-man.xsl b/kdoctools/customization/kde-man.xsl deleted file mode 100644 index 8e8686811..000000000 --- a/kdoctools/customization/kde-man.xsl +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - 3 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - manpage.troff - - - - - - - .\"Generated by db2man.xsl. Don't modify this, modify the source. -.de Sh \" Subsection -.br -.if t .Sp -.ne 5 -.PP -\fB\\$1\fR -.PP -.. -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Ip \" List item -.br -.ie \\n(.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.TH " - - " - - " - - " " - - " " - - " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/kdoctools/customization/kde-navig-online.xsl b/kdoctools/customization/kde-navig-online.xsl deleted file mode 100644 index ff919b68e..000000000 --- a/kdoctools/customization/kde-navig-online.xsl +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - - ( - - - - - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 www.trinitydesktop.orgSearch 
- - - - - - - - - - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
diff --git a/kdoctools/customization/kde-navig.xsl b/kdoctools/customization/kde-navig.xsl deleted file mode 100644 index 2e8a9e717..000000000 --- a/kdoctools/customization/kde-navig.xsl +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - ( - - - - - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
- -
-
- -
- - - -
- -
-
- - - - - - - - - - - -
- - -
- - - - - - - - - - - -   - -
-
-
- - - - - - -
-
-
- -
- -
- -
-
- -
-
-

Would you like to comment or contribute an update to this page?
- Send feedback to the TDE Development Team

-
- -
- -
-
- -
diff --git a/kdoctools/customization/kde-nochunk.xsl b/kdoctools/customization/kde-nochunk.xsl deleted file mode 100644 index 9e05f8342..000000000 --- a/kdoctools/customization/kde-nochunk.xsl +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - -1.13 - -0 - - - - -0 -0 -0 -0 -0 -../common/ - - - - - - - - - - - - - index.html - - - - - - - - - - - - - - - - - diff --git a/kdoctools/customization/kde-style.xsl b/kdoctools/customization/kde-style.xsl deleted file mode 100644 index 03e8bc987..000000000 --- a/kdoctools/customization/kde-style.xsl +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/kdoctools/customization/kde-ttlpg-online.xsl b/kdoctools/customization/kde-ttlpg-online.xsl deleted file mode 100644 index 523648b7f..000000000 --- a/kdoctools/customization/kde-ttlpg-online.xsl +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - revision - - - - - ( - - ) - - - - -

- - - -

-
- - - - - - - - - - - - - - - - - - ( - - - - - - ) - - - - - - - - - - - - - - - - - : - -
-
-
- - - - - - - - -
- -
-
- - - - -
diff --git a/kdoctools/customization/kde-ttlpg.xsl b/kdoctools/customization/kde-ttlpg.xsl deleted file mode 100644 index 78d4792cd..000000000 --- a/kdoctools/customization/kde-ttlpg.xsl +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - revision - - - - - ( - - ) - - - - -

- - - -

-
- - - - - - - - - - - - - - - - - < - - > - - - - - - - - - - - - - - - - - : - -
-
-
- - - - - - - - -
- -
-
- - - - -
diff --git a/kdoctools/customization/kde-web-navig.xsl b/kdoctools/customization/kde-web-navig.xsl deleted file mode 100644 index e8d2c713d..000000000 --- a/kdoctools/customization/kde-web-navig.xsl +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - -
 
- - - - - - - - - - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - -
diff --git a/kdoctools/customization/kde-web.xsl b/kdoctools/customization/kde-web.xsl deleted file mode 100644 index 8a9dfcdb7..000000000 --- a/kdoctools/customization/kde-web.xsl +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - -1.13 - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -0 -0 -0 -0 -../common/ - - - - - - - - - - - - - index.html - - - - - - - - - - - - - - - - - diff --git a/kdoctools/customization/tde-chunk-online.xsl b/kdoctools/customization/tde-chunk-online.xsl new file mode 100644 index 000000000..69fb63b61 --- /dev/null +++ b/kdoctools/customization/tde-chunk-online.xsl @@ -0,0 +1,110 @@ + + + + + + + + + +1.13 + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +0 +0 +0 +0 +/HEAD/common/ + + + + + + + + + + + + + index.html + + + + + + + + + + + + + + + + + diff --git a/kdoctools/customization/tde-chunk.xsl b/kdoctools/customization/tde-chunk.xsl new file mode 100644 index 000000000..cfe2dd7c1 --- /dev/null +++ b/kdoctools/customization/tde-chunk.xsl @@ -0,0 +1,130 @@ + + + + + + + + +1.13 + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +0 +0 +0 +0 +help:/common/ + + + + + +appendix toc,title +article/appendix nop +article toc,title +book toc,title,figure,table,example,equation +chapter nop +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 nop +sect2 nop +sect3 nop +sect4 nop +sect5 nop +section nop +set toc,title + + + + + + + + + + + + index.html + + + + + + + + + + + + + + + + + diff --git a/kdoctools/customization/tde-man.xsl b/kdoctools/customization/tde-man.xsl new file mode 100644 index 000000000..8e8686811 --- /dev/null +++ b/kdoctools/customization/tde-man.xsl @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + 3 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + manpage.troff + + + + + + + .\"Generated by db2man.xsl. Don't modify this, modify the source. +.de Sh \" Subsection +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Ip \" List item +.br +.ie \\n(.$>=3 .ne \\$3 +.el .ne 3 +.IP "\\$1" \\$2 +.. +.TH " + + " + + " + + " " + + " " + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kdoctools/customization/tde-navig-online.xsl b/kdoctools/customization/tde-navig-online.xsl new file mode 100644 index 000000000..ff919b68e --- /dev/null +++ b/kdoctools/customization/tde-navig-online.xsl @@ -0,0 +1,206 @@ + + + + + + + + ( + + + + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 www.trinitydesktop.orgSearch 
+ + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
diff --git a/kdoctools/customization/tde-navig.xsl b/kdoctools/customization/tde-navig.xsl new file mode 100644 index 000000000..2e8a9e717 --- /dev/null +++ b/kdoctools/customization/tde-navig.xsl @@ -0,0 +1,213 @@ + + + + + + ( + + + + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + + + + +
+
+ + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +   + +
+
+
+ + + + + + +
+
+
+ +
+ +
+ +
+
+ +
+
+

Would you like to comment or contribute an update to this page?
+ Send feedback to the TDE Development Team

+
+ +
+ +
+
+ + diff --git a/kdoctools/customization/tde-nochunk.xsl b/kdoctools/customization/tde-nochunk.xsl new file mode 100644 index 000000000..59f0e6e5c --- /dev/null +++ b/kdoctools/customization/tde-nochunk.xsl @@ -0,0 +1,88 @@ + + + + + + + + +1.13 + +0 + + + + +0 +0 +0 +0 +0 +../common/ + + + + + + + + + + + + + index.html + + + + + + + + + + + + + + + + + diff --git a/kdoctools/customization/tde-style.xsl b/kdoctools/customization/tde-style.xsl new file mode 100644 index 000000000..03e8bc987 --- /dev/null +++ b/kdoctools/customization/tde-style.xsl @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kdoctools/customization/tde-ttlpg-online.xsl b/kdoctools/customization/tde-ttlpg-online.xsl new file mode 100644 index 000000000..523648b7f --- /dev/null +++ b/kdoctools/customization/tde-ttlpg-online.xsl @@ -0,0 +1,85 @@ + + + + + + revision + + + + + ( + + ) + + + + +

+ + + +

+
+ + + + + + + + + + + + + + + + + + ( + + + + + + ) + + + + + + + + + + + + + + + + + : + +
+
+
+ + + + + + + + +
+ +
+
+ + + + +
diff --git a/kdoctools/customization/tde-ttlpg.xsl b/kdoctools/customization/tde-ttlpg.xsl new file mode 100644 index 000000000..78d4792cd --- /dev/null +++ b/kdoctools/customization/tde-ttlpg.xsl @@ -0,0 +1,80 @@ + + + + + + revision + + + + + ( + + ) + + + + +

+ + + +

+
+ + + + + + + + + + + + + + + + + < + + > + + + + + + + + + + + + + + + + + : + +
+
+
+ + + + + + + + +
+ +
+
+ + + + +
diff --git a/kdoctools/customization/tde-web-navig.xsl b/kdoctools/customization/tde-web-navig.xsl new file mode 100644 index 000000000..e8d2c713d --- /dev/null +++ b/kdoctools/customization/tde-web-navig.xsl @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + +
 
+ + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
diff --git a/kdoctools/customization/tde-web.xsl b/kdoctools/customization/tde-web.xsl new file mode 100644 index 000000000..130c197b0 --- /dev/null +++ b/kdoctools/customization/tde-web.xsl @@ -0,0 +1,109 @@ + + + + + + + + +1.13 + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +0 +0 +0 +0 +../common/ + + + + + + + + + + + + + index.html + + + + + + + + + + + + + + + + + diff --git a/kdoctools/meinproc.cpp b/kdoctools/meinproc.cpp index 51f0b913a..601f53f25 100644 --- a/kdoctools/meinproc.cpp +++ b/kdoctools/meinproc.cpp @@ -226,7 +226,7 @@ int main(int argc, char **argv) { bool index = args->isSet( "htdig" ); TQString tss = args->getOption( "stylesheet" ); if ( tss.isEmpty() ) - tss = "customization/kde-chunk.xsl"; + tss = "customization/tde-chunk.xsl"; if ( index ) tss = "customization/htdig_index.xsl" ; diff --git a/kdoctools/tdeio_help.cpp b/kdoctools/tdeio_help.cpp index 7b9d2a36e..fc40dd3fa 100644 --- a/kdoctools/tdeio_help.cpp +++ b/kdoctools/tdeio_help.cpp @@ -209,7 +209,7 @@ void HelpProtocol::get( const KURL& url ) infoMessage(i18n("Preparing document")); if ( mGhelp ) { - TQString xsl = "customization/kde-nochunk.xsl"; + TQString xsl = "customization/tde-nochunk.xsl"; mParsed = transform(file, locate("dtd", xsl)); kdDebug( 7119 ) << "parsed " << mParsed.length() << endl; @@ -235,7 +235,7 @@ void HelpProtocol::get( const KURL& url ) kdDebug( 7119 ) << "cached parsed " << mParsed.length() << endl; if ( mParsed.isEmpty() ) { - mParsed = transform(file, locate("dtd", "customization/kde-chunk.xsl")); + mParsed = transform(file, locate("dtd", "customization/tde-chunk.xsl")); if ( !mParsed.isEmpty() ) { infoMessage( i18n( "Saving to cache" ) ); TQString cache = file.left( file.length() - 7 ); diff --git a/kdoctools/xslt.cpp b/kdoctools/xslt.cpp index 498e6b2c8..a6e144ce8 100644 --- a/kdoctools/xslt.cpp +++ b/kdoctools/xslt.cpp @@ -235,7 +235,7 @@ static bool readCache( const TQString &filename, kdDebug( 7119 ) << "verifyCache " << filename << " " << cache << endl; if ( !compareTimeStamps( filename, cache ) ) return false; - if ( !compareTimeStamps( locate( "dtd", "customization/kde-chunk.xsl"), cache ) ) + if ( !compareTimeStamps( locate( "dtd", "customization/tde-chunk.xsl"), cache ) ) return false; kdDebug( 7119 ) << "create filter" << endl; -- cgit v1.2.3