Rev 9568 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9568 | Rev 9618 | ||
---|---|---|---|
Line 123... | Line 123... | ||
123 | 123 | ||
124 | see forum post of Eric Reyssat |
124 | see forum post of Eric Reyssat |
125 | http://wimsedu.info/?topic=unites-de-mesure-et-mathml/#post-3105 |
125 | http://wimsedu.info/?topic=unites-de-mesure-et-mathml/#post-3105 |
126 | 126 | ||
127 | */ |
127 | */ |
128 | char *argv[]={"wims_mathml","--use-zoom",zoom,"--tex-size |
128 | char *argv[]={"wims_mathml","--use-zoom",zoom,"--tex-size 100%","--max-mml-size",mml_buffer,"--tex-string",p,NULL}; |
129 | /* This is the child process. Close other end first. */ |
129 | /* This is the child process. Close other end first. */ |
130 | close(my_pipe[0]); |
130 | close(my_pipe[0]); |
131 | dup2(my_pipe[1], 1); /* send stdout to the pipe */ |
131 | dup2(my_pipe[1], 1); /* send stdout to the pipe */ |
132 | dup2(my_pipe[1], 2); /* send stderr to the pipe */ |
132 | dup2(my_pipe[1], 2); /* send stderr to the pipe */ |
133 | close(my_pipe[1]); |
133 | close(my_pipe[1]); |