Rev 14873 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14873 | Rev 17918 | ||
---|---|---|---|
Line 150... | Line 150... | ||
150 | p2=strchr(p,' '); if(p2==NULL) p2=strchr(p,'\n'); |
150 | p2=strchr(p,' '); if(p2==NULL) p2=strchr(p,'\n'); |
151 | if(p2==NULL) return; |
151 | if(p2==NULL) return; |
152 | *p2++=0; |
152 | *p2++=0; |
153 | fprintf(outf,"!readproc %s/draw.phtml %s \\\n%s \n\ |
153 | fprintf(outf,"!readproc %s/draw.phtml %s \\\n%s \n\ |
154 | %stmp%d=$ins_url\n", primitive_dir, p, p2, setpre,prepcnt); |
154 | %stmp%d=$ins_url\n", primitive_dir, p, p2, setpre,prepcnt); |
- | 155 | } |
|
- | 156 | ||
- | 157 | void sp_drawtikz(char *p, int ptype) |
|
- | 158 | { |
|
- | 159 | char *p2; |
|
- | 160 | p2=strchr(p,' '); if(p2==NULL) p2=strchr(p,'\n'); |
|
- | 161 | if(p2==NULL) return; |
|
- | 162 | *p2++=0; |
|
- | 163 | fprintf(outf,"!readproc %s/drawtikz.phtml %s \\\n%s \n\ |
|
- | 164 | %stmp%d=$ins_tikz\n", primitive_dir, p, p2, setpre,prepcnt); |
|
155 | } |
165 | } |
156 | 166 | ||
157 | void sp_canvasdraw(char *p, int ptype) |
167 | void sp_canvasdraw(char *p, int ptype) |
158 | { |
168 | { |
159 | char *p2; |
169 | char *p2; |
Line 295... | Line 305... | ||
295 | 305 | ||
296 | struct specialfn specialfn[]={ |
306 | struct specialfn specialfn[]={ |
297 | {"asis", sp_asis}, |
307 | {"asis", sp_asis}, |
298 | {"canvasdraw", sp_canvasdraw}, |
308 | {"canvasdraw", sp_canvasdraw}, |
299 | {"column", sp_column}, |
309 | {"column", sp_column}, |
300 | {"deriv", |
310 | {"deriv", sp_diff}, |
301 | {"derivative", sp_diff}, |
311 | {"derivative", sp_diff}, |
302 | {"det", |
312 | {"det", sp_det}, |
303 | {"determinant", sp_det}, |
313 | {"determinant", sp_det}, |
304 | {"diff", sp_diff}, |
314 | {"diff", sp_diff}, |
305 | {"draw", sp_draw}, |
315 | {"draw", sp_draw}, |
- | 316 | {"drawtikz", sp_drawtikz}, |
|
306 | {"evaluate", sp_evalue}, |
317 | {"evaluate", sp_evalue}, |
307 | {"evalue", sp_evalue}, |
318 | {"evalue", sp_evalue}, |
308 | {"htmlmath", sp_htmlmath}, |
319 | {"htmlmath", sp_htmlmath}, |
309 | {"int", sp_int}, |
320 | {"int", sp_int}, |
310 | {"integral", sp_int}, |
321 | {"integral", sp_int}, |