The publisher variable "$latex-worksheet-formatted" is accessed in the
"sanitize-workspace" template in "xsl/pretext-common.xsl", which explains why
this is impacting HTML production.
Note that this is an *intermediate* variable that really shouldn't be used this
way. The publisher variables produce the boolean variable
"$b-latex-worksheet-formatted" which should be used instead.
The template in question looks like it is from Oscar's recent work, so perhaps
he needs to decide what the real intent is here and how to make a change.
Thanks for the debugging, Mitch. I got here pretty fast with that.
Rob
On 8/6/25 09:16, Mitch Keller wrote:
> I think we can pull this down from "urgent" to "bug". It appears that
> publication/latex/worksheet/@formatted="no" is impacting the HTML as well and
> suppressing the workspace. We've got a separate publication file for print, so
> we can remove that setting in the publication files used for online formats, but
> it seems like a bug that something inside the latex settings is impacting the
> HTML output.
>
> On Wednesday, August 6, 2025 at 10:15:14 AM UTC-5 Mitch Keller wrote:
>
> Urgently for Oscar: Something has broken HTML worksheet printing. The
> workspace is not rendering at all. Matt built and deployed on Friday (I
> think with 2.23.1)
https://mattboelkins.github.io/active-calculus-single-
> mbx/ <
https://mattboelkins.github.io/active-calculus-single-mbx/> and now
> none of the worksheets are getting workspace on the tasks inside the
> activities, from what I can tell.
>
> I have also just deployed with a build using 2.25.1, which exhibits the same
> behavior. Example worksheet direct link:
https://math.mitchkeller.phd/
> active-calculus-single-mbx/ws-act-3-5-2-printable.html <https://
> math.mitchkeller.phd/active-calculus-single-mbx/ws-act-3-5-2-printable.html>
>
http://www.rellek.net/ <
http://www.rellek.net/>
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
pretext-suppo...@googlegroups.com <mailto:
pretext-
>
support+u...@googlegroups.com>.
> To view this discussion visit
https://groups.google.com/d/msgid/pretext-support/
> dbcce648-d8bb-47b5-b79a-289eb72fb83cn%
40googlegroups.com <https://
>
groups.google.com/d/msgid/pretext-support/dbcce648-d8bb-47b5-
> b79a-289eb72fb83cn%
40googlegroups.com?utm_medium=email&utm_source=footer>.