mirror of
https://github.com/typst/typst
synced 2025-08-15 15:38:33 +08:00
Formatting
This commit is contained in:
parent
c741b532d9
commit
6d0bcbc46a
@ -1,10 +1,11 @@
|
|||||||
use crate::convert::GlobalContext;
|
|
||||||
use ecow::EcoString;
|
use ecow::EcoString;
|
||||||
use krilla::metadata::{Metadata, TextDirection};
|
use krilla::metadata::{Metadata, TextDirection};
|
||||||
use typst_library::foundations::{Datetime, Smart};
|
use typst_library::foundations::{Datetime, Smart};
|
||||||
use typst_library::layout::Dir;
|
use typst_library::layout::Dir;
|
||||||
use typst_library::text::Lang;
|
use typst_library::text::Lang;
|
||||||
|
|
||||||
|
use crate::convert::GlobalContext;
|
||||||
|
|
||||||
pub(crate) fn build_metadata(gc: &GlobalContext) -> Metadata {
|
pub(crate) fn build_metadata(gc: &GlobalContext) -> Metadata {
|
||||||
let creator = format!("Typst {}", env!("CARGO_PKG_VERSION"));
|
let creator = format!("Typst {}", env!("CARGO_PKG_VERSION"));
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
use std::num::NonZeroUsize;
|
||||||
|
|
||||||
use krilla::destination::XyzDestination;
|
use krilla::destination::XyzDestination;
|
||||||
use krilla::outline::{Outline, OutlineNode};
|
use krilla::outline::{Outline, OutlineNode};
|
||||||
use std::num::NonZeroUsize;
|
|
||||||
use typst_library::foundations::{NativeElement, Packed, StyleChain};
|
use typst_library::foundations::{NativeElement, Packed, StyleChain};
|
||||||
use typst_library::layout::Abs;
|
use typst_library::layout::Abs;
|
||||||
use typst_library::model::HeadingElem;
|
use typst_library::model::HeadingElem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user