about summary refs log tree commit diff
path: root/ppmspread.html
diff options
context:
space:
mode:
authoresr <esr@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-01-30 00:58:04 +0000
committeresr <esr@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-01-30 00:58:04 +0000
commitfdbf040027bc4aa775c3dc5df17a9ef7f8c628ed (patch)
treeee8912f31981ebd0280cc7b936a1ebf37712ed07 /ppmspread.html
parent08aa778e94e16817ed35b74a85d77526d0f378e3 (diff)
downloadnetpbm-mirror-fdbf040027bc4aa775c3dc5df17a9ef7f8c628ed.tar.gz
netpbm-mirror-fdbf040027bc4aa775c3dc5df17a9ef7f8c628ed.tar.xz
netpbm-mirror-fdbf040027bc4aa775c3dc5df17a9ef7f8c628ed.zip
This commit fixes makeman and the HTML sources so that they generate
manual pages that pass strict validation with doclifter.  

The required changes are widely scattered but relatively minor.  Most
are just tweaks to command-invocation syntax descriptions.  One large class of 
these simply moves running text out of SYNOPSIS sections into OPTIONS
sections. Another thing I had to do frequently was regroup syntax description 
so that plain-text tokens (e.g. filenames without surrounding [] or trailing
...) are on the same line with syntactic specials such as [ | ] { } ...

(Both these changes accommodate the limits of mechanical markup parsers
Even doclifter's, which is quite sophisticated and knows how to detect 
some natural-language patterns, has trouble telling some simple forms of 
command synopses from running text and will sometimes try to parse text
commentary as command syntax, with unhappy results.)

This commit also adds (to buildtools/Makefile.manpages) install and
uninstall productions that distribution packagers can use to install
the generated manual pages in /usr/share/man.

I fixed a few spelling and usage bobbles I found along the way.



git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@218 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'ppmspread.html')
-rw-r--r--ppmspread.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/ppmspread.html b/ppmspread.html
index 7e333987..3de5a408 100644
--- a/ppmspread.html
+++ b/ppmspread.html
@@ -14,11 +14,7 @@ ppmspread - displace a PPM image's pixels by a random amount
 <A NAME="lbAC">&nbsp;</A>
 <H2>SYNOPSIS</H2>
 
-<b>ppmspread</b>
-
-<I>amount</I>
-
-[<I>ppmfile</I>]
+<b>ppmspread</b> <I>amount</I> [<I>ppmfile</I>]
 
 <A NAME="lbAD">&nbsp;</A>
 <H2>DESCRIPTION</H2>