You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Render citations and bibliography #284
Feature request: Render citations and bibliography in LiaScript
When using LiaScript in an academic setting, e.g. for lectures or supplementary materials, it would be good to be able to include citations that are rendered into a bibliography and to reference those.
In pandoc, there is the option to render citations using --citeproc (see pandoc citations). References in the form of [@reference] (or for in-text references simply @reference, for more see pandoc citation syntax) are rendered in a number of styles. A bibliography is created either at the end of the document or inside the <div id="refs"></div> tag inside the document. Sadly, using pandoc for this task is not easy since pandoc does not support the custom LiaScript syntax and escapes many of its elements, so basically it breaks LiaScript-specific Markdown elements. This is why I think it might be nice to include citation rendering natively in LiaScript if possible.
Hi @smatts ... we have been at HackOERthon that is why my answer is a bit delayed. However, it is possible to use citations in LiaScript there exists an extension:
Hi,
thank you for the explanation on how to use a BibTeX file as a bibliography / table of references in LiaScript and how to cite entries from it within the text.
I have a follow-up question: Is it possible to generate the bibliography in such a way that only the BibTeX entries that are actually cited in the document are displayed?
At the moment, it seems that all entries from the BibTeX file are shown in the bibliography, even if they are not referenced anywhere in the text. I would like the bibliography to include only the sources that are actually used/cited in the LiaScript document.
Is there already a way to achieve this, or would this require a custom solution?
Thank you!
Activity
andre-dietrich commentedon May 15, 2026
Hi @smatts ... we have been at HackOERthon that is why my answer is a bit delayed. However, it is possible to use citations in LiaScript there exists an extension:
https://github.com/liatemplates/citations
Here is a little example how you can use it:
LiveEditor
I hope this works for you ...
smatts commentedon May 19, 2026
Awesome, thank you, I did not see that!
Just-Jannis commentedon Jul 5, 2026
Hi,
thank you for the explanation on how to use a BibTeX file as a bibliography / table of references in LiaScript and how to cite entries from it within the text.
I have a follow-up question: Is it possible to generate the bibliography in such a way that only the BibTeX entries that are actually cited in the document are displayed?
At the moment, it seems that all entries from the BibTeX file are shown in the bibliography, even if they are not referenced anywhere in the text. I would like the bibliography to include only the sources that are actually used/cited in the LiaScript document.
Is there already a way to achieve this, or would this require a custom solution?
Thank you!