global AsymptoteAction
if AsymptoteAction is None:
AsymptoteAction = SCons.Action.Action('$ASYMPTOTECOM', '$ASYMPTOTECOMSTR')
-
- #import pdf
- #pdf.generate(env)
-
env['BUILDERS']['Asymptote'] = SCons.Script.Builder(
action=AsymptoteAction, suffix='.tex', src_suffix = '.asy',
emitter=asymptote_emitter)
-
env['ASYMPTOTE'] = 'asy'
env['ASYMPTOTEFLAGS'] = SCons.Util.CLVar(
'-tex pdflatex -inlineimage -inlinetex')
global GnuplotAction
if GnuplotAction is None:
GnuplotAction = SCons.Action.Action('$GNUPLOTCOM', '$GNUPLOTCOMSTR')
-
- #import pdf
- #pdf.generate(env)
-
env['BUILDERS']['Gnuplot'] = SCons.Script.Builder(
action=GnuplotAction, suffix='.pdf', src_suffix = '.gp')
env['GNUPLOT'] = 'gnuplot'