Rev 5537 | Rev 5578 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5537 | Rev 5556 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | // if output mathml string larger ;ERROR will be signaled by wims_matml. |
43 | // if output mathml string larger ;ERROR will be signaled by wims_matml. |
44 | char mml_buffer[MAX_LINELEN+1]; |
44 | char mml_buffer[MAX_LINELEN+1]; |
45 | sprintf(mml_buffer, "%d", MAX_LINELEN);// int --> char |
45 | sprintf(mml_buffer, "%d", MAX_LINELEN);// int --> char |
46 | // setting --tex-size argument to wims_mathml.cc |
46 | // setting --tex-size argument to wims_mathml.cc |
47 | char mathml_tex_size[64];//this should be a string like "250%" |
47 | char mathml_tex_size[64];//this should be a string like "250%" |
48 | int texsize_list[]={ |
48 | int texsize_list[]={20,30,50,70,90,100,120,130,150,180,220,300}; |
49 | // analogue to mathfonts.c but now we talk % and we could make any amount of changes |
49 | // analogue to mathfonts.c but now we talk % and we could make any amount of changes |
50 | // not limited by font-size !! |
50 | // not limited by font-size !! |
- | 51 | // when math_with_gifs is removed from wims, we can rethink / improve this |
|
51 | int idx = 6; |
52 | int idx = 6; |
52 | int use_js_zoom = 0; // default js-zoom in mathml if disabled |
53 | int use_js_zoom = 0; // default js-zoom in mathml if disabled |
53 | // enable via adm/light |
54 | // enable via adm/light |
54 | // next code is stolen from wims.c |
55 | // next code is stolen from wims.c |
55 | if(getvar("useropts") != NULL || getvar("wims_useropts") != NULL){ |
56 | if(getvar("useropts") != NULL || getvar("wims_useropts") != NULL){ |