instructor-training
instructor-training copied to clipboard
R code to parse and run TeX quiz without extra files cluttering every…
PR in response to #1105
Hopefully this R code is sufficiently self contained as to be useful to other people. It is very much a hack since R isn't one of "my" languages. It would be interesting to know how this runs for folk who don't have TeX on their computers. The Rnw file should also be "knittable" in RStudio though. @brownsarahm, thoughts about how we should document this?
The documentation question, the temporary consensus was to put things like this in #1173 .
I requested reviews from the core-team members that I think would have very helpful insight. If we consider this a pilot and the feature might get used in other lessons, then maybe we temporary document it with a in-file comment and then move the docs to lesson-example after some period of time?
Thinking about this this morning -- this same infrastructure can be used to make printable lessons in far higher quality than the AIO printable browser thingo. But this specific tech... thing is to solve the problem of editing an interactive quiz-handout without needing to use word, export to pdf, open in acrobat, drop in form fields, resave, commit...
Am I right in thinking this solves the problem of how to make an interactive quiz reusable in a practical and reasonably straightforward way? As neither an R or TeX person, I might need some help actually implementing it. I do have a quiz or two that I'd like to mark up in this way though. Then I could draft some documentation to replicate steps. Would that serve as a useful proof of concept part 2?
@ragamouf Yes -- though right now it implements matching and short answer interactivity only. To reduce cognitive load, since you are deeply familiar with neither TeX nor R -- https://www.overleaf.com/read/svyjzwrpgmnm is the original.
https://www.overleaf.com/learn/how-to/Copying_a_project to copy the project.
Edit lines 8-20 to change pairs. and 25-27 to change short answers. The other templates are in
% comments below.
A tutorial on LaTeX is at https://www.overleaf.com/learn/latex/Tutorials -- but shouldn't be necessary.
Despite its awesomeness this is not necessary for the current version of the curriculum.