{"route":"/en-US-v0.14.1/changelog/0.1.0/","title":"0.1.0","description":"Changes in Typst 0.1.0","part":null,"outline":[{"id":"breaking-changes","name":"Breaking changes","children":[]},{"id":"figure-improvements","name":"Figure improvements","children":[]},{"id":"bibliography-improvements","name":"Bibliography improvements","children":[]},{"id":"drawing-additions","name":"Drawing additions","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.1.0 (April 04, 2023)</h1>\n<h2 id=\"breaking-changes\">Breaking changes</h2>\n<ul>\n<li>When using the CLI, you now have to use subcommands:\n<ul>\n<li><code>typst compile file.typ</code> or <code>typst c file.typ</code> to create a PDF</li>\n<li><code>typst watch file.typ</code> or <code>typst w file.typ</code> to compile and watch</li>\n<li><code>typst fonts</code> to list all fonts</li>\n</ul>\n</li>\n<li>Manual counters now start at zero. Read the &quot;How to step&quot; section\n<a href=\"/en-US-v0.14.1/reference/introspection/counter/\">here</a> for more details</li>\n<li>The <a href=\"/en-US-v0.14.1/reference/model/bibliography/#parameters-style\">bibliography styles</a> <code><span class=\"typ-str\">&quot;author-date&quot;</span></code> and\n<code><span class=\"typ-str\">&quot;author-title&quot;</span></code> were renamed to <code><span class=\"typ-str\">&quot;chicago-author-date&quot;</span></code> and\n<code><span class=\"typ-str\">&quot;chicago-author-title&quot;</span></code></li>\n</ul>\n<h2 id=\"figure-improvements\">Figure improvements</h2>\n<ul>\n<li>Figures now automatically detect their content and adapt their behavior.\nFigures containing tables, for instance, are automatically prefixed with\n&quot;Table X&quot; and have a separate counter</li>\n<li>The figure's supplement (e.g. &quot;Figure&quot; or &quot;Table&quot;) can now be customized</li>\n<li>In addition, figures can now be completely customized because the show rule\ngives access to the automatically resolved kind, supplement, and counter</li>\n</ul>\n<h2 id=\"bibliography-improvements\">Bibliography improvements</h2>\n<ul>\n<li>The <a href=\"/en-US-v0.14.1/reference/model/bibliography/\" title=\"`bibliography`\"><code>bibliography</code></a> now also accepts multiple bibliography paths (as an\narray)</li>\n<li>Parsing of BibLaTeX files is now more permissive (accepts non-numeric edition,\npages, volumes, dates, and Jabref-style comments; fixed abbreviation parsing)</li>\n<li>Labels and references can now include <code>:</code> and <code>.</code> except at the end</li>\n<li>Fixed APA bibliography ordering</li>\n</ul>\n<h2 id=\"drawing-additions\">Drawing additions</h2>\n<ul>\n<li>Added <a href=\"/en-US-v0.14.1/reference/visualize/polygon/\" title=\"`polygon`\"><code>polygon</code></a> function for drawing polygons</li>\n<li>Added support for clipping in <a href=\"/en-US-v0.14.1/reference/layout/box/#parameters-clip\">boxes</a> and <a href=\"/en-US-v0.14.1/reference/layout/block/#parameters-clip\">blocks</a></li>\n</ul>\n<h2 id=\"command-line-interface\">Command line interface</h2>\n<ul>\n<li>Now returns with non-zero status code if there is an error</li>\n<li>Now watches the root directory instead of the current one</li>\n<li>Now puts the PDF file next to input file by default</li>\n<li>Now accepts more kinds of input files (e.g. <code>/dev/stdin</code>)</li>\n<li>Added <code>--open</code> flag to directly open the PDF</li>\n</ul>\n<h2 id=\"miscellaneous-improvements\">Miscellaneous improvements</h2>\n<ul>\n<li>Added <a href=\"/en-US-v0.14.1/reference/data-loading/yaml/\" title=\"`yaml`\"><code>yaml</code></a> function to load data from YAML files</li>\n<li>Added basic i18n for a few more languages (IT, RU, ZH, FR, PT)</li>\n<li>Added numbering support for Hebrew</li>\n<li>Added support for <a href=\"/en-US-v0.14.1/reference/foundations/int/\">integers</a> with base 2, 8, and 16</li>\n<li>Added symbols for double bracket and laplace operator</li>\n<li>The <a href=\"/en-US-v0.14.1/reference/model/link/\" title=\"`link`\"><code>link</code></a> function now accepts <a href=\"/en-US-v0.14.1/reference/foundations/label/\">labels</a></li>\n<li>The link syntax now allows more characters</li>\n<li>Improved justification of Japanese and Chinese text</li>\n<li>Calculation functions behave more consistently w.r.t to non-real results</li>\n<li>Replaced deprecated angle brackets</li>\n<li>Reduced maximum function call depth from 256 to 64</li>\n<li>Fixed <a href=\"/en-US-v0.14.1/reference/model/par/#parameters-first-line-indent\"><code>first-line-indent</code></a> being not applied when a\nparagraph starts with styled text</li>\n<li>Fixed extraneous spacing in unary operators in equations</li>\n<li>Fixed block spacing, e.g. in <code><span class=\"typ-func\">block</span><span class=\"typ-punct\">(</span>above<span class=\"typ-punct\">:</span> <span class=\"typ-num\">1cm</span><span class=\"typ-punct\">,</span> below<span class=\"typ-punct\">:</span> <span class=\"typ-num\">1cm</span><span class=\"typ-punct\">,</span> <span class=\"typ-op\">..</span><span class=\"typ-punct\">)</span></code></li>\n<li>Fixed styling of text operators in math</li>\n<li>Fixed invalid parsing of language tag in raw block with a single backtick</li>\n<li>Fixed bugs with displaying counters and state</li>\n<li>Fixed crash related to page counter</li>\n<li>Fixed crash when <a href=\"/en-US-v0.14.1/reference/foundations/symbol/\" title=\"`symbol`\"><code>symbol</code></a> function was called without arguments</li>\n<li>Fixed crash in bibliography generation</li>\n<li>Fixed access to label of certain content elements</li>\n<li>Fixed line number in error message for CSV parsing</li>\n<li>Fixed invalid autocompletion after certain markup elements</li>\n</ul>\n<h2 id=\"contributors\">Contributors</h2>"}}