If I cite more than one entry like
bla bla @citation1 @citation2
we get [citation1], [citation2].
Is there any way to just get instead [citation1][citation2]? Thanks
If I cite more than one entry like
bla bla @citation1 @citation2
we get [citation1], [citation2].
Is there any way to just get instead [citation1][citation2]? Thanks
The format of consecutive citations is specified in the bibliography style.
The default format in Typst is IEEE.
And according to IEEE Reference Style Guide for Authors (PDF), [1], [2] is the desired result.
If you really want [1][2], then an one-off solution is to put an empty string #"" between your citations. It will make typst think they are not consecutive.
@a#""@b
@a@b
#bibliography(bytes(
```bib
@article{a, title = {A}}
@article{b, title = {B}}
```.text,
))
(Serious customization can be implemented with CSL.)
Specifically using the ieee.csl file and removing delimiter=", " from its <citation><layout> might be enough:
And then specify this CSL file as bibliography.style.