Thread View: comp.text.tex
1 messages
1 total messages
Started by CTAN Announcements
Wed, 25 Nov 2026 07:17
CTAN update: expltools
Author: CTAN Announcements
Date: Wed, 25 Nov 2026 07:17
Date: Wed, 25 Nov 2026 07:17
112 lines
6334 bytes
6334 bytes
Vít Starý Novotný submitted an update to the
expltools
package.
Version: 2026-11-23
License: lppl1.3c gpl2+
Summary description: Development tools for expl3 programmers
Announcement text:
--------------------------------------------------------------------------------
## expltools 2026-11-23
### explcheck v0.25.0
#### New features
This version of explcheck has implemented the following new features:
- Add more support for flow analysis. (#215, #236, #239)
This adds support for the following issues from the document titled
[_Warnings and errors for the expl3 analysis tool_][warnings-and-errors]:
1. E508 (Unexpandable or restricted-expandable boolean expression)
2. W512 (Defined an unexpandable function as unprotected)
[warnings-and-errors]: https://github.com/witiko/expltools/releases/download/latest/warnings-and-errors.pdf
#### Fixes
This version of explcheck has fixed the following problems:
- Report issues E420 (Locally setting a global variable) and E421 (Globally
setting a local variable) in top-level code. (reported by @jasperhabicht and
@cfr42 in #232, fixed in #235)
Previously, these issues were not reported in top-level code, since the
semantics of local and global assignments are equivalent there. However,
since l3debug explicitly rejects inconsistent local/global assignments in
top-level code, explcheck should do the same.
- Consider standalone boolean variables and constants such as `\c_true_bool`
expandable within boolean expressions. (#236)
Previously, these caused enclosing segments and functions to be considered
unexpandable for issues E428 (Unexpandable or restricted-expandable boolean
expression) and W429 (Defined an unexpandable function as unprotected). While
correct for top-level material, this was incorrect for boolean expressions.
Expandability is now estimated separately for different expansion contexts,
and the issues use the appropriate estimates.
#### Architecture
This version of explcheck has made the following architectural changes:
- Add the module `explcheck-expandability.lua` for tracking expandability
estimates. (#236)
- Add `outputs` to processing steps, remove `cleanup()` substeps. (#237..#239)
Previously, transient results for passing data around processing substeps
within a step were removed within `cleanup()` substeps. After this change,
steps declare persistent results within `outputs` and all other transient
results are automatically removed in the method `process_files()` from
`explcheck-utils.lua`. This prevents unintended memory leaks between steps.
#### Documentation
This version of explcheck has made the following improvements to the
documentation:
- Make documentation PDF/UA-2-compliant. (#233, #234)
This makes the documentation use `\DocumentMetadata` to produce
PDF/UA-2-compilant output. For gray issues from the document titled
[_Warnings and errors for the expl3 analysis tool_][warnings-and-errors], we
add an explicit textual description "Not yet implemented" next to the section
headings.
#### Continuous integration
This version of explcheck has made the following changes to our continuous
integration (CI):
- Check the PDF/UA-2 compliance of the documentation with VeraPDF. (#233, #234)
- Skip steps in non-scheduled CI runs unless relevant code has changed. (#234,
67c70c9)
- Only check third-party submodules in scheduled CI runs. (#235)
--------------------------------------------------------------------------------
This package is located at
https://mirrors.ctan.org/support/expltools
More information is at
https://ctan.org/pkg/expltools
--------------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs .
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads