Subversion Repositories wimsdev

Rev

Rev 5935 | Rev 7076 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5935 Rev 5996
Line 165... Line 165...
165
        /* every mathml-string will have unique id */
165
        /* every mathml-string will have unique id */
166
        struct timeval tv;
166
        struct timeval tv;
167
        struct timezone tz;
167
        struct timezone tz;
168
        struct tm *tm;
168
        struct tm *tm;
169
        gettimeofday(&tv, &tz);
169
        gettimeofday(&tv, &tz);
170
        tm=localtime(&tv.tv_sec);
170
        tm=localtime(( const time_t * ) &tv.tv_sec);
171
        snprintf(wims_mathml_id,sizeof(wims_mathml_id),"wims_mathml%d",tv.tv_usec);
171
        snprintf(wims_mathml_id,sizeof(wims_mathml_id),"wims_mathml%ld",tv.tv_usec);
172
 
172
 
173
        if(bTexString){ // WIMS modification: reads a 'latex string' from commandline, if arg="--tex-string"
173
        if(bTexString){ // WIMS modification: reads a 'latex string' from commandline, if arg="--tex-string"
174
            char *input;
174
            char *input;
175
            int dollarcnt = 0;
175
            int dollarcnt = 0;
176
            input = argv[i_texstring];
176
            input = argv[i_texstring];