Subversion Repositories wimsdev

Rev

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

Rev 8185 Rev 8499
Line 785... Line 785...
785
 
785
 
786
/* if mathml is closed, it will be just htmlmath*/
786
/* if mathml is closed, it will be just htmlmath*/
787
 
787
 
788
void mathmlmath(char *p)
788
void mathmlmath(char *p)
789
{
789
{
-
 
790
    /*  
-
 
791
     if force_mathml variable is set to "yes", do not (never) use 'htmlmath' in output,
-
 
792
     so command: !mathmlmath some_LaTeX_string will produce mathml (mathml \input inputfields may be included)
-
 
793
     4/2013 jm.evers
-
 
794
    */
-
 
795
    if( strcmp( getvar("force_mathml"),"yes") == 0 ){ mathalign_base = 2;mathml(p,1);return; }
790
    if (mathalign_base == 2) { __htmlmath(p,0) ; mathml(p,1);} else { __htmlmath(p,1) ;}
796
    if (mathalign_base == 2) { __htmlmath(p,0) ; mathml(p,1);} else { __htmlmath(p,1) ;}
791
}
797
}