test/compatibility/periods.tst
author ali <ali@juiblex.co.uk>
Sun Feb 19 22:58:45 2012 +0000 (2012-02-19)
changeset 33 4bbdf78c7c60
permissions -rw-r--r--
Add testcase for double punctuation
ali@23
     1
**************** INPUT ****************
ali@23
     2
"Say, it took more than two minutes to deliver that book," remarked Dick
ali@23
     3
. "We were just getting ready to go on without you."
ali@23
     4
ali@23
     5
Common abbreviations shouldn't be warned about. Mr. and Mrs. are used for
ali@23
     6
individuals, as is Dr. and Mssrs. is used for a number of people. MSS. is
ali@23
     7
an abbreviation of manuscripts, whereas st. and lb. (and its plural lbs.)
ali@23
     8
are weights and ft. is for feet.
ali@23
     9
ali@23
    10
In more scholarly work, we have pp. for pages, cf. for confer (compare),
ali@23
    11
vs. for verses, vol. for volume (and its plural vols.), ed. for edition,
ali@23
    12
viz. for videlicet (that is), op. cit. for opus citatum est (already
ali@23
    13
cited), and chap. for chapter.
ali@23
    14
ali@23
    15
In mathematics, we come across deg. for degrees and min. for minutes. When
ali@23
    16
we turn to business, we might meet ltd. for limited and cent. and its
ali@23
    17
plural cents. for centum (hundred).
ali@23
    18
ali@23
    19
In more general usage, we have pm. for post meridiem (afternoon) and etc.
ali@23
    20
for et cetera (and others).
ali@23
    21
ali@23
    22
If we coin our own abbreviatn. then we should be warned about it exactly
ali@23
    23
once, no matter how many times that abbreviatn. is used.
ali@23
    24
ali@23
    25
Acronyms like M.P. shouldn't generate any warnings, unless we get confused
ali@23
    26
and write M .P. by mistake.
ali@23
    27
ali@23
    28
**************** EXPECTED ****************
ali@23
    29
ali@23
    30
. "We were just getting ready to go on without you."
ali@23
    31
    Line 2 column 1 - Begins with punctuation?
ali@23
    32
ali@23
    33
If we coin our own abbreviatn. then we should be warned about it exactly
ali@23
    34
    Line 21 column 30 - Extra period?
ali@23
    35
ali@23
    36
and write M .P. by mistake.
ali@23
    37
    Line 25 column 13 - Spaced punctuation?