-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
CSL support #2082
base: master
Are you sure you want to change the base?
CSL support #2082
Conversation
0f5d659
to
330cd9d
Compare
2024/07/14 "Stage 0" milestone: Successfully processed 1355 references
|
d08cbaf
to
f6b9b65
Compare
2024/07/20 "Stage 1" milestone: Successfully processed 1508 references,
|
Soon leaving for vacations, so here are just some advancement notes to myself, in order to remember:
That's a minimal set. There would still be a few missing features from the CSL spec, but at least all Chicago-styles would be covered fairly decently, and a first milestone would be passed. |
Note that these files are licensed under CC-BY-SA 3.0 and are only included as a default minimal set for testing.
f6b9b65
to
dca5de9
Compare
Work in-progress (currently based on the branch for #2071 -- leveraging some of the code introduced there)
Closes #2074
Saving my code as a "checkpoint" since it already does nice things (see screenshots in the referred issue).
In order to support CSL (Citation Style Language), we need to:
Regarding the conversion of BibTeX entries, the mappings are not straightforward, but there is some prior art that we can check... None of the implementations I checked did the exact same things, so it's likely a bit messy...
Regarding the CSL engine, there are various existing implementations.
Yet, I had a look at them, and I am not really convinced by their code quality, so I went implementing the CSL 1.0.2 specifications from scratch. Because it's fun, and SILE has the guts to do it. And because I think I can.
Additionally, this would also close several other items.
Closes #2024 = The CSL locales takes care of it.
Closes #2022 = The CSL styles have appropriate fallbacks (substitutes, conditionals, etc.)
Closes #2027 = The CSL styles and locales define how to format localized dates in the selected citation or bibliography style.