{"route":"/en-US-v0.13.1/changelog/0.11.0/","title":"0.11.0","description":"Changes in Typst 0.11.0","part":null,"outline":[{"id":"tables","name":"Tables","children":[]},{"id":"templates","name":"Templates","children":[]},{"id":"context","name":"Context","children":[]},{"id":"styling","name":"Styling","children":[]},{"id":"layout","name":"Layout","children":[]},{"id":"text","name":"Text","children":[]},{"id":"model","name":"Model","children":[]},{"id":"math","name":"Math","children":[]},{"id":"symbols","name":"Symbols","children":[]},{"id":"scripting","name":"Scripting","children":[]},{"id":"syntax","name":"Syntax","children":[]},{"id":"tooling-diagnostics","name":"Tooling & Diagnostics","children":[]},{"id":"visualization","name":"Visualization","children":[]},{"id":"export","name":"Export","children":[]},{"id":"command-line-interface","name":"Command line interface","children":[]},{"id":"development","name":"Development","children":[]},{"id":"contributors","name":"Contributors","children":[]}],"body":{"kind":"html","content":"<h1>Version 0.11.0 (March 15, 2024)</h1>\n<h2 id=\"tables\">Tables</h2>\n<ul>\n<li>Tables are now <em>much</em> more flexible, read the new\n<a href=\"/en-US-v0.13.1/guides/table-guide/\">table guide</a> to get started</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/model/table/#definitions-cell\" title=\"`table.cell`\"><code>table.cell</code></a> element for per-cell configuration</li>\n<li>Cells can now span multiple <a href=\"/en-US-v0.13.1/reference/model/table/#definitions-cell-colspan\">columns</a> or\n<a href=\"/en-US-v0.13.1/reference/model/table/#definitions-cell-rowspan\">rows</a></li>\n<li>The <a href=\"/en-US-v0.13.1/reference/model/table/#definitions-cell-stroke\">stroke</a> of individual cells can now be customized</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/model/table/#parameters-align\"><code>align</code></a> and <a href=\"/en-US-v0.13.1/reference/model/table/#parameters-inset\"><code>inset</code></a> arguments of the table\nfunction now also take <code><span class=\"typ-punct\">(</span>x<span class=\"typ-punct\">,</span> y<span class=\"typ-punct\">)</span> <span class=\"typ-op\">=&gt;</span> ..</code> functions</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/model/table/#definitions-hline\" title=\"`table.hline`\"><code>table.hline</code></a> and <a href=\"/en-US-v0.13.1/reference/model/table/#definitions-vline\" title=\"`table.vline`\"><code>table.vline</code></a> for convenient line customization</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/model/table/#definitions-header\" title=\"`table.header`\"><code>table.header</code></a> element for table headers that repeat on every page</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/model/table/#definitions-footer\" title=\"`table.footer`\"><code>table.footer</code></a> element for table footers that repeat on every page</li>\n<li>All the new table functionality is also available for <a href=\"/en-US-v0.13.1/reference/layout/grid/\">grids</a></li>\n<li>Fixed gutter-related bugs</li>\n</ul>\n<p><em>Thanks to <a href=\"https://github.com/PgBiel\">@PgBiel</a> for his work on tables!</em></p>\n<h2 id=\"templates\">Templates</h2>\n<ul>\n<li>You can now use template packages to get started with new projects. Click\n<em>Start from template</em> on the web app's dashboard and choose your preferred\ntemplate or run the <code>typst init &lt;template&gt;</code> command in the CLI. You can\n<a href=\"https://typst.app/universe/search/?kind=templates\">browse the available templates here</a>.</li>\n<li>Switching templates after the fact has become easier. You can just import a\nstyling function from a different template package.</li>\n<li>Package authors can now submit their own templates to the\n<a href=\"https://github.com/typst/packages\">package repository</a>. Share a template\nfor a paper, your institution, or an original work to help the community get\na head start on their projects.</li>\n<li>Templates and packages are now organized by category and discipline. Filter\npackages by either taxonomy in the <em>Start from template</em> wizard. If you are a\npackage author, take a look at the new documentation for\n<a href=\"https://github.com/typst/packages/blob/main/CATEGORIES.md\">categories</a> and\n<a href=\"https://github.com/typst/packages/blob/main/DISCIPLINES.md\">disciplines</a>.</li>\n</ul>\n<h2 id=\"context\">Context</h2>\n<ul>\n<li>Added <em>context expressions:</em> Read the chapter on <a href=\"/en-US-v0.13.1/reference/context/\" title=\"context\">context</a> to get started</li>\n<li>With context, you can access settable properties, e.g. <code><span class=\"typ-key\">context</span> text<span class=\"typ-punct\">.</span>lang</code>\nto access the language set via <code><span class=\"typ-key\">set</span> <span class=\"typ-func\">text</span><span class=\"typ-punct\">(</span>lang<span class=\"typ-punct\">:</span> <span class=\"typ-str\">&quot;..&quot;</span><span class=\"typ-punct\">)</span></code></li>\n<li>The following existing functions have been made contextual: <a href=\"/en-US-v0.13.1/reference/introspection/query/\" title=\"`query`\"><code>query</code></a>,\n<a href=\"/en-US-v0.13.1/reference/introspection/locate/\" title=\"`locate`\"><code>locate</code></a>, <a href=\"/en-US-v0.13.1/reference/layout/measure/\" title=\"`measure`\"><code>measure</code></a>, <a href=\"/en-US-v0.13.1/reference/introspection/counter/#definitions-display\" title=\"`counter.display`\"><code>counter.display</code></a>, <a href=\"/en-US-v0.13.1/reference/introspection/counter/#definitions-at\" title=\"`counter.at`\"><code>counter.at</code></a>,\n<a href=\"/en-US-v0.13.1/reference/introspection/counter/#definitions-final\" title=\"`counter.final`\"><code>counter.final</code></a>, <a href=\"/en-US-v0.13.1/reference/introspection/state/#definitions-at\" title=\"`state.at`\"><code>state.at</code></a>, and <a href=\"/en-US-v0.13.1/reference/introspection/state/#definitions-final\" title=\"`state.final`\"><code>state.final</code></a></li>\n<li>Added contextual methods <a href=\"/en-US-v0.13.1/reference/introspection/counter/#definitions-get\" title=\"`counter.get`\"><code>counter.get</code></a> and <a href=\"/en-US-v0.13.1/reference/introspection/state/#definitions-get\" title=\"`state.get`\"><code>state.get</code></a> to retrieve the\nvalue of a counter or state in the current context</li>\n<li>Added contextual function <a href=\"/en-US-v0.13.1/reference/introspection/here/\" title=\"`here`\"><code>here</code></a> to retrieve the <a href=\"/en-US-v0.13.1/reference/introspection/location/\" title=\"location\">location</a> of the current\ncontext</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/introspection/locate/\" title=\"`locate`\"><code>locate</code></a> function now returns the location of a selector's unique match.\nIts old behavior has been replaced by context expressions and only remains\ntemporarily available for compatibility.</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/introspection/counter/#definitions-at\" title=\"`counter.at`\"><code>counter.at</code></a> and <a href=\"/en-US-v0.13.1/reference/introspection/state/#definitions-at\" title=\"`state.at`\"><code>state.at</code></a> methods are now more flexible: They\ndirectly accept any kind of <a href=\"/en-US-v0.13.1/reference/introspection/location/#locatable\">locatable</a> selector with a\nunique match (e.g. a label) instead of just locations</li>\n<li>When context is available, <a href=\"/en-US-v0.13.1/reference/introspection/counter/#definitions-display\" title=\"`counter.display`\"><code>counter.display</code></a> now directly returns the result\nof applying the numbering instead of yielding opaque content. It should not be\nused anymore without context. (Deprecation planned)</li>\n<li>The <code>state.display</code> function should not be used anymore, use <a href=\"/en-US-v0.13.1/reference/introspection/state/#definitions-get\" title=\"`state.get`\"><code>state.get</code></a>\ninstead (Deprecation planned)</li>\n<li>The <code>location</code> argument of <a href=\"/en-US-v0.13.1/reference/introspection/query/\" title=\"`query`\"><code>query</code></a>, <a href=\"/en-US-v0.13.1/reference/introspection/counter/#definitions-final\" title=\"`counter.final`\"><code>counter.final</code></a>, and <a href=\"/en-US-v0.13.1/reference/introspection/state/#definitions-final\" title=\"`state.final`\"><code>state.final</code></a>\nshould not be used anymore (Deprecation planned)</li>\n<li>The <code>styles</code> argument of the <code>measure</code> function should not be used anymore\n(Deprecation planned)</li>\n<li>The <code>style</code> function should not be used anymore, use context instead\n(Deprecation planned)</li>\n<li>The correct context is now also provided in various other places where it is\navailable, e.g. in show rules, layout callbacks, and numbering functions in\nthe outline</li>\n</ul>\n<h2 id=\"styling\">Styling</h2>\n<ul>\n<li>Fixed priority of multiple <a href=\"/en-US-v0.13.1/reference/styling/#show-rules\">show-set rules</a>: They now\napply in the same order as normal set rules would</li>\n<li>Show-set rules on the same element (e.g. <code><span class=\"typ-key\">show</span> heading<span class=\"typ-punct\">.</span><span class=\"typ-func\">where</span><span class=\"typ-punct\">(</span>level<span class=\"typ-punct\">:</span> <span class=\"typ-num\">1</span><span class=\"typ-punct\">)</span><span class=\"typ-punct\">:</span> <span class=\"typ-key\">set</span> <span class=\"typ-func\">heading</span><span class=\"typ-punct\">(</span>numbering<span class=\"typ-punct\">:</span> <span class=\"typ-str\">&quot;1.&quot;</span><span class=\"typ-punct\">)</span></code>) now work properly</li>\n<li>Setting properties on an element within a transformational show rule (e.g.\n<code><span class=\"typ-key\">show</span> <span class=\"typ-func\">heading</span><span class=\"typ-punct\">:</span> it <span class=\"typ-op\">=&gt;</span> <span class=\"typ-punct\">{</span> <span class=\"typ-key\">set</span> <span class=\"typ-func\">heading</span><span class=\"typ-punct\">(</span><span class=\"typ-op\">..</span><span class=\"typ-punct\">)</span><span class=\"typ-punct\">;</span> it <span class=\"typ-punct\">}</span></code>) is <strong>not</strong> supported anymore\n(previously it also only worked sometimes); use show-set rules instead\n<strong>(Breaking change)</strong></li>\n<li>Text show rules that match their own output now work properly (e.g.\n<code><span class=\"typ-key\">show</span> <span class=\"typ-str\">&quot;cmd&quot;</span><span class=\"typ-punct\">:</span> <span class=\"typ-raw\">`cmd`</span></code>)</li>\n<li>The elements passed to show rules and returned by queries now contain all\nfields of their respective element functions rather than just specific ones</li>\n<li>All settable properties can now be used in <a href=\"/en-US-v0.13.1/reference/foundations/function/#definitions-where\">where</a> selectors</li>\n<li><a href=\"/en-US-v0.13.1/reference/foundations/selector/#definitions-and\">And</a> and <a href=\"/en-US-v0.13.1/reference/foundations/selector/#definitions-or\">or</a> selectors can now be used with\nshow rules</li>\n<li>Errors within show rules and context expressions are now ignored in all but\nthe last introspection iteration, in line with the behavior of the old\n<a href=\"/en-US-v0.13.1/reference/introspection/locate/\" title=\"`locate`\"><code>locate</code></a></li>\n<li>Fixed a bug where document set rules were allowed after content</li>\n</ul>\n<h2 id=\"layout\">Layout</h2>\n<ul>\n<li>Added <code>reflow</code> argument to <a href=\"/en-US-v0.13.1/reference/layout/rotate/\"><code>rotate</code></a> and <a href=\"/en-US-v0.13.1/reference/layout/scale/\"><code>scale</code></a> which\nlets them affect the layout</li>\n<li>Fixed a bug where <a href=\"/en-US-v0.13.1/reference/layout/place/#parameters-float\">floating placement</a> or\n<a href=\"/en-US-v0.13.1/reference/model/figure/#parameters-placement\">floating figures</a> could end up out of order</li>\n<li>Fixed overlap of text and figure for full-page floating figures</li>\n<li>Fixed various cases where the <a href=\"/en-US-v0.13.1/reference/layout/hide/\" title=\"`hide`\"><code>hide</code></a> function didn't hide its contents\nproperly</li>\n<li>Fixed usage of <a href=\"/en-US-v0.13.1/reference/layout/h/\" title=\"`h`\"><code>h</code></a> and <a href=\"/en-US-v0.13.1/reference/layout/v/\" title=\"`v`\"><code>v</code></a> in <a href=\"/en-US-v0.13.1/reference/layout/stack/\">stacks</a></li>\n<li>Invisible content like a counter update will no longer force a visible block\nfor just itself</li>\n<li>Fixed a bug with horizontal spacing followed by invisible content (like a\ncounter update) directly at the start of a paragraph</li>\n</ul>\n<h2 id=\"text\">Text</h2>\n<ul>\n<li>Added <a href=\"/en-US-v0.13.1/reference/text/text/#parameters-stroke\"><code>stroke</code></a> property for text</li>\n<li>Added basic i18n for Serbian and Catalan</li>\n<li>Added support for contemporary Japanese <a href=\"/en-US-v0.13.1/reference/model/numbering/\" title=\"numbering\">numbering</a> method</li>\n<li>Added patches for various wrong metadata in specific fonts</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/text/text/#parameters-dir\">text direction</a> can now be overridden within a paragraph</li>\n<li>Fixed Danish <a href=\"/en-US-v0.13.1/reference/text/smartquote/\">smart quotes</a></li>\n<li>Fixed font fallback next to a line break</li>\n<li>Fixed width adjustment of JIS-style Japanese punctuation</li>\n<li>Fixed Finnish translation of &quot;Listing&quot;</li>\n<li>Fixed Z-ordering of multiple text decorations (underlines, etc.)</li>\n<li>Fixed a bug due to which text <a href=\"/en-US-v0.13.1/reference/text/text/#parameters-features\">features</a> could not be\noverridden in consecutive set rules</li>\n</ul>\n<h2 id=\"model\">Model</h2>\n<ul>\n<li>Added <a href=\"/en-US-v0.13.1/reference/model/heading/#parameters-depth\"><code>depth</code></a> and <a href=\"/en-US-v0.13.1/reference/model/heading/#parameters-offset\"><code>offset</code></a> arguments to\nheading to increase or decrease the heading level for a bunch of content; the\nheading syntax now sets <code>depth</code> rather than <code>level</code> <strong>(Breaking change)</strong></li>\n<li>List <a href=\"/en-US-v0.13.1/reference/model/list/#parameters-marker\">markers</a> now cycle by default</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/model/quote/\" title=\"`quote`\"><code>quote</code></a> function now more robustly selects the correct quotes based on\nlanguage and nesting</li>\n<li>Fixed indent bugs related to the default show rule of <a href=\"/en-US-v0.13.1/reference/model/terms/\" title=\"terms\">terms</a></li>\n</ul>\n<h2 id=\"math\">Math</h2>\n<ul>\n<li>Inline equations now automatically linebreak at appropriate places</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/math/equation/#parameters-number-align\"><code>number-align</code></a> argument to equations</li>\n<li>Added support for adjusting the <a href=\"/en-US-v0.13.1/reference/math/accent/#parameters-size\"><code>size</code></a> of accents\nrelative to their base</li>\n<li>Improved positioning of accents</li>\n<li><a href=\"/en-US-v0.13.1/reference/math/primes/\">Primes</a> are now always attached as <a href=\"/en-US-v0.13.1/reference/math/attach/#functions-scripts\">scripts</a> by\ndefault</li>\n<li>Exposed <a href=\"/en-US-v0.13.1/reference/math/primes/\" title=\"`math.primes`\"><code>math.primes</code></a> element which backs the <code><span class=\"typ-math-delim\">$</span>f<span class=\"typ-math-op\">&#39;</span><span class=\"typ-math-delim\">$</span></code> syntax in math</li>\n<li>Math mode is not affected by <a href=\"/en-US-v0.13.1/reference/model/strong/\" title=\"`strong`\"><code>strong</code></a> and <a href=\"/en-US-v0.13.1/reference/model/emph/\" title=\"`emph`\"><code>emph</code></a> anymore</li>\n<li>Fixed <a href=\"/en-US-v0.13.1/reference/math/attach/#functions-attach\"><code>attach</code></a> under <a href=\"/en-US-v0.13.1/reference/math/frac/\">fractions</a></li>\n<li>Fixed that <a href=\"/en-US-v0.13.1/reference/math/class/\" title=\"`math.class`\"><code>math.class</code></a> did not affect smart limit placement</li>\n<li>Fixed weak spacing in <a href=\"/en-US-v0.13.1/reference/math/lr/#functions-lr\"><code>lr</code></a> groups</li>\n<li>Fixed layout of large operators for Cambria Math font</li>\n<li>Fixed math styling of Hebrew symbol codepoints</li>\n</ul>\n<h2 id=\"symbols\">Symbols</h2>\n<ul>\n<li>Added <code>gradient</code> as an alias for <code>nabla</code></li>\n<li>Added <code>partial</code> as an alias for <code>diff</code>, <code>diff</code> will be deprecated in the\nfuture</li>\n<li>Added <code>colon.double</code>, <code>gt.approx</code>, <code>gt.napprox</code>, <code>lt.approx</code>, and <code>lt.napprox</code></li>\n<li>Added <code>arrow.r.tilde</code> and <code>arrow.l.tilde</code></li>\n<li>Added <code>tilde.dot</code></li>\n<li>Added <code>forces</code> and <code>forces.not</code></li>\n<li>Added <code>space.nobreak.narrow</code></li>\n<li>Added <code>lrm</code> (Left-to-Right Mark) and <code>rlm</code> (Right-to-Left Mark)</li>\n<li>Fixed <code>star.stroked</code> symbol (which previously had the wrong codepoint)</li>\n</ul>\n<h2 id=\"scripting\">Scripting</h2>\n<ul>\n<li>Arrays can now be compared lexicographically</li>\n<li>Added contextual method <a href=\"/en-US-v0.13.1/reference/layout/length/#definitions-to-absolute\"><code>to-absolute</code></a> to lengths</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/foundations/calc/#functions-root\"><code>calc.root</code></a></li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/foundations/int/#definitions-signum\" title=\"`int.signum`\"><code>int.signum</code></a> and <a href=\"/en-US-v0.13.1/reference/foundations/float/#definitions-signum\" title=\"`float.signum`\"><code>float.signum</code></a> methods</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/foundations/float/#definitions-is-nan\" title=\"`float.is-nan`\"><code>float.is-nan</code></a> and <a href=\"/en-US-v0.13.1/reference/foundations/float/#definitions-is-infinite\" title=\"`float.is-infinite`\"><code>float.is-infinite</code></a> methods</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/foundations/int/#definitions-bit-not\" title=\"`int.bit-not`\"><code>int.bit-not</code></a>, <a href=\"/en-US-v0.13.1/reference/foundations/int/#definitions-bit-and\" title=\"`int.bit-and`\"><code>int.bit-and</code></a>, <a href=\"/en-US-v0.13.1/reference/foundations/int/#definitions-bit-or\" title=\"`int.bit-or`\"><code>int.bit-or</code></a>, <a href=\"/en-US-v0.13.1/reference/foundations/int/#definitions-bit-xor\" title=\"`int.bit-xor`\"><code>int.bit-xor</code></a>,\n<a href=\"/en-US-v0.13.1/reference/foundations/int/#definitions-bit-lshift\" title=\"`int.bit-lshift`\"><code>int.bit-lshift</code></a>, and <a href=\"/en-US-v0.13.1/reference/foundations/int/#definitions-bit-rshift\" title=\"`int.bit-rshift`\"><code>int.bit-rshift</code></a> methods</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/foundations/array/#definitions-chunks\" title=\"`array.chunks`\"><code>array.chunks</code></a> method</li>\n<li>A module can now be converted to a dictionary with the\n<a href=\"/en-US-v0.13.1/reference/foundations/dictionary/#constructor\">dictionary constructor</a> to access its contents\ndynamically</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/data-loading/csv/#parameters-row-type\"><code>row-type</code></a> argument to <code>csv</code> function to configure\nhow rows will be represented</li>\n<li><a href=\"/en-US-v0.13.1/reference/data-loading/xml/\">XML parsing</a> now allows DTDs (document type definitions)</li>\n<li>Improved formatting of negative numbers with <a href=\"/en-US-v0.13.1/reference/foundations/str/\"><code>str</code></a> and <a href=\"/en-US-v0.13.1/reference/foundations/repr/\"><code>repr</code></a></li>\n<li>For loops can now iterate over <a href=\"/en-US-v0.13.1/reference/foundations/bytes/\" title=\"bytes\">bytes</a></li>\n<li>Fixed a bug with pattern matching in for loops</li>\n<li>Fixed a bug with labels not being part of <a href=\"/en-US-v0.13.1/reference/foundations/content/#definitions-fields\"><code>.<span class=\"typ-func\">fields</span><span class=\"typ-punct\">(</span><span class=\"typ-punct\">)</span></code></a>\ndictionaries</li>\n<li>Fixed a bug where unnamed argument sinks wouldn't capture excess arguments</li>\n<li>Fixed typo in <code>repr</code> output of strokes</li>\n</ul>\n<h2 id=\"syntax\">Syntax</h2>\n<ul>\n<li>Added support for nested <a href=\"/en-US-v0.13.1/reference/scripting/#bindings\">destructuring patterns</a></li>\n<li>Special spaces (like thin or non-breaking spaces) are now parsed literally\ninstead of being collapsed into normal spaces <strong>(Breaking change)</strong></li>\n<li>Korean text can now use emphasis syntax without adding spaces\n<strong>(Breaking change)</strong></li>\n<li>The token <a href=\"/en-US-v0.13.1/reference/context/\" title=\"`context`\"><code>context</code></a> is now a keyword and cannot be used as an identifier\nanymore <strong>(Breaking change)</strong></li>\n<li>Nested line comments aren't allowed anymore in block comments\n<strong>(Breaking change)</strong></li>\n<li>Fixed a bug where <code>x.)</code> would be treated as a field access</li>\n<li>Text elements can now span across curly braces in markup</li>\n<li>Fixed silently wrong parsing when function name is parenthesized</li>\n<li>Fixed various bugs with parsing of destructuring patterns, arrays, and\ndictionaries</li>\n</ul>\n<h2 id=\"tooling-diagnostics\">Tooling &amp; Diagnostics</h2>\n<ul>\n<li>Click-to-jump now works properly within <a href=\"/en-US-v0.13.1/reference/text/raw/\" title=\"`raw`\"><code>raw</code></a> text</li>\n<li>Added suggestion for accessing a field if a method doesn't exist</li>\n<li>Improved hint for calling a function stored in a dictionary</li>\n<li>Improved errors for mutable accessor functions on arrays and dictionaries</li>\n<li>Fixed error message when calling constructor of type that doesn't have one</li>\n<li>Fixed confusing error message with nested dictionaries for strokes on\ndifferent sides</li>\n<li>Fixed autocompletion for multiple packages with the same name from different\nnamespaces</li>\n</ul>\n<h2 id=\"visualization\">Visualization</h2>\n<ul>\n<li>The <a href=\"/en-US-v0.13.1/reference/visualize/image/\" title=\"`image`\"><code>image</code></a> function doesn't upscale images beyond their natural size\nanymore</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/visualize/image/\" title=\"`image`\"><code>image</code></a> function now respects rotation stored in EXIF metadata</li>\n<li>Added support for SVG filters</li>\n<li>Added alpha component to <a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-luma\"><code>luma</code></a> colors</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-transparentize\" title=\"`color.transparentize`\"><code>color.transparentize</code></a> and <a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-opacify\" title=\"`color.opacify`\"><code>color.opacify</code></a> methods</li>\n<li>Improved <a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-negate\" title=\"`color.negate`\"><code>color.negate</code></a> function</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/text/highlight/#parameters-stroke\"><code>stroke</code></a> and <a href=\"/en-US-v0.13.1/reference/text/highlight/#parameters-radius\"><code>radius</code></a>\narguments to <code>highlight</code> function</li>\n<li>Changed default <a href=\"/en-US-v0.13.1/reference/text/highlight/\" title=\"`highlight`\"><code>highlight</code></a> color to be transparent</li>\n<li>CMYK to RGB conversion is now color-managed</li>\n<li>Fixed crash with gradients in Oklch color space</li>\n<li>Fixed color-mixing for hue-based spaces</li>\n<li>Fixed bugs with color conversion</li>\n<li>SVG sizes are not rounded anymore, preventing slightly wrong aspect ratios</li>\n<li>Fixed a few other SVG-related bugs</li>\n<li><a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-components\" title=\"`color.components`\"><code>color.components</code></a> doesn't round anything anymore</li>\n</ul>\n<h2 id=\"export\">Export</h2>\n<ul>\n<li>PDFs now contain named destinations for headings derived from their labels</li>\n<li>The internal PDF structure was changed to make it easier for external tools to\nextract or modify individual pages, avoiding a bug with Typst PDFs in Apple\nPreview</li>\n<li>PDFs produced by Typst should now be byte-by-byte reproducible when\n<code><span class=\"typ-key\">set</span> <span class=\"typ-func\">document</span><span class=\"typ-punct\">(</span>date<span class=\"typ-punct\">:</span> <span class=\"typ-key\">none</span><span class=\"typ-punct\">)</span></code> is set</li>\n<li>Added missing flag to PDF annotation</li>\n<li>Fixed multiple bugs with gradients in PDF export</li>\n<li>Fixed a bug with patterns in PDF export</li>\n<li>Fixed a bug with embedding of grayscale images in PDF export</li>\n<li>Fixed a bug with To-Unicode mapping of CFF fonts in PDF export</li>\n<li>Fixed a bug with the generation of the PDF outline</li>\n<li>Fixed a sorting bug in PDF export leading to non-reproducible output</li>\n<li>Fixed a bug with transparent text in PNG export</li>\n<li>Exported SVG files now include units in their top-level <code>width</code> and <code>height</code></li>\n</ul>\n<h2 id=\"command-line-interface\">Command line interface</h2>\n<ul>\n<li>Added support for passing <a href=\"/en-US-v0.13.1/reference/foundations/sys/\">inputs</a> via a CLI flag</li>\n<li>When passing the filename <code>-</code>, Typst will now read input from stdin</li>\n<li>Now uses the system-native TLS implementation for network fetching which\nshould be generally more robust</li>\n<li>Watch mode will now properly detect when a previously missing file is created</li>\n<li>Added <code>--color</code> flag to configure whether to print colored output</li>\n<li>Fixed user agent with which packages are downloaded</li>\n<li>Updated bundled fonts to the newest versions</li>\n</ul>\n<h2 id=\"development\">Development</h2>\n<ul>\n<li>Added <code>--vendor-openssl</code> to CLI to configure whether to link OpenSSL\nstatically instead of dynamically (not applicable to Windows and Apple\nplatforms)</li>\n<li>Removed old tracing (and its verbosity) flag from the CLI</li>\n<li>Added new <code>--timings</code> flag which supersedes the old flamegraph profiling in\nthe CLI</li>\n<li>Added minimal CLI to <code>typst-docs</code> crate for extracting the language and\nstandard library documentation as JSON</li>\n<li>The <code>typst_pdf::export</code> function's <code>ident</code> argument switched from <code>Option</code> to\n<code>Smart</code>. It should only be set to <code>Smart::Custom</code> if you can provide a stable\nidentifier (like the web app can). The CLI sets <code>Smart::Auto</code>.</li>\n</ul>\n<h2 id=\"contributors\">Contributors</h2>"}}