Subversion Repositories wimsdev

Rev

Rev 11219 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2071 zjchen 1
!! +exec+ +ins+ +var+
11219 bpr 2
tit:instexstatic
3
type:$type_pexec
4
alias:instexst, staticinstex, stinstex
5
syntax:!instexstatic `gifname texsource'</tt>
6
mean:本命令已过时, 以后的版本将被弃用. 请使用
4564 bpr 7
  $(ref1)cmdlist_instex_&cmd_choose=all$(ref2)cmdlist_instex_">!instex</a>.
2071 zjchen 8
 
9
!exit
10
 
11219 bpr 11
  $lst_mean 类似于
4564 bpr 12
  $(ref1)cmdlist_instex_&cmd_choose=all$(ref2)cmdlist_instex_">!instex</a>,
11219 bpr 13
  差别在于对
14
  `texsource' 不作变量替换, 而且应该给出 gif 文件
15
  `gifname' 的名字 (且带有后缀
16
  `.gif'). `gifname' 对应的文件应该位于
17228 bpr 17
  模块的主目录内. <br>
5811 zjchen 18
  当 gif 文件不存在或文件里包含比 gif 文件新的命令时,
19
  Wims 会生成此 gif 文件. 在以后的请求里不会调用 TeX,
17228 bpr 20
  这样就提高了效率. <br>
11219 bpr 21
  当 `instexstatic' 用作变量命令时,
22
  它返回 tag 串 `&lt;IMG SRC=...>',
5811 zjchen 23
  可被插在文件的其它地方.
2071 zjchen 24
  <p>
5811 zjchen 25
  <blink><font color=red>重要</font></blink>.
11219 bpr 26
  从版本 0.11.5 开始, `gifname' 是可选的, 并且
5811 zjchen 27
  <tt>!instex</tt> 将自动使用静态插入,
11219 bpr 28
  不管 `texsource' 里有没有变量替换. 因此
29
  <tt>!instexstatic</tt> 不再是必须的, 而只是为了与以前版本兼容而存在.
5811 zjchen 30
  因此 <font color=red><blink>请避免使用它
31
  !</blink></font> 而是使用 <tt>!instex</tt>.
2071 zjchen 32