<s> """<STR_LIT>""" <EOL> __revision__ = "<STR_LIT>" <EOL> import SCons . Action <EOL> import SCons . Util <EOL> import SCons . Tool . tex <EOL> PDFTeXAction = None <EOL> PDFLaTeXAction = None <EOL> def PDFLaTeXAuxAction ( target = None , source = None , env = None ) : <EOL> result = SCons . Tool . tex . InternalLaTeXAuxAction ( PDFLaTeXAction , target , source , env ) <EOL> return result <EOL> def PDFTeXLaTeXFunction ( target = None , source = None , env = None ) : <EOL> """<STR_LIT>""" <EOL> if SCons . Tool . tex . is_LaTeX ( source ) : <EOL> result = PDFLaTeXAuxAction ( target , source , env ) <EOL> else : <EOL> result = PDFTeXAction ( target , source , env ) <EOL> return result <EOL> PDFTeXLaTeXAction = None <EOL> def generate ( env ) : <EOL> """<STR_LIT>""" <EOL> global PDFTeXAction <EOL> if PDFTeXAction is None : <EOL> PDFTeXAction = SCons . Action . Action ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> global PDFLaTeXAction <EOL> if PDFLaTeXAction is None : <EOL> PDFLaTeXAction = SCons . Action . Action ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> global PDFTeXLaTeXAction <EOL> if PDFTeXLaTeXAction is None : <EOL> PDFTeXLaTeXAction = SCons . Action . Action ( PDFTeXLaTeXFunction , <EOL> strfunction = SCons . Tool . tex . TeXLaTeXStrFunction ) <EOL> import pdf <EOL> pdf . generate ( env ) <EOL> bld = env [ '<STR_LIT>' ] [ '<STR_LIT>' ] <EOL> bld . add_action ( '<STR_LIT>' , PDFTeXLaTeXAction ) <EOL> bld . add_emitter ( '<STR_LIT>' , SCons . Tool . tex . tex_pdf_emitter ) <EOL> pdf . generate2 ( env ) <EOL> env [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> env [ '<STR_LIT>' ] = SCons . Util . CLVar ( '<STR_LIT>' ) <EOL> env [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> env [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> env [ '<STR_LIT>' ] = SCons . Util . CLVar ( '<STR_LIT>' ) <EOL> env [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> env [ '<STR_LIT>' ] = <NUM_LIT:3> <EOL> def exists ( env ) : <EOL> return env . Detect ( '<STR_LIT>' ) </s>
