summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-04-15 17:46:18 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:49:27 -0400
commitea2247ee98b9c7357dccbba13df96ffc6d08b65a (patch)
tree478c5a43d8c980cca994ef99166d123153c427ef /specs
parent44f5ef69ef6f1593d481a831d6aa4e035fc2e7bd (diff)
use ldquo/rdquo/ndash where appropriate
Diffstat (limited to 'specs')
-rw-r--r--specs/CH04.xml8
-rw-r--r--specs/CH07.xml4
-rw-r--r--specs/CH09.xml4
-rw-r--r--specs/CH11.xml34
-rw-r--r--specs/appA.xml28
-rw-r--r--specs/appB.xml4
-rw-r--r--specs/appC.xml10
-rw-r--r--specs/intrinsics.xml6
8 files changed, 49 insertions, 49 deletions
diff --git a/specs/CH04.xml b/specs/CH04.xml
index 75110c6..c92eb20 100644
--- a/specs/CH04.xml
+++ b/specs/CH04.xml
@@ -1886,10 +1886,10 @@ and <emphasis remap='I'>program_path</emphasis>
resources. At that time, if <emphasis remap='I'>restart_command</emphasis> is NULL, the value
of the <emphasis remap='I'>argv</emphasis> resource will be copied to <emphasis remap='I'>restart_command</emphasis>.
Whether or not <emphasis remap='I'>restart_command</emphasis> was NULL,
-if "<emphasis>-xtsessionID</emphasis>" "<emphasis>&lt;session id&gt;</emphasis>" does not
+if &ldquo;<emphasis>-xtsessionID</emphasis>&rdquo; &ldquo;<emphasis>&lt;session id&gt;</emphasis>&rdquo; does not
already appear in the <emphasis remap='I'>restart_command</emphasis>, it will be added by the
initialize and set_values methods at the beginning of the command arguments;
-if the "<emphasis>-xtsessionID</emphasis>" argument already appears with an incorrect
+if the &ldquo;<emphasis>-xtsessionID</emphasis>&rdquo; argument already appears with an incorrect
<emphasis>session id</emphasis> in the following argument, that argument
will be replaced with the current <emphasis>session id</emphasis>.
</para>
@@ -1898,7 +1898,7 @@ will be replaced with the current <emphasis>session id</emphasis>.
After this, the shell initialize and set_values procedures check the
<emphasis remap='I'>clone_command</emphasis>. If <emphasis remap='I'>clone_command</emphasis> is NULL,
<emphasis remap='I'>restart_command</emphasis> will be copied to <emphasis remap='I'>clone_command</emphasis>,
-except the "<emphasis>-xtsessionID</emphasis>" and following argument will not be copied.
+except the &ldquo;<emphasis>-xtsessionID</emphasis>&rdquo; and following argument will not be copied.
</para>
<para>
@@ -1922,7 +1922,7 @@ see <xref linkend='Predefined_Resource_Converters' />.
<para>
The resource type EnvironmentArray is a NULL-terminated array of
pointers to strings;
-each string has the format "name=value".
+each string has the format &ldquo;name=value&rdquo;.
The `=' character may not appear in the name,
and the string is terminated by a null character.
</para>
diff --git a/specs/CH07.xml b/specs/CH07.xml
index 79b2c8f..94c666a 100644
--- a/specs/CH07.xml
+++ b/specs/CH07.xml
@@ -4973,8 +4973,8 @@ or
<xref linkend='XtAppProcessEvent' xrefstyle='select: title'/>
and another thread in the same application context opens a new display,
adds an alternate input, or a timeout, any new source(s) will not
-normally be "noticed" by the blocked thread. Any new sources are
-"noticed" the next time one of these functions is called.
+normally be &ldquo;noticed&rdquo; by the blocked thread. Any new sources are
+&ldquo;noticed&rdquo; the next time one of these functions is called.
</para>
<para>
diff --git a/specs/CH09.xml b/specs/CH09.xml
index 27591b6..6fe5dd8 100644
--- a/specs/CH09.xml
+++ b/specs/CH09.xml
@@ -1488,7 +1488,7 @@ perform an
using a wildcard font name and use the first
font in the list. This wildcard font name should be as broad as
possible to maximize the probability of locating a useable font;
-for example, "-*-*-*-R-*-*-*-120-*-*-*-*-ISO8859-1".)
+for example, &ldquo;<code>-*-*-*-R-*-*-*-120-*-*-*-*-ISO8859-1</code>&rdquo;.)
</para>
</listitem>
<listitem>
@@ -1528,7 +1528,7 @@ perform an
using a wildcard base font name.
This wildcard base font name should be as broad as
possible to maximize the probability of locating a useable font;
-for example, "-*-*-*-R-*-*-*-120-*-*-*-*".)
+for example, &ldquo;<code>-*-*-*-R-*-*-*-120-*-*-*-*</code>&rdquo;.)
</para>
</listitem>
<listitem>
diff --git a/specs/CH11.xml b/specs/CH11.xml
index 0f863de..bb6902b 100644
--- a/specs/CH11.xml
+++ b/specs/CH11.xml
@@ -3464,7 +3464,7 @@ The high-level functions construct a string to pass to the lower-level
interface.
The strings may be specified in application code and are
overridden by the contents of an external systemwide file,
-the "error database file". The location and name of this file are
+the &ldquo;error database file&rdquo;. The location and name of this file are
implementation-dependent.
</para>
<note>
@@ -3602,7 +3602,7 @@ Specifies the number of entries in <emphasis remap='I'>params</emphasis>.
<para>
The specified name can be a general kind of error,
-like "invalidParameters" or "invalidWindow",
+like &ldquo;invalidParameters&rdquo; or &ldquo;invalidWindow&rdquo;,
and the specified type gives extra information
such as the name of the routine in which the error was detected.
Standard
@@ -3715,9 +3715,9 @@ returns the appropriate message from the error database
or returns the specified default message if one is not found in the
error database.
To form the full resource name and class when querying the database,
-the <emphasis remap='I'>name</emphasis> and <emphasis remap='I'>type</emphasis> are concatenated with a single "."
+the <emphasis remap='I'>name</emphasis> and <emphasis remap='I'>type</emphasis> are concatenated with a single &ldquo;.&rdquo;
between them and the <emphasis remap='I'>class</emphasis> is concatenated with itself with a
-single "." if it does not already contain a ".".
+single &ldquo;.&rdquo; if it does not already contain a &ldquo;.&rdquo;.
</para>
<para>
@@ -3922,7 +3922,7 @@ Specifies the number of entries in <emphasis remap='I'>params</emphasis>.
<para>
The Intrinsics internal errors all have class
-"XtToolkitError".
+&ldquo;XtToolkitError&rdquo;.
</para>
<para>
@@ -4065,7 +4065,7 @@ Specifies the number of entries in <emphasis remap='I'>params</emphasis>.
<para>
The Intrinsics internal warnings all have class
-"XtToolkitError".
+&ldquo;XtToolkitError&rdquo;.
</para>
<para>
@@ -4483,9 +4483,9 @@ Specifies a procedure called to judge each potential file name, or NULL.
The <emphasis remap='I'>path</emphasis> parameter specifies a string that consists of a series of
potential file names delimited by colons. Within each name, the
percent character specifies a string substitution selected by the
-following character. The character sequence "%:" specifies an
+following character. The character sequence &ldquo;%:&rdquo; specifies an
embedded colon that is not a delimiter; the sequence is replaced by a
-single colon. The character sequence "%%" specifies a percent
+single colon. The character sequence &ldquo;%%&rdquo; specifies a percent
character that does not introduce a substitution; the sequence is
replaced by a single percent character. If a percent character is
followed by any other character,
@@ -4497,7 +4497,7 @@ replaces the percent and match characters with the string in the
corresponding <emphasis remap='I'>substitution</emphasis> field. A <emphasis remap='I'>substitution</emphasis> field entry of NULL
is equivalent to a pointer to an empty string. If the operating
system does not interpret multiple embedded name separators in the
-path (i.e., "/" in POSIX) the same way as a single separator,
+path (i.e., &ldquo;/&rdquo; in POSIX) the same way as a single separator,
<xref linkend='XtFindFile' xrefstyle='select: title'/>
will collapse multiple separators into a single one after performing
all string substitutions. Except for collapsing embedded separators,
@@ -4634,12 +4634,12 @@ are determined from the value of the language string retrieved by
<xref linkend='XtDisplayInitialize' xrefstyle='select: title'/>
for the specified display.
To set the
-language for all applications specify "*xnlLanguage: <emphasis remap='I'>lang</emphasis>" in the
+language for all applications specify &ldquo;*xnlLanguage: <emphasis remap='I'>lang</emphasis>&rdquo; in the
resource database.
The format and content of the language string are
implementation-defined. One suggested syntax is to compose
-the language string of three parts; a "language part", a
-"territory part" and a "codeset part". The manner in which
+the language string of three parts; a &ldquo;language part&rdquo;, a
+&ldquo;territory part&rdquo; and a &ldquo;codeset part&rdquo;. The manner in which
this composition is accomplished is implementation-defined,
and the Intrinsics make no interpretation of the parts other
than to use them in substitutions as described below.
@@ -4793,12 +4793,12 @@ adjacent colons, <function>%N%S</function> is inserted between them.
<para>
The <emphasis remap='I'>type</emphasis> parameter is intended to be a category of files, usually
being translated into a directory in the pathname. Possible values
-might include "app-defaults", "help", and "bitmap".
+might include &ldquo;app-defaults&rdquo;, &ldquo;help&rdquo;, and &ldquo;bitmap&rdquo;.
</para>
<para>
The <emphasis remap='I'>suffix</emphasis> parameter is intended to be appended to the file name.
-Possible values might include ".txt", ".dat", and ".bm".
+Possible values might include &ldquo;.txt&rdquo;, &ldquo;.dat&rdquo;, and &ldquo;.bm&rdquo;.
</para>
<para>
@@ -4826,7 +4826,7 @@ The %D substitution allows the addition of path
elements to the implementation-specific default path, typically to
allow additional directories to be searched without preventing
resources in the system directories from being found. For example, a
-user installing resource files under a directory called "ourdir"
+user installing resource files under a directory called &ldquo;ourdir&rdquo;
might set
<emphasis role='strong'>XFILESEARCHPATH</emphasis>
to
@@ -4861,11 +4861,11 @@ when it is no longer needed.
Applications may register
functions that are called at a particular control points in the Intrinsics.
These functions are intended to be used to provide notification
-of an "X Toolkit event", such as widget creation, to an external agent,
+of an &ldquo;X Toolkit event&rdquo;, such as widget creation, to an external agent,
such as an interactive resource editor, drag-and-drop server, or
an aid for physically challenged users.
The control points containing such registration hooks are identified
-in a "hook registration" object.
+in a &ldquo;hook registration&rdquo; object.
</para>
<para>
diff --git a/specs/appA.xml b/specs/appA.xml
index 566e9e8..76454de 100644
--- a/specs/appA.xml
+++ b/specs/appA.xml
@@ -27,11 +27,11 @@ for convenience only.
</row>
<row>
<entry>Comment</entry>
- <entry>="!" {&lt;any character except null or newline&gt;}</entry>
+ <entry>=&ldquo;!&rdquo; {&lt;any character except null or newline&gt;}</entry>
</row>
<row>
<entry>IncludeFile</entry>
- <entry>= "#" WhiteSpace "include" WhiteSpace FileName WhiteSpace</entry>
+ <entry>= &ldquo;#&rdquo; WhiteSpace &ldquo;include&rdquo; WhiteSpace FileName WhiteSpace</entry>
</row>
<row>
<entry>FileName</entry>
@@ -39,7 +39,7 @@ for convenience only.
</row>
<row>
<entry>ResourceSpec</entry>
- <entry>= WhiteSpace ResourceName WhiteSpace ":" WhiteSpace Value</entry>
+ <entry>= WhiteSpace ResourceName WhiteSpace &ldquo;:&rdquo; WhiteSpace Value</entry>
</row>
<row>
<entry>ResourceName</entry>
@@ -47,7 +47,7 @@ for convenience only.
</row>
<row>
<entry>Binding</entry>
- <entry>="." | "*"</entry>
+ <entry>=&ldquo;.&rdquo; | &ldquo;*&rdquo;</entry>
</row>
<row>
<entry>WhiteSpace</entry>
@@ -55,7 +55,7 @@ for convenience only.
</row>
<row>
<entry>Component</entry>
- <entry>= "?" | ComponentName</entry>
+ <entry>= &ldquo;?&rdquo; | ComponentName</entry>
</row>
<row>
<entry>ComponentName</entry>
@@ -63,7 +63,7 @@ for convenience only.
</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;-&rdquo;</entry>
</row>
<row>
<entry>Value</entry>
@@ -78,7 +78,7 @@ Elements separated by vertical bar (|) are alternatives.
Curly braces ({...}) indicate zero or more repetitions
of the enclosed elements.
Square brackets ([...]) indicate that the enclosed element is optional.
-Quotes ("...") are used around literal characters.
+Quotes (&ldquo;...&rdquo;) are used around literal characters.
</para>
<para>
@@ -88,28 +88,28 @@ that line is assumed to continue on the next line.
<para>
To allow a Value to begin with whitespace,
-the two-character sequence "\<emphasis remap='I'>space</emphasis>" (backslash followed by space)
+the two-character sequence &ldquo;\<emphasis remap='I'>space</emphasis>&rdquo; (backslash followed by space)
is recognized and replaced by a space character,
-and the two-character sequence "\<emphasis remap='I'>tab</emphasis>"
+and the two-character sequence &ldquo;\<emphasis remap='I'>tab</emphasis>&rdquo;
(backslash followed by horizontal tab)
is recognized and replaced by a horizontal tab character.
</para>
<para>
To allow a Value to contain embedded newline characters,
-the two-character sequence "\n" is recognized and replaced by a
+the two-character sequence &ldquo;\n&rdquo; is recognized and replaced by a
newline character.
To allow a Value to be broken across multiple lines in a text file,
-the two-character sequence "\<emphasis remap='I'>newline</emphasis>"
+the two-character sequence &ldquo;\<emphasis remap='I'>newline</emphasis>&rdquo;
(backslash followed by newline) is
recognized and removed from the value.
</para>
<para>
To allow a Value to contain arbitrary character codes,
-the four-character sequence "\<emphasis remap='I'>nnn</emphasis>",
-where each <emphasis remap='I'>n</emphasis> is a digit character in the range of "0"-"7",
+the four-character sequence &ldquo;\<emphasis remap='I'>nnn</emphasis>&rdquo;,
+where each <emphasis remap='I'>n</emphasis> is a digit character in the range of &ldquo;0&rdquo;&ndash;&ldquo;7&rdquo;,
is recognized and replaced with a single byte that contains
the octal value specified by the sequence.
-Finally, the two-character sequence "\\" is recognized
+Finally, the two-character sequence &ldquo;\\&rdquo; is recognized
and replaced with a single backslash.
</para>
</appendix>
diff --git a/specs/appB.xml b/specs/appB.xml
index 9b245cb..f8396c5 100644
--- a/specs/appB.xml
+++ b/specs/appB.xml
@@ -142,8 +142,8 @@ 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 &ldquo;\\"&rdquo; is interpreted as "single backslash
-followed by end-of-string".
+three-character sequence &ldquo;\\"&rdquo; is interpreted as &ldquo;single backslash
+followed by end-of-string&rdquo;.
</para>
<para><emphasis role='strong'>Modifier Names</emphasis></para>
diff --git a/specs/appC.xml b/specs/appC.xml
index 98b7320..003c740 100644
--- a/specs/appC.xml
+++ b/specs/appC.xml
@@ -967,9 +967,9 @@ Specifies the name of the type to which the string could not be converted.
<para>
The
<xref linkend='XtStringConversionWarning' xrefstyle='select: title'/>
-function issues a warning message with name "conversionError",
-type "string", class "XtToolkitError, and the default message string
-"Cannot convert "<emphasis remap='I'>src</emphasis>" to type <emphasis remap='I'>dst_type</emphasis>". This routine
+function issues a warning message with name &ldquo;conversionError&rdquo;,
+type &ldquo;string&rdquo;, class &ldquo;XtToolkitError&rdquo;, and the default message string
+&ldquo;Cannot convert "<emphasis remap='I'>src</emphasis>" to type <emphasis remap='I'>dst_type</emphasis>&rdquo;. This routine
has been superseded by
<xref linkend='XtDisplayStringConversionWarning' xrefstyle='select: title'/>.
</para>
@@ -1588,9 +1588,9 @@ associated with the default application context
or returns the specified default message if one is not found in the
error database.
To form the full resource name and class when querying the database,
-the <emphasis remap='I'>name</emphasis> and <emphasis remap='I'>type</emphasis> are concatenated with a single "."
+the <emphasis remap='I'>name</emphasis> and <emphasis remap='I'>type</emphasis> are concatenated with a single &ldquo;.&rdquo;
between them and the <emphasis remap='I'>class</emphasis> is concatenated with itself with a
-single "." if it does not already contain a ".".
+single &ldquo;.&rdquo; if it does not already contain a &ldquo;.&rdquo;.
This routine has been superseded by
<xref linkend='XtAppGetErrorDatabaseText' xrefstyle='select: title'/>.
</para>
diff --git a/specs/intrinsics.xml b/specs/intrinsics.xml
index 83df8ab..88cbdcb 100644
--- a/specs/intrinsics.xml
+++ b/specs/intrinsics.xml
@@ -46,7 +46,7 @@ Copyright &copy; 1985, 1986, 1987, 1988, 1991, 1994 X Consortium
<para>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
+&ldquo;Software&rdquo;), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
@@ -58,7 +58,7 @@ The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
</para>
-<para> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+<para> THE SOFTWARE IS PROVIDED &ldquo;AS IS&rdquo;, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
@@ -90,7 +90,7 @@ Digital not be used in in advertising or publicity pertaining
to distribution of the software without specific, written prior permission.
Digital makes no representations about the suitability of the
software described herein for any purpose.
-It is provided "as is" without express or implied warranty.
+It is provided &ldquo;as is&rdquo; without express or implied warranty.
</para>
</legalnotice>