From a7e3d5c682a30ed2ea0a506e9e0522c56e6e3b9a Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 5 Apr 2006 05:55:07 +0000 Subject: [PATCH] Moved table-footnote handling to links.xsl file. Added initial support for converting Thead to a "running header". Changed column-separator from hard-coded tab character (default in tb(1)) to user-configurable character (colon by default). Changed prefix on several params from "man.*" to "tbl.*". --- xsl/manpages/links.xsl | 69 ++++++++++ xsl/manpages/table.xsl | 297 +++++++++++++++++++++-------------------- 2 files changed, 218 insertions(+), 148 deletions(-) diff --git a/xsl/manpages/links.xsl b/xsl/manpages/links.xsl index 199e7988e..da4daf4e2 100644 --- a/xsl/manpages/links.xsl +++ b/xsl/manpages/links.xsl @@ -362,4 +362,73 @@ + + + + + + + + + .br + + + + + + + + + ftn. + + + + + + # + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/manpages/table.xsl b/xsl/manpages/table.xsl index b931769bc..7d0be345b 100644 --- a/xsl/manpages/table.xsl +++ b/xsl/manpages/table.xsl @@ -14,12 +14,19 @@ copyright and other information. ******************************************************************** --> + + + : + B + B - + - + @@ -64,21 +71,24 @@ - - - - + + + + + - + - - - + + + +
+
@@ -92,20 +102,121 @@
- - - - - - - - - - - - - + + + + + + + + + + + + + + + + .PP + . + + + + *[nested table] + + + + .sp -1n + + + + + .TS + + + H + + + + + + + + + + tab( + + ) + + + + ; + + + + + + + + + + + + + + + + .TH + + + + + + + + + + + .T& + + + + + + + + + + + + + + + + + + + + + .TE + + .sp + + + + + + + + + + + + + + @@ -113,7 +224,7 @@ - + @@ -121,42 +232,6 @@ - - - - - - - - - .PP - . - - - - - - *[nested table] - - - - .sp -1 - - - - .TS - - - - - - - - - - ; - - @@ -167,17 +242,11 @@ - - - - .TE - - .sp - + - + @@ -186,14 +255,14 @@ - + - + @@ -206,7 +275,7 @@ - + @@ -218,7 +287,7 @@ - + T{ @@ -288,8 +357,8 @@ Warn: Extracted a nested table. [tbl(1) does not support nesting] - [nested table]* + >Warn: Extracted a nested table. + [\fInested table\fR]* @@ -317,7 +386,7 @@ - + - - + + @@ -420,7 +489,7 @@ - + @@ -461,79 +530,11 @@ - - - - - - - - - .br - - - - - - - - - ftn. - - - - - - # - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + -- 2.40.0