diff --git a/crates/typst-library/src/visualize/image/mod.rs b/crates/typst-library/src/visualize/image/mod.rs index 415c6d268..1a0e1e97a 100644 --- a/crates/typst-library/src/visualize/image/mod.rs +++ b/crates/typst-library/src/visualize/image/mod.rs @@ -83,8 +83,8 @@ pub struct ImageElem { /// [`source`]($image.source) (even then, Typst will try to figure out the /// format automatically, but that's not always possible). /// - /// Supported formats are `{"png"}`, `{"jpg"}`, `{"gif"}`, `{"svg"}`, `{"pdf"}`, - /// `{"webp"}` as well as raw pixel data. + /// Supported formats are `{"png"}`, `{"jpg"}`, `{"gif"}`, `{"svg"}`, + /// `{"pdf"}`, `{"webp"}` as well as raw pixel data. /// /// When providing raw pixel data as the `source`, you must specify a /// dictionary with the following keys as the `format`: diff --git a/docs/guides/guide-for-latex-users.md b/docs/guides/guide-for-latex-users.md index 93fa296fc..e8078086b 100644 --- a/docs/guides/guide-for-latex-users.md +++ b/docs/guides/guide-for-latex-users.md @@ -665,12 +665,3 @@ applicable, contains possible workarounds. [`page` function]($page) which will force a page break. If you just want a few paragraphs to stretch into the margins, then reverting to the old margins, you can use the [`pad` function]($pad) with negative padding. - -- **Include PDFs as images.** In LaTeX, it has become customary to insert vector - graphics as PDF or EPS files. Typst supports neither format as an image - format, but you can easily convert both into SVG files with [online - tools](https://cloudconvert.com/pdf-to-svg) or - [Inkscape](https://inkscape.org/). The web app will automatically convert PDF - files to SVG files upon uploading them. You can also use the - community-provided [`muchpdf` package](https://typst.app/universe/package/muchpdf) - to embed PDFs. It internally converts PDFs to SVGs on-the-fly.