Skip to content

XSL: provide enhansed source that includes assembly-id#2868

Closed
oscarlevin wants to merge 1 commit into
PreTeXtBook:masterfrom
oscarlevin:assembly-id
Closed

XSL: provide enhansed source that includes assembly-id#2868
oscarlevin wants to merge 1 commit into
PreTeXtBook:masterfrom
oscarlevin:assembly-id

Conversation

@oscarlevin

Copy link
Copy Markdown
Member

To check whether all webwork representation files have been build, the CLI needs access to the @assembly-id of webwork elements. These are in the assembled source, but not the "version" variant (that's too soon) and we cannot use the other representations since they embed the exercise representations that might not exist.

This PR exposes a new version of "enhanced source" that includes the assembly-ids, but quits before loading the representations.

Adds this as an option to the assembly routines in python.

@rbeezer

rbeezer commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Looks good visually. I will sic Claude on it, once he comes back from his lunch break. $20/mo Claude is a bit of a slacker. I like his $100/mo older brother better.

@oscarlevin

Copy link
Copy Markdown
Member Author

The CLI has a PR ready when this is merged (PreTeXtBook/pretext-cli#1154)

@rbeezer

rbeezer commented May 22, 2026

Copy link
Copy Markdown
Collaborator

Merged, as-is. Typo in commit message, and I ended up rewriting it.

Thanks very much for picking up this one.

@rbeezer rbeezer closed this May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants