Steven Clontz
Steven Clontz
That makes sense to me.
Strong vote to do QR code generation in Python, not in LaTeX. Every build uses Python, not every build uses LaTeX.
Okay, yeah, if this is a bug, it's subtle. I can confirm that with a fresh `pretext new` book, using `` and `` match up: - https://github.com/StevenClontz/crispy-palm-tree/tree/main/assets - https://github.com/StevenClontz/crispy-palm-tree/blob/main/source/docinfo.ptx#L40 -...
On one hand, for the sake of consistent design of PreTeXt, I think we're doomed to need a dozen different tags to cover every possible nuance of a proofy piece...
Sure, any Element in lxml supports `.find` and `.xpath`. So we can use whatever we use to set the subtree to grab the corresponding Element (the root of that subtree)...
Wait I think I'm wrong there. Reading closer maybe `.xpath` is only supported for ElementTree (the full processed XML document). So we'd have to build the right xpath, maybe, naively,...
Or if the query is simple enough to express in ElementPath, we can grab the Element and use `element.iterfind(element_path)`.
Something like this would use existing XSL without writing to a file I think: Starting after https://github.com/PreTeXtBook/pretext/blob/master/pretext/pretext.py#L1157 (using YouTube thumbnails as an example): ```python doc_tree = ET.parse(xml_source) if xmlid_root is...
The list within the task demonstrated is not a sequence of subtasks - it's enumerating multiple choices for students to consider during the task. I'm only slightly insulted that you'd...
There are pedagogical reasons to avoid permuting within a multiple choice list, particularly when the MCQ is being used for instruction rather than assessment, as they would be in an...