Skip to content

Fix local files during format generation - #15

Open
itsmesherry wants to merge 1 commit into
SiglumProject:mainfrom
itsmesherry:fix/additional-files-local-packages
Open

Fix local files during format generation#15
itsmesherry wants to merge 1 commit into
SiglumProject:mainfrom
itsmesherry:fix/additional-files-local-packages

Conversation

@itsmesherry

Copy link
Copy Markdown

Summary

  • pass additionalFiles into format generation
  • scan local LaTeX-related files like .sty and .cls during prescan
  • avoid CTAN prefetches for packages that are already provided by local workspace files

Why

Multi-file documents can include local style/class files. Before this change, format generation and CTAN prescan could treat those as missing external packages, causing false 404s and retry loops.

Test plan

  • compile a document that includes a local .sty file
  • verify the local package is used without a CTAN fetch
  • run npm run build:types

Pass additional workspace files into format generation and skip CTAN prefetches for local style and class files so local packages do not trigger bogus missing-package loops.
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