[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
Hello,
In the man page keymaps(5), there is a table with numbers in the second
column with an appearance somehow odd. It is due to the macro '.TP'
(which I think is commonly used to create indented paragraphs) and the
presence of trailing spaces in the first rows (but not in the last two),
needed to get the column aligned.
The attached patch renders the table with tabs instead.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 1017 bytes --]
diff --git a/docs/man/man5/keymaps.5 b/docs/man/man5/keymaps.5
index 1b28a29..02cf89d 100644
--- a/docs/man/man5/keymaps.5
+++ b/docs/man/man5/keymaps.5
@@ -104,42 +104,34 @@ The keyboard driver supports 9 modifiers. These modifiers are labeled
CtrlL, CtrlR and CapsShift.
Each of these modifiers has an associated weight of power of two
according to the following table:
+.ev table
.LP
.RS
-.TP 24
+.TP 20
.I modifier
.I weight
-.TP 24
-Shift
- 1
-.PD 0
-.TP 24
-AltGr
- 2
-.TP 24
-Control
- 4
-.TP 24
-Alt
- 8
-.TP 24
-ShiftL
- 16
-.TP 24
-ShiftR
- 32
-.TP 24
-CtrlL
- 64
-.TP 24
-CtrlR
-128
-.TP 24
-CapsShift
-256
-.PD
+.P
+.ta T 24R
+Shift 1
+.br
+AltGr 2
+.br
+Control 4
+.br
+Alt 8
+.br
+ShiftL 16
+.br
+ShiftR 32
+.br
+CtrlL 64
+.br
+CtrlR 128
+.br
+CapsShift 256
.RE
.LP
+.ev
The effective action of a key is found out by adding up the weights of
all the modifiers in effect. By default, no modifiers are in effect, so
action number zero, i.e. the one in the first column in a key definition
[-- Attachment #3: Type: text/plain, Size: 22 bytes --]
--
Álvar Ibeas