aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-18 04:21:29 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-18 04:21:29 +0100
commite371c16ffa016e28657c3c036693b686c56a0a91 (patch)
tree6b69ccd7dbd96e2ec513ff35138488d5377f774f
parenttypo (diff)
downloadmds-e371c16ffa016e28657c3c036693b686c56a0a91.tar.gz
mds-e371c16ffa016e28657c3c036693b686c56a0a91.tar.bz2
mds-e371c16ffa016e28657c3c036693b686c56a0a91.tar.xz
alternations and unordered subsequences
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--doc/info/mds.texinfo45
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo
index 94730fd..d9d629b 100644
--- a/doc/info/mds.texinfo
+++ b/doc/info/mds.texinfo
@@ -5364,6 +5364,51 @@ The other way is to write
This also requires that @kbd{compose} is not
released between the key-presses.
+The compose table is filled with compositions
+where it does not matter in which order you
+press some of the keys. For example, instead of
+
+@example
+<dead compose> "S" "|" : "$"
+<dead compose> "|" "S" : "$"
+@end example
+
+you can write
+
+@example
+<dead compose> ("S" "|") : "$"
+@end example
+
+@code{( )} denotes an unordered subsequence.
+You can also use @code{[ ]} for alternation.
+For example, instead of
+
+@example
+<dead compose> ("S" "|") : "$"
+<dead compose> ("s" "|") : "$"
+@end example
+
+you can write
+
+@example
+<dead compose> (["S" "s"] "|") : "$"
+@end example
+
+Inside an alternation you can use a dot
+for specify that no key press is needed.
+For example, instead of
+
+@example
+<dead compose> "|" "S" : "$"
+<dead compose> "|" "|" "S" : "$"
+@end example
+
+you can write
+
+@example
+<dead compose> "|" ["|" .] "S" : "$"
+@end example
+
@node Discussion