Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cbe63d0

Browse files
committed
doc: Use proper em and en dashes
1 parent ee20152 commit cbe63d0

24 files changed

+112
-114
lines changed

doc/src/sgml/biblio.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ ssimkovi@ag.or.at
309309
</biblioset>
310310
<confgroup>
311311
<conftitle>Eleventh International Conference on Data Engineering</conftitle>
312-
<confdates>6-10 March 1995</confdates>
312+
<confdates>6&ndash;10 March 1995</confdates>
313313
<address>Taipeh, Taiwan</address>
314314
</confgroup>
315315
<pubsnumber>Cat. No.95CH35724</pubsnumber>
@@ -318,7 +318,7 @@ ssimkovi@ag.or.at
318318
<address>Los Alamitos, California</address>
319319
</publisher>
320320
<pubdate>1995</pubdate>
321-
<pagenums>420-7</pagenums>
321+
<pagenums>420&ndash;7</pagenums>
322322
</biblioentry>
323323

324324
<biblioentry id="ston86">
@@ -427,7 +427,7 @@ ssimkovi@ag.or.at
427427
<biblioset relation="journal">
428428
<title>SIGMOD Record 18(4)</title>
429429
<date>Dec. 1989</date>
430-
<pagenums>4-11</pagenums>
430+
<pagenums>4&ndash;11</pagenums>
431431
</biblioset>
432432
</biblioentry>
433433

doc/src/sgml/bki.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@
385385
To find an available OID for a new pre-loaded row, run the
386386
script <filename>src/include/catalog/unused_oids</filename>.
387387
It prints inclusive ranges of unused OIDs (e.g., the output
388-
line <quote>45-900</quote> means OIDs 45 through 900 have not been
389-
allocated yet). Currently, OIDs 1-9999 are reserved for manual
388+
line <literal>45-900</literal> means OIDs 45 through 900 have not been
389+
allocated yet). Currently, OIDs 1&ndash;9999 are reserved for manual
390390
assignment; the <filename>unused_oids</filename> script simply looks
391391
through the catalog headers and <filename>.dat</filename> files
392392
to see which ones do not appear. You can also use

doc/src/sgml/brin.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ typedef struct BrinOpcInfo
781781
</table>
782782

783783
<para>
784-
Support function numbers 1-10 are reserved for the BRIN internal
784+
Support function numbers 1 through 10 are reserved for the BRIN internal
785785
functions, so the SQL level functions start with number 11. Support
786786
function number 11 is the main function required to build the index.
787787
It should accept two arguments with the same data type as the operator class,

doc/src/sgml/catalogs.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9883,7 +9883,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
98839883
<entry><structfield>slot_type</structfield></entry>
98849884
<entry><type>text</type></entry>
98859885
<entry></entry>
9886-
<entry>The slot type - <literal>physical</literal> or <literal>logical</literal></entry>
9886+
<entry>The slot type: <literal>physical</literal> or <literal>logical</literal></entry>
98879887
</row>
98889888

98899889
<row>

doc/src/sgml/charset.sgml

+16-16
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
10041004
<entry>Traditional Chinese</entry>
10051005
<entry>No</entry>
10061006
<entry>No</entry>
1007-
<entry>1-2</entry>
1007+
<entry>1&ndash;2</entry>
10081008
<entry><literal>WIN950</literal>, <literal>Windows950</literal></entry>
10091009
</row>
10101010
<row>
@@ -1013,7 +1013,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
10131013
<entry>Simplified Chinese</entry>
10141014
<entry>Yes</entry>
10151015
<entry>Yes</entry>
1016-
<entry>1-3</entry>
1016+
<entry>1&ndash;3</entry>
10171017
<entry></entry>
10181018
</row>
10191019
<row>
@@ -1022,7 +1022,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
10221022
<entry>Japanese</entry>
10231023
<entry>Yes</entry>
10241024
<entry>Yes</entry>
1025-
<entry>1-3</entry>
1025+
<entry>1&ndash;3</entry>
10261026
<entry></entry>
10271027
</row>
10281028
<row>
@@ -1031,7 +1031,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
10311031
<entry>Japanese</entry>
10321032
<entry>Yes</entry>
10331033
<entry>No</entry>
1034-
<entry>1-3</entry>
1034+
<entry>1&ndash;3</entry>
10351035
<entry></entry>
10361036
</row>
10371037
<row>
@@ -1040,7 +1040,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
10401040
<entry>Korean</entry>
10411041
<entry>Yes</entry>
10421042
<entry>Yes</entry>
1043-
<entry>1-3</entry>
1043+
<entry>1&ndash;3</entry>
10441044
<entry></entry>
10451045
</row>
10461046
<row>
@@ -1049,7 +1049,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
10491049
<entry>Traditional Chinese, Taiwanese</entry>
10501050
<entry>Yes</entry>
10511051
<entry>Yes</entry>
1052-
<entry>1-3</entry>
1052+
<entry>1&ndash;3</entry>
10531053
<entry></entry>
10541054
</row>
10551055
<row>
@@ -1058,7 +1058,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
10581058
<entry>Chinese</entry>
10591059
<entry>No</entry>
10601060
<entry>No</entry>
1061-
<entry>1-4</entry>
1061+
<entry>1&ndash;4</entry>
10621062
<entry></entry>
10631063
</row>
10641064
<row>
@@ -1067,7 +1067,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
10671067
<entry>Simplified Chinese</entry>
10681068
<entry>No</entry>
10691069
<entry>No</entry>
1070-
<entry>1-2</entry>
1070+
<entry>1&ndash;2</entry>
10711071
<entry><literal>WIN936</literal>, <literal>Windows936</literal></entry>
10721072
</row>
10731073
<row>
@@ -1112,7 +1112,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
11121112
<entry>Korean (Hangul)</entry>
11131113
<entry>No</entry>
11141114
<entry>No</entry>
1115-
<entry>1-3</entry>
1115+
<entry>1&ndash;3</entry>
11161116
<entry></entry>
11171117
</row>
11181118
<row>
@@ -1229,7 +1229,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
12291229
<entry>Multilingual Emacs</entry>
12301230
<entry>Yes</entry>
12311231
<entry>No</entry>
1232-
<entry>1-4</entry>
1232+
<entry>1&ndash;4</entry>
12331233
<entry></entry>
12341234
</row>
12351235
<row>
@@ -1238,7 +1238,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
12381238
<entry>Japanese</entry>
12391239
<entry>No</entry>
12401240
<entry>No</entry>
1241-
<entry>1-2</entry>
1241+
<entry>1&ndash;2</entry>
12421242
<entry><literal>Mskanji</literal>, <literal>ShiftJIS</literal>, <literal>WIN932</literal>, <literal>Windows932</literal></entry>
12431243
</row>
12441244
<row>
@@ -1247,7 +1247,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
12471247
<entry>Japanese</entry>
12481248
<entry>No</entry>
12491249
<entry>No</entry>
1250-
<entry>1-2</entry>
1250+
<entry>1&ndash;2</entry>
12511251
<entry></entry>
12521252
</row>
12531253
<row>
@@ -1265,7 +1265,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
12651265
<entry>Korean</entry>
12661266
<entry>No</entry>
12671267
<entry>No</entry>
1268-
<entry>1-2</entry>
1268+
<entry>1&ndash;2</entry>
12691269
<entry><literal>WIN949</literal>, <literal>Windows949</literal></entry>
12701270
</row>
12711271
<row>
@@ -1274,7 +1274,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
12741274
<entry><emphasis>all</emphasis></entry>
12751275
<entry>Yes</entry>
12761276
<entry>Yes</entry>
1277-
<entry>1-4</entry>
1277+
<entry>1&ndash;4</entry>
12781278
<entry><literal>Unicode</literal></entry>
12791279
</row>
12801280
<row>
@@ -1390,8 +1390,8 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
13901390
<para>
13911391
The <literal>SQL_ASCII</literal> setting behaves considerably differently
13921392
from the other settings. When the server character set is
1393-
<literal>SQL_ASCII</literal>, the server interprets byte values 0-127
1394-
according to the ASCII standard, while byte values 128-255 are taken
1393+
<literal>SQL_ASCII</literal>, the server interprets byte values 0&ndash;127
1394+
according to the ASCII standard, while byte values 128&ndash;255 are taken
13951395
as uninterpreted characters. No encoding conversion will be done when
13961396
the setting is <literal>SQL_ASCII</literal>. Thus, this setting is not so
13971397
much a declaration that a specific encoding is in use, as a declaration

doc/src/sgml/datetime.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167

168168
<tip>
169169
<para>
170-
Gregorian years AD 1-99 can be entered by using 4 digits with leading
170+
Gregorian years AD 1&ndash;99 can be entered by using 4 digits with leading
171171
zeros (e.g., <literal>0099</literal> is AD 99).
172172
</para>
173173
</tip>
@@ -671,9 +671,9 @@ $ <userinput>cal 9 1752</userinput>
671671
calendar, unrelated to the Julian calendar though it is confusingly
672672
named similarly to that calendar.
673673
The Julian Date system was invented by the French scholar
674-
Joseph Justus Scaliger (1540-1609)
674+
Joseph Justus Scaliger (1540&ndash;1609)
675675
and probably takes its name from Scaliger's father,
676-
the Italian scholar Julius Caesar Scaliger (1484-1558).
676+
the Italian scholar Julius Caesar Scaliger (1484&ndash;1558).
677677
In the Julian Date system, each day has a sequential number, starting
678678
from JD 0 (which is sometimes called <emphasis>the</emphasis> Julian Date).
679679
JD 0 corresponds to 1 January 4713 BC in the Julian calendar, or

doc/src/sgml/ecpg.sgml

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- doc/src/sgml/ecpg.sgml -->
22

33
<chapter id="ecpg">
4-
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
4+
<title><application>ECPG</application> &mdash; Embedded <acronym>SQL</acronym> in C</title>
55

66
<indexterm zone="ecpg"><primary>embedded SQL</primary><secondary>in C</secondary></indexterm>
77
<indexterm zone="ecpg"><primary>C</primary></indexterm>
@@ -2989,7 +2989,7 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
29892989
<listitem>
29902990
<para>
29912991
<literal>%d</literal> - is replaced by the day of the month as a
2992-
decimal number (01-31).
2992+
decimal number (01&ndash;31).
29932993
</para>
29942994
</listitem>
29952995
<listitem>
@@ -3025,7 +3025,7 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
30253025
<listitem>
30263026
<para>
30273027
<literal>%e</literal> - is replaced by the day of month as a decimal
3028-
number (1-31); single digits are preceded by a blank.
3028+
number (1&ndash;31); single digits are preceded by a blank.
30293029
</para>
30303030
</listitem>
30313031
<listitem>
@@ -3044,13 +3044,13 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
30443044
<para>
30453045
<literal>%g</literal> - is replaced by the same year as in
30463046
<literal>%G</literal>, but as a decimal number without century
3047-
(00-99).
3047+
(00&ndash;99).
30483048
</para>
30493049
</listitem>
30503050
<listitem>
30513051
<para>
30523052
<literal>%H</literal> - is replaced by the hour (24-hour clock) as a
3053-
decimal number (00-23).
3053+
decimal number (00&ndash;23).
30543054
</para>
30553055
</listitem>
30563056
<listitem>
@@ -3061,37 +3061,37 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
30613061
<listitem>
30623062
<para>
30633063
<literal>%I</literal> - is replaced by the hour (12-hour clock) as a
3064-
decimal number (01-12).
3064+
decimal number (01&ndash;12).
30653065
</para>
30663066
</listitem>
30673067
<listitem>
30683068
<para>
30693069
<literal>%j</literal> - is replaced by the day of the year as a
3070-
decimal number (001-366).
3070+
decimal number (001&ndash;366).
30713071
</para>
30723072
</listitem>
30733073
<listitem>
30743074
<para>
30753075
<literal>%k</literal> - is replaced by the hour (24-hour clock) as a
3076-
decimal number (0-23); single digits are preceded by a blank.
3076+
decimal number (0&ndash;23); single digits are preceded by a blank.
30773077
</para>
30783078
</listitem>
30793079
<listitem>
30803080
<para>
30813081
<literal>%l</literal> - is replaced by the hour (12-hour clock) as a
3082-
decimal number (1-12); single digits are preceded by a blank.
3082+
decimal number (1&ndash;12); single digits are preceded by a blank.
30833083
</para>
30843084
</listitem>
30853085
<listitem>
30863086
<para>
30873087
<literal>%M</literal> - is replaced by the minute as a decimal
3088-
number (00-59).
3088+
number (00&ndash;59).
30893089
</para>
30903090
</listitem>
30913091
<listitem>
30923092
<para>
30933093
<literal>%m</literal> - is replaced by the month as a decimal number
3094-
(01-12).
3094+
(01&ndash;12).
30953095
</para>
30963096
</listitem>
30973097
<listitem>
@@ -3124,7 +3124,7 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
31243124
<listitem>
31253125
<para>
31263126
<literal>%S</literal> - is replaced by the second as a decimal
3127-
number (00-60).
3127+
number (00&ndash;60).
31283128
</para>
31293129
</listitem>
31303130
<listitem>
@@ -3146,19 +3146,19 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
31463146
<listitem>
31473147
<para>
31483148
<literal>%U</literal> - is replaced by the week number of the year
3149-
(Sunday as the first day of the week) as a decimal number (00-53).
3149+
(Sunday as the first day of the week) as a decimal number (00&ndash;53).
31503150
</para>
31513151
</listitem>
31523152
<listitem>
31533153
<para>
31543154
<literal>%u</literal> - is replaced by the weekday (Monday as the
3155-
first day of the week) as a decimal number (1-7).
3155+
first day of the week) as a decimal number (1&ndash;7).
31563156
</para>
31573157
</listitem>
31583158
<listitem>
31593159
<para>
31603160
<literal>%V</literal> - is replaced by the week number of the year
3161-
(Monday as the first day of the week) as a decimal number (01-53).
3161+
(Monday as the first day of the week) as a decimal number (01&ndash;53).
31623162
If the week containing January 1 has four or more days in the new
31633163
year, then it is week 1; otherwise it is the last week of the
31643164
previous year, and the next week is week 1.
@@ -3173,13 +3173,13 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
31733173
<listitem>
31743174
<para>
31753175
<literal>%W</literal> - is replaced by the week number of the year
3176-
(Monday as the first day of the week) as a decimal number (00-53).
3176+
(Monday as the first day of the week) as a decimal number (00&ndash;53).
31773177
</para>
31783178
</listitem>
31793179
<listitem>
31803180
<para>
31813181
<literal>%w</literal> - is replaced by the weekday (Sunday as the
3182-
first day of the week) as a decimal number (0-6).
3182+
first day of the week) as a decimal number (0&ndash;6).
31833183
</para>
31843184
</listitem>
31853185
<listitem>
@@ -3203,7 +3203,7 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
32033203
<listitem>
32043204
<para>
32053205
<literal>%y</literal> - is replaced by the year without century as a
3206-
decimal number (00-99).
3206+
decimal number (00&ndash;99).
32073207
</para>
32083208
</listitem>
32093209
<listitem>

0 commit comments

Comments
 (0)