parameters: (env)
docstring: Add Builders and construction variables for LaTeX to an Environment.
docstring_summary: Add Builders and construction variables for LaTeX to an Environment.
docstring_tokens: Add Builders and construction variables for LaTeX to an Environment .
function: def generate(env):
      """Add Builders and construction variables for LaTeX to an Environment."""
  
      env.AppendUnique(LATEXSUFFIXES=SCons.Tool.LaTeXSuffixes)
  
      from . import dvi
      dvi.generate(env)
  
      from . import pdf
      pdf.generate(env)
  
      bld = env['BUILDERS']['DVI']
      bld.add_action('.ltx', LaTeXAuxAction)
      bld.add_action('.latex', LaTeXAuxAction)
      bld.add_emitter('.ltx', SCons.Tool.tex.tex_eps_emitter)
      bld.add_emitter('.latex', SCons.Tool.tex.tex_eps_emitter)
  
      SCons.Tool.tex.generate_common(env)
function_tokens: def generate ( env ) : env . AppendUnique ( LATEXSUFFIXES = SCons . Tool . LaTeXSuffixes ) from . import dvi dvi . generate ( env ) from . import pdf pdf . generate ( env ) bld = env [ 'BUILDERS' ] [ 'DVI' ] bld . add_action ( '.ltx' , LaTeXAuxAction ) bld . add_action ( '.latex' , LaTeXAuxAction ) bld . add_emitter ( '.ltx' , SCons . Tool . tex . tex_eps_emitter ) bld . add_emitter ( '.latex' , SCons . Tool . tex . tex_eps_emitter ) SCons . Tool . tex . generate_common ( env )