Skip to content

Add configuration options for pre- and post-filters #1314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Jul 18, 2025

This PR adds the ability to have pre- and post-filters for the input and output jax be included in their configuration objects, rather than having to use the startup.ready() function to add them. It also adds a pre-filter to the output jax, for symmetry (and because it may be easier to do filtering there than to have to add a post-filter onto each of the input jax if there are multiple input formats).

To facilitate this, a new addList() method is added to the FunctionList object, and for good measure this is used in the TeX input jax to add its filters. You can also now pass a function list to the FunctionList constructor. A new test is added to the FunctionList tests to cover the new code.

@dpvc dpvc requested a review from zorkow July 18, 2025 18:41
@dpvc dpvc added this to the v4.0 milestone Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant