Skip to content

Footnote is empty when there is same reference two times. #6612

Closed

Description

@alaminkouser

Description

This is the text:

= This is Chapter 02

This text is taken from Book @tanaka2023 And this is taken from Law @unclos1982
This is also taken from Book @tanaka2023. And this is also taken from Law @unclos1982.
Is this okay? @unclos1982. Or not? The number 5 citation is not okay.

Image

Reproduction URL

No response

Operating system

Linux

Typst version

  • I am using the latest version of Typst

Activity

  1. added
    bug
    on Jul 16, 2025
  2. YDX-2147483647 commented on Jul 16, 2025

    @YDX-2147483647
    Contributor

    This is the second issue (vaguely) described in typst/hayagriva#189.
    And here's a full reproducible example copied from https://typst-doc-cn.github.io/clreq/#gb-7714-2015-note-is-totally-broken-gb-7714-2015-note.

    孔乙己@key \
    上大人@key
    
    #let bib = ```bib
    @misc{key,
      author = {Author},
      title = {Title},
      date = {2025-06-17},
    }
    ```.text
    #bibliography(bytes(bib), style: "gb-7714-2015-note")
    Image

    Unfortunately, footnote citation styles are totally broken in typst 0.13.1.

  3. alaminkouser commented on Jul 17, 2025

    @alaminkouser
    Author

    I really like the approach how typst is doing. It has really good mechanism for separating contents and presentation. I hope they keep yaml for references. And they fix the footnote issue.

    I do not want to go back to latex, but footnote is important for me and I will have to get back to latex only because of it.

  4. added
    bibliography
    on Sep 19, 2025
  5. YDX-2147483647 commented on Oct 12, 2025

    @YDX-2147483647
    Contributor

    https://github.com/typst/typst/releases/tag/v0.14.0-rc.1 has just released.
    This might be fixed? The above code now generates a better result:
    Image
    (I don't know why there're additional spaces before the footnote markers. Created #7113.)

    But why? I failed to find anything relevent in the changelog.

    Fixed how subsequent citations with differing supplements translate into CSL ibid and ibid-with-locator positions #6171
    Fixed handling of ibid and ibid-with-locator positions in styles hayagriva#301

    So this might be a duplicate of typst/hayagriva#280.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bibliographybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions