I use this repo for the pre-test exam files and the matching solution file.
PreTest.pdfis the exam PDF.PreTest_sol.pdfis the solution PDF.Exam/HW.texbuilds the exam version.Solution/HW.texbuilds the solution version.Exam/questionsandSolution/questionskeep the question text split by problem.
From the repo root:
cd Exam
latexmk -pdfxe -interaction=nonstopmode -halt-on-error HW.texFrom the repo root:
cd Solution
latexmk -pdfxe -interaction=nonstopmode -halt-on-error HW.texThe root PDFs should be updated only when the exam or solution content changes.
docs/pretest-map.mdmaps the exam and solution trees.docs/build-flow.mdshows the root scripts.docs/source-parity.mdexplains how I compare the two trees.docs/release-check.mdis the final review list.scripts/build-all.ps1builds both PDFs.scripts/check-source.ps1checks the LaTeX source before a build.