Rev 20 | Rev 7189 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !set style=en/minimal |
2 | |||
5947 | bpr | 3 | <h2 class="wimscenter">Le <span class="tt">minimal</span> style of symtext</h2> |
20 | reyssat | 4 | |
5 | This is the style that contains only the minimal set of identifications. |
||
6 | It is especially useful for linguistic applications. Called without option, |
||
7 | it detects any difference between the words. Only multiple spaces are |
||
8 | compacted. But one can use options to do some identifications (upper- and |
||
9 | lower-cases, letters with or without accent, etc.). |
||
10 | <p> |
||
11 | No dictionary is defined for this style for the time being. |
||
5947 | bpr | 12 | </p> |
20 | reyssat | 13 | !set n=!recordcnt symtext/$style/macros.help |
14 | !if $n>0 |
||
15 | |||
16 | Definitions of positional macros: (recall that to replace a word |
||
17 | (a, b, c, etc.) by a group of several words, one has to enclose the latter |
||
18 | by a pair of brackets.) |
||
19 | |||
20 | !readproc tabletheme |
||
21 | |||
22 | $table_header |
||
23 | $table_hdtr<th>Syntax</th><th>Recognition</th></tr> |
||
24 | |||
25 | !for i=1 to $n |
||
26 | !set l=!record $i of symtext/$style/macros.help |
||
27 | !distribute lines $l into s1, s2 |
||
5947 | bpr | 28 | $table_tr<td><span class="tt">$s1</span></td> |
20 | reyssat | 29 | <td>$s2</td> |
30 | !next i |
||
5947 | bpr | 31 | </tr> |
20 | reyssat | 32 | $table_end |
33 | |||
34 | !endif |
||
35 | |||
5947 | bpr | 36 |