diff options
| author | Niklas Eicker <git@nikl.me> | 2025-01-08 10:38:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-08 09:38:34 +0000 |
| commit | 0a374d238016c0101d11cbc3f4bc621f3895ad36 (patch) | |
| tree | 5799e3c279e70a371fe7d737ac3ff37655827910 /crates/typst-library/src/lib.rs | |
| parent | 265df6c29f4d142a372917dd708bfba780f7cfbc (diff) | |
Embed files associated with the document as a whole (#5221)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'crates/typst-library/src/lib.rs')
| -rw-r--r-- | crates/typst-library/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/typst-library/src/lib.rs b/crates/typst-library/src/lib.rs index 87b2fcb4..2ea77eaa 100644 --- a/crates/typst-library/src/lib.rs +++ b/crates/typst-library/src/lib.rs @@ -21,6 +21,7 @@ pub mod layout; pub mod loading; pub mod math; pub mod model; +pub mod pdf; pub mod routines; pub mod symbols; pub mod text; @@ -249,6 +250,7 @@ fn global(math: Module, inputs: Dict, features: &Features) -> Module { self::introspection::define(&mut global); self::loading::define(&mut global); self::symbols::define(&mut global); + self::pdf::define(&mut global); global.reset_category(); if features.is_enabled(Feature::Html) { global.define_module(self::html::module()); |
