From 5c0aaf2f2f52890eaabffda55413e5fd7585f76e Mon Sep 17 00:00:00 2001 From: Martijn van Beers Date: Thu, 9 May 2002 13:14:30 +0000 Subject: [PATCH] batch of patches from twaugh: * This patch (based on one from Jirka Kosek) adds support for block-level elements inside s---s for example, or lists. * This patch replaces entities (like '舒') with sensible characters or groups of characters. * This patch adds support for sbr. * This patch normalizes spaces in varlistentry terms. * This patch normalizes spaces in terminal varlistentry terms. * This patch allows variable lists to be nested (once). * This patch prevents variable list item paragraphs from merging into one another. * This patch improves the rendering of itemized lists, and adds support for ordered lists and procedures. * This patch makes some small adjustments to group/arg: don't put extra spaces in where they aren't needed, and normalize the space of $arg. * This patch makes adjustments to cmdsynopsis elements. In particular, they can now be wrapped if no is provided. * This patch adds funcsynopsis//* support. Again, wrapping is done automatically. --- contrib/xsl/db2man/db2man.xsl | 127 +++++++++++++++++++++++-- contrib/xsl/db2man/lists.xsl | 62 ++++++++++--- contrib/xsl/db2man/synop.xsl | 168 +++++++++++++++++++++++++++++++++- 3 files changed, 338 insertions(+), 19 deletions(-) diff --git a/contrib/xsl/db2man/db2man.xsl b/contrib/xsl/db2man/db2man.xsl index e702d1e6e..1a91534fb 100644 --- a/contrib/xsl/db2man/db2man.xsl +++ b/contrib/xsl/db2man/db2man.xsl @@ -69,13 +69,34 @@ - - - .PP - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -277,6 +298,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/contrib/xsl/db2man/lists.xsl b/contrib/xsl/db2man/lists.xsl index 5aedc54e0..b28299b9d 100644 --- a/contrib/xsl/db2man/lists.xsl +++ b/contrib/xsl/db2man/lists.xsl @@ -3,33 +3,71 @@ + + + + + + + + + + + + + .TP - + - + + .RS + .RE + + + + + + + , - + + + + + + + + + - \(bu - - .Sp + \(bu + + + .TP + - - - - - - + + + + + .TP + + + + + .TP 3 + + .LP diff --git a/contrib/xsl/db2man/synop.xsl b/contrib/xsl/db2man/synop.xsl index 207a133f4..3383e43f5 100644 --- a/contrib/xsl/db2man/synop.xsl +++ b/contrib/xsl/db2man/synop.xsl @@ -39,7 +39,10 @@ - + + + + @@ -78,10 +81,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .nf + + + + + + + + + + + + + \fB + \fR + + + + + + + .fi + + + + .nf + + .fi + + + + + + + , + + + ( + + + + + + + (void + + + + (... + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + .sp + + + + .nf + + .fi + + + + + + + + + + .sp + + ( + + + + + ); + + -- 2.40.0