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

I encounter a bug when compiling references using a locally defined CSL file, but this CSL file works fine in Zotero. #2793

Closed
1 task done
thwzjx opened this issue Nov 29, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@thwzjx
Copy link

thwzjx commented Nov 29, 2023

Description

I encountered a bug when compiling references using a locally defined CSL file, but this CSL file works fine in Zotero.

When I use the customized csl file in typst, it reports the bug like this
image

However, the customized CSL file can be used in Zotero fine.

Reproduction URL

https://typst.app/project/pWTAIZrCQt0e1wjiioNDmn#

Operating system

Web app

Typst version

  • I am using the latest version of Typst
@thwzjx thwzjx added the bug Something isn't working label Nov 29, 2023
@PgBiel
Copy link
Contributor

PgBiel commented Nov 29, 2023

I can't seem to be able to access your sample project at the reproduction URL; can you try generating another link (read-only)?

@thwzjx thwzjx closed this as completed Nov 29, 2023
@zepinglee
Copy link

The multiple layout feature is part of CSL-M which is not implemented by typst/hayagriva at the moment.

@thwzjx
Copy link
Author

thwzjx commented Nov 29, 2023

Thanks for your solution; I've customized the CSL file by myself. It works fine now.

@heprion
Copy link

heprion commented Jan 17, 2024

Thanks for your solution; I've customized the CSL file by myself. It works fine now.

你好,我遇到了同样的问题,我想实现中文文献用“等”,英文文献用“et al”。但是typst目前不支持csl-m,有办法在使用csl的情况下实现。

@laurmaedje
Copy link
Member

@heprion please keep the conversation in English.

@heprion
Copy link

heprion commented Feb 6, 2024

@heprion please keep the conversation in English.

sorry, I encoutered the same problem.

typst/citationberg#5

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

5 participants