I've decided to keep a master list of my publications in BibTeX format and have them processed via pandoc:https://github.com/zkamvar/znk-bibliography …
-
-
-
this is how i fly. makes citing stuff anywhere pretty easy.
-
I have never used pandoc that much only when publishing papers on
@ReScienceEds. I'll try and learn some stuff at some point. -
think of it as a magic crucible for any text-based layout. html, markdown, source code, word files, doesn't matter. all are equal, all are transfigured into anything you'd like.
-
Yes — thanks for reminding me as that helps (re)orient me!

-
I know it's not as neat as bibtex direct to html, etc. But the way I do it is not *too* messy: https://github.com/oliviaguest/oliviaguest.github.io/blob/master/_data/publications.yml … I like that I an have any icons I like and any format (I guess mine becomes a bastardised APA-style): http://oliviaguest.com/#pubs
-
I think yaml is probably the way to go. It's pretty easy to parse, easy to read, and you can whip up a pandoc template for one in no time. The only issues are markup.
-
Yeah, I wasn't doing it as neatly when I posted the OP.
- 1 more reply
New conversation -
-
-
Jekyll has support for reading JSON/CSV/YAML as source files, rather than individual Markdown files (https://jekyllrb.com/docs/datafiles/ ). Might be worth a look? Example in use:https://github.com/alexwlchan/bijouopera.co.uk/tree/master/src …
-
Oh, this is really useful! I will change to using it this way, I think. So you think this loop can easily be adapted?https://github.com/oliviaguest/oliviaguest.github.io/blob/master/_includes/loop_publications.html …
-
I think you could change the first line to {% assign pubs = http://site.data .publications | sort: 'date' | reverse %} where `publications.[yml,csv,json]` is in your _data folder, if that’s what you mean?
-
Right, so yes, it is really easy to fix! Thank you again!
BTW: I see you around sometimes around where I work... I think you were walking past Waitrose a few months ago talking to somebody — I was too far away to say "hi" but near enough to notice it was you. - End of conversation
New conversation -
-
-
I did the BibTeX thing, using the bibtexparser Python package. https://github.com/apdavison/homepage/blob/master/build.py#L186 …
-
Is your site compiled using Python?
-
yes. I tried a couple of static site generators, but in the end it was easier to roll my own generator
-
Fair! And nice work!
End of conversation
New conversation -
-
-
One thing that helps is to use CSL (JSON/YAML) format. If you have a .bib use pandoc-citeproc -y to convert
-
Ah, I see what you mean. I think since I've essentially created my own style (especially see the icons) and the
@altmetric donut... it's probably going to be easier to write my own loop, which I have. -
Yeah, that’s what I’ve been working on too. The YAML/JSON is easier to parse (unless you have a good BibTeX parsing library, which Hugo doesn’t)
-
Yeah, my loop is pretty much a huge list of icons I want to conditionally appear.https://github.com/oliviaguest/oliviaguest.github.io/blob/master/_includes/loop_publications.html …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

