{"route":"/en-US-v0.14.1/changelog/0.2.0/","title":"0.2.0","description":"Changes in Typst 0.2.0","part":null,"outline":[{"id":"breaking-changes","name":"Breaking changes","children":[]},{"id":"new-features","name":"New features","children":[]},{"id":"command-line-interface","name":"Command line interface","children":[]},{"id":"miscellaneous-improvements","name":"Miscellaneous improvements","children":[]},{"id":"contributors","name":"Contributors","children":[]}],"body":{"kind":"html","content":"<h1>Version 0.2.0 (April 11, 2023)</h1>\n<h2 id=\"breaking-changes\">Breaking changes</h2>\n<ul>\n<li>Removed support for iterating over index and value in\n<a href=\"/en-US-v0.14.1/reference/scripting/#loops\">for loops</a>. This is now handled via unpacking and\nenumerating. Same goes for the <a href=\"/en-US-v0.14.1/reference/foundations/array/#definitions-map\"><code>map</code></a> method.</li>\n<li><a href=\"/en-US-v0.14.1/reference/foundations/dictionary/\">Dictionaries</a> now iterate in insertion order instead of\nalphabetical order.</li>\n</ul>\n<h2 id=\"new-features\">New features</h2>\n<ul>\n<li>Added <a href=\"/en-US-v0.14.1/reference/scripting/#bindings\">unpacking syntax</a> for let bindings, which allows\nthings like <code><span class=\"typ-key\">let</span> <span class=\"typ-punct\">(</span>1<span class=\"typ-punct\">,</span> 2<span class=\"typ-punct\">)</span> <span class=\"typ-op\">=</span> array</code></li>\n<li>Added <a href=\"/en-US-v0.14.1/reference/foundations/array/#definitions-enumerate\"><code>enumerate</code></a> method</li>\n<li>Added <a href=\"/en-US-v0.14.1/reference/visualize/path/\" title=\"`path`\"><code>path</code></a> function for drawing Bézier paths</li>\n<li>Added <a href=\"/en-US-v0.14.1/reference/layout/layout/\" title=\"`layout`\"><code>layout</code></a> function to access the size of the surrounding page or\ncontainer</li>\n<li>Added <code>key</code> parameter to <a href=\"/en-US-v0.14.1/reference/foundations/array/#definitions-sorted\"><code>sorted</code></a> method</li>\n</ul>\n<h2 id=\"command-line-interface\">Command line interface</h2>\n<ul>\n<li>Fixed <code>--open</code> flag blocking the program</li>\n<li>New Computer Modern font is now embedded into the binary</li>\n<li>Shell completions and man pages can now be generated by setting the\n<code>GEN_ARTIFACTS</code> environment variable to a target directory and then building\nTypst</li>\n</ul>\n<h2 id=\"miscellaneous-improvements\">Miscellaneous improvements</h2>\n<ul>\n<li>Fixed page numbering in outline</li>\n<li>Added basic i18n for a few more languages (AR, NB, CS, NN, PL, SL, ES, UA, VI)</li>\n<li>Added a few numbering patterns (Ihora, Chinese)</li>\n<li>Added <code>sinc</code> <a href=\"/en-US-v0.14.1/reference/math/op/\">operator</a></li>\n<li>Fixed bug where math could not be hidden with <a href=\"/en-US-v0.14.1/reference/layout/hide/\" title=\"`hide`\"><code>hide</code></a></li>\n<li>Fixed sizing issues with box, block, and shapes</li>\n<li>Fixed some translations</li>\n<li>Fixed inversion of &quot;R&quot; in <a href=\"/en-US-v0.14.1/reference/math/variants/#functions-cal\"><code>cal</code></a> and <a href=\"/en-US-v0.14.1/reference/math/variants/#functions-frak\"><code>frak</code></a> styles</li>\n<li>Fixed some styling issues in math</li>\n<li>Fixed supplements of references to headings</li>\n<li>Fixed syntax highlighting of identifiers in certain scenarios</li>\n<li><a href=\"/en-US-v0.14.1/reference/layout/ratio/\">Ratios</a> can now be multiplied with more types and be converted to\n<a href=\"/en-US-v0.14.1/reference/foundations/float/\">floats</a> with the <a href=\"/en-US-v0.14.1/reference/foundations/float/\" title=\"`float`\"><code>float</code></a> function</li>\n</ul>\n<h2 id=\"contributors\">Contributors</h2>"}}