Move breakfast recipes into a subdirectory
And create a makefile system that will build the directory and join together the pdfs into a single document. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
2049bc97ea
commit
3635fcba59
|
@ -0,0 +1,8 @@
|
|||
|
||||
all:
|
||||
$(MAKE) -C breakfast/
|
||||
cp breakfast/breakfast.pdf cookbook.pdf
|
||||
|
||||
clean:
|
||||
rm cookbook.pdf
|
||||
cd breakfast/ && make clean
|
|
@ -0,0 +1,7 @@
|
|||
%
|
||||
% Copyright 2016 (c) Anna Schumaker.
|
||||
%
|
||||
\documentclass{../titlepage}
|
||||
\begin{document}
|
||||
\setTitle{Breakfast}
|
||||
\end{document}
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
SOURCES = $(sort $(wildcard *.tex))
|
||||
OBJECTS = $(patsubst %.tex, %.pdf, $(SOURCES))
|
||||
|
||||
all:
|
||||
latexmk -pdf $(SOURCES)
|
||||
pdfjoin -o breakfast.pdf $(OBJECTS)
|
||||
|
||||
clean:
|
||||
latexmk -C
|
||||
rm breakfast.pdf
|
|
@ -1,7 +1,7 @@
|
|||
%
|
||||
% Copyright 2016 (c) Anna Schumaker.
|
||||
%
|
||||
\documentclass{recipe}
|
||||
\documentclass{../recipe}
|
||||
|
||||
\recipeName{Breakfast Quesadillas}
|
||||
\recipeServes{1}
|
|
@ -1,7 +1,7 @@
|
|||
%
|
||||
% Copyright 2016 (c) Anna Schumaker.
|
||||
%
|
||||
\documentclass{recipe}
|
||||
\documentclass{../recipe}
|
||||
|
||||
\recipeName{Nutty Bran Flakes}
|
||||
\recipeServes{6}
|
|
@ -1,7 +1,7 @@
|
|||
%
|
||||
% Copyright 2016 (c) Anna Schumaker.
|
||||
%
|
||||
\documentclass{recipe}
|
||||
\documentclass{../recipe}
|
||||
|
||||
\recipeName{Pancakes}
|
||||
\recipeServes{4}
|
|
@ -0,0 +1,16 @@
|
|||
%
|
||||
% Copyright 2016 (c) Anna Schumaker.
|
||||
%
|
||||
\ProvidesClass{section}
|
||||
\LoadClass[letterpaper]{letter}
|
||||
|
||||
\RequirePackage[top=1in,bottom=1in,left=1in,right=1in]{geometry}
|
||||
\RequirePackage{newcent}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\newcommand{\setTitle}[1]
|
||||
{
|
||||
\vspace*{3in}
|
||||
\textbf{\centering{\fontsize{44}{1}\selectfont #1}\\}
|
||||
}
|
Loading…
Reference in New Issue