/[escript]/trunk/doc/cookbook/SConscript
ViewVC logotype

Diff of /trunk/doc/cookbook/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3069 by ahallam, Wed Jul 21 03:24:48 2010 UTC revision 3070 by jfenwick, Wed Jul 21 04:09:58 2010 UTC
# Line 21  latexmode='-interaction=nonstopmode' Line 21  latexmode='-interaction=nonstopmode'
21    
22  tex_dir = local_env.Dir('.').srcnode().abspath  tex_dir = local_env.Dir('.').srcnode().abspath
23  dir_cmd = "cd "+tex_dir+" && "  dir_cmd = "cd "+tex_dir+" && "
24  fig_dirs = ['figures','figures/gmsh']  tex= [ env.File(x) for x in os.listdir(tex_dir) if not x.startswith('.') and not os.path.isdir(tex_dir+os.path.sep+x) and os.path.splitext(x)[1] in ['.tex', '.bib', '.sty', '.cfg', '.cls'] ] + \
25  figs=[]       [ env.File('figures'+os.path.sep+x) for x in os.listdir(tex_dir+os.path.sep+'figures') if not x.startswith('.') ]
26    
 tex= [ env.File(x) for x in os.listdir(tex_dir) if not x.startswith('.') and not os.path.isdir(tex_dir+os.path.sep+x) and os.path.splitext(x)[1] in ['.tex', '.bib', '.sty', '.cfg', '.cls'] ]  
   
 for dir in fig_dirs:  
     figs.append([env.File(os.path.join(dir,x)) for x in os.listdir(os.path.join(tex_dir,dir)) if not os.path.isdir(os.path.join(tex_dir,dir,x)) and not x.startswith('.')])  
   
 tex.append(figs)  
27    
28  latexcmd=dir_cmd+"pdflatex %s \\\\newcommand{\\\\RepVersion}{`svnversion`\\\\xspace}\\\\input{cookbook.tex}"%latexmode  latexcmd=dir_cmd+"pdflatex %s \\\\newcommand{\\\\RepVersion}{`svnversion`\\\\xspace}\\\\input{cookbook.tex}"%latexmode
29    

Legend:
Removed from v.3069  
changed lines
  Added in v.3070

  ViewVC Help
Powered by ViewVC 1.1.26