Re: [pretext-support] Using PreTeXt to author WebWork problems for upload

15 views
Skip to first unread message

David W. Farmer

unread,
Jan 6, 2023, 8:17:47 AM1/6/23
to PreTeXt support

This was caught in the spam filter, which is why it only appeared this
morning.

I think it would be a mistake to fall behind in the version of the CLI
you are using. The developers are committed to not breaking what has been
previously written.

And on the other hand, it has happened that HTML written with old versions
ends up breaking, because the same commitment has not been made by all
the outside projects which PreTeXt relies on.
Adapting to those changes is something for the PTX/CLI people to worry
about, and which probably you could not fix if it gets to that point.

Regards,

David

ps. We are human, so occasionally a release has a bug, but those
generally are fixed quickly.


On Wed, 4 Jan 2023, Stephen Flood wrote:

> Hello,
>
> I am planning on authoring a number of WeBWorK problems in PreTeXt this semester, with the goal of uploading them to a local WeBWorK
> server.
>
> I've written a few sample problems that seem to work correctly, but I cannot figure out how to get it to export the .pg code.  It looks
> like the pg code for these problems is currently being concatenated together in the "webwork-representations.xml" file in
> generated-assets, but ideally I would want separate .pg problems in the webwork subfolder with file names based on the xmlid of the
> webwork element.  I've tried looking in the documentation, the webwork sample-article, and googling generally, but I can't find
> anything specific to exporting pg files. 
>
> I am using the CLI with version 1.0.3.  I know there are more recent versions, but I do not want to risk the formatting changing in a
> way that breaks something, and then not being able to revert to the version that I was using when writing the text.
>
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pretext-support/b41816ae-529d-4dca-bb8a-40c9f33db0e5n%40googlegroups.com.
>
>

Steven Clontz

unread,
Jan 11, 2023, 7:25:35 AM1/11/23
to PreTeXt support
FWIW my hope is that eventually, a document successfully built with a PreTeXt CLI version can always be successfully built with that version in perpetuity, modulo its reliance on non-PreTeXt services (e.g. Asymptote server, SageCell, etc).

We're not there yet: better to upgrade with

pip install --upgrade pretext

Reply all
Reply to author
Forward
0 new messages