-
Notifications
You must be signed in to change notification settings - Fork 403
Typst Books #13950
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
Merged
Merged
Typst Books #13950
+22,511
−294
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
41d087b to
668a06f
Compare
Collaborator
|
d0e8fa7 to
664621e
Compare
Closes #13954 Book projects can now render to Typst/PDF using the orange-book template. Features: - Chapter-based numbering for figures, tables, equations, theorems, callouts, and listings with counter reset at chapter boundaries - Book parts and appendices with proper numbering (A, B, C...) - Brand color and logo support via _brand.yml - Table of contents with configurable depth - List of figures/tables infrastructure - Bibliography and citations with citeproc - Subfigure support with hierarchical numbering - Margin layout support for callouts Extension system additions: - Expose crossref.categories, quarto.doc.language, file_metadata_filter, and combineFilters to extensions - Auto-load orange-book extension for Typst book projects - Support for extension-provided typst-show.typ and numbering.typ partials Includes orange-book test suite with cross-reference, citation, notebook embedding, and margin layout integration tests.
Enhancements to PDF text position assertions: - Aggregate all regex mismatches and report together instead of failing on first error - Add granularity attribute to compare positions at ancestor structure elements (e.g., Div, P) rather than individual text spans - Include page number in position assertion failures - Fix duplicate error reporting for ambiguous text matches Test runner fixes: - Fix --keep-outputs flag for book projects - Fix book output path detection for multi-file vs single-file formats
Command-line tool that displays the PDF tag tree structure with marked content IDs (MCIDs) and associated text. Useful for debugging PDF accessibility structure and understanding how content is tagged. Features: - Search all pages for text patterns - Highlight matching structure elements - Show MCID mappings and bounding boxes
Remove version auto-detection from prepare-dist.ts and require explicit version parameter. Updates performance-check and test-bundle workflows to pass the version from version.txt.
Ignore .quarto cache directories which are populated at render time. Also add gitignore entries for book test directories.
Simplify the logic for resolving user filter script paths. The previous code had redundant checks and incorrect path resolution for filters specified with scriptFile in _extension.yml.
Bundle fontawesome, octique, showybox, and theorion packages from Typst preview repository. These are copied to .quarto cache at render time, enabling offline builds without network access to typst.app.
… commit d39d268a9 git-subtree-dir: src/resources/extension-subtrees/orange-book git-subtree-split: d39d268a93a8e14518b59a2be05893f0a8943aef
…rces/extension-subtrees/orange-book'
664621e to
eb11bda
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #13954
Summary
theorem-appearanceoption for configurable theorem styling in Typst outputtheorem-appearance Option
theorion has various themes, which can be selected with
theorem-appearance:Themes:
simple(default): Bold title with period, italic body - matches classic LaTeX stylefancy: Colored boxes using brand colors (primary/secondary/tertiary)clouds: Rounded colored background boxes per theorem typerainbow: Colored left border with colored title per theorem typeStatus: almost ready to merge, will squash first.