switched to xelatex and added typo check
This commit is contained in:
parent
8d380afe56
commit
2aaf214daf
14
Makefile
14
Makefile
|
@ -1,11 +1,12 @@
|
||||||
.PHONY: main.pdf clean redo test_git versioned
|
.PHONY: main.pdf clean redo test_git versioned
|
||||||
|
|
||||||
main.pdf: main.tex main.bib
|
main.pdf: main.tex main.bib
|
||||||
latexmk -pdf main.tex
|
latexmk -pdfxe main.tex # use xelatex to build pdf
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
latexmk -c
|
||||||
x=`biber --cache` && if [ -d "$x" ]; then $(RM) $x; fi
|
x=`biber --cache` && if [ -d "$x" ]; then $(RM) $x; fi
|
||||||
$(RM) *.out *.aux *.log *.bbl *.blg *~ *.toc *.idx *.eps dummy *.fls *.fdb_latexmk *.bcf *.run.xml
|
$(RM) *.out *.aux *.log *.bbl *.blg *~ *.toc *.idx *.eps dummy *.fls *.fdb_latexmk *.bcf *.run.xml *.xdv
|
||||||
$(RM) $(patsubst %.tex, %.ps, $(wildcard *.tex))
|
$(RM) $(patsubst %.tex, %.ps, $(wildcard *.tex))
|
||||||
$(RM) $(patsubst %.tex, %.dvi, $(wildcard *.tex))
|
$(RM) $(patsubst %.tex, %.dvi, $(wildcard *.tex))
|
||||||
$(RM) $(patsubst %.tex, %.pdf, $(wildcard *.tex))
|
$(RM) $(patsubst %.tex, %.pdf, $(wildcard *.tex))
|
||||||
|
@ -21,3 +22,12 @@ versioned: test_git clean main.pdf
|
||||||
|
|
||||||
# TODO latexdiff
|
# TODO latexdiff
|
||||||
# latexdiff-vc --pdf main.tex -r 123456 -r abcdef
|
# latexdiff-vc --pdf main.tex -r 123456 -r abcdef
|
||||||
|
|
||||||
|
# common typos check. find words, but ignore latex comment and macros
|
||||||
|
CT=grep -inr --include \*.tex "$${TYPO}" | grep -v ":%" | grep -v "newacronym" | grep -i --color=always "$${TYPO}"; exit 0
|
||||||
|
check-common-typos:
|
||||||
|
TYPO="application" && ${CT}
|
||||||
|
TYPO="run-time" && ${CT}
|
||||||
|
TYPO="behaviour" && ${CT}
|
||||||
|
TYPO="ground-truth" && ${CT}
|
||||||
|
TYPO="groundtruth" && ${CT}
|
19
macros.tex
19
macros.tex
|
@ -43,6 +43,23 @@
|
||||||
\fi
|
\fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\newcommand\bignote[1]{%
|
||||||
|
\ifreview
|
||||||
|
\begin{center}
|
||||||
|
\begin{minipage}{.95\linewidth}
|
||||||
|
\color{teal!70}\vrule width 3pt%
|
||||||
|
\colorbox{teal!15}{%
|
||||||
|
\parbox{.95\textwidth}{%
|
||||||
|
\textcolor{black}{\small%
|
||||||
|
NOTE\@: #1%
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
\end{minipage}
|
||||||
|
\end{center}
|
||||||
|
\fi
|
||||||
|
}
|
||||||
|
|
||||||
% expressions
|
% expressions
|
||||||
\newcommand{\vs}{vs. }
|
\newcommand{\vs}{vs. }
|
||||||
\newcommand{\ie}{{i.e.,}\xspace}
|
\newcommand{\ie}{{i.e.,}\xspace}
|
||||||
|
@ -108,4 +125,4 @@
|
||||||
\newcommand{\ndkbuild}{\textsf{ndk-build}\xspace}
|
\newcommand{\ndkbuild}{\textsf{ndk-build}\xspace}
|
||||||
\newcommand{\gcc}{\textsf{gcc}\xspace}
|
\newcommand{\gcc}{\textsf{gcc}\xspace}
|
||||||
\newcommand{\clang}{\textsf{Clang}\xspace}
|
\newcommand{\clang}{\textsf{Clang}\xspace}
|
||||||
\newcommand{\fdroid}{\textsf{F-Droid}\xspace}
|
\newcommand{\fdroid}{\textsf{F-Droid}\xspace}
|
||||||
|
|
Loading…
Reference in New Issue