side by side ?? webwork problems render badly on Runestone

6 views
Skip to first unread message

Bradley Miller

unread,
Aug 17, 2022, 7:32:05 PM8/17/22
to PreTeXt development
I was messing with APEX calculus today and ran into this when I tried to make a webwork problem interactive.



More than likely I’m building with the cli when I should not be, but I would like to understand what is going on.

Brad

Bradley Miller, PhD
Professor Emeritus Computer Science
Luther College
Founder, Runestone Academy
Blog: A Reputable Journal

Sean Fitzpatrick

unread,
Aug 17, 2022, 7:35:35 PM8/17/22
to PreTeXt development
A lot of the exercise groups are set to use two columns, mostly for print.

David has suggested in the past that he could update the CSS to ignore this setting in HTML, but I don't think it's a priority issue.

But that also looks like an old version of APEX, and one that has been built using an older version of WeBWorK, because the "make interactive" button is now "activate".

--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-dev/2931637b-42cb-4ca1-a0f7-4eeaff01470c%40Spark.

Sean Fitzpatrick

unread,
Aug 17, 2022, 7:36:12 PM8/17/22
to PreTeXt development
I think Alex fixed some of this by making sure an activated WeBWorK problem folks the full width

Bradley Miller

unread,
Aug 17, 2022, 7:56:06 PM8/17/22
to PreTeXt development
Well I just built it with cli version 1.0.1 today.

The webwork server is set to be: <webwork server="https://webwork-dev.uleth.ca"/>;

Is there a branch I should be using instead of main?

Brad

Bradley Miller, PhD
Professor Emeritus Computer Science
Luther College
Founder, Runestone Academy
Blog: A Reputable Journal

Alex Jordan

unread,
Aug 17, 2022, 8:05:45 PM8/17/22
to prete...@googlegroups.com
If it's pretext post Ann arbor, those buttons should say Activate, not Make Interactive. So something's not looks stale.

Alex Jordan

unread,
Aug 17, 2022, 8:12:31 PM8/17/22
to prete...@googlegroups.com
And the WW server isn't relevant to the text on those buttons. That is printed by a ptx stylesheet into the html.

Can you post a link to a live version? Not sure what's going on here if CLI 1.0.1 built this.



Alex Jordan

unread,
Aug 17, 2022, 8:20:06 PM8/17/22
to prete...@googlegroups.com
By the way, this is 2 column exercise group, not something to do with "sidebyside" elements. And as Sean says, I think it would be good if html flattened these to 1 column. I do that with my projects using local css.

Sean Fitzpatrick

unread,
Aug 17, 2022, 8:20:30 PM8/17/22
to PreTeXt development
Hmm. That's my WeBWorK server, which is up to date.
Maybe the APEX source is out of date, but I don't see how that would affect what's on the buttons. Maybe a hard refresh is needed to clear out old JavaScript?

Sean Fitzpatrick

unread,
Aug 17, 2022, 8:58:26 PM8/17/22
to prete...@googlegroups.com
I think this is the same exercise group as Brad's screenshot, from the end of Section 1.1.

This is a version I built today, using CLI 1.0.1, the most recent APEX, and the uleth server.

https://opentext.uleth.ca/apex-calculus/sec_limit_intro.html



Note that this is not quite the version of APEX currently available in the main branch: I've merged in two branches on my local machine that are still active pull requests.

Bradley Miller

unread,
Aug 18, 2022, 10:36:08 AM8/18/22
to prete...@googlegroups.com
OK,

Sorry, my fault.  I had built but had not deployed so I was actually looking at a version from Ann Arbor.

Looks much better now.  The live link is:  https://runestone.academy/ns/books/published/APEX/apex-calculus.html

Brad

Bradley Miller, PhD
Professor Emeritus Computer Science
Luther College
Founder, Runestone Academy
Blog: A Reputable Journal
On Aug 17, 2022, 7:58 PM -0500, Sean Fitzpatrick <dsfitz...@gmail.com>, wrote:
I think this is the same exercise group as Brad's screenshot, from the end of Section 1.1.

This is a version I built today, using CLI 1.0.1, the most recent APEX, and the uleth server.

https://opentext.uleth.ca/apex-calculus/sec_limit_intro.html

<Screenshot%20from%202022-08-17%2018-54-44.png>

Sean Fitzpatrick

unread,
Aug 18, 2022, 10:43:41 AM8/18/22
to PreTeXt development
If you want to get rid of the hypothesis annotation sidebar, there is a line you can comment out in the project.ptx file (look for a string parameter line, near the bottom of the HTML/Runestone target).

Also, since it looks like YouTube videos aren't loading: if you want to leave them out altogether, in the publication file, remove "video" from the @include attribute.

Bradley Miller

unread,
Aug 18, 2022, 11:09:08 AM8/18/22
to PreTeXt development
The YouTube videos are not showing up in any builds for Runestone.  A known problem (missing ids) that should be fixed soon.

A lot of the Runestone books have hypothes.is enabled and people seem to use it.

Brad

Bradley Miller, PhD
Professor Emeritus Computer Science
Luther College
Founder, Runestone Academy
Blog: A Reputable Journal

Sean Fitzpatrick

unread,
Aug 18, 2022, 11:15:03 AM8/18/22
to PreTeXt development
Ok, great! Thought I'd check on that. I might have remembered wrong but I thought Runestone had its own annotation support.

Reply all
Reply to author
Forward
0 new messages