-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to layout, positioning, etc.Related to layout, positioning, etc.regressionSomething that did work before stopped working.Something that did work before stopped working.textText layout, shaping, internationalization, etc.Text layout, shaping, internationalization, etc.urgentShould be fixed before the next release.Should be fixed before the next release.
Description
Description
In CSL 1.0.2 spec, there're two classes of style: in-text and note. Most styles belong to in-text, but this issue occurs only for note.
For note styles, https://github.com/typst/typst/releases/tag/v0.14.0-rc.1 introduces additional spaces around foonote markers (the numbers).
v0.14.0-rc.1:
Full code
#set page(height: auto, width: 240pt, margin: 15pt)
孔乙己@key\与上大人@key。
孔乙己@key \
上大人@key
#let bib = ```bib
@misc{key,
author = {Author},
title = {Title},
date = {2025-06-17},
}
```.text
#let csl = ```csl
<?xml version='1.0' encoding='utf-8'?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0">
<info>
<title>Minimal CSL</title>
<id>minimal-csl</id>
</info>
<citation et-al-min="4" et-al-use-first="3">
<layout delimiter="; " suffix=".">
<text value="This doesn’t matter."/>
</layout>
</citation>
<bibliography>
<layout>
<text value="This doesn’t matter either."/>
</layout>
</bibliography>
</style>
```.text
#bibliography(bytes(bib), style: bytes(csl))Reproduction URL
No response
Operating system
Web app
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to layout, positioning, etc.Related to layout, positioning, etc.regressionSomething that did work before stopped working.Something that did work before stopped working.textText layout, shaping, internationalization, etc.Text layout, shaping, internationalization, etc.urgentShould be fixed before the next release.Should be fixed before the next release.
