How to get a second bibliography? : <p>In <code>rmarkdown</code> PDF and HTML I want <strong>two bibliographies</strong>&mdash;one for papers/books, and one for software I have used in my research. I found <a href="https://stackoverflow.com/q/36202023">this related issue</a> but it doesn't answer my question since it's concerning the combination of two <em>*.bib</em> files into one bibliography.</p>

<p>I'm used to place my bibliography with <code>&lt;div id="refs"&gt;&lt;/div&gt;</code> as explained <a href="https://stackoverflow.com/a/44294306/6574038">here</a>. Possibly a second one can be placed similarly with <code>&lt;div id="refs_2"&gt;&lt;/div&gt;</code>, but I couldn't figure out how to do it since this <code>"refs"</code> seems not to be defined anywhere.</p>

<p>I usually define the software in the YAML header like this</p>

<pre><code>nocite: |
    @xie_knitr:_2018, @allaire_rmarkdown:_2018, @rstudio_team_rstudio:_2016, 
    @r_development_core_team_r:_2018
</code></pre>

<p>so I don't have to constantly copy-paste it into the <em>*.bib</em>-file every time (which works well with one bibliography). Ideally this <code>nocite:</code>-list would appear as a new bibliography titled "Software" below the other, but I also would be happy with a two <em>*.bib</em>-file solution. </p>

<p>The <strong>expected output</strong> would be something like this:</p>

<p><a href="https://i.stack.imgur.com/D3Ekt.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/D3Ekt.jpg" alt="enter image description here"></a></p>

<p>Has anybody done this before and could explain how to do this?</p>
