X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/168e428fc4dfcf7f4d377d137743d8332784fa35..f1e5fef536bdc2c5d84c4bc7852d6e948253ccaf:/doc/doc-docbook/Pre-xml?ds=sidebyside diff --git a/doc/doc-docbook/Pre-xml b/doc/doc-docbook/Pre-xml index 113e6f9d0..b84d19784 100755 --- a/doc/doc-docbook/Pre-xml +++ b/doc/doc-docbook/Pre-xml @@ -1,6 +1,6 @@ #! /usr/bin/perl -# $Cambridge: exim/doc/doc-docbook/Pre-xml,v 1.1 2005/06/16 10:32:31 ph10 Exp $ +# $Cambridge: exim/doc/doc-docbook/Pre-xml,v 1.4 2007/04/11 15:26:09 ph10 Exp $ # Script to pre-process XML input before processing it for various purposes. # Options specify which transformations are to be done. Monospaced literal @@ -8,31 +8,40 @@ # Changes: -# -abstract: Remove the element - -# -ascii: Replace &8230; (sic, no x) with ... -# Replace ’ by ' -# Replace “ by " -# Replace ” by " -# Replace – by - -# Replace † by * -# Replace ‡ by ** -# Replace   by a space -# Replace © by (c) -# Put quotes round text +# -ascii: Replace ’ by ' +# Replace © by (c) +# Replace † by * +# Replace ‡ by ** +# Replace   by a space +# Replace – by - # Put quotes round text - +# +# -quoteliteral: +# Put quotes round text +# # -bookinfo: Remove the element from the file - +# # -fi: Replace "fi" by fi except when it is in an XML element, or # inside a . - -# -noindex Remove the XML to generate a Concept and an Options index. +# +# -html: Certain things are done only for HTML output: +# +# If is followed by optional space and then a +# newline, the space and newline are removed, because otherwise you +# get a blank line in the HTML output. +# +# -noindex Remove the XML that generates indexes. # -oneindex Ditto, but add XML to generate a single index. +# +# -optbreak Insert an optional line break (zero-width space, ​) after +# every underscore in text within