XSL: drop deprecated "jsxgraph" and "paragraphs" as "sidebyside" panels - #3062
Merged
rbeezer merged 1 commit intoJul 22, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012b3Z81apPnfAvj7fLBDPzZ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A "jsxgraph" and a "paragraphs" have been deprecated as panels of a "sidebyside" since 2018 — "jsxgraph" was absorbed into "interactive", and "paragraphs" was reserved as a lightweight division. The schema already disallows both in that position (a "paragraphs" is not a valid "sidebyside" panel, and "jsxgraph" is not permitted anywhere), yet the stylesheets still rendered them: the shared panel-content entity
SBSPANEL, introduced with the side-by-side entity work in #3057, continued to list them.This removes the two elements from
SBSPANEL, so a "jsxgraph" or "paragraphs" placed directly in a "sidebyside" is no longer rendered as a panel. Because that single entity drives the panel selection in the common "sidebyside" template, the change applies uniformly to HTML, LaTeX/PDF, and PDF via FO. The deprecation warnings are updated to say so.Changes
xsl/entities.ent: drop "jsxgraph" and "paragraphs" fromSBSPANEL, and trim the accompanying comment.STACKABLEalready excluded both, so a "stack" panel is unaffected.xsl/pretext-common.xsl: add a "sidebyside"-specific deprecation for "jsxgraph" (mirroring the existing "paragraphs" one), and extend both messages to note that, as of 2026-07-22, such a panel and its content are silently ignored.Notes
Claude Opus 4.8, acting as a coding assistant for Rob Beezer