Showing posts with label www. Show all posts
Showing posts with label www. Show all posts

Sunday, 3 June 2018

Publication List using BibTeX and BibTeX-js

Sometimes it is useful to display a list of publications on a personal website.

There are many ways to do that, with the easiest being to write down each one by hand. While it is quite simple, it is also quite annoying and probably would leave the list not updated after few days (not a big issue for my few publications, but this is a different story).

One of the ways to deal with references is using BibTeX and the associated .bib files, which are the standard for \(\LaTeX\) and used also by JabRef as the default database format.

There is a nice Javascript library, BibTeX-js, which is able to parse and display .bib files, with the rendering done on the client side when the page is loaded. The only thing to do is to keep an updated .bib file, which is not too demanding, since it is also used for references in the papers.

I therefore decided to share my template, which I personally feel quite clean and nice and would be maybe useful to someone else. It is responsive and the bib link acts as a button to show the bibtex code of the single entry. The books, journal papers and conference papers are separated automatically and ordered by the year, with the newest being first. The clickable link on the DOI is automatically added using the doi value, while the link on the publication title is retrieved from the url value.

As an example see my publication list (Alex Pacini’s Publications).

Wednesday, 17 July 2013

Markdown - StackEdit's HTML export template with highlighting by using Prettify or Highlight.js and personalized markDown.css

StackEdit is a Markdown Extra editor with MathJax (to display formulas using TeX Math syntax, see HERE if you are interested to show them on Blogger) and Prettify or highlight.js (for code highlighting) support.
It is a wonderful option when it comes to publish some HTML, even with a custom CSS!
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).