-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add Bibtex referencing #69
Conversation
…lable to the page in React Co-Authored-By: Moosa Hassan <[email protected]>
Co-Authored-By: Moosa Hassan <[email protected]> Co-Authored-By: SinisterSamtaro94 <[email protected]>
Co-Authored-By: Moosa Hassan <[email protected]> Co-Authored-By: SinisterSamtaro94 <[email protected]>
Co-Authored-By: Moosa Hassan <[email protected]> Co-Authored-By: SinisterSamtaro94 <[email protected]>
Co-Authored-By: Moosa Hassan <[email protected]> Co-Authored-By: SinisterSamtaro94 <[email protected]>
Co-Authored-By: Moosa Hassan <[email protected]> Co-Authored-By: SinisterSamtaro94 <[email protected]>
Co-Authored-By: Moosa Hassan <[email protected]> Co-Authored-By: SinisterSamtaro94 <[email protected]>
<references/> tag reads .bib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good start 👍.
Just needs a few changes and perhaps some custom styling, which I can help with.
…. Extensions has not been done.
…Ubots/NUbook into paye-hassan-dearie/referencing
This should be ready to review and merge now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments on the styling, but these are just opinions.
- From a user point of view, I'm not keen on actually having unknown references shown on the page. Is it possible to just throw an error? I don't see any benefit to showing it, and I was confused for a couple of seconds when I saw the first reference because I initially interpretted it as 'the first reference in the list is an unknown reference' before realising it was two separate references next to each other.
- I don't know if I really like the way the inline citations look. After looking at it in dark mode, I think it's just that the darkness of the background in light mode feels a bit too noticable. Maybe it'd be better to have a light background with dark text like the references list at the bottom?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Styling looks good. Looked through some of the code and didn't see anything concerning but I can't say I know js well enough to comment.
@lach-j can you check out the js? If that's good and no one has any other issues then I think it can be approved.
@JosephusPaye probs also make an issue for those extensions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
By @moosahassanx, @samtarino94, and myself.
This PR adds a Bibtex referencing system to NUbook, much like the one in Overleaf.
Tasks
<cite>
element to show inline citations, with an error when a citation used is not found in the bib file<References>
elementExtensions (for future PRs)
Preview
https://deploy-preview-69--nubook.netlify.app/kitchen-sink/referencing
Docs
https://deploy-preview-69--nubook.netlify.app/system/tools/nubook#bibtex-referencing