Alternative to <interactive> in <sidebyside>?

23 views
Skip to first unread message

Kyle Monette

unread,
Aug 14, 2026, 12:08:57 PM (5 days ago) Aug 14
to PreTeXt support
As of recent, <interactive>'s are not allowed in sidebyside panels, as referenced here and here.

I imagine the answer is negative, but I figured I would double check: is there an alternative way around this? For example, putting a paragraph of text next to an interactive graph, similar to how sidebyside would do it?
Or, even two interactives side by side?

Somewhat related - I'm seeing a validation error when trying to use <interactive> in a handout. Must they be wrapped in a <figure>?
The code I'm using is the following:

<interactive platform="jsxgraph" source="jsxgraph/path_to_file.js">
<slate xml:id="some_id_here_fig" surface="jsxboard"/>
</interactive>

Thanks!
Kyle 

Rob Beezer

unread,
Aug 14, 2026, 6:57:34 PM (5 days ago) Aug 14
to pretext...@googlegroups.com
Dear Kyle,

Your first link, to #3057, has the explanation for this, but I also think it is mostly impractical to put videos and interactives into an even more constrained width. So I think this is justified for more than one reason. There is an instructions detail for interactive and a caption of a figure can carry some text.

I cannot think of a good alternative. Note that #interactive is in the dev schema (iirc) which means it is subject to change. And it has been there for years since representing it across all output formats has been a continual challenge.

Rob

On August 14, 2026 9:08:57 AM PDT, 'Kyle Monette' via PreTeXt support <pretext...@googlegroups.com> wrote:
>As of recent, <interactive>'s are not allowed in sidebyside panels, as
>referenced here <https://github.com/PreTeXtBook/pretext/pull/3057> and here
><https://github.com/PreTeXtBook/pretext/pull/3062>.

Rob Beezer

unread,
Aug 14, 2026, 6:59:04 PM (5 days ago) Aug 14
to pretext...@googlegroups.com
And I suspect #handout is not refined, even though I think I moved it out of the dev version a couple weeks ago?

On August 14, 2026 9:08:57 AM PDT, 'Kyle Monette' via PreTeXt support <pretext...@googlegroups.com> wrote:
>As of recent, <interactive>'s are not allowed in sidebyside panels, as
Reply all
Reply to author
Forward
0 new messages