Ñò âqLc @s¸dZdZddkZddkZddkZddkZddkZeii i Z dddd„Z dddd„Z dddd„Zdadad„Zd„Zd „ZdS( s×SCons.Tool.dvipdf Tool-specific initialization for dvipdf. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method. s>src/engine/SCons/Tool/dvipdf.py 5023 2010/06/14 22:05:46 sconsiÿÿÿÿNcCs¥y|dii}Wntj o d}nXtiii|d|ƒ}||||ƒ}|tjo)y|dd=Wq¡tj oq¡Xn||dd<|S(skA builder for DVI files that sets the TEXPICTS environment variable before running dvi2ps or dvipdf.ittTEXPICTStENV( t attributestpathtAttributeErrortSConstScannertLaTeXtmodify_env_vart_nulltKeyError(t XXXDviActionttargettsourcetenvtabspatht saved_envtresult((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfPsFunction+s   cCstt|||ƒ}|S(N(Rt PDFAction(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfFunctionBscCs6|idƒo|idd||ƒ}nd}|S(saA strfunction for dvipdf that returns the appropriate command string for the no_exec options.tno_execs $DVIPDFCOMiR(t GetOptiontsubst(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfStrFunctionFscCs(d„}tt||ƒƒ}||fS(såStrips any .aux or .log files from the input source list. These are created by the TeX Builder that in all likelihood was used to generate the .dvi file we're using as input, and we only care about the .dvi file. cSs tiit|ƒƒddjS(Nis.auxs.log(s.auxs.log(RtUtiltsplitexttstr(tn((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytstrip_suffixesXs(tlisttfilter(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyt PDFEmitterRs cCsÑtdjotiiddƒantdjotiitdtƒanddk}|i|ƒ|dd}|i dtƒ|i dt ƒd |d s