summaryrefslogtreecommitdiff
path: root/man/XAllocSizeHints.man
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-08-23 08:24:17 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-08-23 08:24:17 -0400
commita7fb575957ff4d9dd3671994a005ac3be8bb10fe (patch)
treeaa365dc580b71f12aafa8252e450ec458bbdadfb /man/XAllocSizeHints.man
parent8042f88ace33573f9d0dfaa21ed54ac7cef266d5 (diff)
downloadxorg-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/XAllocSizeHints.man')
-rw-r--r--man/XAllocSizeHints.man30
1 files changed, 14 insertions, 16 deletions
diff --git a/man/XAllocSizeHints.man b/man/XAllocSizeHints.man
index 838d497e..6c6e13b5 100644
--- a/man/XAllocSizeHints.man
+++ b/man/XAllocSizeHints.man
@@ -50,7 +50,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
@@ -426,24 +426,22 @@ T}
.TE
.IN "XSizeHints" "" "@DEF@"
.Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
/\&* Values */
typedef struct {
- long flags; /\&* marks which fields in this structure are defined */
- int x, y; /\&* Obsolete */
- int width, height; /\&* Obsolete */
- int min_width, min_height;
- int max_width, max_height;
- int width_inc, height_inc;
- struct {
- int x; /\&* numerator */
- int y; /\&* denominator */
- } min_aspect, max_aspect;
- int base_width, base_height;
- int win_gravity;
- /\&* this structure may be extended in the future */
+ long flags; /\&* marks which fields in this structure are defined */
+ int x, y; /\&* Obsolete */
+ int width, height; /\&* Obsolete */
+ int min_width, min_height;
+ int max_width, max_height;
+ int width_inc, height_inc;
+ struct {
+ int x; /\&* numerator */
+ int y; /\&* denominator */
+ } min_aspect, max_aspect;
+ int base_width, base_height;
+ int win_gravity;
+ /\&* this structure may be extended in the future */
} XSizeHints;
.De
.LP