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