diff options
author | Matt Dew <marcoz@osource.org> | 2011-10-27 22:45:31 -0600 |
---|---|---|
committer | Matt Dew <marcoz@osource.org> | 2011-10-27 22:45:31 -0600 |
commit | 449ec1398f492db9498c60b235805e93594f5131 (patch) | |
tree | 1aedb059c2def446e72a24230033d647f23758e4 | |
parent | 85e8bbfd86b99bc35facf60680736ca5b2eaf890 (diff) |
proofread appB.xml
-rw-r--r-- | specs/appB.xml | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/specs/appB.xml b/specs/appB.xml index cd250ca..a58c10a 100644 --- a/specs/appB.xml +++ b/specs/appB.xml @@ -117,15 +117,15 @@ Syntax </row> <row> <entry>quoted_string</entry> - <entry>= """ {<Latin 1 character> | escape_char} ["\\\\\\\\" ] """</entry> + <entry>= <quote>"</quote> {<Latin 1 character> | escape_char} ["\\\\" ] <quote>"</quote></entry> </row> <row> <entry>escape_char</entry> - <entry>= "\\\\""</entry> + <entry>= "\\""</entry> </row> <row> <entry>unquoted_string</entry> - <entry>= {<Latin 1 character except space, tab, ",", "\\\\n", ")">}</entry> + <entry>= {<Latin 1 character except space, tab, ",", "\\n", ")">}</entry> </row> </tbody> </tgroup> @@ -136,8 +136,8 @@ The <emphasis remap='I'>params</emphasis> field is parsed into a list of <function>String</function> values that will be passed to the named action procedure. A <emphasis remap='I'>quoted string</emphasis> may contain an embedded quotation mark if the -quotation mark is preceded by a single backslash (\\). The -three-character sequence "\\\\"" is interpreted as "single backslash +quotation mark is preceded by a single backslash (\). The +three-character sequence "\\\"" is interpreted as "single backslash followed by end-of-string". </para> <para><emphasis role='bold'>Modifier Names</emphasis></para> @@ -198,7 +198,8 @@ If a colon (:) is specified at the beginning of the modifier list, it directs the Intrinsics to apply any standard modifiers in the event to map the event keycode into a KeySym. The default standard modifiers are Shift and Lock, -with the interpretation as defined in <emphasis remap='I'>(xP</emphasis>, Section 5. +with the interpretation as defined in <emphasis remap='I'>X Window +System Protocol</emphasis>, Section 5. The resulting KeySym must exactly match the specified KeySym, and the nonstandard modifiers in the event must match the modifier list. @@ -228,9 +229,9 @@ Then, for example, "<Key>A" and "<Key>a" are equivalent. In key sequences, a circumflex (^) is an abbreviation for the Control modifier, a dollar sign ($) is an abbreviation for Meta, -and a backslash (\\) can be used to quote any +and a backslash (\) can be used to quote any character, in particular a double quote ("), a circumflex (^), -a dollar sign ($), and another backslash (\\). +a dollar sign ($), and another backslash (\). Briefly: </para> @@ -795,7 +796,8 @@ as an atom name; for example, <Message>WM_PROTOCOLS. For the and <function>MappingNotify</function> events, either the symbolic constants as defined by -<emphasis remap='I'>(xP</emphasis>, Section 11, +<emphasis remap='I'>X Window +System Protocol</emphasis>, Section 11, or the numeric values may be specified. </para> @@ -813,7 +815,7 @@ corresponding Latin 1 KeySym, for example, "0" is the KeySym XK_0. Other single character KeySyms are treated as literal constants from Latin 1, for example, "!" is treated as 0x21. Standard KeySym names are as defined in -<function>< X11/keysymdef.h ></function> +<function><X11/keysymdef.h></function> with the "XK_" prefix removed. </para> @@ -910,7 +912,7 @@ The canonical representation of a translation table is (see also </row> <row> <entry>quoted_string</entry> - <entry>= """ {<Latin 1 character> | escape_char} ["\\\\" ] """ + <entry>= <quote>"</quote> {<Latin 1 character> | escape_char} ["\\\\" ] <quote>"</quote> </entry> </row> <row> @@ -925,11 +927,11 @@ The canonical representation of a translation table is (see also <para>The canonical modifier names are</para> <literallayout class="monospaced"> - Ctrl Mod1 Button1 - Shift Mod2 Button2 - Lock Mod3 Button3 - Mod4 Button4 - Mod5 Button5 + Ctrl Mod1 Button1 + Shift Mod2 Button2 + Lock Mod3 Button3 + Mod4 Button4 + Mod5 Button5 </literallayout> <para>The canonical event types are</para> @@ -1015,7 +1017,7 @@ The canonical representation of a translation table is (see also Always put more specific events in the table before more general ones: </para> <literallayout class="monospaced"> - Shift <Btn1Down> : twas()\\n\\ + Shift <Btn1Down> : twas()\n\ <Btn1Down> : brillig() </literallayout> </listitem> @@ -1078,7 +1080,7 @@ it is not taken if it occurs in the context of the longer sequence. This occurs mostly in sequences like the following: </para> <literallayout class="monospaced"> -<Btn1Down>,<Btn1Up> : toves()\\n\\ +<Btn1Down>,<Btn1Up> : toves()\n\ <Btn1Up> : did() </literallayout> <para> |