diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-08-23 08:24:17 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-08-23 08:24:17 -0400 |
commit | a7fb575957ff4d9dd3671994a005ac3be8bb10fe (patch) | |
tree | aa365dc580b71f12aafa8252e450ec458bbdadfb /man/XCreateColormap.man | |
parent | 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 (diff) | |
download | xorg-lib-libX11-a7fb575957ff4d9dd3671994a005ac3be8bb10fe.tar.gz |
Eliminate all uses of tab stops in the libX11 man pages.
Two steps: First, expand tabs to 8 spaces in code and structure
listings. Second, make the .Ds used to wrap code listings switch to
constant-width font (CW) rather than numeric font position 1, which
maps to R on most systems.
It is possible some archaic systems won't know what CW is, but the
only risk is that code listings won't look quite right on troff
devices; the PostScript and DVI drivers definitely grok it, so those
important cases are OK.
The purpose of these changes is to get rid of presentation-level
markup so these pages will lift clean to DocBook.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'man/XCreateColormap.man')
-rw-r--r-- | man/XCreateColormap.man | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/man/XCreateColormap.man b/man/XCreateColormap.man index 0a517390..17dba2ad 100644 --- a/man/XCreateColormap.man +++ b/man/XCreateColormap.man @@ -49,7 +49,7 @@ .de Ds .nf .\\$1D \\$2 \\$1 -.ft 1 +.ft CW .\".ps \\n(PS .\".if \\n(VS>=40 .vs \\n(VSu .\".if \\n(VS<=39 .vs \\n(VSp @@ -308,13 +308,11 @@ The structure contains: .LP .Ds 0 -.TA .5i 2.5i -.ta .5i 2.5i typedef struct { - unsigned long pixel; /\&* pixel value */ - unsigned short red, green, blue; /\&* rgb values */ - char flags; /\&* DoRed, DoGreen, DoBlue */ - char pad; + unsigned long pixel; /\&* pixel value */ + unsigned short red, green, blue; /\&* rgb values */ + char flags; /\&* DoRed, DoGreen, DoBlue */ + char pad; } XColor; .De .LP |