From e371c16ffa016e28657c3c036693b686c56a0a91 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 18 Nov 2014 04:21:29 +0100 Subject: alternations and unordered subsequences MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/mds.texinfo | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) 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 + "S" "|" : "$" + "|" "S" : "$" +@end example + +you can write + +@example + ("S" "|") : "$" +@end example + +@code{( )} denotes an unordered subsequence. +You can also use @code{[ ]} for alternation. +For example, instead of + +@example + ("S" "|") : "$" + ("s" "|") : "$" +@end example + +you can write + +@example + (["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 + "|" "S" : "$" + "|" "|" "S" : "$" +@end example + +you can write + +@example + "|" ["|" .] "S" : "$" +@end example + @node Discussion -- cgit v1.2.3-70-g09d2