summaryrefslogtreecommitdiff
path: root/specs/appB.xml
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-04-15 17:20:57 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:49:07 -0400
commiteaa1835ba58525c90ffa2dc5a5d409dd9e7a909f (patch)
tree290aea7750f10bd360741d4d4442a39938013f43 /specs/appB.xml
parentcbf4dd22eedc33309efacfb2a1a795debdd44b3b (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.xml100
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 &ldquo;a&rdquo;</entry>
</row>
<row>
<entry>{ a }</entry>
- <entry>Means zero or more occurrences of "a"</entry>
+ <entry>Means zero or more occurrences of &ldquo;a&rdquo;</entry>
</row>
<row>
<entry>( a | b )</entry>
- <entry>Means either "a" or "b"</entry>
+ <entry>Means either &ldquo;a&rdquo; or &ldquo;b&rdquo;</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 ("&nbsp;").
Informal descriptions are enclosed in angle brackets (&lt; &gt;).
Syntax
</para>
@@ -54,43 +54,43 @@ Syntax
</row>
<row>
<entry>directive</entry>
- <entry>= ( "#replace" | "#override" | "#augment" ) "\\n"</entry>
+ <entry>= ( &ldquo;#replace&rdquo; | &ldquo;#override&rdquo; | &ldquo;#augment&rdquo; ) &ldquo;\\n&rdquo;</entry>
</row>
<row>
<entry>production</entry>
- <entry>= lhs ":" rhs "\\n"</entry>
+ <entry>= lhs &ldquo;:&rdquo; rhs &ldquo;\\n&rdquo;</entry>
</row>
<row>
<entry>lhs</entry>
- <entry>= ( event | keyseq ) { "," (event | keyseq) }</entry>
+ <entry>= ( event | keyseq ) { &ldquo;,&rdquo; (event | keyseq) }</entry>
</row>
<row>
<entry>keyseq</entry>
- <entry>= """ keychar {keychar} """</entry>
+ <entry>= &ldquo;"&rdquo; keychar {keychar} &ldquo;"&rdquo;</entry>
</row>
<row>
<entry>keychar</entry>
- <entry>= [ "^" | "$" | "\\" ] &lt;ISO Latin 1 character&gt;</entry>
+ <entry>= [ &ldquo;^&rdquo; | &ldquo;$&rdquo; | &ldquo;\\&rdquo; ] &lt;ISO Latin 1 character&gt;</entry>
</row>
<row>
<entry>event</entry>
- <entry>= [modifier_list] "&lt;"event_type"&gt;" [ "(" count["+"] ")" ] {detail}</entry>
+ <entry>= [modifier_list] &ldquo;&lt;&rdquo;event_type&ldquo;&gt;&rdquo; [ &ldquo;(&rdquo; count[&ldquo;+&rdquo;] &ldquo;)&rdquo; ] {detail}</entry>
</row>
<row>
<entry>modifier_list</entry>
- <entry>= ( ["!"] [":"] {modifier} ) | "None"</entry>
+ <entry>= ( [&ldquo;!&rdquo;] [&ldquo;:&rdquo;] {modifier} ) | &ldquo;None&rdquo;</entry>
</row>
<row>
<entry>modifier</entry>
- <entry>= ["~"] modifier_name</entry>
+ <entry>= [&ldquo;~&rdquo;] modifier_name</entry>
</row>
<row>
<entry>count</entry>
- <entry>= ("1" | "2" | "3" | "4" | ...)</entry>
+ <entry>= (&ldquo;1&rdquo; | &ldquo;2&rdquo; | &ldquo;3&rdquo; | &ldquo;4&rdquo; | ...)</entry>
</row>
<row>
<entry>modifier_name</entry>
- <entry>= "@" &lt;keysym&gt; | &lt;see ModifierNames table below&gt;</entry>
+ <entry>= &ldquo;@&rdquo; &lt;keysym&gt; | &lt;see ModifierNames table below&gt;</entry>
</row>
<row>
<entry>event_type</entry>
@@ -102,7 +102,7 @@ Syntax
</row>
<row>
<entry>rhs</entry>
- <entry>= { name "(" [params] ")" }</entry>
+ <entry>= { name &ldquo;(&rdquo; [params] &ldquo;)&rdquo; }</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>= { &ldquo;a&rdquo;&ndash;&ldquo;z&rdquo; | &ldquo;A&rdquo;&ndash;&ldquo;Z&rdquo; | &ldquo;0&rdquo;&ndash;&ldquo;9&rdquo; | &ldquo;_&rdquo; | &ldquo;&ndash;&rdquo; }</entry>
</row>
<row>
<entry>params</entry>
- <entry>= string {"," string}</entry>
+ <entry>= string {&ldquo;,&rdquo; string}</entry>
</row>
<row>
<entry>string</entry>
@@ -122,15 +122,15 @@ Syntax
</row>
<row>
<entry>quoted_string</entry>
- <entry>= <quote>"</quote> {&lt;Latin 1 character&gt; | escape_char} ["\\\\" ] <quote>"</quote></entry>
+ <entry>= <quote>"</quote> {&lt;Latin 1 character&gt; | escape_char} [&ldquo;\\\\&rdquo; ] <quote>"</quote></entry>
</row>
<row>
<entry>escape_char</entry>
- <entry>= "\\""</entry>
+ <entry>= &ldquo;\\"&rdquo;</entry>
</row>
<row>
<entry>unquoted_string</entry>
- <entry>= {&lt;Latin 1 character except space, tab, ",", "\\n", ")"&gt;}</entry>
+ <entry>= {&lt;Latin 1 character except space, tab, &ldquo;,&rdquo;, &ldquo;\\n&rdquo;, &ldquo;)&rdquo;&gt;}</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 &ldquo;\\"&rdquo; 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 &ldquo;None&rdquo;,
+it means &ldquo;don't care&rdquo; 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 &ldquo;don't care&rdquo; 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 &ldquo;None&rdquo; 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, ":&lt;Key&gt;a" is distinct from ":&lt;Key&gt;A",
-and ":Shift&lt;Key&gt;A" is distinct from ":&lt;Key&gt;A".
+For example, &ldquo;:&lt;Key&gt;a&rdquo; is distinct from &ldquo;:&lt;Key&gt;A&rdquo;,
+and &ldquo;:Shift&lt;Key&gt;A&rdquo; is distinct from &ldquo;:&lt;Key&gt;A&rdquo;.
</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, "&lt;Key&gt;A" and "&lt;Key&gt;a" are equivalent.
+Then, for example, &ldquo;&lt;Key&gt;A&rdquo; and &ldquo;&lt;Key&gt;a&rdquo; are equivalent.
</para>
</listitem>
</itemizedlist>
@@ -248,7 +248,7 @@ These modifiers and any others: mod1 mod2 &lt;event&gt; detail
</programlisting>
<para>
-The use of "None" for a modifier list is identical to the use
+The use of &ldquo;None&rdquo; 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
+&ldquo;m&rdquo; or &ldquo;Meta&rdquo; 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 "@" &lt;keysym&gt; syntax means any
+key modifiers is extensible. The &ldquo;@&rdquo; &lt;keysym&gt; 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 &ldquo;0x&rdquo; or &ldquo;0X&rdquo;,
+an octal number prefixed with &ldquo;0&rdquo;, 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, &ldquo;0&rdquo; 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, &ldquo;!&rdquo; is treated as 0x21.
Standard KeySym names are as defined in
<function>&lt;X11/keysymdef.h&gt;</function>
-with the "XK_" prefix removed.
+with the &ldquo;XK_&rdquo; 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")
+&ldquo;Syntax&rdquo;)
</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 &ldquo;:&rdquo; rhs &ldquo;\\n&rdquo;
</entry>
</row>
<row>
<entry>lhs</entry>
- <entry>=event { "," event }
+ <entry>=event { &ldquo;,&rdquo; event }
</entry>
</row>
<row>
<entry>event</entry>
- <entry>=[modifier_list] "&lt;"event_type"&gt;" [ "(" count["+"] ")" ] {detail}
+ <entry>=[modifier_list] &ldquo;&lt;&rdquo;event_type&ldquo;&gt;&rdquo; [ &ldquo;(&rdquo; count[&ldquo;+&rdquo;] &ldquo;)&rdquo; ] {detail}
</entry>
</row>
<row>
<entry>modifier_list</entry>
- <entry>= ["!"] [":"] {modifier}
+ <entry>= [&ldquo;!&rdquo;] [&ldquo;:&rdquo;] {modifier}
</entry>
</row>
<row>
<entry>modifier</entry>
- <entry>= ["~"] modifier_name
+ <entry>= [&ldquo;~&rdquo;] modifier_name
</entry>
</row>
<row>
<entry>count</entry>
- <entry>=("1" | "2" | "3" | "4" | ...)
+ <entry>=(&ldquo;1&rdquo; | &ldquo;2&rdquo; | &ldquo;3&rdquo; | &ldquo;4&rdquo; | ...)
</entry>
</row>
<row>
<entry>modifier_name</entry>
- <entry>= "@" &lt;keysym&gt; | &lt;see canonical modifier names below&gt;
+ <entry>= &ldquo;@&rdquo; &lt;keysym&gt; | &lt;see canonical modifier names below&gt;
</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 &ldquo;(&rdquo; [params] &ldquo;)&rdquo; }
</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>= { &ldquo;a&rdquo;&ndash;&ldquo;z&rdquo; | &ldquo;A&rdquo;&ndash;&ldquo;Z&rdquo; | &ldquo;0&rdquo;&ndash;&ldquo;9&rdquo; | &ldquo;_&rdquo; | &ldquo;-&rdquo; }
</entry>
</row>
<row>
<entry>params</entry>
- <entry>=string {"," string}
+ <entry>=string {&ldquo;,&rdquo; 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> {&lt;Latin 1 character&gt; | escape_char} ["\\\\" ] <quote>"</quote>
+ <entry>= <quote>"</quote> {&lt;Latin 1 character&gt; | escape_char} [&ldquo;\\\\&rdquo; ] <quote>"</quote>
</entry>
</row>
<row>
<entry>escape_char</entry>
- <entry>= "\\""
+ <entry>= &ldquo;\\"&rdquo;
</entry>
</row>
</tbody>
@@ -1160,7 +1160,7 @@ None &lt;Enter&gt; : 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 &ldquo;don't care&rdquo; about
the other modifiers, use this specification:
</para>
<programlisting>