diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-18 04:21:29 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-18 04:21:29 +0100 |
commit | e371c16ffa016e28657c3c036693b686c56a0a91 (patch) | |
tree | 6b69ccd7dbd96e2ec513ff35138488d5377f774f | |
parent | typo (diff) | |
download | mds-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.texinfo | 45 |
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 |