Skip to content

Commit e19b3b9

Browse files
authored
Merge pull request #93 from PgBiel/release-0.0.7
Release 0.0.7
2 parents c1a6132 + 44cd810 commit e19b3b9

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

README.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# typst-tablex (v0.0.6)
1+
# typst-tablex (v0.0.7)
22
**More powerful and customizable tables in Typst.**
33

44
**NOTE:** This library still has a few bugs, but most of them shouldn't be noticeable. **Please open an issue if you find a bug** and I'll get to it as soon as I can. **(Do not be afraid to open issues!! Also, PRs are welcome!)**
@@ -21,7 +21,7 @@ If you'd like to appear here, [consider sponsoring the project!](https://github.
2121
* [Basic types and functions](#basic-types-and-functions)
2222
* [Gridx and Tablex](#gridx-and-tablex)
2323
* [Changelog](#changelog)
24-
* [Unreleased](#unreleased)
24+
* [v0.0.7](#v007)
2525
* [v0.0.6](#v006)
2626
* [v0.0.5](#v005)
2727
* [v0.0.4](#v004)
@@ -33,7 +33,7 @@ If you'd like to appear here, [consider sponsoring the project!](https://github.
3333

3434
## Usage
3535

36-
To use this library through the Typst package manager **(for Typst v0.6.0+)**, write for example `#import "@preview/tablex:0.0.6": tablex, cellx` at the top of your Typst file (you may also add whichever other functions you use from the library to that import list!).
36+
To use this library through the Typst package manager **(for Typst v0.6.0+)**, write for example `#import "@preview/tablex:0.0.7": tablex, cellx` at the top of your Typst file (you may also add whichever other functions you use from the library to that import list!).
3737

3838
For older Typst versions, download the file `tablex.typ` from the latest release (or directly from the main branch, for the 'bleeding edge') at the tablex repository (https://github.com/PgBiel/typst-tablex) and place it on the same folder as your own Typst file. Then, at the top of your file, write for example `#import "tablex.typ": tablex, cellx` (plus whichever other functions you use from the library).
3939

@@ -46,7 +46,7 @@ Here's an example of what `tablex` can do:
4646

4747
Here's the code for that table:
4848
```typ
49-
#import "@preview/tablex:0.0.6": tablex, rowspanx, colspanx
49+
#import "@preview/tablex:0.0.7": tablex, rowspanx, colspanx
5050
5151
#tablex(
5252
columns: 4,
@@ -98,7 +98,7 @@ Here's the code for that table:
9898
In most cases, you should be able to replace `#table` with `#tablex` and be good to go for a start - it should look _very_ similar (if not identical). Indeed, the syntax is very similar for the basics:
9999

100100
```typ
101-
#import "@preview/tablex:0.0.6": tablex
101+
#import "@preview/tablex:0.0.7": tablex
102102
103103
#tablex(
104104
columns: (auto, 1em, 1fr, 1fr), // 4 columns
@@ -125,7 +125,7 @@ This is mostly a word of caution in case anything I haven't anticipated happens,
125125
Your cells can now span more than one column and/or row at once, with `colspanx` / `rowspanx`:
126126

127127
```typ
128-
#import "@preview/tablex:0.0.6": tablex, colspanx, rowspanx
128+
#import "@preview/tablex:0.0.7": tablex, colspanx, rowspanx
129129
130130
#tablex(
131131
columns: 3,
@@ -154,7 +154,7 @@ Also, note that, by default, the horizontal lines below the header are transport
154154
Example:
155155

156156
```typ
157-
#import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx
157+
#import "@preview/tablex:0.0.7": tablex, hlinex, vlinex, colspanx, rowspanx
158158
159159
#pagebreak()
160160
#v(80%)
@@ -201,7 +201,7 @@ Something similar occurs for `vlinex()`, which has `start`, `end` (first row and
201201
Here's some sample usage:
202202

203203
```typ
204-
#import "@preview/tablex:0.0.6": tablex, gridx, hlinex, vlinex, colspanx, rowspanx
204+
#import "@preview/tablex:0.0.7": tablex, gridx, hlinex, vlinex, colspanx, rowspanx
205205
206206
#tablex(
207207
columns: 4,
@@ -245,7 +245,7 @@ Here's some sample usage:
245245
You can also *bulk-customize lines* by specifying `map-hlines: h => new_hline` and `map-vlines: v => new_vline`. This includes any automatically generated lines. For example:
246246

247247
```typ
248-
#import "@preview/tablex:0.0.6": tablex, colspanx, rowspanx
248+
#import "@preview/tablex:0.0.7": tablex, colspanx, rowspanx
249249
250250
#tablex(
251251
columns: 3,
@@ -277,7 +277,7 @@ Additionally, instead of specifying content to the cell, you can specify a funct
277277
For example:
278278

279279
```typ
280-
#import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx
280+
#import "@preview/tablex:0.0.7": tablex, cellx, colspanx, rowspanx
281281
282282
#tablex(
283283
columns: 3,
@@ -309,7 +309,7 @@ To customize multiple cells at once, you have a few options:
309309
Example:
310310

311311
```typ
312-
#import "@preview/tablex:0.0.6": tablex, colspanx, rowspanx
312+
#import "@preview/tablex:0.0.7": tablex, colspanx, rowspanx
313313
314314
#tablex(
315315
columns: 4,
@@ -632,16 +632,19 @@ Another example (summing columns):
632632
633633
## Changelog
634634
635-
### Unreleased
635+
### v0.0.7
636636
637-
[You can now sponsor my work on tablex and Typst tables! Consider taking a look :)](https://github.com/sponsors/PgBiel)
637+
I have begun [work on bringing many tablex improvements to built-in Typst tables](https://github.com/PgBiel/typst-improv-tables-planning)! In that regard, [you can now sponsor my work on tablex and improving Typst tables via GitHub Sponsors! Consider taking a look :)](https://github.com/sponsors/PgBiel)
638638
639639
- Allow gradients and patterns in fills (https://github.com/PgBiel/typst-tablex/pull/87)
640+
- Fixed a critical bug where `line` in tablex cells would misbehave (https://github.com/PgBiel/typst-tablex/issues/80)
641+
- CeTZ and drawing in general should now work properly within tablex cells (see https://github.com/johannes-wolf/cetz/issues/345).
642+
- Also fixes a problem with nested tables (https://github.com/PgBiel/typst-tablex/issues/34)
640643
- Fixed negative line expansion within a single cell (https://github.com/PgBiel/typst-tablex/pull/84)
641644
- Negative line expansion across multiple cells isn't yet supported.
642645
- Thanks GitHub user @dixslyf for the great work on fixing and testing this!
643-
- Fixed length measuring code when `repr` of an em length isn't exact (https://github.com/PgBiel/typst-tablex/issues/92)
644-
- Solves a potential incompatibility with (unreleased) Typst 0.11.0
646+
- Made internal length calculation procedures more robust (https://github.com/PgBiel/typst-tablex/issues/92, https://github.com/PgBiel/typst-tablex/issues/94)
647+
- Fixes a potential incompatibility with (currently unreleased) Typst 0.11.0
645648
- Added missing support for boolean types in Typst 0.8.0+ (https://github.com/PgBiel/typst-tablex/issues/73)
646649
- Added some keywords to tablex's `typst.toml` for better discoverability (https://github.com/PgBiel/typst-tablex/issues/91)
647650

typst.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tablex"
3-
version = "0.0.6"
3+
version = "0.0.7"
44
authors = ["PgBiel <https://github.com/PgBiel>"]
55
license = "MIT"
66
description = "More powerful and customizable tables in Typst."

0 commit comments

Comments
 (0)