@@ -8,15 +8,15 @@ description: Changes in Typst 0.11.0
88## Tables
99- Tables are now _ much_ more flexible, read the new
1010 [ table guide] ( $guides/table-guide ) to get started
11- - Added [ ` table.cell ` ] element for per-cell configuration
11+ - Added [ ` table.cell ` ] ( $table.cell ) element for per-cell configuration
1212- Cells can now span multiple [ columns] ( $table.cell.colspan ) or
1313 [ rows] ( $table.cell.rowspan )
1414- The [ stroke] ( $table.cell.stroke ) of individual cells can now be customized
1515- The [ ` align ` ] ( $table.align ) and [ ` inset ` ] ( $table.inset ) arguments of the table
1616 function now also take ` {(x, y) => ..} ` functions
17- - Added [ ` table.hline ` ] and [ ` table.vline ` ] for convenient line customization
18- - Added [ ` table.header ` ] element for table headers that repeat on every page
19- - Added [ ` table.footer ` ] element for table footers that repeat on every page
17+ - Added [ ` table.hline ` ] ( $table.hline ) and [ ` table.vline ` ] ( $table.vline ) for convenient line customization
18+ - Added [ ` table.header ` ] ( $table.header ) element for table headers that repeat on every page
19+ - Added [ ` table.footer ` ] ( $table.footer ) element for table footers that repeat on every page
2020- All the new table functionality is also available for [ grids] ( $grid )
2121- Fixed gutter-related bugs
2222
@@ -40,32 +40,32 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
4040 [ disciplines] ( https://github.com/typst/packages/blob/main/DISCIPLINES.md ) .
4141
4242## Context
43- - Added _ context expressions:_ Read the chapter on [ context] to get started
43+ - Added _ context expressions:_ Read the chapter on [ context] ( $context ) to get started
4444- With context, you can access settable properties, e.g. ` {context text.lang} `
4545 to access the language set via ` {set text(lang: "..")} `
46- - The following existing functions have been made contextual: [ ` query ` ] ,
47- [ ` locate ` ] , [ ` measure ` ] , [ ` counter.display ` ] , [ ` counter.at ` ] ,
48- [ ` counter.final ` ] , [ ` state.at ` ] , and [ ` state.final ` ]
49- - Added contextual methods [ ` counter.get ` ] and [ ` state.get ` ] to retrieve the
46+ - The following existing functions have been made contextual: [ ` query ` ] ( $query ) ,
47+ [ ` locate ` ] ( $locate ) , [ ` measure ` ] ( $measure ) , [ ` counter.display ` ] ( $counter.display ) , [ ` counter.at ` ] ( $counter.at ) ,
48+ [ ` counter.final ` ] ( $counter.final ) , [ ` state.at ` ] ( $state.at ) , and [ ` state.final ` ] ( $state.final )
49+ - Added contextual methods [ ` counter.get ` ] ( $counter.get ) and [ ` state.get ` ] ( $state.get ) to retrieve the
5050 value of a counter or state in the current context
51- - Added contextual function [ ` here ` ] to retrieve the [ location] of the current
51+ - Added contextual function [ ` here ` ] ( $here ) to retrieve the [ location] ( $location ) of the current
5252 context
53- - The [ ` locate ` ] function now returns the location of a selector's unique match.
53+ - The [ ` locate ` ] ( $locate ) function now returns the location of a selector's unique match.
5454 Its old behavior has been replaced by context expressions and only remains
5555 temporarily available for compatibility.
56- - The [ ` counter.at ` ] and [ ` state.at ` ] methods are now more flexible: They
56+ - The [ ` counter.at ` ] ( $counter.at ) and [ ` state.at ` ] ( $state.at ) methods are now more flexible: They
5757 directly accept any kind of [ locatable] ( $location/#locatable ) selector with a
5858 unique match (e.g. a label) instead of just locations
59- - When context is available, [ ` counter.display ` ] now directly returns the result
59+ - When context is available, [ ` counter.display ` ] ( $counter.display ) now directly returns the result
6060 of applying the numbering instead of yielding opaque content. It should not be
6161 used anymore without context. (Deprecation planned)
62- - The [ ` state.display ` ] function should not be used anymore, use [ ` state.get ` ]
62+ - The [ ` state.display ` ] ( $state.display ) function should not be used anymore, use [ ` state.get ` ] ( $state.get )
6363 instead (Deprecation planned)
64- - The ` location ` argument of [ ` query ` ] , [ ` counter.final ` ] , and [ ` state.final ` ]
64+ - The ` location ` argument of [ ` query ` ] ( $query ) , [ ` counter.final ` ] ( $counter.final ) , and [ ` state.final ` ] ( $state.final )
6565 should not be used anymore (Deprecation planned)
6666- The [ ` styles ` ] ( $measure.styles ) argument of the ` measure ` function should not
6767 be used anymore (Deprecation planned)
68- - The [ ` style ` ] function should not be used anymore, use context instead
68+ - The [ ` style ` ] ( $style ) function should not be used anymore, use context instead
6969 (Deprecation planned)
7070- The correct context is now also provided in various other places where it is
7171 available, e.g. in show rules, layout callbacks, and numbering functions in
@@ -89,7 +89,7 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
8989 show rules
9090- Errors within show rules and context expressions are now ignored in all but
9191 the last introspection iteration, in line with the behavior of the old
92- [ ` locate ` ]
92+ [ ` locate ` ] ( $locate )
9393- Fixed a bug where document set rules were allowed after content
9494
9595## Layout
@@ -98,9 +98,9 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
9898- Fixed a bug where [ floating placement] ( $place.float ) or
9999 [ floating figures] ( $figure.placement ) could end up out of order
100100- Fixed overlap of text and figure for full-page floating figures
101- - Fixed various cases where the [ ` hide ` ] function didn't hide its contents
101+ - Fixed various cases where the [ ` hide ` ] ( $hide ) function didn't hide its contents
102102 properly
103- - Fixed usage of [ ` h ` ] and [ ` v ` ] in [ stacks] ( $stack )
103+ - Fixed usage of [ ` h ` ] ( $h ) and [ ` v ` ] ( $v ) in [ stacks] ( $stack )
104104- Invisible content like a counter update will no longer force a visible block
105105 for just itself
106106- Fixed a bug with horizontal spacing followed by invisible content (like a
@@ -109,7 +109,7 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
109109## Text
110110- Added [ ` stroke ` ] ( $text.stroke ) property for text
111111- Added basic i18n for Serbian and Catalan
112- - Added support for contemporary Japanese [ numbering] method
112+ - Added support for contemporary Japanese [ numbering] ( $numbering ) method
113113- Added patches for various wrong metadata in specific fonts
114114- The [ text direction] ( $text.dir ) can now be overridden within a paragraph
115115- Fixed Danish [ smart quotes] ( $smartquote )
@@ -125,9 +125,9 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
125125 heading to increase or decrease the heading level for a bunch of content; the
126126 heading syntax now sets ` depth ` rather than ` level ` ** (Breaking change)**
127127- List [ markers] ( $list.marker ) now cycle by default
128- - The [ ` quote ` ] function now more robustly selects the correct quotes based on
128+ - The [ ` quote ` ] ( $quote ) function now more robustly selects the correct quotes based on
129129 language and nesting
130- - Fixed indent bugs related to the default show rule of [ terms]
130+ - Fixed indent bugs related to the default show rule of [ terms] ( $terms )
131131
132132## Math
133133- Inline equations now automatically linebreak at appropriate places
@@ -137,10 +137,10 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
137137- Improved positioning of accents
138138- [ Primes] ( $math.primes ) are now always attached as [ scripts] ( $math.scripts ) by
139139 default
140- - Exposed [ ` math.primes ` ] element which backs the ` [$f'$] ` syntax in math
141- - Math mode is not affected by [ ` strong ` ] and [ ` emph ` ] anymore
140+ - Exposed [ ` math.primes ` ] ( $math.primes ) element which backs the ` [$f'$] ` syntax in math
141+ - Math mode is not affected by [ ` strong ` ] ( $strong ) and [ ` emph ` ] ( $emph ) anymore
142142- Fixed [ ` attach ` ] ( $math.attach ) under [ fractions] ( $math.frac )
143- - Fixed that [ ` math.class ` ] did not affect smart limit placement
143+ - Fixed that [ ` math.class ` ] ( $math.class ) did not affect smart limit placement
144144- Fixed weak spacing in [ ` lr ` ] ( $math.lr ) groups
145145- Fixed layout of large operators for Cambria Math font
146146- Fixed math styling of Hebrew symbol codepoints
@@ -161,19 +161,19 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
161161- Arrays can now be compared lexicographically
162162- Added contextual method [ ` to-absolute ` ] ( $length.to-absolute ) to lengths
163163- Added [ ` calc.root ` ] ( $calc.root )
164- - Added [ ` int.signum ` ] and [ ` float.signum ` ] methods
165- - Added [ ` float.is-nan ` ] and [ ` float.is-infinite ` ] methods
166- - Added [ ` int.bit-not ` ] , [ ` int.bit-and ` ] , [ ` int.bit-or ` ] , [ ` int.bit-xor ` ] ,
167- [ ` int.bit-lshift ` ] , and [ ` int.bit-rshift ` ] methods
168- - Added [ ` array.chunks ` ] method
164+ - Added [ ` int.signum ` ] ( $int.signum ) and [ ` float.signum ` ] ( $float.signum ) methods
165+ - Added [ ` float.is-nan ` ] ( $float.is-nan ) and [ ` float.is-infinite ` ] ( $float.is-infinite ) methods
166+ - Added [ ` int.bit-not ` ] ( $int.bit-not ) , [ ` int.bit-and ` ] ( $int.bit-and ) , [ ` int.bit-or ` ] ( $int.bit-or ) , [ ` int.bit-xor ` ] ( $int.bit-xor ) ,
167+ [ ` int.bit-lshift ` ] ( $int.bit-lshift ) , and [ ` int.bit-rshift ` ] ( $int.bit-rshift ) methods
168+ - Added [ ` array.chunks ` ] ( $array.chunks ) method
169169- A module can now be converted to a dictionary with the
170170 [ dictionary constructor] ( $dictionary/#constructor ) to access its contents
171171 dynamically
172172- Added [ ` row-type ` ] ( $csv.row-type ) argument to ` csv ` function to configure
173173 how rows will be represented
174174- [ XML parsing] ( $xml ) now allows DTDs (document type definitions)
175175- Improved formatting of negative numbers with [ ` str ` ] ( $str ) and [ ` repr ` ] ( $repr )
176- - For loops can now iterate over [ bytes]
176+ - For loops can now iterate over [ bytes] ( $bytes )
177177- Fixed a bug with pattern matching in for loops
178178- Fixed a bug with labels not being part of [ ` {.fields()} ` ] ( $content.fields )
179179 dictionaries
@@ -186,7 +186,7 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
186186 instead of being collapsed into normal spaces ** (Breaking change)**
187187- Korean text can now use emphasis syntax without adding spaces
188188 ** (Breaking change)**
189- - The token [ ` context ` ] is now a keyword and cannot be used as an identifier
189+ - The token [ ` context ` ] ( $context ) is now a keyword and cannot be used as an identifier
190190 anymore ** (Breaking change)**
191191- Nested line comments aren't allowed anymore in block comments
192192 ** (Breaking change)**
@@ -197,7 +197,7 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
197197 dictionaries
198198
199199## Tooling & Diagnostics
200- - Click-to-jump now works properly within [ ` raw ` ] text
200+ - Click-to-jump now works properly within [ ` raw ` ] ( $raw ) text
201201- Added suggestion for accessing a field if a method doesn't exist
202202- Improved hint for calling a function stored in a dictionary
203203- Improved errors for mutable accessor functions on arrays and dictionaries
@@ -208,23 +208,23 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
208208 namespaces
209209
210210## Visualization
211- - The [ ` image ` ] function doesn't upscale images beyond their natural size
211+ - The [ ` image ` ] ( $image ) function doesn't upscale images beyond their natural size
212212 anymore
213- - The [ ` image ` ] function now respects rotation stored in EXIF metadata
213+ - The [ ` image ` ] ( $image ) function now respects rotation stored in EXIF metadata
214214- Added support for SVG filters
215215- Added alpha component to [ ` luma ` ] ( $color.luma ) colors
216- - Added [ ` color.transparentize ` ] and [ ` color.opacify ` ] methods
217- - Improved [ ` color.negate ` ] function
216+ - Added [ ` color.transparentize ` ] ( $color.transparentize ) and [ ` color.opacify ` ] ( $color.opacify ) methods
217+ - Improved [ ` color.negate ` ] ( $color.negate ) function
218218- Added [ ` stroke ` ] ( $highlight.stroke ) and [ ` radius ` ] ( $highlight.radius )
219219 arguments to ` highlight ` function
220- - Changed default [ ` highlight ` ] color to be transparent
220+ - Changed default [ ` highlight ` ] ( $highlight ) color to be transparent
221221- CMYK to RGB conversion is now color-managed
222222- Fixed crash with gradients in Oklch color space
223223- Fixed color-mixing for hue-based spaces
224224- Fixed bugs with color conversion
225225- SVG sizes are not rounded anymore, preventing slightly wrong aspect ratios
226226- Fixed a few other SVG-related bugs
227- - [ ` color.components ` ] doesn't round anything anymore
227+ - [ ` color.components ` ] ( $color.components ) doesn't round anything anymore
228228
229229## Export
230230- PDFs now contain named destinations for headings derived from their labels
0 commit comments