def get_texcommand():
 texsystem_options = [u'xelatex', u'lualatex', u'pdflatex']
 texsystem = rcParams.get(u'pgf.texsystem', u'xelatex')
 return (texsystem if (texsystem in texsystem_options) else u'xelatex')

def get_texcommand ( ) : texsystem_options = [ u'xelatex' , u'lualatex' , u'pdflatex' ] texsystem = rcParams . get ( u'pgf.texsystem' , u'xelatex' ) return ( texsystem if ( texsystem in texsystem_options ) else u'xelatex' )
get chosen tex system from rc .