.latexmkrc 872 Bytes
Newer Older
1
2
# -*- cperl -*-
# latexmkrc
Alija Sabic's avatar
Alija Sabic committed
3
$tex      = $ENV{'TEXENGINE'};
4
$builddir = $ENV{'BUILDDIR'};
Alija Sabic's avatar
Alija Sabic committed
5
$job      = $ENV{'JOBNAME'};
6
7
$bibdirs  = $ENV{'BIBDIRS'};
$type     = $ENV{'TYPE'};
Alija Sabic's avatar
Alija Sabic committed
8
$aratio   = $ENV{'ARATIO'};
9
$viewer   = $ENV{'VIEWER'};
10
11
12
13
14

$recorder = 1;
$pdf_mode = 1;
$bibtex_use = 2;
$force_mode = 1;
15
$dependents_list = 1;
16
17
18
$silence_logfile_warnings = 0;
$use_make_for_missing_files = 1;
$out_dir = $builddir;
Alija Sabic's avatar
Alija Sabic committed
19
20
$deps_file = "$out_dir/$job.deps";
$jobname = $job;
21
@BIBINPUTS = ('.',$bibdirs);
22
23

# $bibtex = 'bibtex %O %B';
Alija Sabic's avatar
Alija Sabic committed
24
25
26
27
28
$pdflatex = join '', 
                 $tex,' %O',
                 '-interaction=nonstopmode -synctex=1 -file-line-error -shell-escape "',
                 '\PassOptionsToClass{',$type,',aspectratio=',$aratio,'}{beamer} ',
                 '\input{%S}"';
29
$pdf_previewer = $viewer;
30

Alija Sabic's avatar
Alija Sabic committed
31
push @generated_exts, 'blg', 'cut', 'nav', 'snm', 'sta', 'vrb', 'synctex.gz';