Jump to content

Draft:Typst: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Quachpas (talk | contribs)
m Add a reference to jreyesr blogpost
Quachpas (talk | contribs)
m Add The PCLinuxOS Magazine reference
Line 32: Line 32:
''Typst (''{{IPA|en|taɪpst}}<ref>{{Cite web |title=Typst: Brand Guidelines |url=https://typst.app/legal/brand/#:~:text=Pronounciation%20and%20Spelling |access-date=2024-12-02 |website=Typst |language=en}}</ref>) is an [[Open source|open-source]] [[typesetting system]]. It is officially developed by ''Typst GmbH''<ref>{{Cite web |title=Typst: Legal information |url=https://typst.app/legal/ |access-date=2024-12-02 |website=Typst |language=en}}</ref>, also promoting said software. Typst is a [[markup language]], similar to [[Markdown]], and is designed as an alternative to [[LaTeX]], [[Microsoft Word]], and [[Google Docs]]<ref>{{Cite web |title=Typst Documentation |url=https://typst.app/docs/ |access-date=2024-12-02 |website=Typst |language=en}}</ref>.
''Typst (''{{IPA|en|taɪpst}}<ref>{{Cite web |title=Typst: Brand Guidelines |url=https://typst.app/legal/brand/#:~:text=Pronounciation%20and%20Spelling |access-date=2024-12-02 |website=Typst |language=en}}</ref>) is an [[Open source|open-source]] [[typesetting system]]. It is officially developed by ''Typst GmbH''<ref>{{Cite web |title=Typst: Legal information |url=https://typst.app/legal/ |access-date=2024-12-02 |website=Typst |language=en}}</ref>, also promoting said software. Typst is a [[markup language]], similar to [[Markdown]], and is designed as an alternative to [[LaTeX]], [[Microsoft Word]], and [[Google Docs]]<ref>{{Cite web |title=Typst Documentation |url=https://typst.app/docs/ |access-date=2024-12-02 |website=Typst |language=en}}</ref>.


The language is intended to be easier, faster to use and learn than [[LaTeX]] while still offering similar capabilities<ref>{{Cite web |title=Exploring Typst, a new typesetting system similar to LaTeX - jreyesr's blog |url=https://blog.jreyesr.com/posts/typst/ |access-date=2024-12-02 |website=blog.jreyesr.com}}</ref><ref>{{Cite news |title=Typst~? une alternative moderne à LaTeX~? est désormais disponible en open source, le système serait également plus puissant et plus facile à appréhender |url=https://solutions-entreprise.developpez.com/actu/342703/Typst-une-alternative-moderne-a-LaTeX-est-desormais-disponible-en-open-source-le-systeme-serait-egalement-plus-puissant-et-plus-facile-a-apprehender/ |access-date=2024-12-02 |work=Developpez.com |language=fr-FR}}</ref><ref>{{Cite web |last=Pombrio |first=Justin |date=2024-11-30 |title=Typst as a Language |url=https://justinpombrio.net/2024/11/30/typst.html |url-status=live |access-date=2024-12-02 |website=justinpombrio.net}}</ref><ref>{{Cite web |date=2023 |title=Typst ist einfacher als LaTeX |url=https://gnulinux.ch/typst-ist-einfacher-als-latex |access-date=2024-12-02 |website=GNU/Linux.ch |language=de}}</ref><ref>{{Cite web |title=LaTeX vs. ConTeXt vs. Typst|url=https://jbirnick.net/posts/typesetting-comparison/ |access-date=2024-04-27 |website=jbirnick.net |language=en}}</ref><ref>{{Cite journal |last3=Lisse |first3=Eberhard W. |date=2023 |title=Introduction to Typst |url=https://tug.org/TUGboat/tb44-2/tb137abstracts.html |journal=TUGboat |language=en |volume=44 |issue=2 |pages=315–316 |doi=10.47397/tb/44-2/tb137abstracts |issn=0896-3207}}</ref>. The ''Typst'' compiler is [[Incremental compiler|incremental]] through [[Memoization|constrained memoization]]<ref>{{Citation |title=typst/comemo |date=2024-11-28 |url=https://github.com/typst/comemo/ |access-date=2024-12-02 |publisher=Typst}}</ref>.
The language is intended to be easier, faster to use and learn than [[LaTeX]] while still offering similar capabilities<ref>{{Cite journal |last=Pardue |first=David |date=November 2024 |title=Exploring Typst: A LaTeX Alternative |url=https://pclosmag.com/html/Issues/202411/page08.html |journal=The PCLinuxOS Magazine |issue=214 |pages=8}}</ref><ref>{{Cite web |title=Exploring Typst, a new typesetting system similar to LaTeX - jreyesr's blog |url=https://blog.jreyesr.com/posts/typst/ |access-date=2024-12-02 |website=blog.jreyesr.com}}</ref><ref>{{Cite news |title=Typst~? une alternative moderne à LaTeX~? est désormais disponible en open source, le système serait également plus puissant et plus facile à appréhender |url=https://solutions-entreprise.developpez.com/actu/342703/Typst-une-alternative-moderne-a-LaTeX-est-desormais-disponible-en-open-source-le-systeme-serait-egalement-plus-puissant-et-plus-facile-a-apprehender/ |access-date=2024-12-02 |work=Developpez.com |language=fr-FR}}</ref><ref>{{Cite web |last=Pombrio |first=Justin |date=2024-11-30 |title=Typst as a Language |url=https://justinpombrio.net/2024/11/30/typst.html |url-status=live |access-date=2024-12-02 |website=justinpombrio.net}}</ref><ref>{{Cite web |date=2023 |title=Typst ist einfacher als LaTeX |url=https://gnulinux.ch/typst-ist-einfacher-als-latex |access-date=2024-12-02 |website=GNU/Linux.ch |language=de}}</ref><ref>{{Cite web |title=LaTeX vs. ConTeXt vs. Typst|url=https://jbirnick.net/posts/typesetting-comparison/ |access-date=2024-04-27 |website=jbirnick.net |language=en}}</ref><ref>{{Cite journal |last3=Lisse |first3=Eberhard W. |date=2023 |title=Introduction to Typst |url=https://tug.org/TUGboat/tb44-2/tb137abstracts.html |journal=TUGboat |language=en |volume=44 |issue=2 |pages=315–316 |doi=10.47397/tb/44-2/tb137abstracts |issn=0896-3207}}</ref>. The ''Typst'' compiler is [[Incremental compiler|incremental]] through [[Memoization|constrained memoization]]<ref>{{Citation |title=typst/comemo |date=2024-11-28 |url=https://github.com/typst/comemo/ |access-date=2024-12-02 |publisher=Typst}}</ref>.


Typst can be extended by community-provided packages and templates to provide additional features<ref>{{Cite web |title=Typst Packages - Typst Examples Book |url=https://sitandr.github.io/typst-examples-book/book/packages/ |access-date=2024-04-27 |language=en}}</ref>. Similarly to [[CTAN]], [https://typst.app/universe/ Typst Universe] provides a central repository for the community.
Typst can be extended by community-provided packages and templates to provide additional features<ref>{{Cite web |title=Typst Packages - Typst Examples Book |url=https://sitandr.github.io/typst-examples-book/book/packages/ |access-date=2024-04-27 |language=en}}</ref>. Similarly to [[CTAN]], [https://typst.app/universe/ Typst Universe] provides a central repository for the community.

Revision as of 09:03, 2 December 2024

Typst
Original author(s)Martin Haug, Laurenz Mädje
Initial releaseMarch 21, 2023; 20 months ago (2023-03-21)
Stable release
v0.12.0 / October 18, 2024; 58 days ago (2024-10-18)
Repositoryhttps://github.com/typst/typst
Written inRust
TypeTypesetting
LicenseApache-2.0
Websitetypst.app//

Typst (/taɪpst/[1]) is an open-source typesetting system. It is officially developed by Typst GmbH[2], also promoting said software. Typst is a markup language, similar to Markdown, and is designed as an alternative to LaTeX, Microsoft Word, and Google Docs[3].

The language is intended to be easier, faster to use and learn than LaTeX while still offering similar capabilities[4][5][6][7][8][9][10]. The Typst compiler is incremental through constrained memoization[11].

Typst can be extended by community-provided packages and templates to provide additional features[12]. Similarly to CTAN, Typst Universe provides a central repository for the community.

Typst can natively export documents in PDF, PNG and SVG formats. In version 0.12.0, support for PDF/A-2b compliance was added[13]. It was first developed for Haug and Mädje's master thesis[14][15].

Creating a document in Typst typically requires a text editor, first creating and editing a file, then compiling it. Typst Gmbh also provides an official online editor[16]. Alternatively, Typst has also been integrated into softwares[17][18], notably Quarto (software)[19][20][21], Pandoc[22].

Typst has been used by Zerodha to produce transactions records, migrating their generation pipeline system from LaTeX to Typst[23].

Example

A simple document might look like this:

Input Output
= Typst
Typst is an open-source typesetting engine based on a markdown-like syntax and written in Rust. It is intended to be easier to use and faster to learn than LaTeX while still offering similar capabilities.

$ E_0 = m c^2 $
$ E = (m c^2)/sqrt(1 - v^2/c^2) $

References

  1. ^ "Typst: Brand Guidelines". Typst. Retrieved 2024-12-02.
  2. ^ "Typst: Legal information". Typst. Retrieved 2024-12-02.
  3. ^ "Typst Documentation". Typst. Retrieved 2024-12-02.
  4. ^ Pardue, David (November 2024). "Exploring Typst: A LaTeX Alternative". The PCLinuxOS Magazine (214): 8.
  5. ^ "Exploring Typst, a new typesetting system similar to LaTeX - jreyesr's blog". blog.jreyesr.com. Retrieved 2024-12-02.
  6. ^ "Typst~? une alternative moderne à LaTeX~? est désormais disponible en open source, le système serait également plus puissant et plus facile à appréhender". Developpez.com (in French). Retrieved 2024-12-02.
  7. ^ Pombrio, Justin (2024-11-30). "Typst as a Language". justinpombrio.net. Retrieved 2024-12-02.{{cite web}}: CS1 maint: url-status (link)
  8. ^ "Typst ist einfacher als LaTeX". GNU/Linux.ch (in German). 2023. Retrieved 2024-12-02.
  9. ^ "LaTeX vs. ConTeXt vs. Typst". jbirnick.net. Retrieved 2024-04-27.
  10. ^ "Introduction to Typst". TUGboat. 44 (2): 315–316. 2023. doi:10.47397/tb/44-2/tb137abstracts. ISSN 0896-3207.
  11. ^ typst/comemo, Typst, 2024-11-28, retrieved 2024-12-02
  12. ^ "Typst Packages - Typst Examples Book". Retrieved 2024-04-27.
  13. ^ "Release Version 0.12.0 (October 18, 2024) · typst/typst". GitHub. Retrieved 2024-12-02.
  14. ^ Haug, Martin (June 2022). Fast Typesetting with Incremental Compilation (Thesis). doi:10.13140/RG.2.2.15606.88642.
  15. ^ Mädje, Laurenz. Typst A Programmable Markup Language for Typesetting (PDF) (Thesis). Archived from the original on 2023-01-16. Retrieved 2024-04-27.{{cite thesis}}: CS1 maint: bot: original URL status unknown (link)
  16. ^ "Typst: Compose papers faster". Typst. Retrieved 2024-12-02.
  17. ^ "Typstry.jl · Typstry.jl". jakobjpeters.github.io. Retrieved 2024-12-02.
  18. ^ loqusion (2024-12-02), Typix, retrieved 2024-12-02
  19. ^ Posit PBC (2023-12-15). Never again in outer par mode: making next-generation PDFs with Quarto & typst - posit::conf(2023). Retrieved 2024-12-02 – via YouTube.
  20. ^ "Making Pretty PDFs with Typst (and Quarto)". Nicola Rennie. Retrieved 2024-12-02.
  21. ^ Wickham, Charlotte (2024-01-24). "Quarto 1.4". Quarto. Retrieved 2024-12-02.
  22. ^ "Release pandoc 3.1.2 · jgm/pandoc". GitHub. Retrieved 2024-12-02.
  23. ^ "1.5+ million PDFs in 25 minutes - Zerodha Tech Blog". zerodha.tech. Retrieved 2024-12-02.