Typst version 0.7 is officially released, creating a more powerful text typesetting engine

As an open-source text typesetting tool, Typst recently released a major version 0.7, bringing a number of important updates, which greatly improved Typst's capabilities in text typesetting and document generation. This update not only adds a variety of new features, but also improves and perfects the details. The new version has made many improvements in text layout. placeSupport for floating elements has been added, and the floating content can be flexibly placed through the new function; figurethe element also has placementa parameter, which can set the floating of the chart. The text function has added support for handwriting to typeset multilingual content using non-Latin fonts. Introduced Japanese internationalization support and hyphenation for languages ​​like Norwegian. At the same time, multiple issues such as container overflow and floating content positioning have been fixed.

In terms of mathematical typesetting, Typst 0.7 has also made great progress. The layout effects of symbols such as radicals, relational symbols, and large operators have been enhanced, and the visual presentation of mathematical formulas is better. Box elements embedded in formulas are now baseline-aligned by default. Added math font type parameter for math functions for finer control. Fixed spacing issues around symbols like dots, ellipses, etc. In addition, the naming of various operators has been adjusted and added to be more semantic.

Graphics support is one of the highlights of this update. The quality of SVG export to PDF has been greatly improved, and several rendering issues have been resolved. Supported the transparency effect of RGBA color model in PDF. Also fixed wrong resolution setting when exporting PNG. In terms of file reading, support for reading byte arrays has been added, and various functions for processing byte data are provided.

In addition to functional extensions, version 0.7 also includes improvements in toolchains and diagnostics. Enhanced the experience of using command-line tools, and optimized the package management logic to avoid conflicts. Added compilation warning mechanism and enhanced the readability of error messages. Also, the core syntax tree was stripped out into the typst-syntax library, making it easier to embed Typst in other Rust projects.

It can be said that every change in Typst 0.7 version makes Typst develop towards a more professional and reliable document typesetting tool. It provides users with richer functions and customization capabilities, and also makes Typst easier to use, more stable and efficient. In the field of open source typography, Typst is becoming a new star that cannot be ignored. We look forward to the subsequent iteration and improvement of Typst, and believe that it can bring an excellent typography experience to the majority of users.

Guess you like

Origin www.oschina.net/news/252813/typst-0-7