Rev 2373 | Rev 7237 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !nocache |
2 | doc=1 |
||
2373 | bpr | 3 | !set modu_lang=$lang |
4 | !read docu/$lang/names |
||
5 | !if $lang_exists!=yes |
||
6 | !let modu_lang=en |
||
7 | !read docu/$lang/names |
||
8 | !endif |
||
9 | !set module_language=$lang |
||
20 | reyssat | 10 | |
7235 | bpr | 11 | module_title2=!detag $module_title |
12 | |||
20 | reyssat | 13 | wims_multiexec=pari maxima yacas octave |
14 | insmath_rawmath=yes |
||
15 | wims_backslash_insmath=yes |
||
2373 | bpr | 16 | !read docu/$modu_lang/names |
20 | reyssat | 17 | !if $cmd=help |
18 | !exit |
||
19 | !endif |
||
20 | |||
21 | !bound job within read,print,list,exosource default read |
||
22 | !if robot isin $session |
||
23 | job=print |
||
24 | !endif |
||
25 | |||
26 | !read tabletheme |
||
27 | !for i=1 to 20 |
||
28 | m_parm$i=$(parm$i) |
||
29 | parm$i= |
||
30 | !next i |
||
1407 | bpr | 31 | !if $seq>0 |
32 | !set m_wims_sequence=$seq |
||
33 | !endif |
||
20 | reyssat | 34 | |
35 | namechars=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_ |
||
36 | namelim=32 |
||
37 | codemin=4 |
||
38 | codemax=16 |
||
39 | titlim=256 |
||
40 | blocklim=512 |
||
41 | max_blocklen=65536 |
||
42 | max_texlen=32768 |
||
43 | insmath_slashsubst=yes |
||
44 | block=!text select $namechars in $block |
||
45 | docdir=doc |
||
46 | Docdir=$module_dir/$docdir |
||
47 | readable=yes |
||
48 | editable=no |
||
49 | !default readcnt=0 |
||
7235 | bpr | 50 | !readdef $docdir/.def |
20 | reyssat | 51 | |
7235 | bpr | 52 | !if $common_files=yes |
53 | m_filedir=$Docdir/files |
||
54 | !else |
||
55 | m_filedir=$Docdir/$doc/files |
||
56 | !endif |
||
20 | reyssat | 57 | !readdef $docdir/$doc/.def |
58 | !if $tit!=$empty |
||
59 | !default block=main |
||
60 | block=!char 1 to $namelim of $block |
||
61 | !read $docdir/$doc/$block.def |
||
62 | !else |
||
63 | error=doc_not_exist |
||
64 | !endif |
||
65 | |||
66 | !set wims_module_log=$job $doc $block |
||
67 | |||
68 | !read docu/$job.proc |
||
69 |