diff --git a/crates/typst-library/src/model/bibliography.rs b/crates/typst-library/src/model/bibliography.rs index 51e3b03b0..fa25a79a4 100644 --- a/crates/typst-library/src/model/bibliography.rs +++ b/crates/typst-library/src/model/bibliography.rs @@ -142,12 +142,10 @@ pub struct BibliographyElem { pub style: Derived, /// The language setting where the bibliography is. - #[internal] #[synthesized] pub lang: Lang, /// The region setting where the bibliography is. - #[internal] #[synthesized] pub region: Option, } diff --git a/crates/typst-library/src/model/cite.rs b/crates/typst-library/src/model/cite.rs index 29497993d..fa03c28b2 100644 --- a/crates/typst-library/src/model/cite.rs +++ b/crates/typst-library/src/model/cite.rs @@ -110,12 +110,10 @@ pub struct CiteElem { pub style: Smart>, /// The text language setting where the citation is. - #[internal] #[synthesized] pub lang: Lang, /// The text region setting where the citation is. - #[internal] #[synthesized] pub region: Option, } diff --git a/crates/typst-library/src/model/figure.rs b/crates/typst-library/src/model/figure.rs index f846f50a2..76ec94db2 100644 --- a/crates/typst-library/src/model/figure.rs +++ b/crates/typst-library/src/model/figure.rs @@ -546,7 +546,6 @@ pub struct FigureCaption { pub counter: Counter, /// The figure's location. - #[internal] #[synthesized] pub figure_location: Location, }