diff --git a/DS_gene.py b/DS_gene.py index 71df4a6..aec183c 100755 --- a/DS_gene.py +++ b/DS_gene.py @@ -6,13 +6,6 @@ import sys import optparse from pymath.random_expression import RdExpression -#texenv = jinja2.Environment( -# block_start_string = '%{', -# block_end_string = '%}', -# variable_start_string = '%{{', -# variable_end_string = '%}}', -# loader = jinja2.FileSystemLoader(os.path.abspath('.')) -#) texenv = jinja2.Environment( block_start_string = '\Block{', # Gros WTF!! Si on le met en maj ça ne marche pas alors que c'est en maj dans le template... @@ -22,27 +15,6 @@ texenv = jinja2.Environment( loader = jinja2.FileSystemLoader(os.path.abspath('.')) ) -# The environment -#report_renderer = jinja2.Environment( -# block_start_string = '\BLOCK{', -# block_end_string = '}', -# variable_start_string = '\VAR{', -# variable_end_string = '}', -# comment_start_string = '\#{', -# comment_end_string = '}', -# line_statement_prefix = '%-', -# line_comment_prefix = '%#', -# trim_blocks = True, -# autoescape = False, -# loader = jinja2.FileSystemLoader(os.path.abspath('.')) -#) - - -#texenv = jinja2.Environment() -#texenv.block_start_string = '\BLOCK{' -#texenv.block_end_string = '}' -#texenv.loader = jinja2.FileSystemLoader('.') - def main(options): #template = report_renderer.get_template(options.template) template = texenv.get_template(options.template) diff --git a/example.tpl.tex b/example/example.tpl.tex similarity index 100% rename from example.tpl.tex rename to example/example.tpl.tex diff --git a/call_litt.py b/lib/call_litt.py similarity index 100% rename from call_litt.py rename to lib/call_litt.py diff --git a/pythagore.py b/lib/pythagore.py similarity index 100% rename from pythagore.py rename to lib/pythagore.py diff --git a/rd_frac.py b/lib/rd_frac.py similarity index 100% rename from rd_frac.py rename to lib/rd_frac.py