latexmkrc (712B)
1 # Main file 2 @default_files = ("thesis.tex", "french summary.tex"); 3 4 # Use lualatex 5 $pdf_mode = 4; 6 7 # Where to write output and temporary files 8 $out_dir = "build"; 9 10 # Allow the execution of arbitrary shell command 11 set_tex_cmds("--shell-escape %O %S"); 12 13 # Create build directories if needed 14 unless(-d "$out_dir"){ 15 mkdir("$out_dir"); 16 mkdir("$out_dir/frontmatter"); 17 mkdir("$out_dir/mainmatter"); 18 mkdir("$out_dir/mainmatter/context"); 19 mkdir("$out_dir/mainmatter/relation extraction"); 20 mkdir("$out_dir/mainmatter/fitb"); 21 mkdir("$out_dir/mainmatter/graph"); 22 mkdir("$out_dir/backmatter"); 23 mkdir("$out_dir/backmatter/french"); 24 mkdir("$out_dir/backmatter/assumptions"); 25 mkdir("$out_dir/backmatter/datasets"); 26 }