From 9709f96ce8ecb81d97df510f4d26f452ee96ec2e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 27 Jun 2005 08:01:58 +0000 Subject: [PATCH] Added "man.string.subst.map" parameter for controlling roff string substitution performed just before applying character map. The value of this parameter is not really intended to be monkeyed with, but adding it as a param just in case. --- xsl/params/man.string.subst.map.xml | 74 +++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 xsl/params/man.string.subst.map.xml diff --git a/xsl/params/man.string.subst.map.xml b/xsl/params/man.string.subst.map.xml new file mode 100644 index 000000000..0446a843e --- /dev/null +++ b/xsl/params/man.string.subst.map.xml @@ -0,0 +1,74 @@ + + +man.string.subst.map +string + + +man.string.subst.map +Specifies a set of string substitutions + + + + + + + + + + + + + + + + +Description + +The man.string.subst.map parameter +contains a "map" that specifies a set of string substitutions to +perform over the entire roff source for each man page, either just +before generating final man-page output (that is, before writing man +page files to disk) or, if the value of the +man.charmap.enabled parameter is non-zero, +before applying the roff character map. + + + Do you not change value of the + man.string.subst.map parameter unless + you are sure what you are doing. If you remove any of the default + mappings, you are likely to end up with broken output. And be very + careful about adding anything to it. Because it is used for doing + string substitution over the entire roff source of each man page, it + causes target strings to be replaced in roff requests and escapes, + not just in the visible contents. + + In particular, do not attempt to add mappings for the + dot/period character or hyphen/minus character + (-/-). Doing so will break your output, because it + will replace, for example, the .TH roff macro + with \.TH, as well as replacing some hyphens that + are used within other roff requests that the manpages stylesheets + generate. + + + +The map contains one or more substitution elements, +each of which has two attributes: + + + oldstring + + string to replace + + + + newstring + + string with which to replace oldstring + + + + + + -- 2.40.0