Skip to content

Commit 836b45d

Browse files
authored
Merge pull request #9 from Team-1280/configure-latexmk
chore: add latexmkrc
2 parents 55d52a3 + 9c401a0 commit 836b45d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

latexmkrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Set the root LaTeX file
2+
$root_file = 'root.tex';
3+
4+
# Set the build directory
5+
$out_dir = './build';
6+
7+
# Create the build directory if it doesn't exist
8+
system("mkdir -p $out_dir") unless -d $out_dir;
9+
10+
# Additional latexmk options
11+
$pdf_mode = 1; # Generate PDF output
12+
$pdflatex = 'pdflatex -interaction=nonstopmode -output-directory=' . $out_dir; # Set pdflatex command with output directory

0 commit comments

Comments
 (0)