All notable changes to the PreTeXt-CLI will be documented in this file (admittedly started rather late in the game).
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Instructions: Add a subsection under [Unreleased]
for additions, fixes, changes, and removals of features accompanying each PR. When a release is made, the github action will automatically add the next version number above the unreleased changes with the date of release.
pretext update
command will update managed files and therequirements.txt
file to match current installed version of PreTeXt.
- Improved help when deploy fails.
- Managed files (
project.ptx
,requirements.txt
, etc) are now managed by comparing to stock versions, not by a magic comment at top. - Only manage git-related files (
.gitignore
,.devcontainer.json
,.github/workflows/pretext-cli.yml
) when project is tracked by git. - Only updates managed files when
pretext update
is run, instead on every run. - Only check for new pretext version once a day.
- Removed unneeded warnings about pretext projects existing or not when running
pretext upgrade
andpretext new
.
Includes updates to core through commit: 42236bf
- Bug with
pretext view
.
Includes updates to core through commit: 42236bf
Includes updates to core through commit: 3c662c9
- Improved codespace view command (now respects already running servers).
- CSS fixes for logo and references from core.
Includes updates to core through commit: e4edfd0
pretext view
bug where a process is terminated abnormally
Includes updates to core through commit: e4edfd0
- New and improved css style options. See PreTeXt documentation.
pretext upgrade
command will runpip install --upgrade pretext
using the same python you are running pretext from, for smoother upgrades.
pretext view
now reuses the current local server correctly, and starts different local servers for different projects. This allows you to correctly view multiple projects at the same time.
Includes updates to core through commit: e532f63
- Support for building stand-alone documents without adding the source to the manifest.
- Support for upcoming html themes, including
pretext build --theme
to refresh theme without rebuilding entire project.
- prefigure graphics were not not being recognized.
- prefigure dependency is now an optional install. To get it, install pretext with
pip install pretext[prefigure]
.
- Support for generating prefigure graphics.
- Always checks whether there is a new version of the CLI available.
- Further video id bug.
- Bug: could not use custom XSL on windows without special permissions
- Bug: Runestone issue "Failed to evaluate the AVT of attribute 'data-video-divid'"
- From core: publication option to control latex style file.
- From core: default programming language can be set in
<docinfo>
- From core:
<bibinfo>
container for bibliographic information previous held in<titlepage>
and<colophon>
. - Improved publication file template.
- Bug: temporary directories from core not deleted on builds.
- Support for reveal.js slides via
format="revealjs"
. - Support for custom xsl that imports core xsl via
../xsl/pretext-[type].xsl
- Bug preventing the extraction of webwork sets.
- Github action will test build on older versions listed in requirements.
- Bumped
lxml
to at least 5.3 andpsutils
to at least 6.0.
- Newest version of core pretext.
pretext view
should now work even if a previous view process did not exit properly.
- Updated the process for generating latex-image to use pyMuPDF instead of pdf2svg
- Only generate myopenmath problems when actually needed.
- Bug with html build for source with version controlled components with duplicate ids.
- For compatibility with Runestone you must install pretext with pip install pretext[homepage] in order to get the landing page features.
- Automatically build a landing page for a project when deploying multiple targets.
- New (optional) github action workflows for publishing/deploying sites.
- Static versions of problems for MyOpenMath can now be downloaded using the CLI. Build/generate for print as usual to get these.
- Support of mermaid diagrams.
- Improved
pretext import
command to handle modular latex files better. - Turned off image conversions for
pretext import
. - Always stage to a clean stage directory for
pretext deploy
. - Improved output messages for info and error messages.
- Parsons problems can have partially ordered solutions.
- Fill In The Blank problems improvements
- Improved MyOpenMath support
- Support "circular" cases for proofs (TFAE, eg)
- Improved
pretext view
for inside codespaces.
pretext import
command. Pass a path to a.tex
file and it will use PlasTeX to do its best to convert the latex to pretext.
- Temporary hack fixes
pretext view
issues in codespaces.
pretext view
now opens browser sooner when you are not using codespaces.
- Added this CHANGELOG.md file to track future changes to the PreTeXt-CLI.
- Generating webwork will now continue in most cases where a single exercise is invalid, still creating a representations file.
- Improve error message when webwork-representations file fails to build.