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

Allow the use of CSL's number-of-pages number variable #169

Open
Andrew15-5 opened this issue May 17, 2024 · 0 comments
Open

Allow the use of CSL's number-of-pages number variable #169

Andrew15-5 opened this issue May 17, 2024 · 0 comments

Comments

@Andrew15-5
Copy link

In BibTeX it looks like there is only the pages field and in CSL there are page and number-of-pages.

When I was testing Hayagriva is Typst with a custom CSL style I noticed that apparently Hayagriva's page-total is mapped to CSL's number-of-pages, but number-of-pages directly in the YAML file is not accessible. I don't see a reason to create a 3rd name for the same thing just to confuse CSL style developers. Why page-total is not named number-of-pages? I used volume until this moment, because I thought that number-of-pages just isn't supported yet. But it is, you just have to use non-CSL-standard page-total.

I want to either be allowed to use both fields (one is described here, and the other is inherited implicitly from CSL standard) that will map to the same CSL field/variable (i.e., aliases), or rename page-total to number-of-pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant