def default_latex_engine(config):
 if (config.language == 'ja'):
  return 'platex'
 else:
  return 'pdflatex'

def default_latex_engine ( config ) : if ( config . language == 'ja' ) : return 'platex' else : return 'pdflatex'
better default latex_engine settings for specific languages .