# Asciidoctor-Bibtex can't find .bib file?

**URL:** <https://discourse.gohugo.io/t/asciidoctor-bibtex-cant-find-bib-file/56106>\
**Category:** support\
**Created:** [October 18, 2025, 7:41am UTC](https://discourse.gohugo.io/t/asciidoctor-bibtex-cant-find-bib-file/56106 "2025-10-18T07:41:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [October 20, 2025, 2:25pm UTC](https://discourse.gohugo.io/t/asciidoctor-bibtex-cant-find-bib-file/56106/2 "2025-10-20T14:25:57Z")

</div>

> [@No-Talk](#):
>
> but the _references.bib_ file is located in the same directory as the .adoc file that is referring to it

Do this in your site config:

```toml
[markup.asciidocExt]
  extensions = ['asciidoctor-bibtex']
  workingFolderCurrent = true

```

See [https://gohugo.io/configuration/markup/#workingfoldercurrent](https://gohugo.io/configuration/markup/#workingfoldercurrent).

That will allow you to use this structure, where the `.bib` file is adjacent to the `.adoc` file.

```plaintext
content/
├── examples/
│ ├── example-1/
│ │ ├── index.adoc
│ │ └── references-1.bib
│ ├── example-2.adoc
│ └── references-2.bib
└── _index.md

```

You might also want to do this:

```toml
[[module.mounts]]
source = 'content'
target = 'content'
excludeFiles = '**.bib' # do not publish .bib files when building the site

```

See [https://discourse.gohugo.io/t/using-bibtex-files-with-asciidoc-content/56119](https://discourse.gohugo.io/t/using-bibtex-files-with-asciidoc-content/56119).

---

_[View the full topic](https://discourse.gohugo.io/t/asciidoctor-bibtex-cant-find-bib-file/56106)._
