# Multiple bibliographies in a scribble document

**URL:** <https://racket.discourse.group/t/multiple-bibliographies-in-a-scribble-document/1373>\
**Category:** Questions & Answers\
**Tags:** scribble\
**Created:** [October 11, 2022, 10:57pm UTC](https://racket.discourse.group/t/multiple-bibliographies-in-a-scribble-document/1373 "2022-10-11T22:57:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brittAnderson](https://avatars.discourse-cdn.com/v4/letter/b/b5a626/32.png) [@brittAnderson](https://racket.discourse.group/u/brittAnderson)\
**Post date:** [October 11, 2022, 10:57pm UTC](https://racket.discourse.group/t/multiple-bibliographies-in-a-scribble-document/1373/1 "2022-10-11T22:57:43Z")

</div>

I am writing a scribble document for a class I am teaching and am including references. The document is rather long and I would like the references to appear in the sections where they are referred to. Thus there will be multiple bibliographies. Currently I am using a single refs.rkt file, and have multiple calls to `generate-bibliography` with different section titles. When compiling with raco I get warnings about "key multiple times". It doesn't seem to interfere with the export and I am ignoring it for now, but I would like to know:

1. How can I get rid of the warnings?
2. Is there a recommended workflow for having section bibliographies rather than a single bibliography for an entire document?

---

<div class="post-metadata">

**Author:** ![mflatt](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/mflatt/32/6_2.png) [@mflatt](https://racket.discourse.group/u/mflatt)\
**Post date:** [October 14, 2022, 10:22pm UTC](https://racket.discourse.group/t/multiple-bibliographies-in-a-scribble-document/1373/2 "2022-10-14T22:22:44Z")

</div>

I have not tired this myself, but are you already using the `#:tag` argument to `generate-bibliography` to specify different link tags? If so, what keys get defined multiple times?

---

<div class="post-metadata">

**Author:** ![brittAnderson](https://avatars.discourse-cdn.com/v4/letter/b/b5a626/32.png) [@brittAnderson](https://racket.discourse.group/u/brittAnderson)\
**Post date:** [October 16, 2022, 1:10pm UTC](https://racket.discourse.group/t/multiple-bibliographies-in-a-scribble-document/1373/3 "2022-10-16T13:10:35Z")

</div>

I was **not** using the` #:tag` argument only `#:sec-title`. Using `#:tag` removes the warnings.
