Subversion Repositories wimsdev

Rev

Rev 7189 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!set style=en/minimal
2
 
9384 reyssat 3
<h2 class="wimscenter">The <span class="tt">minimal</span> style of symtext</h2>
7189 bpr 4
<p>
20 reyssat 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.).
7189 bpr 10
</p>
9384 reyssat 11
<p>
20 reyssat 12
No dictionary is defined for this style for the time being.
5947 bpr 13
</p>
7189 bpr 14
 
20 reyssat 15
!set n=!recordcnt symtext/$style/macros.help
16
!if $n>0
17
 
18
Definitions of positional macros: (recall that to replace a word
19
(a, b, c, etc.) by a group of several words, one has to enclose the latter
20
by a pair of brackets.)
21
 
22
!readproc tabletheme
23
 
24
$table_header
25
$table_hdtr<th>Syntax</th><th>Recognition</th></tr>
26
 
27
!for i=1 to $n
28
 !set l=!record $i of symtext/$style/macros.help
29
 !distribute lines $l into s1, s2
7189 bpr 30
 $table_tr<td class="tt">$s1</td>
20 reyssat 31
 <td>$s2</td>
7189 bpr 32
 </tr>
20 reyssat 33
!next i
34
$table_end
35
 
36
!endif