Tests

Bib integration tests in dendron

The .bib is loaded if the path to th .bib is in the header (check in the .md file)

active citation @Gerwick2012a (Private)

hardcoded copy pasted citation Gerwick and Moore (2012)

Gerwick, William H, and Bradley S Moore. 2012. “Lessons from the past and charting the future of marine natural products drug discovery and chemical biology.” Chemistry & Biology 19 (1): 85–98. https://doi.org/10.1016/j.chembiol.2011.12.014.

The citation can be previewed only if Markdown Preview Enhanced is loaded. However the links can then not be viewed by Dendron Markdown Preview. Kevin is working on it https://discord.com/channels/717965437182410783/735365126227493004/794977929406185502

Meanwhile a solution is to copy paste the citation from the preview to the .md.

I now hae to check if links are displayed and active when published. Locally, hey are active in the .md

projects.tramadol.data (Private)

This is how the preview looks like:

References

Here should appear the refs

@Blunt2009 (Private)

<p>[[projects.tramadol.data]]</p>
<p>This is how the preview looks like:</p>
<p><img src="/assets/images/2021-01-12-12-46-02.png" /></p>
<h1 id="references">References</h1>
<p>Here should appear the refs</p>
<p><span class="citation" data-cites="Blunt2009">@Blunt2009</span></p>

@Blunt2009 (Private)

2021-01-12 15:32

Just found a pandoc guru https://niszet.hatenablog.com/ and posted an issue on his git repo https://github.com/niszet/pandocplay/issues/5

Pandoc play might be a way to go to have these citation displayed in line.

I use it with the folowing option :

"Pandocplay.Pandoc.args": " -s --bibliography '/Users/pma/Documents/library_red.bib'" Beware of the space character before the s !

example of outputs

@Brown2012a (Private)

@oolonek (Private)

@Brown2012a (Private)

@Gerwick2012a (Private)

@Blunt2009 (Private)

---
bibliography: /Users/pma/Documents/library_red.bib
---

@Brown2012a

@Gerwick2012a

@Blunt2009

@jimenez-lunaDrugDiscoveryExplainable2020 (Private)```

runpandoctmp

Brown and Okuno (2012)

Gerwick and Moore (2012)

Blunt et al. (2009)

(???)

Blunt, John W, Brent R Copp, Wan-Ping Hu, Murray H G Munro, Peter T Northcote, and Michèle R Prinsep. 2009. “Marine natural products.” Natural Product Reports 26 (2): 170–244. https://doi.org/10.1039/b805113p.

Brown, J. B., and Yasushi Okuno. 2012. “Systems Biology and Systems Chemistry: New Directions for Drug Discovery.” Chemistry & Biology 19 (1): 23–28. https://doi.org/10.1016/j.chembiol.2011.12.012.

Gerwick, William H, and Bradley S Moore. 2012. “Lessons from the past and charting the future of marine natural products drug discovery and chemical biology.” Chemistry & Biology 19 (1): 85–98. https://doi.org/10.1016/j.chembiol.2011.12.014.




Children
  1. Further