Some things keep getting confused and I will try to clear them up as best I can. I see evidence in this thread that the confusion is still there. Sorry this is so long, but it's complicated.
Let's say it's a few years from now, and APEX is fully sourced with PreTeXt, and it's on edition 6. There is a print copy you can buy and there is an HTML version you can read online. And there is an EPUB you can read digitally, offline. Imagine Exercise 2.7.23 is a problem that is a "webwork" element in the PreTeXt source. It is coded to permit randomization. It is the 512th "webwork" in the PTX source. No @seed is declared in the PTX source.
* In print, Exercise 2.7.23 is a particular random version. When you load the HTML to Exercise 2.7.23, or the EPUB to Exercise 2.7.23, it will be the *exact same* random version that the print has. This is by design. In all cases, the problem is rendered using seed 512. You would have to go to extra lengths if you want these to mismatch. Like you could build the PDF, then edit the source files to declare a @seed on that problem, then build the HTML. Or you could build the PDF, insert a "webwork" early in the book so now this exercise uses seed 513, and then build the HTML. But whatever you do, you would have to go to extra effort to make these things not match.
* The above is intentional design. Imagine your class of 30 has 15 who prefer print and 15 who prefer HTML. You assign paper homework that includes Exercise 2.7.23. This design decision means that you will get 30 submissions that are all the same version of that exercise written up on paper. This eases the life of the grader, who can process those papers in an assembly-line manner, not distinguishing this half from that half. And all without the instructor having to specify assigning only from the print version, not from the HTML (or vice versa).
* Having this "webwork"-sourced exercise appear in HTML is not the same thing as having this exercise be interactive in HTML. If you ask me, the normal thing to do is to have this exercise be /static/ in HTML. Instructors can assign it in a traditional paper write-up assignment. There is no access to having WeBWorK feed you the solution or verify that you have a correct answer.
* Imho, there is a place for randomizable interactive exercises for student development and practice: inline exercises. Not the divisional exercises being discussed here.
* If you use WeBWorK to assign a problem set that includes Exercise 2.7.23, now you have something that will be randomly different from student to student, which is good. But only when they are logged in to WeBWorK, and this is still not putting the interactive version into their HTML reading.
* If you put the HTML version of the book inside Runestone Academy, that is another scenario. In that scenario, now we want the HTML version to have interactive webwork exercises. We want Runestone to manage recording when a student completes the interactive version embedded in their HTML, which is in turn embedded in Runestone. We also want Runestone to recognize that so-and-so is logged in, and *based on who that user is*, we want a random version that differs from the print version.
* On top of all of this, do we want edition 6 Exercise 2.7.23 to say the same thing as edition 4 Exercise 2.7.23? OK, it's natural for the number to migrate. Maybe it used to be #19, and now it is #23. But if the edition 4 version asked you to add 5+7, is it OK that the edition 6 version asks you to add 4+9?
This last item is the most important thing that we need Greg's input on. Once I know the answer to that, I can advise how to handle all of the rest.