Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

sageplot not rendering in codespaces

36 views
Skip to first unread message

John Estes Math

unread,
Jun 19, 2024, 5:12:01 PM6/19/24
to PreTeXt support
Hello,
I'm not receiving any warnings in my code space and the CodeChat is functioning well, 
except all of my sageplots are broken images. I just get the broken pic icon. Any ideas?

Secondly, I'm having playback problems with embedded YouTube videos.

Thanks in advance for the help.
John Estes

Steven Clontz

unread,
Jun 20, 2024, 3:16:31 AM6/20/24
to PreTeXt support
Hey John, if you can push your book to GitHub we can take a look at your source code and see what's going on. Since you're using Codespaces, it should be as easy as using "commit and sync" to get everything on your repo, so share a link when you can!

John Estes Math

unread,
Jun 20, 2024, 2:41:36 PM6/20/24
to PreTeXt support
Thank you, Steven. Here's my repo: https://github.com/johnestesmath/onboard. I made a section under front matter to show my issues. You can see that here: https://johnestesmath.github.io/onboard/sec-test.html

Steven Clontz

unread,
Jun 21, 2024, 10:32:10 AM6/21/24
to PreTeXt support
I see your latest push to gh-pages, but it doesn't look like your source files are updated at https://github.com/johnestesmath/onboard - are you able to push them there?

See Figure 2.2.4 of the PreTeXt Guide.

John Estes Math

unread,
Jun 21, 2024, 1:51:29 PM6/21/24
to PreTeXt support
I keep getting an error message when I try to sync. The log says I have conflicting branches, but I didn't realize I had branches. This is git newbie stuff I'm pretty sure. How do I reconcile divergent branches?Screenshot 2024-06-21 125022.png

Steven Clontz

unread,
Jun 21, 2024, 1:56:13 PM6/21/24
to pretext...@googlegroups.com
Here's the magic recipe I usually use in this situation:


Let me know if that doesn't work for you.


--
You received this message because you are subscribed to a topic in the Google Groups "PreTeXt support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pretext-support/5EhXaz_MHwA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pretext-suppo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/bb675299-bc25-4e0e-b775-a840c5676977n%40googlegroups.com.

Steven Clontz

unread,
Jun 21, 2024, 1:57:18 PM6/21/24
to pretext...@googlegroups.com
After that, you should be on a branch (named randomly) that you can push to GitHub so I can see what's going on.

John Estes Math

unread,
Jun 21, 2024, 2:07:25 PM6/21/24
to PreTeXt support
Ok. I believe that worked: https://github.com/johnestesmath/onboard 

Steven Clontz

unread,
Jun 21, 2024, 2:43:09 PM6/21/24
to PreTeXt support
My PR at https://github.com/johnestesmath/onboard/pull/2 should set you straight.

John Estes Math

unread,
Jun 21, 2024, 3:06:52 PM6/21/24
to PreTeXt support
Thank you, Steven. I owe you! What do you make of the youtube playback problems?

Steven Clontz

unread,
Jun 21, 2024, 3:16:13 PM6/21/24
to PreTeXt support
https://github.com/johnestesmath/onboard/pull/3 should fix it (just use the ID, not the full URL)

John Estes Math

unread,
Jun 21, 2024, 3:23:46 PM6/21/24
to PreTeXt support
Thanks, Steven! You're the best.
Reply all
Reply to author
Forward
0 new messages