Subversion Repositories wimsdev

Rev

Rev 5947 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!set style=en/minimal
2
 
3
<center><h2>Le <tt>minimal</tt> style of symtext</h2></center>
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.
12
 
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
28
 $table_tr<td><tt>$s1</tt></td>
29
 <td>$s2</td>
30
!next i
31
$table_end
32
 
33
!endif
34
<p>
35