Doenet activity and the pdf

16 views
Skip to first unread message

jfir...@linfield.edu

unread,
Jul 25, 2025, 3:02:57 PMJul 25
to PreTeXt support
I am trying to generate the print version of my book. It gets hung up on the first Doenet activity with the following error:
LaTeX Warning: File `generated/preview/doenetmaximingraph-preview.png' not foun
d on input line 3593.

! Unable to load picture or PDF file 'generated/preview/doenetmaximingraph-prev
iew.png'.

I don't know if I somehow need to generate an image of the doenet activity for the print version or if there is some publication setting I need. I did add the base url to my publication file.

Jen

Rob Beezer

unread,
Jul 26, 2025, 1:36:08 AMJul 26
to pretext...@googlegroups.com
Doenet activities are implemented as #interactive.

You need to generate an automatic screenshot of each #interactive for static output formats. Or you can provide an image of your own making (specified with @preview).

Rob

Chrissy Safranski

unread,
Jul 28, 2025, 9:24:39 AMJul 28
to PreTeXt support
Hi Jen,

I checked with someone who has done this (Tien), and he seems to remember that the CLI generated the image automatically without issues when he built the pdf.  But it's been a while.

You could try running the generate step separately, but maybe there's something else going on.  Tien plans to be at dropin on Thursday, so that could be a good time to get help if it's still causing you trouble!

Chrissy

Jennifer Nordstrom

unread,
Jul 30, 2025, 6:11:10 PMJul 30
to pretext...@googlegroups.com

Hi Chrissy,

 

I have tried generating the image automatically and with the pretext generate command. I am travelling this week, so I’m not sure I can make it to the dropin, but I’ll try. If not, I’ll try to reaching out to Tien at a future drop in.

 

Thanks!

 

Jen

 

---------------------------

Jennifer Nordstrom

Department of Mathematics

Linfield University

 

jfir...@linfield.edu

 

From: pretext...@googlegroups.com <pretext...@googlegroups.com> on behalf of Chrissy Safranski <tanaq...@gmail.com>
Date: Monday, July 28, 2025 at 8:24
AM
To: PreTeXt support <pretext...@googlegroups.com>
Subject: Re: [pretext-support] Doenet activity and the pdf

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

 

--
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/v5u6vybF-ng/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/db43dee5-84df-48e0-b6c1-7c7f6b4c9c6bn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages