Right now, text boxes are created with tkiz (so we can get accurate coordinates for bounding boxes).
When creating an answer key, we right inside those boxes using an optional parameter to the functions that create those boxes.
But, we may have text (especially for short answer questions) that causes our TeX to not compile for answer keys.
I believe the flow is as follows:
QuizGen Parsed Document -> Tex -> Tex Command Optional Parameter -> Tkiz Node Text
We need to somehow make an arbitrary document (which in the case of short answer can literally have anything) work in the above flow (or figure out something safer).
Right now, text boxes are created with tkiz (so we can get accurate coordinates for bounding boxes). When creating an answer key, we right inside those boxes using an optional parameter to the functions that create those boxes. But, we may have text (especially for short answer questions) that causes our TeX to not compile for answer keys.
I believe the flow is as follows: QuizGen Parsed Document -> Tex -> Tex Command Optional Parameter -> Tkiz Node Text
We need to somehow make an arbitrary document (which in the case of short answer can literally have anything) work in the above flow (or figure out something safer).