test/bookloupe/partial-underlining.tst
author ali <ali@juiblex.co.uk>
Sat Nov 02 09:05:10 2013 +0000 (2013-11-02)
changeset 215 c98e93d9a07f
permissions -rw-r--r--
Update documentation for 2.0.68
     1 **************** INPUT ****************
     2 Bookloupe understands simple underlining, for example, a _bd_ word as
     3 well as old-school underlining, for example, _a_pr_word_.
     4 
     5 It also understands partial underlining, as in l'_Adthima_, Abag_ae_l,
     6 _ph_antasm, and even _ph_antasi_z_e.
     7 
     8 While warnings about missing spaces around underscores are generally
     9 suppressed, partial underlining with_an odd number of un_der_scor_es
    10 will still be warned about.
    11 
    12 Then just a couple of special cases we need to check for: first _simple_
    13 underlining with an underscore at the end of the line and a solitary _
    14 should both be handled correctly.
    15 **************** WARNINGS ****************
    16 <expected>
    17   <error>
    18     <at line="1" column="57"/>
    19     <text>Query word bd - not reporting duplicates</text>
    20   </error>
    21   <error>
    22     <at line="2" column="48"/>
    23     <text>Query word pr - not reporting duplicates</text>
    24   </error>
    25   <error>
    26     <at line="8" column="37"/>
    27     <text>Missing space or underscore?</text>
    28   </error>
    29   <error>
    30     <at line="8" column="66"/>
    31     <text>Missing space or underscore?</text>
    32   </error>
    33   <error>
    34     <at line="12" column="70"/>
    35     <text>Missing space or underscore?</text>
    36   </error>
    37   <error>
    38     <at line="12" column="70"/>
    39     <text>Spaced punctuation?</text>
    40   </error>
    41   <error>
    42     <at line="14"/>
    43     <text>Mismatched underscores?</text>
    44   </error>
    45 </expected>