diff --git a/.github/workflows/latex-build.yml b/.github/workflows/latex-build.yml index 4e9711f..0afd3c2 100644 --- a/.github/workflows/latex-build.yml +++ b/.github/workflows/latex-build.yml @@ -16,9 +16,12 @@ jobs: with: latexmk_use_xelatex: true working_directory: lab-instructions - root_file: dodlabs.tex + work_in_root_file_dir: true + root_file: | + lab-instructions/modules/latex/example/latexlosning.tex + lab-instructions/dodlabs.tex env: - TEXINPUTS: ".:../latex-support//:" + TEXINPUTS: ".:../latex-support//:./latex-support//:" - name: Rename the output PDF run: | diff --git a/lab-instructions/modules/latex/latex.tex b/lab-instructions/modules/latex/latex.tex index 19b8340..e5f0b78 100644 --- a/lab-instructions/modules/latex/latex.tex +++ b/lab-instructions/modules/latex/latex.tex @@ -60,4 +60,4 @@ \subsection*{Datorarbete} \item Om du har tid: prova sådana möjligheter i \LaTeX\ som du inte har behövt använda tidigare: listor av olika slag, innehållsförteckning, mera avancerade formler, osv. \end{Datorarbete} -\includepdf[pages=-]{./modules/latex/example/latexlosning} \ No newline at end of file +\includepdf[pages=-]{modules/latex/example/latexlosning} \ No newline at end of file