HTML + CSS + Javascript tools offer a great way to create beautiful presentations (like opens.js + MathJax ). However, I usually need to add quotes to my presentations, and I would like to do it systematically (so the bibliography is organized and the links are well formatted). This is something that is easily handled in LaTeX through BibTeX.
The best solution I've found so far comes from a library called bibtex-js . It seems to be doing just fine with the fact that BiBTeX files in HTML are a list of bibliographies, which is partly what I want. However, I need not only to display the lists of bibliographies, but also I need to refer to the entries in this bibliography by some index and get a uniformly formatted reference marker. Take, for example, how LaTeX typically deals with this problem:
%In thebibliography.bib @article{darwin1859origins, title={On the origins of species by means of natural selection}, author={Darwin, Charles}, journal={London: Murray}, year={1859} } %In mydocument.tex As \cite{darwin1859origins} sustains in his ground-breaking book...
The previous code will appear as something like "As Darwin (1859) supports in his groundbreaking book." Moreover, the formatting in which citation is performed can also be customizable (for example, βDarwin, 1859β, β(Darving, 1859)β, β[DWN59]β, β[1]β, etc.).
So the question is, how do you deal with a similar task in an HTML document?
Thank you all in advance!
source share