From bdd63bfdd95e9ca6308584f316552d891fdd75f8 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 3 Aug 2015 18:13:44 -0500 Subject: [PATCH] fixup minted for tabs --- Makefile | 2 +- using_make_for_science.Rnw | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) 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} -- 2.39.2