diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cd2be11..d9258ef1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,14 +9,23 @@ Instructions: Add a subsection under `[Unreleased]` for additions, fixes, change ## [Unreleased] +### Added + +- Support for "paragraphs" element in printouts (worksheets and handouts). +- Optional LaTeX link highlighting via the `latex/@link-highlight` publisher option. +- New quotation mark styles for Canada and Germany locales. + ### Fixed - Failed individual asset generation (when core does not produce the expected output file) now raises an error and is no longer silently treated as a success. This prevents incorrectly caching incomplete asset generation results. +- Landing page links for print and single-file targets now generate correctly. +- JavaScript bug in printouts that miscalculated workspace with slow-loading images. ### Changed - The default Asymptote generation method is now `local` (using the local `asy` binary) instead of `server`. This improves reliability since the server method has been subject to breakage whenever the Asymptote web interface is updated. Users who need the server method can still opt in via `asy-method="server"` in `project.ptx`. + ## [2.37.1] - 2026-02-19 Includes updates to core through commit: [4e4ff13](https://github.com/PreTeXtBook/pretext/commit/4e4ff13706654ca5eb4ff9936bc2acddbd4aa648) diff --git a/poetry.lock b/poetry.lock index 9af1a01e..9bf47754 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "annotated-types" @@ -17,32 +17,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "anyio" -version = "4.12.1" -description = "High-level concurrency and networking framework on top of asyncio or Trio" -optional = true -python-versions = ">=3.9" -groups = ["main"] -markers = "extra == \"homepage\" or extra == \"all\"" -files = [ - {file = "anyio-4.12.1-py3-none-any.whl", hash = "sha256:d405828884fc140aa80a3c667b8beed277f1dfedec42ba031bd6ac3db606ab6c"}, - {file = "anyio-4.12.1.tar.gz", hash = "sha256:41cfcc3a4c85d3f05c932da7c26d0201ac36f72abd4435ba90d0464a3ffed703"}, -] - -[package.dependencies] -exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} -idna = ">=2.8" -typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} - -[package.extras] -trio = ["trio (>=0.31.0) ; python_version < \"3.10\"", "trio (>=0.32.0) ; python_version >= \"3.10\""] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "autocommand" version = "2.2.2" @@ -642,12 +616,12 @@ version = "1.2.2" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" -groups = ["main", "dev"] +groups = ["dev"] +markers = "python_version == \"3.10\"" files = [ {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, ] -markers = {main = "(extra == \"homepage\" or extra == \"all\") and python_version == \"3.10\"", dev = "python_version == \"3.10\""} [package.extras] test = ["pytest (>=6)"] @@ -1995,15 +1969,15 @@ reference = "pypi-public" [[package]] name = "prefig" -version = "0.5.7" +version = "0.5.13" description = "An authoring system for mathematical diagrams" optional = true python-versions = ">=3.10,<4.0" groups = ["main"] markers = "extra == \"prefigure\" or extra == \"all\"" files = [ - {file = "prefig-0.5.7-py3-none-any.whl", hash = "sha256:7bcacd8b31566887c359488cfb24ce6cd2bb5e69b1883901e6fbea3fc38a032e"}, - {file = "prefig-0.5.7.tar.gz", hash = "sha256:d5b8241b35adde9ef09a47ca0002c12e0c24a98706348c8b06401600c8199447"}, + {file = "prefig-0.5.13-py3-none-any.whl", hash = "sha256:292cd3555bdd2bd238a486e5fe5ffd4c3e54f7b7339480112a150b3eec83834f"}, + {file = "prefig-0.5.13.tar.gz", hash = "sha256:0c8163ff9bd90f783eeec912935e621cb13cac5f06907a1d8d1228becb4edd94"}, ] [package.dependencies] @@ -3179,21 +3153,15 @@ reference = "pypi-public" [[package]] name = "urllib3" version = "2.2.3" -description = "HTTP library with thread-safe connection pooling, file post, and more." +description = "" optional = false -python-versions = ">=3.8" +python-versions = "*" groups = ["main"] files = [ {file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"}, {file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"}, ] -[package.extras] -brotli = ["brotli (>=1.0.9) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; platform_python_implementation != \"CPython\""] -h2 = ["h2 (>=4,<5)"] -socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] -zstd = ["zstandard (>=0.18.0)"] - [package.source] type = "legacy" url = "https://pypi.org/simple" @@ -3255,9 +3223,9 @@ reference = "pypi-public" [[package]] name = "watchfiles" version = "0.24.0" -description = "Simple, modern and high performance file watching and code reload in python." +description = "" optional = true -python-versions = ">=3.8" +python-versions = "*" groups = ["main"] markers = "extra == \"homepage\" or extra == \"all\"" files = [ @@ -3346,9 +3314,6 @@ files = [ {file = "watchfiles-0.24.0.tar.gz", hash = "sha256:afb72325b74fa7a428c009c1b8be4b4d7c2afedafb2982827ef2156646df2fe1"}, ] -[package.dependencies] -anyio = ">=3.0.0" - [package.source] type = "legacy" url = "https://pypi.org/simple" @@ -3506,4 +3471,4 @@ prefigure = ["prefig"] [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "4ae015f5c93cf0199f8f9feb70619db0fd367b8cbe58e968033a3fb4018efe59" +content-hash = "86637dbe9988e3ee274264a1f655662ddac8fd2970849b512fcf1323d30bd840" diff --git a/pretext/__init__.py b/pretext/__init__.py index b3fd6ce5..00467475 100644 --- a/pretext/__init__.py +++ b/pretext/__init__.py @@ -19,7 +19,7 @@ VERSION = get_version("pretext", Path(__file__).parent.parent) -CORE_COMMIT = "8cc838f3fad87b51b2f3ba76ec9ca63fce8978ea" +CORE_COMMIT = "8fa439172314b489e4b1b835564c08379b5de7bd" def activate() -> None: diff --git a/pyproject.toml b/pyproject.toml index 7696b3f9..583061b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ plastex = "^3" jinja2 = "^3" coloraide = "^4" pelican = { extras = ["markdown"], version = "^4.10", optional = true } -prefig = { extras = ["text"], version = "^0.5.7", optional = true } +prefig = { extras = ["text"], version = "^0.5.13", optional = true } citeproc-py = "^0"