PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
254 stars 202 forks source link

Scripts in interactives #2137

Closed ascholerChemeketa closed 1 month ago

ascholerChemeketa commented 2 months ago

An initial attempt at implementation of <script> in <interactive>.

Opening so @rbeezer has a concrete version of the proposed format to evaluate.

rbeezer commented 2 months ago

Looks good. I don't think the template needs to be modal. Try using just a match as

The first is good, the latter is better if it is legal (I forget if the test in the filter is OK).

Check that an automatic preview is OK (why not?) - that'll be better with a @label. Then make sure the PDF builds.

ascholerChemeketa commented 1 month ago

Selection logic updated.

Checked preview/qr generation - all seems fine. Adding those files to the gen directory.

PDF looks good.

rbeezer commented 1 month ago

Really good. Thanks for working through this one.

Website samples being rebuilt right now.