Rev 7692 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !if $wims_read_parm!=slib_header |
13584 | bpr | 2 | !goto proc |
20 | reyssat | 3 | !endif |
4158 | bpr | 4 | |
4351 | bpr | 5 | slib_author=Bernadette, Perrin-Riou |
4158 | bpr | 6 | |
13584 | bpr | 7 | slib_example= [1,2;x^2,y;e_1,e_2],lbrace,rbrack\ |
8 | [1,2;x^2,y;e_1,e_2],lbrace,rbrack,html |
||
20 | reyssat | 9 | !exit |
10 | |||
11 | :proc |
||
12 | |||
13584 | bpr | 13 | !distribute items $wims_read_parm into slib_data,slib_opt1,slib_opt2,slib_opt3 |
20 | reyssat | 14 | !default slib_opt1=( |
15 | !default slib_opt2=) |
||
16 | |||
17 | slib_data=!declosing $slib_data |
||
18 | slib_data=!replace internal , by & in $slib_data |
||
7692 | bpr | 19 | |
13584 | bpr | 20 | !if $slib_opt1 notwordof ( ) . |
21 | slib_opt1= \$slib_opt1 |
||
3313 | bpr | 22 | !endif |
7692 | bpr | 23 | |
13584 | bpr | 24 | !if $slib_opt2 notwordof ( ) . |
3313 | bpr | 25 | slib_opt2= \$slib_opt2 |
26 | !endif |
||
20 | reyssat | 27 | |
13584 | bpr | 28 | slib_data=!replace internal ; by $\\$ $\ |
29 | $ in $slib_data |
||
30 | slib_out=\left $slib_opt1 \begin{matrix}$slib_data\end{matrix}\right $slib_opt2 |
||
31 | !if $slib_opt3=html |
||
32 | slib_out=\($slib_out\) |
||
33 | !endif |