From 44cdc0dc2c68d67654023ec707b807145d3a38c0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 23 Aug 2012 19:15:07 -0400 Subject: Renove some unnecessary low-level markup. Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. This appears to have been somebody's thinko, it's only in a few of the files. Signed-off-by: Eric S. Raymond --- man/xkb/XkbGetNamedGeometry.man | 4 +--- man/xkb/XkbSAGroup.man | 7 +++---- man/xkb/XkbSASetGroup.man | 14 +++++++------- man/xkb/XkbSetDetectableAutoRepeat.man | 4 +--- man/xkb/XkbSetDeviceButtonActions.man | 4 +--- 5 files changed, 13 insertions(+), 20 deletions(-) diff --git a/man/xkb/XkbGetNamedGeometry.man b/man/xkb/XkbGetNamedGeometry.man index 29222e80..c7572a0d 100644 --- a/man/xkb/XkbGetNamedGeometry.man +++ b/man/xkb/XkbGetNamedGeometry.man @@ -24,14 +24,12 @@ .SH NAME XkbGetNamedGeometry \- Loads a keyboard geometry description from this database by name -.SH SYNTAX +.SH SYNOPSIS .HP .B Status XkbGetNamedGeometry .BI "(\^Display *" "dpy" "\^," .BI "XkbDescPtr " "xkb" "\^," .BI "Atom " "name" "\^);" -.if n .ti +5n -.if t .ti +.5i .SH ARGUMENTS .TP .I \- dpy diff --git a/man/xkb/XkbSAGroup.man b/man/xkb/XkbSAGroup.man index 14ce14a5..3de10bc6 100644 --- a/man/xkb/XkbSAGroup.man +++ b/man/xkb/XkbSAGroup.man @@ -27,8 +27,6 @@ XkbSAGroup \- Returns the group_XXX field of act converted to a signed int .HP .B int XkbSAGroup .BI "(\^XkbAction " "act" "\^);" -.if n .ti +5n -.if t .ti +.5i .SH ARGUMENTS .TP .I \- act @@ -47,14 +45,15 @@ Actions associated with the XkbGroupAction structure change the current group state when keys are pressed and released: .nf - +.ft CW typedef struct _XkbGroupAction { unsigned char type; /\(** XkbSA_{Set|Latch|Lock}Group */ unsigned char flags; /\(** with type, controls the effect on groups */ char group_XXX; /\(** represents a group index or delta */ } XkbGroupAction; - +.ft +.fi .SH WARNING .LP This manpage seems to be incomplete diff --git a/man/xkb/XkbSASetGroup.man b/man/xkb/XkbSASetGroup.man index c95e0640..7df74c88 100644 --- a/man/xkb/XkbSASetGroup.man +++ b/man/xkb/XkbSASetGroup.man @@ -23,13 +23,11 @@ .TH XkbSASetGroup __libmansuffix__ __xorgversion__ "XKB FUNCTIONS" .SH NAME XkbSASetGroup \- Sets the group_XXX field of act from the group index grp -.SH SYNTAX +.SH SYNOPSIS .HP .B void XkbSASetGroup .BI "(\^XkbAction " "act" "\^," .BI "int " "grp" "\^);" -.if n .ti +5n -.if t .ti +.5i .SH ARGUMENTS .TP .I \- act @@ -48,16 +46,18 @@ from the group index .I grp. .SH STRUCTURE .LP -Actions associated with the XkbGroupAction structure change the current group state when keys are -pressed and released: -.nf +Actions associated with the XkbGroupAction structure change the +current group state when keys are pressed and released: +.nf +.ft CW typedef struct _XkbGroupAction { unsigned char type; /\(** XkbSA_{Set|Latch|Lock}Group */ unsigned char flags; /\(** with type, controls the effect on groups */ char group_XXX; /\(** represents a group index or delta */ } XkbGroupAction; - +.ft +.fi .SH WARNING .LP This manpage seems to be incomplete diff --git a/man/xkb/XkbSetDetectableAutoRepeat.man b/man/xkb/XkbSetDetectableAutoRepeat.man index 30d6d414..c54b349b 100644 --- a/man/xkb/XkbSetDetectableAutoRepeat.man +++ b/man/xkb/XkbSetDetectableAutoRepeat.man @@ -22,14 +22,12 @@ .TH XkbSetDetectableAutoRepeat __libmansuffix__ __xorgversion__ "XKB FUNCTIONS" .SH NAME XkbSetDetectableAutoRepeat \- Sets DetectableAutoRepeat -.SH SYNTAX +.SH SYNOPSIS .HP .B Bool XkbSetDetectableAutoRepeat .BI "(\^Display *" "display" "\^," .BI "Bool " "detectable" "\^," .BI "Bool *" "supported_rtrn" "\^);" -.if n .ti +5n -.if t .ti +.5i .SH ARGUMENTS .TP .I \- display diff --git a/man/xkb/XkbSetDeviceButtonActions.man b/man/xkb/XkbSetDeviceButtonActions.man index e61d403e..122fc45f 100644 --- a/man/xkb/XkbSetDeviceButtonActions.man +++ b/man/xkb/XkbSetDeviceButtonActions.man @@ -23,15 +23,13 @@ .TH XkbSetDeviceButtonActions __libmansuffix__ __xorgversion__ "XKB FUNCTIONS" .SH NAME XkbSetDeviceButtonActions \- Change only the button actions for an input extension device -.SH SYNTAX +.SH SYNOPSIS .HP .B Bool XkbSetDeviceButtonActions .BI "(\^Display *" "dpy" "\^," .BI "XkbDeviceInfoPtr " "device" "\^," .BI "unsigned int " "first_button" "\^," .BI "unsigned int " "num_buttons" "\^);" -.if n .ti +5n -.if t .ti +.5i .SH ARGUMENTS .TP .I \- dpy -- cgit v1.2.1