Skip to content

Commit 0aa40db

Browse files
committed
Adds exam templates to appendix
1 parent 7e37562 commit 0aa40db

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

Makefile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ texgen.pdf: abstract.tex
1313
texgen.pdf: preamble.tex
1414
texgen.pdf: contents.tex
1515
texgen.pdf: acknowledgements.tex
16+
texgen.pdf: Makefile.notes
17+
texgen.pdf: Makefile.slides
1618
texgen.pdf: letter.tex
19+
texgen.pdf: exam.tex
20+
texgen.pdf: Makefile.exam
1721
texgen.pdf: Makefile.guide
18-
texgen.pdf: Makefile.notes
1922
texgen.pdf: Makefile.root
20-
texgen.pdf: Makefile.slides
2123
texgen.pdf: program.nw
2224
texgen.pdf: Makefile.noweb
2325
texgen.pdf: README.md.template
@@ -45,18 +47,20 @@ PKG_INSTALL_FILES-share+= README.md.template
4547
PKG_INSTALL_FILES-share+= CONTRIBUTING.md.template
4648
PKG_INSTALL_FILES-share+= LICENSE.CC
4749
PKG_INSTALL_FILES-share+= LICENSE.MIT
48-
PKG_INSTALL_FILES-share+= abstract.tex
49-
PKG_INSTALL_FILES-share+= contents.tex
5050
PKG_INSTALL_FILES-share+= notes.tex
51-
PKG_INSTALL_FILES-share+= preamble.tex
5251
PKG_INSTALL_FILES-share+= slides.tex
53-
PKG_INSTALL_FILES-share+= Makefile.root
52+
PKG_INSTALL_FILES-share+= preamble.tex
53+
PKG_INSTALL_FILES-share+= abstract.tex
54+
PKG_INSTALL_FILES-share+= contents.tex
5455
PKG_INSTALL_FILES-share+= Makefile.notes
5556
PKG_INSTALL_FILES-share+= Makefile.slides
57+
PKG_INSTALL_FILES-share+= letter.tex
58+
PKG_INSTALL_FILES-share+= exam.tex
59+
PKG_INSTALL_FILES-share+= Makefile.exam
60+
PKG_INSTALL_FILES-share+= Makefile.root
5661
PKG_INSTALL_FILES-share+= Makefile.guide
5762
PKG_INSTALL_FILES-share+= program.nw
5863
PKG_INSTALL_FILES-share+= Makefile.noweb
59-
PKG_INSTALL_FILES-share+= letter.tex
6064

6165
PKG_TARBALL= texgen.tar
6266
PKG_TARBALL_FILES= ${PKG_INSTALL_FILES-bin} ${PKG_INSTALL_FILES-share}

texgen.nw

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,17 @@ sed -i "s/<submodule_prefix>/${submodule_prefix## }/g" ${f}
513513
\lstinputlisting[language={[latex]tex}]{letter.tex}
514514

515515

516+
\section{Template for exams}
517+
518+
\subsection{Main file for exam}
519+
520+
\lstinputlisting[language={[latex]tex}]{exam.tex}
521+
522+
\subsection{Makefile for exams}
523+
524+
\lstinputlisting{Makefile.exam}
525+
526+
516527
\section{Template for NOWEB programs}
517528

518529
\subsection{NOWEB source code}

0 commit comments

Comments
 (0)