diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-15 17:20:57 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-16 18:49:07 -0400 |
commit | eaa1835ba58525c90ffa2dc5a5d409dd9e7a909f (patch) | |
tree | 290aea7750f10bd360741d4d4442a39938013f43 /specs/appB.xml | |
parent | cbf4dd22eedc33309efacfb2a1a795debdd44b3b (diff) |
use ldquo/rdquo/ndash where appropriate
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'specs/appB.xml')
-rw-r--r-- | specs/appB.xml | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/specs/appB.xml b/specs/appB.xml index ef67404..48437fe 100644 --- a/specs/appB.xml +++ b/specs/appB.xml @@ -17,15 +17,15 @@ Syntax is specified in EBNF notation with the following conventions: <tbody> <row> <entry>[ a ]</entry> - <entry>Means either nothing or "a"</entry> + <entry>Means either nothing or “a”</entry> </row> <row> <entry>{ a }</entry> - <entry>Means zero or more occurrences of "a"</entry> + <entry>Means zero or more occurrences of “a”</entry> </row> <row> <entry>( a | b )</entry> - <entry>Means either "a" or "b"</entry> + <entry>Means either “a” or “b”</entry> </row> <row> <entry>\\n</entry> @@ -36,7 +36,7 @@ Syntax is specified in EBNF notation with the following conventions: </informaltable> <para> -All terminals are enclosed in double quotation marks (" "). +All terminals are enclosed in double quotation marks (" "). Informal descriptions are enclosed in angle brackets (< >). Syntax </para> @@ -54,43 +54,43 @@ Syntax </row> <row> <entry>directive</entry> - <entry>= ( "#replace" | "#override" | "#augment" ) "\\n"</entry> + <entry>= ( “#replace” | “#override” | “#augment” ) “\\n”</entry> </row> <row> <entry>production</entry> - <entry>= lhs ":" rhs "\\n"</entry> + <entry>= lhs “:” rhs “\\n”</entry> </row> <row> <entry>lhs</entry> - <entry>= ( event | keyseq ) { "," (event | keyseq) }</entry> + <entry>= ( event | keyseq ) { “,” (event | keyseq) }</entry> </row> <row> <entry>keyseq</entry> - <entry>= """ keychar {keychar} """</entry> + <entry>= “"” keychar {keychar} “"”</entry> </row> <row> <entry>keychar</entry> - <entry>= [ "^" | "$" | "\\" ] <ISO Latin 1 character></entry> + <entry>= [ “^” | “$” | “\\” ] <ISO Latin 1 character></entry> </row> <row> <entry>event</entry> - <entry>= [modifier_list] "<"event_type">" [ "(" count["+"] ")" ] {detail}</entry> + <entry>= [modifier_list] “<”event_type“>” [ “(” count[“+”] “)” ] {detail}</entry> </row> <row> <entry>modifier_list</entry> - <entry>= ( ["!"] [":"] {modifier} ) | "None"</entry> + <entry>= ( [“!”] [“:”] {modifier} ) | “None”</entry> </row> <row> <entry>modifier</entry> - <entry>= ["~"] modifier_name</entry> + <entry>= [“~”] modifier_name</entry> </row> <row> <entry>count</entry> - <entry>= ("1" | "2" | "3" | "4" | ...)</entry> + <entry>= (“1” | “2” | “3” | “4” | ...)</entry> </row> <row> <entry>modifier_name</entry> - <entry>= "@" <keysym> | <see ModifierNames table below></entry> + <entry>= “@” <keysym> | <see ModifierNames table below></entry> </row> <row> <entry>event_type</entry> @@ -102,7 +102,7 @@ Syntax </row> <row> <entry>rhs</entry> - <entry>= { name "(" [params] ")" }</entry> + <entry>= { name “(” [params] “)” }</entry> </row> <row> <entry>name</entry> @@ -110,11 +110,11 @@ Syntax </row> <row> <entry>namechar</entry> - <entry>= { "a"-"z" | "A"-"Z" | "0"-"9" | "_" | "-" }</entry> + <entry>= { “a”–“z” | “A”–“Z” | “0”–“9” | “_” | “–” }</entry> </row> <row> <entry>params</entry> - <entry>= string {"," string}</entry> + <entry>= string {“,” string}</entry> </row> <row> <entry>string</entry> @@ -122,15 +122,15 @@ Syntax </row> <row> <entry>quoted_string</entry> - <entry>= <quote>"</quote> {<Latin 1 character> | escape_char} ["\\\\" ] <quote>"</quote></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> @@ -142,7 +142,7 @@ The <emphasis remap='I'>params</emphasis> field is parsed into a list of 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 +three-character sequence “\\"” is interpreted as "single backslash followed by end-of-string". </para> <para><emphasis role='strong'>Modifier Names</emphasis></para> @@ -166,8 +166,8 @@ that contains modifiers for any other events is parsed. <itemizedlist spacing='compact'> <listitem> <para> -If the modifier list has no entries and is not "None", -it means "don't care" on all modifiers. +If the modifier list has no entries and is not “None”, +it means “don't care” on all modifiers. </para> </listitem> <listitem> @@ -183,7 +183,7 @@ and no other modifiers can be asserted. If any modifiers are specified and an exclamation point (!) is not specified, it means that the listed modifiers must be in the -correct state and "don't care" about any other modifiers. +correct state and “don't care” about any other modifiers. </para> </listitem> <listitem> @@ -194,7 +194,7 @@ it means that that modifier must not be asserted. </listitem> <listitem> <para> -If "None" is specified, it means no modifiers can be asserted. +If “None” is specified, it means no modifiers can be asserted. </para> </listitem> <listitem> @@ -208,8 +208,8 @@ 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. -For example, ":<Key>a" is distinct from ":<Key>A", -and ":Shift<Key>A" is distinct from ":<Key>A". +For example, “:<Key>a” is distinct from “:<Key>A”, +and “:Shift<Key>A” is distinct from “:<Key>A”. </para> </listitem> <listitem> @@ -225,7 +225,7 @@ modifiers in the event are applied as for colon (:) above. <para> If a colon (:) is not specified, no standard modifiers are applied. -Then, for example, "<Key>A" and "<Key>a" are equivalent. +Then, for example, “<Key>A” and “<Key>a” are equivalent. </para> </listitem> </itemizedlist> @@ -248,7 +248,7 @@ These modifiers and any others: mod1 mod2 <event> detail </programlisting> <para> -The use of "None" for a modifier list is identical to the use +The use of “None” for a modifier list is identical to the use of an exclamation point with no modifers. </para> @@ -369,7 +369,7 @@ of an exclamation point with no modifers. A key modifier is any modifier bit one of whose corresponding KeyCodes contains the corresponding left or right KeySym. For example, -"m" or "Meta" means any modifier bit mapping to a KeyCode +“m” or “Meta” means any modifier bit mapping to a KeyCode whose KeySym list contains XK_Meta_L or XK_Meta_R. Note that this interpretation is for each display, not global or even for each application context. @@ -380,7 +380,7 @@ there is no additional interpretation of KeySyms for these modifiers. <para> Because it is possible to associate arbitrary KeySyms with modifiers, the set of -key modifiers is extensible. The "@" <keysym> syntax means any +key modifiers is extensible. The “@” <keysym> syntax means any modifier bit whose corresponding KeyCode contains the specified KeySym name. </para> @@ -823,15 +823,15 @@ accepted as a match. <para> A KeySym can be specified as any of the standard KeySym names, -a hexadecimal number prefixed with "0x" or "0X", -an octal number prefixed with "0", or a decimal number. +a hexadecimal number prefixed with “0x” or “0X”, +an octal number prefixed with “0”, or a decimal number. A KeySym expressed as a single digit is interpreted as the -corresponding Latin 1 KeySym, for example, "0" is the KeySym XK_0. +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. +for example, “!” is treated as 0x21. Standard KeySym names are as defined in <function><X11/keysymdef.h></function> -with the "XK_" prefix removed. +with the “XK_” prefix removed. </para> <para><emphasis role='strong'>Canonical Representation</emphasis></para> @@ -842,7 +842,7 @@ representation is passed to a widget's <function>display_accelerator</function> procedure to describe the accelerators installed on that widget. The canonical representation of a translation table is (see also -"Syntax") +“Syntax”) </para> <informaltable frame='none'> @@ -858,37 +858,37 @@ The canonical representation of a translation table is (see also </row> <row> <entry>production</entry> - <entry>= lhs ":" rhs "\\n" + <entry>= lhs “:” rhs “\\n” </entry> </row> <row> <entry>lhs</entry> - <entry>=event { "," event } + <entry>=event { “,” event } </entry> </row> <row> <entry>event</entry> - <entry>=[modifier_list] "<"event_type">" [ "(" count["+"] ")" ] {detail} + <entry>=[modifier_list] “<”event_type“>” [ “(” count[“+”] “)” ] {detail} </entry> </row> <row> <entry>modifier_list</entry> - <entry>= ["!"] [":"] {modifier} + <entry>= [“!”] [“:”] {modifier} </entry> </row> <row> <entry>modifier</entry> - <entry>= ["~"] modifier_name + <entry>= [“~”] modifier_name </entry> </row> <row> <entry>count</entry> - <entry>=("1" | "2" | "3" | "4" | ...) + <entry>=(“1” | “2” | “3” | “4” | ...) </entry> </row> <row> <entry>modifier_name</entry> - <entry>= "@" <keysym> | <see canonical modifier names below> + <entry>= “@” <keysym> | <see canonical modifier names below> </entry> </row> <row> @@ -903,7 +903,7 @@ The canonical representation of a translation table is (see also </row> <row> <entry>rhs</entry> - <entry>={ name "(" [params] ")" } + <entry>={ name “(” [params] “)” } </entry> </row> <row> @@ -913,12 +913,12 @@ The canonical representation of a translation table is (see also </row> <row> <entry>namechar</entry> - <entry>= { "a"-"z" | "A"-"Z" | "0"-"9" | "_" | "-" } + <entry>= { “a”–“z” | “A”–“Z” | “0”–“9” | “_” | “-” } </entry> </row> <row> <entry>params</entry> - <entry>=string {"," string} + <entry>=string {“,” string} </entry> </row> <row> @@ -928,12 +928,12 @@ The canonical representation of a translation table is (see also </row> <row> <entry>quoted_string</entry> - <entry>= <quote>"</quote> {<Latin 1 character> | escape_char} ["\\\\" ] <quote>"</quote> + <entry>= <quote>"</quote> {<Latin 1 character> | escape_char} [“\\\\” ] <quote>"</quote> </entry> </row> <row> <entry>escape_char</entry> - <entry>= "\\"" + <entry>= “\\"” </entry> </row> </tbody> @@ -1160,7 +1160,7 @@ None <Enter> : in() <para> To indicate <function>EnterNotify</function> -with Button1 Down and Button2 Up and "don't care" about +with Button1 Down and Button2 Up and “don't care” about the other modifiers, use this specification: </para> <programlisting> |