Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Nov 5, 2025

The static journal extensions (acs, elsevier) in tests were frozen at
Sept 2023 versions, causing issues with current Quarto including PDF
rendering hangs.

Modified render-format-extension.test.ts to update extensions from
quarto-journals GitHub repos before running tests. Falls back to
committed versions on network failure for CI reliability.

Updated committed extension files to current versions:

  • acs: Added fancy-text and latex-environment dependencies
  • elsevier: Added Lua filter and restructured partials

Tests verify format rendering (HTML/PDF/variants) while
extension-render-journals.test.ts tests template scaffolding.
Both files serve different purposes.

Related to #13647

Should help solve #13643

@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Nov 5, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Licenses 0 0 0 0 0 issues
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

cderv added 3 commits November 5, 2025 21:59
The static journal extensions (acs, elsevier) in tests were frozen at
Sept 2023 versions, causing issues with current Quarto including PDF
rendering hangs.

Modified render-format-extension.test.ts to update extensions from
quarto-journals GitHub repos before running tests. Falls back to
committed versions on network failure for CI reliability.

Updated committed extension files to current versions:
- acs: Added fancy-text and latex-environment dependencies
- elsevier: Added Lua filter and restructured partials

Tests verify format rendering (HTML/PDF/variants) while
extension-render-journals.test.ts tests template scaffolding.
Both files serve different purposes.

Related to #13647
The acs and elsevier journal extensions copy .bst and .cls files to
the test directory during rendering. These files were not being
cleaned up by teardown, leaving artifacts after test runs.
Added comment explaining that committed extension files serve as
fallback and don't need frequent updates since tests fetch latest
versions. Recommends updating committed files when extension-related
issues occur to document working versions.
@cderv cderv force-pushed the tests/update-journal-extensions branch from 2e6e1fa to e5ddc4e Compare November 5, 2025 20:59
@cderv cderv merged commit 22fd181 into main Nov 5, 2025
51 checks passed
@cderv cderv deleted the tests/update-journal-extensions branch November 5, 2025 21:54
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.

3 participants