diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2024-01-29 12:25:09 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2024-01-29 12:25:09 -0800 |
| commit | c1f87fdb37c904cb473d9747fd4141d4709c07d6 (patch) | |
| tree | dcfe0064af908c2ddbb95bcd695d3f6a4779d478 /test | |
| parent | 97eb9273398f141872d08e12c492167ad67628b6 (diff) | |
Typst writer: handle labels and citaiton ids with spaces...
and other special characters. In these cases, we produce an
explicit `label()` rather than using `<>` or `@`.
Cloess #9387.
Diffstat (limited to 'test')
| -rw-r--r-- | test/command/9387.md | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/command/9387.md b/test/command/9387.md index fa600c0ad..d63171a63 100644 --- a/test/command/9387.md +++ b/test/command/9387.md @@ -8,7 +8,16 @@ #block[ test -] <my-label> -See #link(<my-label>)[my label];. +] #label("my label") +See #link(label("my label"))[my label];. + +``` + +``` +% pandoc -f latex -t typst +\cite{10.1117/12.695309} +\cite{foo} +^D +#cite(label("10.1117/12.695309")) @foo ``` |
