-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.latexmkrc
27 lines (20 loc) · 986 Bytes
/
.latexmkrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Config file for latexmk, which manages running latex for us
# By default, process all .tex files in any subdirectory in './content' (case insensitive match):
use File::Find::Rule;
@search_dirs=( "./content/" );
@default_files=File::Find::Rule->file()->name( qr/\.(?i)tex/ )->in( @search_dirs );
#@default_files=( './content/sample/test.tex' );
# Don't change to the subdir of the processed file
$do_cd=0;
# Set the output directory
$out_dir='./output/build/';
# Because we use fontenc, we must use either XeLaTeX or LuaLaTeX.
# - LuaLaTeX = 4
# - XeLaTeX = 5
$pdf_mode=4;
# Make certain the motw.cls file is available to our .tex files
ensure_path( 'TEXINPUTS', './lib/cls//:' );
# If you need to override the LuaLaTeX default commands, you can do it here (defaults shown):
$lualatex = "lualatex -interactive=nonstopmode %O %S";
# If you need to override the XeLaTex default commands, you can do it here (defaults shown):
$xelatex = "xelatex -interactive=nonstopmode %O %S";