mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 10:11:14 +00:00
Modified makefile to work with this document
This commit is contained in:
6347
cs_capstone_documents/design_document/IEEEtran.cls
Normal file
6347
cs_capstone_documents/design_document/IEEEtran.cls
Normal file
File diff suppressed because it is too large
Load Diff
2735
cs_capstone_documents/design_document/IEEEtranN.bst
Normal file
2735
cs_capstone_documents/design_document/IEEEtranN.bst
Normal file
File diff suppressed because it is too large
Load Diff
8802
cs_capstone_documents/design_document/latexmk.pl
Normal file
8802
cs_capstone_documents/design_document/latexmk.pl
Normal file
File diff suppressed because it is too large
Load Diff
31
cs_capstone_documents/design_document/latexmkrc
Normal file
31
cs_capstone_documents/design_document/latexmkrc
Normal file
@@ -0,0 +1,31 @@
|
||||
# This config is copied from overleaf so output there will match compiled output here
|
||||
|
||||
# support for the glossaries package:
|
||||
add_cus_dep('glo', 'gls', 0, 'makeglossaries');
|
||||
add_cus_dep('acn', 'acr', 0, 'makeglossaries');
|
||||
sub makeglossaries {
|
||||
system("makeglossaries \"$_[0]\"");
|
||||
}
|
||||
|
||||
# support for the nomencl package:
|
||||
add_cus_dep('nlo', 'nls', 0, 'makenlo2nls');
|
||||
sub makenlo2nls {
|
||||
system("makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"");
|
||||
}
|
||||
|
||||
# from the documentation for V. 2.03 of asymptote:
|
||||
sub asy {return system("asy \"$_[0]\"");}
|
||||
add_cus_dep("asy","eps",0,"asy");
|
||||
add_cus_dep("asy","pdf",0,"asy");
|
||||
add_cus_dep("asy","tex",0,"asy");
|
||||
|
||||
# metapost rule from http://tex.stackexchange.com/questions/37134
|
||||
add_cus_dep('mp', '1', 0, 'mpost');
|
||||
sub mpost {
|
||||
my $file = $_[0];
|
||||
my ($name, $path) = fileparse($file);
|
||||
pushd($path);
|
||||
my $return = system "mpost $name";
|
||||
popd();
|
||||
return $return;
|
||||
}
|
||||
19
cs_capstone_documents/design_document/makefile
Normal file
19
cs_capstone_documents/design_document/makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
# Makefile created by Corwin Perren
|
||||
# Generic makefile for all LaTeX projects downloaded from overleaf
|
||||
#
|
||||
# All this makefile does is call perl against latexmkrc, which is
|
||||
# the latex equivalent of make
|
||||
|
||||
LATEXMK_COMPILE_FLAGS = -cd -pdf 0_design_document.tex
|
||||
LATEXMK_CLEAN_FLAGS = -c
|
||||
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
all: latexmk_output clean
|
||||
|
||||
latexmk_output:
|
||||
perl latexmk.pl $(LATEXMK_COMPILE_FLAGS)
|
||||
mv 0_design_document.pdf design_document.pdf
|
||||
|
||||
clean:
|
||||
perl latexmk.pl $(LATEXMK_CLEAN_FLAGS)
|
||||
Reference in New Issue
Block a user