From 7b3aa08e5d9dc02e424b8b96ee3f49c5a573f461 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 4 Jul 2007 12:46:32 +0000 Subject: [PATCH] Add x-ref links from embedded PI doc to sections in Bob's book. Also, moved dbhtml-dir template to chunk-common.xsl file, because it doesn't really belong in the PI file. --- xsl/html/chunk-common.xsl | 36 ++++ xsl/html/pi.xsl | 358 +++++++++++++++++++++++++++++--------- 2 files changed, 314 insertions(+), 80 deletions(-) diff --git a/xsl/html/chunk-common.xsl b/xsl/html/chunk-common.xsl index 75c967a5e..a6669e33b 100644 --- a/xsl/html/chunk-common.xsl +++ b/xsl/html/chunk-common.xsl @@ -1777,4 +1777,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + / + + + + diff --git a/xsl/html/pi.xsl b/xsl/html/pi.xsl index b560752b0..6f5d230b9 100644 --- a/xsl/html/pi.xsl +++ b/xsl/html/pi.xsl @@ -1,5 +1,7 @@ + + 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. + + + dbhtml dir="path" + + + + dir="path" + + Specifies the pathname for the directory + + + + + + base.dir + + + dbhtml dir processing instruction section in Bob + Stayton’s book DocBook XSL: + The Complete Guide + + @@ -56,6 +92,36 @@ + + 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. + + + dbhtml filename="filename" + + + + filename="path" + + Specifies the filename for the file + + + + + + use.id.as.filename + + + dbhtml filenames section in Bob Stayton’s book + DocBook + XSL: The Complete Guide + + @@ -93,6 +159,13 @@ + + Background color section in Bob Stayton’s book + DocBook + XSL: The Complete Guide + @@ -103,23 +176,30 @@ -Sets background color on an table row or table cell - - Use the dbhtml bgcolor PI as child of a table row - or cell to set a background color for that table row or cell. - + Sets background color on an table row or table cell + + Use the dbhtml bgcolor PI as child of a table row + or cell to set a background color for that table row or cell. + dbhtml bgcolor="color" - - - bgcolor="color" - - An HTML color value - - - - + + + bgcolor="color" + + An HTML color value + + + + + + Cell background color section in Bob Stayton’s + book DocBook XSL: The Complete Guide + @@ -153,6 +233,25 @@ html.cellpadding + + + + Cell spacing and cell padding section in Bob + Stayton’s book DocBook XSL: The Complete Guide + + + Q and A formatting section in Bob Stayton’s + book DocBook XSL: The Complete Guide + + + @@ -186,6 +285,25 @@ html.cellspacing + + + + Cell spacing and cell padding section in Bob + Stayton’s book DocBook XSL: The Complete Guide + + + Q and A formatting section in Bob Stayton’s + book DocBook XSL: The Complete Guide + + + @@ -214,6 +332,14 @@ + + Table styles in HTML output section in Bob + Stayton’s book DocBook XSL: The Complete Guide + @@ -238,7 +364,7 @@ funcsynopsis-style="kr" - Displays the funcprototype in K&R style + Displays the funcprototype in K&R style funcsynopsis-style="ansi" @@ -278,6 +404,13 @@ + + Q and A formatting section in Bob Stayton’s book + DocBook XSL: The Complete Guide + @@ -312,6 +445,13 @@ linenumbering.everyNth + + Line numbering section in Bob Stayton’s book + DocBook + XSL: The Complete Guide + @@ -345,6 +485,13 @@ linenumbering.separator + + Line numbering section in Bob Stayton’s book + DocBook + XSL: The Complete Guide + @@ -378,6 +525,13 @@ linenumbering.width + + Line numbering section in Bob Stayton’s book + DocBook + XSL: The Complete Guide + @@ -423,6 +577,14 @@ + + Variable list formatting in HTML section in Bob + Stayton’s book DocBook XSL: The Complete Guide + @@ -486,6 +648,14 @@ + + Variable list formatting in HTML section in Bob + Stayton’s book DocBook XSL: The Complete Guide + @@ -513,6 +683,13 @@ + + Row height section in Bob Stayton’s book DocBook XSL: The Complete Guide + @@ -545,6 +722,26 @@ + + + + Variable list formatting in HTML section in Bob + Stayton’s book DocBook XSL: The Complete Guide + + + Table summary text section in Bob + Stayton’s book DocBook XSL: The Complete Guide + + + @@ -555,24 +752,32 @@ -Specifies the width for a table - - Use the dbhtml table-width PI as a child of a - table to specify the width of the table in - output. - + Specifies the width for a table + + Use the dbhtml table-width PI as a child of a + table to specify the width of the table in + output. + dbhtml table-width="width" - - - table-width="width" - - FIXME: Specifies the table width (in what units?) - - - - + + + table-width="width" + + FIXME: Specifies the table width (in what units?) + + + + + + Table width section in Bob + Stayton’s book DocBook XSL: + The Complete Guide + @@ -611,6 +816,14 @@ + + Variable list formatting in HTML section in Bob + Stayton’s book DocBook XSL: The Complete Guide + @@ -643,6 +856,14 @@ variablelist.term.separator + + Variable list formatting in HTML section in Bob + Stayton’s book DocBook XSL: The Complete Guide + @@ -671,6 +892,14 @@ + + Variable list formatting in HTML section in Bob + Stayton’s book DocBook XSL: The Complete Guide + @@ -705,6 +934,25 @@ + + + + Q and A list of questions section in Bob + Stayton’s book DocBook XSL: The Complete Guide + + + Q and A formatting section in Bob Stayton’s + book DocBook XSL: The Complete Guide + + + @@ -764,56 +1012,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / - - - - / - - - - - - -- 2.40.0