Subversion Repositories wimsdev

Rev

Rev 7285 | Rev 8367 | 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
7285 bpr 56
!! define in the var.proc of the document
7235 bpr 57
!if $common_files=yes
58
  m_filedir=$Docdir/files
59
!else
60
  m_filedir=$Docdir/$doc/files
61
!endif
20 reyssat 62
!readdef $docdir/$doc/.def
63
!if $tit!=$empty
64
  !default block=main
65
  block=!char 1 to $namelim of $block
66
  !read $docdir/$doc/$block.def
67
!else
68
  error=doc_not_exist
69
!endif
70
 
71
!set wims_module_log=$job $doc $block
72
 
73
!read docu/$job.proc