From: Don Armstrong Date: Mon, 3 Aug 2015 23:13:44 +0000 (-0500) Subject: fixup minted for tabs X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bdd63bfdd95e9ca6308584f316552d891fdd75f8;p=using_make_for_science.git fixup minted for tabs --- diff --git a/Makefile b/Makefile index 1acfd01..128cb19 100644 --- a/Makefile +++ b/Makefile @@ -16,4 +16,4 @@ R ?= R $(R) --encoding=utf-8 -e "library('knitr'); knit('$<')" %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex) - latexmk -pdf -pdflatex='xelatex -interaction=nonstopmode %O %S' -bibtex -use-make $< + latexmk -pdf -pdflatex='xelatex -shell-escape -8bit -interaction=nonstopmode %O %S' -bibtex -use-make $< diff --git a/using_make_for_science.Rnw b/using_make_for_science.Rnw index 2aa23c9..7903454 100644 --- a/using_make_for_science.Rnw +++ b/using_make_for_science.Rnw @@ -41,6 +41,8 @@ \pagestyle{fancy} } +\usepackage{minted} + \mode{ \usetheme{CambridgeUS} % http://identitystandards.illinois.edu/graphicstandardsmanual/generalguidelines/colors.html @@ -134,6 +136,36 @@ \section{Introduction to Makefiles} +\begin{frame}[fragile]{Simple Makefile} +\begin{minted}[showtabs]{make} +hello_world: + echo "hello world" > hello_world +\end{minted} +\end{frame} + +\subsection{General Syntax} + + +\begin{frame}[fragile]{Simple Makefile} +\begin{minted}[showtabs]{make} +hello_world: + echo "hello world" > hello_world +\end{minted} +\end{frame} + +\subsection{Variables} + +\subsection{Rules} + +\subsubsection{Default Target} + +\subsubsection{Special Targets} + +\subsubsection{Pattern Rules} + +\subsection{Functions} + + \section{Examples} \subsection{This Presentation}