test/compatibility/periods.tst
changeset 33 4bbdf78c7c60
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/compatibility/periods.tst	Sun Feb 19 22:58:45 2012 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +**************** INPUT ****************
     1.5 +"Say, it took more than two minutes to deliver that book," remarked Dick
     1.6 +. "We were just getting ready to go on without you."
     1.7 +
     1.8 +Common abbreviations shouldn't be warned about. Mr. and Mrs. are used for
     1.9 +individuals, as is Dr. and Mssrs. is used for a number of people. MSS. is
    1.10 +an abbreviation of manuscripts, whereas st. and lb. (and its plural lbs.)
    1.11 +are weights and ft. is for feet.
    1.12 +
    1.13 +In more scholarly work, we have pp. for pages, cf. for confer (compare),
    1.14 +vs. for verses, vol. for volume (and its plural vols.), ed. for edition,
    1.15 +viz. for videlicet (that is), op. cit. for opus citatum est (already
    1.16 +cited), and chap. for chapter.
    1.17 +
    1.18 +In mathematics, we come across deg. for degrees and min. for minutes. When
    1.19 +we turn to business, we might meet ltd. for limited and cent. and its
    1.20 +plural cents. for centum (hundred).
    1.21 +
    1.22 +In more general usage, we have pm. for post meridiem (afternoon) and etc.
    1.23 +for et cetera (and others).
    1.24 +
    1.25 +If we coin our own abbreviatn. then we should be warned about it exactly
    1.26 +once, no matter how many times that abbreviatn. is used.
    1.27 +
    1.28 +Acronyms like M.P. shouldn't generate any warnings, unless we get confused
    1.29 +and write M .P. by mistake.
    1.30 +
    1.31 +**************** EXPECTED ****************
    1.32 +
    1.33 +. "We were just getting ready to go on without you."
    1.34 +    Line 2 column 1 - Begins with punctuation?
    1.35 +
    1.36 +If we coin our own abbreviatn. then we should be warned about it exactly
    1.37 +    Line 21 column 30 - Extra period?
    1.38 +
    1.39 +and write M .P. by mistake.
    1.40 +    Line 25 column 13 - Spaced punctuation?