Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using cite and form: "prose" with Chicago notes style, an extraneous parenthesis is added #138

Open
1 task done
tomwestland opened this issue Feb 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@tomwestland
Copy link

Description

One use case for the form:"prose" feature in cite that I would use often is to create text around the reference in a footnote, particularly before a citation since supplement can only go after the text. I'm using Chicago fullnotes style, but this bug also occurs using the regular Chicago notes. When I use something like this:

#footnote([This is an example of the behaviour: #cite(<madje2022programmable>, form:"prose")])

everything works as it should, except the output puts an unwanted parenthesis before the title of the work:

Screen Shot 2024-02-26 at 12 16 10 am

This also occurs when the full prose citation is in the main text, not a footnote.

Reproduction URL

No response

Operating system

Web app

Typst version

  • I am using the latest version of Typst
@tomwestland tomwestland added the bug Something isn't working label Feb 25, 2024
@Tom4sCruz
Copy link

Could I contribute towards fixing this bug?

@laurmaedje laurmaedje transferred this issue from typst/typst Feb 26, 2024
@laurmaedje
Copy link
Member

@Tom4sCruz Sure! I've transferred the issue to the hayagriva library as that's where the bug most likely is.

@tomwestland
Copy link
Author

Thanks so much—and thanks for everything you've done for Typst!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants