We are using the following setup to include a customized intro to our printed exams:
rmarkdown::render(input = "Intro.Rmd",output_file ="Intro.pdf")
quests <- unlist(Grupos[c(1:3,sample(c(4:7)))])
exams2nops(file=quests, n=1, nsamp = 1, intro = "\\includepdf[pages=-]{D:/ExameAEI_R/Intro.pdf}", ...)
We start by generating a intro.pdf file, and then use the intro
argument to add it to the exams2nops
.
We would like to do the same thing with exams2pdf
:
exams2pdf(file=quests, n=1, nsamp = 1, intro = "\\includepdf[pages=-]{D:/ExameAEI_R/Intro.pdf}", language = "pt-PT", ...)
There's no error returned, but the intro.pdf does not get appended to the exams2pdf
file produced. Is there a way to add an intro file within exams2pdf
?