Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Nov 5, 2025

Important

This is backport PR against v1.8 for change in

when lang: en is passed, babel-english needs to be installed.

This follows up fix on tinytex R package too about new error handling

cause is new pandoc way to setup babel, and maybe new babel error in log

cderv added 3 commits November 5, 2025 10:21
when lang: en is passed, babel-english needs to be installed.

This follows up fix on tinytex R package too about new error handling

cause is new pandoc way to setup babel, and maybe new babel error in log
Updated regex to accept both backtick-quote (`Spanish') and straight-quote
('Spanish') formats for detecting missing hyphenation packages.

Added unit tests and modified smoke-all tests to skip package removal on CI.

# Conflicts:
#	news/changelog-1.9.md
#	tests/docs/smoke-all/2024/08/30/10291/latex-hyphen-lang-es-no-install.qmd
@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 cderv changed the title Fix babel error issue [backport] Fix babel error issue Nov 5, 2025
cderv added 4 commits November 5, 2025 10:51
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

(cherry picked from commit c3149a9)
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.

(cherry picked from commit b8421ca)
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.

(cherry picked from commit 2e6e1fa)
@cderv cderv merged commit 53daabe into v1.8 Nov 6, 2025
85 of 86 checks passed
@cderv cderv deleted the backport/latex-babel-error branch November 6, 2025 09:51
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