function in_format_handler() {
    var val = $('#math-in-format-select').val();
    if (val == 'mml' || val == 'jats') {
      $('#latex-style-select').attr('disabled', 'disabled');
      $('#latex-style-label').attr('class', 'disabled');
    }
    else {
      $('#latex-style-select').removeAttr('disabled');
      $('#latex-style-label').attr('class', '');
    }
    //if (val == 'latex' || val == 'mml') {
    //  $('#out-format-select').val('svg');
    //}
  }
// currently selected value of math format
currently selected value of math format
currently selected value of math format
function in_format_handler() {
    var val = $('#math-in-format-select').val();
    if (val == 'mml' || val == 'jats') {
      $('#latex-style-select').attr('disabled', 'disabled');
      $('#latex-style-label').attr('class', 'disabled');
    }
    else {
      $('#latex-style-select').removeAttr('disabled');
      $('#latex-style-label').attr('class', '');
    }
  }
function in_format_handler ( ) { var val = $ ( '#math-in-format-select' ) . val ( ) ; if ( val == 'mml' || val == 'jats' ) { $ ( '#latex-style-select' ) . attr ( 'disabled' , 'disabled' ) ; $ ( '#latex-style-label' ) . attr ( 'class' , 'disabled' ) ; } else { $ ( '#latex-style-select' ) . removeAttr ( 'disabled' ) ; $ ( '#latex-style-label' ) . attr ( 'class' , '' ) ; } }
currently selected value of math format
currently selected value of math format
//if (val == 'latex' || val == 'mml') { //  $('#out-format-select').val('svg'); //}