summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2024-03-17 15:45:23 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2024-03-17 15:46:17 -0700
commit660823e2ecd8893a6fe60a362b49bfe281e79e06 (patch)
tree0d5c1d70bd33fe7740e3ef1561947dabdb06cf81 /test
parent2c5d66cb5cecaec273c3575a1a45b9683f7d924b (diff)
Typst writer: only use explicit figure 'kind' for tables.
The rest of the time the autodetection should work fine.
Diffstat (limited to 'test')
-rw-r--r--test/command/9236.md9
-rw-r--r--test/writer.typst3
2 files changed, 4 insertions, 8 deletions
diff --git a/test/command/9236.md b/test/command/9236.md
index 4fa36744b..f8eca5fb5 100644
--- a/test/command/9236.md
+++ b/test/command/9236.md
@@ -12,22 +12,19 @@ And inline: ![minimal](command/minimal.svg){height=2in} and
#figure(image("command/minimal.svg", width: 3in),
caption: [
minimal
- ],
- kind: image
+ ]
)
#figure(image("command/minimal.svg", height: 2in, width: 3in),
caption: [
minimal
- ],
- kind: image
+ ]
)
#figure(image("command/minimal.svg"),
caption: [
minimal
- ],
- kind: image
+ ]
)
And inline: #box(image("command/minimal.svg", height: 2in)) and
diff --git a/test/writer.typst b/test/writer.typst
index aa474c823..e24de9a8a 100644
--- a/test/writer.typst
+++ b/test/writer.typst
@@ -787,8 +787,7 @@ From "Voyage dans la Lune" by Georges Melies (1902):
#figure(image("lalune.jpg"),
caption: [
lalune
- ],
- kind: image
+ ]
)
Here is a movie #box(image("movie.jpg")) icon.