I'm trying to generate a set of exams using R/exams (software of which I'm very impressed by the way). For our University College, we need to apply a certain template for our exams. We have a .sty
file for it, but I'm unable to include it in the LaTex template. I have tried all the options per documentation
Using the inputs variable:
exams2pdf(myexam, n = 1, name = c("pdf-examen", "pdf-oplossing"),
encoding = "UTF-8",
showpoints = "TRUE",
dir = "output",
edir = "oefeningen",
inputs = "/Users/eothein/education/examentest/templates/hogent-examen.sty",
template = c("templates/opgave.tex", "templates/oplossing.tex"),
)
I have tried relative paths, absolute paths but the LaTeX compiler complains it cannot find the .sty
file.
On top of that, it is very difficult to find documentation on how to use the metainfo/regular info from R into the LateX file. I'm starting from the template file generated from exams_skeleton
but it is unclear how to work with it (without a lot of trial and error). Is there documentation for this? E.g. I guess %% \exinput{questionnaire}
generates the questions, but how can I tweak this?
Kind regards
Jens Buysse