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

feat: Citations basic support #135

Merged
merged 1 commit into from
Dec 14, 2024
Merged

feat: Citations basic support #135

merged 1 commit into from
Dec 14, 2024

Conversation

Omikhleia
Copy link
Owner

@Omikhleia Omikhleia commented Dec 11, 2024

Closes #10

We'd need sile-typesetter/sile#2196 to go futher, but this is a good start for basic citations anyway.

  • (Djot) Add to the the Djot parser a "naive rule" for [@ ... ] (= regular citations, no "in-text" citation, and no "suppress-author"
  • (Markdown) Override the Lunamark Citations to use the same logic
  • (Pandoc AST) Ignore the parsed citations, and reconstruct a string from the inlines, so that we can support the same logic too.

@Omikhleia Omikhleia marked this pull request as draft December 11, 2024 15:31
@Omikhleia Omikhleia force-pushed the citations branch 2 times, most recently from 143ed18 to 128a8de Compare December 11, 2024 19:07
@Omikhleia Omikhleia added the enhancement New feature or request label Dec 12, 2024
@Omikhleia Omikhleia added this to the 2.3.0 milestone Dec 12, 2024
@Omikhleia Omikhleia force-pushed the citations branch 3 times, most recently from 911e647 to ecdcd60 Compare December 14, 2024 18:09
Based on SILE 0.15.7 new CSL support.
@Omikhleia Omikhleia self-assigned this Dec 14, 2024
@Omikhleia Omikhleia marked this pull request as ready for review December 14, 2024 18:16
@Omikhleia Omikhleia merged commit b8abad1 into main Dec 14, 2024
2 checks passed
@Omikhleia Omikhleia deleted the citations branch December 14, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bibliography citations
1 participant