<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://chem-bla-ics.linkedchemistry.info/feed/by_tag/biohackeu12.xml" rel="self" type="application/atom+xml" /><link href="https://chem-bla-ics.linkedchemistry.info/" rel="alternate" type="text/html" /><updated>2026-04-19T09:50:36+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/feed/by_tag/biohackeu12.xml</id><title type="html">chem-bla-ics</title><subtitle>Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.</subtitle><author><name>Egon Willighagen</name></author><entry><title type="html">BioHackathon Europe 2021 #1: CiTO annotations in BioHackrXiv</title><link href="https://chem-bla-ics.linkedchemistry.info/2021/11/15/biohackathon-europe-2021-1-cito.html" rel="alternate" type="text/html" title="BioHackathon Europe 2021 #1: CiTO annotations in BioHackrXiv" /><published>2021-11-15T00:00:00+00:00</published><updated>2021-11-15T00:00:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2021/11/15/biohackathon-europe-2021-1-cito</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2021/11/15/biohackathon-europe-2021-1-cito.html"><![CDATA[<p>Serendipity. I did not plan this hack at the <a href="https://biohackathon-europe.org/">BioHackathon Europe 2021</a> but it happened anyway.
Based on earlier work in the <a href="https://www.biomedcentral.com/collections/cito">Journal of Cheminformatics</a>, extending on the
<a href="https://doi.org/10.7717/peerj-cs.112">work by Krewinkel et al.</a> I looked into the idea of using the Lua filter for
<a href="https://biohackrxiv.org/">BioHackrXiv</a>, a preprint server for BioHackathons. Actually, I started by looking at the
Citation Styling Language file used by the BioHackrXiv tools. But that was just wrong.</p>

<p>Long story short: <a href="https://github.com/biohackrxiv/bhxiv-gen-pdf/pull/10">it worked</a>! Thanks to the encouragements from
<a href="https://github.com/pjotrp">Pjotr</a> and <a href="https://github.com/inutano">Tazro</a> and suggestions from
<a href="https://twitter.com/larswillighagen/status/1458059589925187585">Lars</a> and some code on how to
<a href="http://lua-users.org/wiki/TableUtils">dump a Lua data structure to stdout</a>.</p>

<p>In the Markdown/BibTeX combination you would normally write <code class="language-plaintext highlighter-rouge">[@bibtexkey]</code> to add the reference to the article with the given key
in the <code class="language-plaintext highlighter-rouge">.bib</code> file. To type the citation (to state the intention why you cite that source), for example because you use a method
in it, you write <code class="language-plaintext highlighter-rouge">[@usesMethodIn:bibtexkey]</code>. This is different from
<a href="https://github.com/jcheminform/markdown-jcheminf">how it currently works for the Journal of Cheminformatics</a>,
where the intention cannot be given at citation level yet. You can even use more than one intention, e.g. <code class="language-plaintext highlighter-rouge">[@usesMethodIn:extends:bibtexkey]</code>.</p>

<p>If you want to try it, just create a compatible Markdown file with BibTeX file in a new GitHub repository, and post the repository URL on
this <a href="http://preview.biohackrxiv.org/">cool preview website</a>.</p>

<p>Here’s what the created PDF could look like:</p>

<p><img src="/assets/images/citoBioHackrXiv.png" alt="" /></p>]]></content><author><name>Egon Willighagen</name></author><category term="cito" /><category term="biohackrxiv" /><category term="markdown" /><category term="pandoc" /><category term="biohackeu12" /><category term="justdoi:10.7717/peerj-cs.112" /><summary type="html"><![CDATA[Serendipity. I did not plan this hack at the BioHackathon Europe 2021 but it happened anyway. Based on earlier work in the Journal of Cheminformatics, extending on the work by Krewinkel et al. I looked into the idea of using the Lua filter for BioHackrXiv, a preprint server for BioHackathons. Actually, I started by looking at the Citation Styling Language file used by the BioHackrXiv tools. But that was just wrong.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://chem-bla-ics.linkedchemistry.info/assets/images/citoBioHackrXiv.png" /><media:content medium="image" url="https://chem-bla-ics.linkedchemistry.info/assets/images/citoBioHackrXiv.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>